Video Loss while streaming to STB with VLC as VoD Server

About encoding, codec settings, muxers and filter usage
ravi_andhra
Blank Cone
Blank Cone
Posts: 12
Joined: 12 May 2008 09:42

Video Loss while streaming to STB with VLC as VoD Server

Postby ravi_andhra » 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:
./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"}'
so, finally i got transcoded video and I have ingested the same into VLC VoD Server.

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:
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}'
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.


So, please help me to solve my problem.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Loss while streaming to STB with VLC as VoD Server

Postby VLC_help » 15 Nov 2008 15:08

Does lowering the video bitrate help at all?

jbhatia21
New Cone
New Cone
Posts: 3
Joined: 14 Nov 2008 23:45

Re: Video Loss while streaming to STB with VLC as VoD Server

Postby jbhatia21 » 15 Nov 2008 15:33

Thanx VLC_help

Kindly let us know how much bitrate can be reduced, it could be 1000kbps instead of 1600 kbps.
is there any limitation in the VLC as VOD regarding bitrate ?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Video Loss while streaming to STB with VLC as VoD Server

Postby VLC_help » 15 Nov 2008 15:37

Just try something like 512 for bitrate and see if it works any better.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests