input-selector to switch between h264 streams?

Thiago Santos thiagoss at osg.samsung.com
Thu Aug 14 15:27:10 PDT 2014


On 08/14/2014 10:11 AM, Dušan Poizl wrote:
> oh sorry. Just tried videotestsrc ! x264enc ! input-selector ! mpegtsmux
> ! udpsink and it worked.
>
> if you replace mpegtsmux with matroskamux it end up with error. but it
> is fine as for my experiments mpegtsmux is acceptable.
>
> Thanks for your time.

FYI there was actually a bug in input-selector regarding the caps 
negotiation. This is fixed now in git master.

In any case, unless you are using exactly the same caps for the 
input-selector input streams it is likely that it would fail as 
matroskamux doesn't support format renegotiation. Even if the formats 
are the same and you want to do that, be aware of sending keyframes 
right after  switching to avoid issues when decoding.

Regards,


>
>
> Dňa 14.08.2014 o 14:54 Stephane Croci napísal(a):
>> Please give the whole pipelines description (working and not working ones)
>>
>>
>>
>> --
>> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/input-selector-to-switch-between-h264-streams-tp4668297p4668304.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley



More information about the gstreamer-devel mailing list