Video Loss while streaming to STB with VLC as VoD Server
Posted: 14 Nov 2008 19:53
Hi guys !!!
I am trying to stream videos which are in MP4 format on to the Scientific Atlanta and ADB Set Top Box(STB) s which can play only the videos that are in MPEG2-TS format. So, I am first transcoding the MP4 Video with vlc and converting MP4 to MPEG2-TS format and ingesting in the VLC Server. But, I am facing the video loss problem while trying to play on STB. First i will give the details of my input videos and commands that i used before declaring my actual problem.
Original video details:
Video Codec : MPEG4 Vide
Audio Codec: AAC (Low Complexity)
Video Bitrate : 1800 Kbps
Audio Bitrate: 128 Kbps
Resolution: 640 x 480
Transcoding parameters used with vlc to transcode above video are:
Video Codec: h264
Video Bitrate: 1600Kbps
Audio Codec: MPEG Audio part-I (mpga)
Audio Bitrate: 128Kbps
Muxer: ts
Channels:2d
resolution: 640 x 480
Command used for transcoding is:
Command used to ingest the file through telnet interface is:
Now, coming to my actual problem :
Now, while i am trying to request for the same video from STB then I am getting initial video loss i.e., I am able to hear to the audio immediately after the request but, video is not getting displayed along with the audio on the TV Screen rather it is getting displayed approximately after 25 to 75 seconds while i am able to hear audio continuously.
But, instead of transcoding video then ingesting and requesting for the same, if I ingest the original video with following command:
So, please help me to solve my problem.
I am trying to stream videos which are in MP4 format on to the Scientific Atlanta and ADB Set Top Box(STB) s which can play only the videos that are in MPEG2-TS format. So, I am first transcoding the MP4 Video with vlc and converting MP4 to MPEG2-TS format and ingesting in the VLC Server. But, I am facing the video loss problem while trying to play on STB. First i will give the details of my input videos and commands that i used before declaring my actual problem.
Original video details:
Video Codec : MPEG4 Vide
Audio Codec: AAC (Low Complexity)
Video Bitrate : 1800 Kbps
Audio Bitrate: 128 Kbps
Resolution: 640 x 480
Transcoding parameters used with vlc to transcode above video are:
Video Codec: h264
Video Bitrate: 1600Kbps
Audio Codec: MPEG Audio part-I (mpga)
Audio Bitrate: 128Kbps
Muxer: ts
Channels:2d
resolution: 640 x 480
Command used for transcoding is:
so, finally i got transcoded video and I have ingested the same into VLC VoD Server../vlc "inputfile with absolute path" --sout '#transcode{vcodec=h264,vb=1600,acodec=mpga,ab=128,channels=2,height=480,width=640}:std{access=file,mux=ts,dst="destination file with absolute path"}'
Command used to ingest the file through telnet interface is:
new abc vod mux mp2t enabled
setup abc input "input file with absolute path"
Now, coming to my actual problem :
Now, while i am trying to request for the same video from STB then I am getting initial video loss i.e., I am able to hear to the audio immediately after the request but, video is not getting displayed along with the audio on the TV Screen rather it is getting displayed approximately after 25 to 75 seconds while i am able to hear audio continuously.
But, instead of transcoding video then ingesting and requesting for the same, if I ingest the original video with following command:
and if i request for the same video from STB then Video is getting displayed bit earlier than the previous case and video loss will be considerably reduced to 5 to 10 seconds.new abc vod mux mp2t enabled
setup abc input "input file"
setup abc output '#transcode{vcodec=h264,vb=1600,acodec=mpga,ab=128,channels=2,height=480,width=640}'
So, please help me to solve my problem.