On 30/03/15 16:36, Ran Shalit wrote:
>>> I'm new with libav.
>>> I would like to ask if libavformat is capable of demux
>>> h.264->mpeg-ts->udp stream.
>>
>> yes
>>
>>> If yes - Is there any example for this ?
>>
>>     avconv -i udp://ip:port
>>
>> ok
>>
>>     avformat_open_input(&s, "udp://ip:port", NULL, NULL);
>>
>>
>> Should just work.
>>
> 
> Just to make sure, is the above solution expects mpeg-ts on udp
> without (RTP) or including RTP.

no other encapsulation it is purely mpegts in udp.

    avconv -re -i your.ts -c copy -f mpegts udp://ip:port

    avconv -i udp://ip:port

to test
_______________________________________________
libav-api mailing list
libav-api@libav.org
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to