Taking a chosen program (a + v) from multiprogram MPEG TS freezes

Andrey Utkin andrey.krieger.utkin at gmail.com
Sat Oct 5 07:47:31 PDT 2013


2013/10/4 Andrey Utkin <andrey.krieger.utkin at gmail.com>:
> So i try to view (or save to another file) particular program by choice.
> I figured out that tsdemux gives src pads named {video,audio}_[pid].
> So i made up such pipelines:
> gst-launch-1.0 --gst-debug-level 4 filesrc location=mpts_out.ts !
> tsdemux name=demux   demux.video_0022 ! queue  max-size-bytes=0
> max-size-buffers=0 max-size-time=5000000000 ! decodebin ! videoconvert
> ! x264enc ! queue ! mux.    demux.audio_0025 ! queue max-size-bytes=0
> max-size-buffers=0 max-size-time=5000000000 ! audioconvert ! avenc_mp2
> ! queue ! mpegtsmux name=mux mux. ! filesink location=mpts_remux.ts

Solved.
I just forgot to insert decodebin to audio branch. Pity that it's so
hard to understand the reason from debug output of any level.

-- 
Andrey Utkin


More information about the gstreamer-devel mailing list