[MPlayer-users] failing to encode NTSC movies
Dominik Szczerba
domi at vision.ee.ethz.ch
Sun Nov 3 09:37:01 CET 2002
Hi,
After a week of trying I still have problems encoding a few of my NTSC
dvd's and/or vob's. They are all reported by mplayer -v as 29.97 fps
movies and play just fine (OK, one dvd gets stuck in the middle, but
let's leave it for now, the other plays fine).
I am doing things like:
nice -n 19 mencoder -v -oac mp3lame -lameopts cbr:br=128:aq=2 -ovc
frameno -ofps $FPS -o frameno.avi -vob
subout $TITLE -aid $AID -sid $SID ./stream.dump
with different tries on $FPS
and I get (just a sample of errors):
(...)
DVD sub: len=2019 v_pts=914.027 s_pts=914.761 mb A-V:-0.003 [0:128]
A/Vms 9/0 D/B/S 37/0/7
DVD sub: len=181 v_pts=914.027 s_pts=914.761
a52: CRC check failed! ) 55fps Trem: 0min 0mb A-V:0.014 [0:128]
A/Vms 9/0 D/B/S 37/0/8
a52: error at resampling
DVD sub: len=1752 v_pts=2550.112 s_pts=2551.129 A-V:0.050 [0:128]
A/Vms 9/0 D/B/S 37/0/10
DVD sub: len=2019 v_pts=2651.146 s_pts=2651.963 A-V:0.034 [0:127]
A/Vms 9/0 D/B/S 37/0/12
(...)
DVD sub: len=889 v_pts=3129.841 s_pts=3130.675
MPEG Stream reached EOF%) 53fps Trem: 0min 0mb A-V:-0.009 [0:128]
A/Vms 9/0 D/B/S 45/0/24
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
(...)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
... and the output file is truncated, it reports:
Video stream: 0.766 kbit/s (95 bps) size: 196900 bytes 2055.064
secs 49249 frames
Audio stream: 128.000 kbit/s (15999 bps) size: 32889216 bytes
2055.576 secs
which is wrong.
I tried the above also with fps=23.976, the same.
***********************************************
Another try on a different DVD:
DEMUXER: Too many (4096 in 8287307 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
a52: CRC check failed!
a52: error at resampling
DEMUXER: Too many (4096 in 8287307 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
a52: error at resampling) 6fps Trem: 224min 49mb A-V:0.069 [0:128]
A/Vms 61/0 D/B/S 13/0/61
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: CRC check failed!
Pos: 17.7s 466f ( 0%) 6fps Trem: 225min 50mb A-V:0.084 [0:128]
A/Vms 68/0 D/B/S 13/0/54
DEMUXER: Too many (4096 in 8287227 bytes) video packets in the buffer!
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 0min 0mb A-V:-0.035 [0:128]
A/Vms 2/0 D/B/S 10/0/0
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 0min 0mb A-V:-0.018 [0:128]
A/Vms 2/0 D/B/S 12/0/0
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 0min 0mb A-V:-0.001 [0:127]
A/Vms 2/0 D/B/S 15/0/0
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 0min 0mb A-V:0.009 [0:127]
A/Vms 2/0 D/B/S 16/0/0
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 9min 72mb A-V:0.019 [0:128]
A/Vms 2/0 D/B/S 18/0/0
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 9min 71mb A-V:0.035 [0:128]
A/Vms 2/0 D/B/S 20/0/0
a52: error at resampling
a52: CRC check failed!
***********************************************************************************
I tried also with/without -ni option and/or -nocache option (I have
cache by default in my config)
Would you please help me out of this puzzle? Is it a Region Encoding Demon?
Dominik
More information about the MPlayer-users
mailing list