[vlc-devel] RTP/H.264 to MPEG-TS mux bug
lu_zero at gentoo.org
Sun May 1 17:46:10 CEST 2011
On 5/1/11 4:44 PM, Tim Ouellette wrote:
> Thanks Rémi, maybe I didn't make the issue clear. The source device
> outputs RTP/H.264/G711 to the network directly. I need VLC to decode only
> the audio stream (G711) transcode to another format. Repack the data
> (transcoded audio + copy of H264) into MPEG-TS and rebroadcast UDP.
> Would x264.c still be called to create DTS and PTS even though the
> Vcodec is just being passed through?
The main problem here is the fact your h264 input is weird and sends the
extradata in-band, one rtp packet per nal, all with the same timestamp
as the following FU-A packet (I got that from the manual of the camera).
That confuses the muxing layer a lot.
I hacked a bit libav rtpdec_h264 to lump everything together and that
should solve this particular issue, then you'd need to glue that vlc in
order to leverage the better muxing/udp output ^^;
More information about the vlc-devel