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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Feb 5 09:44:26 CET 2009


On Wed, Feb 04, 2009 at 09:39:37PM -0700, Ken Johanson wrote:
> 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.

Mencoder does not use libavformat for writing, only for muxing/demuxing,
and I think mencoder's http module does not fully support POST yet, at
least not for writing a whole file.



More information about the MPlayer-users mailing list