Client of Transcoded Stream missing first several seconds
Posted: 13 Nov 2009 19:04
I am working on transcoding a 1080p h.264 stream into multiple streams of varying resolutions. The 1080p h.264 (mpeg-ts encapsulation) stream is coming in via RTP & multicast. I am using VLC & x264 to transcode it to H.264 and 720p or 480x270 resolutions (also mpeg-ts encapsulation) and sending each resolution out via separate RTP & multicast streams. It works but when I run my test clips, the clients viewing the transcoded streams are not seeing the first 3-10 seconds of video. The amount seems to vary based on the resolution I am transcoding to with smaller resolutions seeing less of the clip (i.e. missing 10 seconds). If I monitor the source stream on the client, bypassing the transcoder, I see all of the clip. Enabling the ":sout-keep" option on the transcoder helped but it isn't enough. I am running two test clips in a loop but it happens when not looping as well. Does anyone know what causes this or how to correct it? Is it possible for VLC to do some "preroll" so the client is not missing the actual video ?
Thanks in advance for any help you can provide.
Thanks in advance for any help you can provide.