[MPlayer-users] mencoder/lavfopts with HTTP sends GET instead of POST

Ken Johanson kensystem at gmail.com
Thu Feb 5 05:39:37 CET 2009


Hi, with mencoder (SVN-r28311-4.2.5) the following sends a GET instead of
POST:
mencoder -tv driver=dshow:device=0:adevice=0:audioid=1:input=2 tv:// -ovc
lavc -lavcopts vcodec=libx264:vbitrate=100000 -oac mp3lame -lameopts vbr=0
-of lavf -lavfopts format=flv -o http://localhost/stream/

Testing with ffmpeg this works fine though:
ffmpeg -r 30 -y -s 320x240 -f vfwcap -i 0 -vcodec libx264 -qmax 40 -g 300
-acodec libmp3lame -f flv http://localhost/stream/

It appears that mencoder is not setting the libavformat's URLContext's flags
& URL_WRONLY bit.

Best,
Ken



More information about the MPlayer-users mailing list