Questions about transcoding video with audio and subtitle passthrough using MKV files

toby at rosecott.net toby at rosecott.net
Fri Mar 5 17:19:51 UTC 2021


So by 'remove it' you mean remove the '! Flacparse'






Regards


Toby
On 5 Mar 2021, 16:54 +0000, gotsring <gotsring at live.com>, wrote:
> I'll be honest, I've not really dealt with more than one stream out of
> matroskademux, so not sure if there's a more automatic way.
>
> You can try something like this. This assumes the audio is FLAC, thus the
> flacparse, but you should be able to change out the parser (or maybe remove
> it?) for other audio streams.
>
> gst-launch-1.0.exe filesrc location=2.mkv ! matroskademux name=d \
> d.video_0 ! queue ! h264parse ! nvv4l2decoder ! nvv4l2h265enc
> bitrate=2000000 ! h265parse ! matroskamux name=m ! filesink
> location=new2.mkv \
> d.audio_0 ! queue ! flacparse ! m. \
> d.audio_1 ! queue ! flacparse ! m.
>
>
>
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210305/51c62b1f/attachment.htm>


More information about the gstreamer-devel mailing list