[MPlayer-users] MJPEG to MPG issues with mencoder

Nico Sabbi nsabbi at email.it
Tue Aug 29 10:18:53 CEST 2006


Joe Colburn wrote:
> This is my first post to the list, so I hope I'm not bringing up old,
> answered questions here, but here goes...
>  
> I used this command line to rip a stream:
> mplayer -dumpstream http://192.168.1.21/mjpg/video.mjpg -dumpfile
> ./out.mjpeg
>  
> It resulted in this file:
> http://dev.inexo.com/out.mjpeg
>  
> I encoded it like this:
> mencoder ./out.mjpeg -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac
> copy -o ./video.mpg
>  
> .. resulting in this file:
> http://dev.inexo.com/video.mpg
>  
> When it works, It won't play in IE6 at all, but it will play in Windows
> Media Player.  In WMP, it shows a black frame until the whole thing has
> played through at normal speed once.  Then it plays again at the proper
> speed, showing the video just fine.  I'm not concerned with audio, so I
> haven't tested that.  What I am concerned with is that it sometimes will
> just crash my Windows Media Player and that it needs to play through once
> before showing me any video.
>  
> Any thoughts on what options to add or remove or anything else I can do?
>  
>
>   
[---]
> INITV: 0.200, 0.160, fps: 25.000
> Pos:   0.4s     10f ( 5%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
> BUFFER UNDEFLOW at stream 0, raising muxrate to 1980 kb/s, delta_scr: 223418
>  
> BUFFER UNDEFLOW at stream 0, raising muxrate to 2178 kb/s, delta_scr: 203107
>  
> BUFFER UNDEFLOW at stream 0, raising muxrate to 2395 kb/s, delta_scr: 184643
>  
> ERROR: scr 4.128, dts 0.600, pts 0.640
> Pos:   0.5s     12f ( 7%)  0.00fps Trem:   0min  16mb  A-V:0.000 [0:0]
>   


all those ERRORs should ring a bell :)
Use some sane encoding option (-lavcoption) from the DOCS/directory
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi clicca qui
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2907&d=29-8



More information about the MPlayer-users mailing list