This is a showstopper in PS3Mediaserver dlna server where VLC is used a default webstream transcoding engine. Playstation3 is quite sensitive about the stream so missing video in the beginning gives unsupported data. MEncoder web streaming works ok, but its few annoying steps to switch from VLC to Mencoder each time
MediaInfo says source .flv is video(format=VP6, codec=On2 VP6), audio(format=MPEG Audio ver 1 layer 3, codec=MPA1L3).
Is there a way to make this VLC script more error tolerance, more like mencoder is able to do?
VLC script
Code: Select all
@rem webpage: http://www.vimeo.com/2244465
set VLC=C:\apps\vlc-1.0.0-git\vlc.exe
set source=http://www.vimeo.com/moogaloop/play/clip:2244465/21cc37fa95eb76c2839e4935671ba213/1240734600
"%VLC%" -vvv -I dummy "%source%" :sout=#transcode{vcodec=mp2v,vb=1024,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="output.mpeg"}}
Code: Select all
@rem webpage: http://www.vimeo.com/2244465
set MENCODER=mencoder.exe
set source=http://www.vimeo.com/moogaloop/play/clip:2244465/21cc37fa95eb76c2839e4935671ba213/1240734600
%MENCODER% %source% -prefer-ipv4 -nocache -quiet -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=libmp3lame:abitrate=128 -ofps 24000/1001 -o output.mpeg
http://www.vimeo.com/moogaloop/load/cli ... ocal?ver=4
- see <request_signature> signature value
- see <request_signature_expires> time value
Then create the following direct video link:
Code: Select all
http://www.vimeo.com/moogaloop/play/clip:$CLIPID$/$SIGNATURE$/$EXPTIME$
Code: Select all
..clip..
[0p27af930] avcodec decoder warning: cannot decode one frame (1781 bytes)
[0p27af930] avcodec decoder warning: cannot decode one frame (1895 bytes)
[0p27af930] avcodec decoder debug: disabling direct rendering
[0p27704f8] stream_out_transcode stream out debug: decoder aspect is 648000:432000
[0p27704f8] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[0p27704f8] stream_out_transcode stream out debug: scaled pixel aspect is 0.999023:1
[0p27704f8] stream_out_transcode stream out debug: source 504x336, destination 512x340
[0p27704f8] stream_out_transcode stream out debug: encoder aspect is 649906:432000
[0pb85fc8] main filter debug: looking for video filter2 module: 17 candidates
[0pb85fc8] swscale filter debug: 504x336 chroma: I420 -> 512x340 chroma: I420 with scaling using Bicubic (good quality)
[0pb85fc8] main filter debug: using video filter2 module "swscale"
[0pb85fc8] main filter debug: TIMER module_need() : 2.469 ms - Total 2.469 ms /1 intvls (Avg 2.469 ms)
[0p27704f8] main stream out debug: Filter 'swscale' (0pb85fc8) appended to chain
[0p27704f8] stream_out_transcode stream out debug: destination (after video filters) 512x340
..clip..