AW: AW: gstreamer - how to convert .ts to .mkv or .mp4 with sound

fufu5000 kazuko.nakamura at interia.pl
Tue Oct 17 21:41:07 UTC 2017


If I make that command:

gst-launch-1.0 filesrc location=1.ts \
! decodebin name=demux demux. \
! queue \
! audioresample \
! "audio/x-raw,rate=44100" \
! audioconvert \
! "audio/x-raw,format=F32LE" \
! vorbisenc \
! mux. matroskamux name=mux \
! filesink location=1.mkv demux. \
! queue \
! videoconvert \
! omxh264enc \
! "video/x-h264,profile=high" \
! h264parse \
! mux.

Working, but I can't resize video. For example if I change to:

!
"video/x-h264,stream-format=byte-stream,profile=high,width=480,height=270,framerate=25/1"

Gstreamer stops and 1.mkv has 0kb



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list