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

Bernhard Graaf bernhard.graaf at gmx.de
Tue Oct 17 12:32:06 UTC 2017


See example:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/h
tml/gst-plugins-good-plugins-matroskamux.html


-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von fufu5000
Gesendet: Dienstag, 17. Oktober 2017 11:45
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: AW: gstreamer - how to convert .ts to .mkv or .mp4 with sound

Thanks for advice!

>From this example:

gst-launch-1.0 -v filesrc location=1.ts ! tsdemux
parse-private-sections=false name=demux ! queue ! ac3parse ! matroskamux
name=stream streamable=true demux. ! queue ! h264parse ! omxh264dec !
omxh264enc target-bitrate=1572864 control-rate=variable !
video/x-h264,stream-format=byte-stream,profile=high,width=480,height=270,fra
merate=25/1
! *h264parse* ! filesink location=1.mkv

If I change to *h264parse stream.* I have just audio with no video in 1.mkv
file. I don't know how to link the matroskamux to filesink



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list