[MEncoder-users] Mencoder SIMPLY Freezes or gives a mpg123: Can't rewind stream by 20 bits! error
Lucas Linard
lucaspglinard at gmail.com
Sat Apr 7 01:39:11 CEST 2007
Nico Sabbi:
Thanks dude, the mpg123 error stopped. But what can I do about the
freeze?? It jsut freezes, with no message or something (at least as
far as I know).
this is the output:
MEncoder 2:1.0~rc1-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x2bcee000
AVI file format detected.
VIDEO: [DX50] 572x312 12bpp 23.976 fps 923.4 kbps (112.7 kbyte/s)
[V] filefmt:3 fourcc:0x30355844 size:572x312 fps:23.98 ftime:=0.0417
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
SUB: Detected subtitle file format: subviewer
SUB: Read 960 subtitles.
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [expand w=720 h=576]
Expand: 720 x 576, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale w=720 h=400]
Opening video filter: [crop w=572 h=312]
Crop: 572 x 312, -1 ; -1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 572 x 312 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.83:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 572x312 -> 720x400
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
[VE_LAVC] High quality encoding selected (non-realtime)!
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Writing header...2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.004 [0:0]
INITV: 0.200, 0.158, fps: 23.976
Pos: 97.0s 2327f ( 1%) 29.99fps Trem: 68min 1209mb A-V:0.048 [1806:192]
and it simply STOPS. Is there another way I can make quality mpg (to
create a dvd video) using mencoder?
I am using the following command
mencoder movie.avi -sub sub.srt -subcp latin1 -ovc lavc -oac lavc -of
mpeg -mpegopts format=dvd:tsaf -vf
crop=572:312,scale=720:400,expand=720:576,harddup -srate 48000 -af
lavcresample=48000 -lavcopts
vcodec=mpeg2video:mbd=2:mv0:trell:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=1800:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=4/3:border_mask=0.3:vpass=1:turbo
-o "/dev/null" -ofps 24000/1001 -ac mad
after that I use the same, but without turbo, and with vpass=2
can you point me a way to prevent the freeze? again, thanks a LOT for
the -ac mad tip.
--
Abraços,
Lucas PG Linard
(\ /)
(O.o)
(> <)
Bunny, taking over the world, one signature at a time.
More information about the MEncoder-users
mailing list