[MEncoder-users] riping dvds to avi, retaining original encoding
Florian
mynameisflorian at yahoo.com
Fri Dec 29 18:47:53 CET 2006
Thanks for the response, but I'm still having problems. When i try to use the "-of mpeg" option mencoder outputs ALOT of error messages. It creates the file and the video looks fine; but the audio cuts out after a few seconds. I tried using different file extensions(mpg,mpeg,vob), but I don't think that has any effect anyway. I have included the output ... Any ideas?
Thanks!
- Florian
/media/incoming$ mencoder dvd://1 -ovc copy -oac copy -of mpeg -o lost_2x02.mpg
MEncoder dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags: Type: 8 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE
86 audio & 200 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 36 titles on this DVD.
There are 10 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000002cd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000b335
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000167aa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000d1581
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000d163c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0018cf35
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0018cff0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00257eb6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00257f71
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x00312266
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00312321
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003123ee
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003124a9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00312576
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003127d4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x00312989
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00312a44
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00312c11
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00312ccc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00313a67
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00313b22
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x00313d70
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x00313e2b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x0031407a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00314135
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_0.VOB at 0x00314952
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00314a0d
libdvdread: Elapsed time 0
libdvdread: Found 13 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
success: format: 0 data: 0x100000 - 0x5d6c4000
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
PACKET SIZE: 2048 bytes
videocodec: framecopy (720x480 24bpp fourcc=10000002)
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=48000 sample-1)
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4
INITIAL DELAY of 0 frames 0fps Trem: 0min 0mb A-V:0.040 [0:0]
Pos: 0.7s 22f ( 0%) 0fps Trem: 0min 6mb A-V:0.070 [0:384]
Skipping frame!
Pos: 1.0s 32f ( 0%) 0fps Trem: 0min 13mb A-V:0.070 [296:391]
Skipping frame!
Pos: 1.3s 42f ( 0%) 0fps Trem: 0min 12mb A-V:0.070 [246:388]
Skipping frame!
Pos: 1.6s 52f ( 0%) 0fps Trem: 0min 16mb A-V:0.070 [285:385]
Skipping frame!
Pos: 1.9s 62f ( 0%) 0fps Trem: 0min 22mb A-V:0.070 [282:384]
Skipping frame!
Pos: 2.3s 74f ( 0%) 0fps Trem: 0min 21mb A-V:0.010 [276:388]
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
1 duplicate frame(s)!
Pos: 2.4s 77f ( 0%) 0fps Trem: 0min 27mb A-V:0.022 [288:387]
1 duplicate frame(s)!
Pos: 2.7s 85f ( 0%) 0fps Trem: 0min 27mb A-V:0.022 [266:386]
1 duplicate frame(s)!
Pos: 3.0s 93f ( 0%) 0fps Trem: 0min 31mb A-V:0.022 [950:385]
1 duplicate frame(s)!
Pos: 3.3s 101f ( 0%) 0fps Trem: 1min 114mb A-V:0.022 [1724:384]
1 duplicate frame(s)!
Pos: 3.6s 109f ( 0%) 0fps Trem: 1min 111mb A-V:0.022 [2270:386]
1 duplicate frame(s)!
Pos: 3.9s 117f ( 0%) 0fps Trem: 1min 167mb A-V:0.022 [2874:385]
1 duplicate frame(s)!
Pos: 4.2s 125f ( 0%) 0fps Trem: 1min 236mb A-V:0.022 [3264:385]
1 duplicate frame(s)!
Pos: 4.5s 133f ( 0%) 0fps Trem: 1min 289mb A-V:0.022 [3511:384]
1 duplicate frame(s)!
Pos: 4.8s 141f ( 0%) 0fps Trem: 1min 283mb A-V:0.022 [3681:384]
1 duplicate frame(s)!
Pos: 5.1s 149f ( 0%) 0fps Trem: 1min 340mb A-V:0.022 [3867:385]
1 duplicate frame(s)!
Pos: 5.4s 157f ( 0%) 0fps Trem: 1min 365mb A-V:0.022 [3919:385]
1 duplicate frame(s)!
Pos: 5.7s 165f ( 0%) 0fps Trem: 2min 361mb A-V:0.022 [3909:384]
1 duplicate frame(s)!
Pos: 5.9s 168f ( 0%) 0fps Trem: 2min 361mb A-V:0.034 [3951:384]
ERROR: SCR: 574238938, APTS: 569917440, DELTA=-0.047 secs, COMPENSATE=2250, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 576934503, APTS: 572866560, DELTA=-0.044 secs, COMPENSATE=2118, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 579630068, APTS: 575815680, DELTA=-0.041 secs, COMPENSATE=1986, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 585022697, APTS: 581713920, DELTA=-0.036 secs, COMPENSATE=1723, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 587381129, APTS: 584663040, DELTA=-0.029 secs, COMPENSATE=1415, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 590076694, APTS: 587612160, DELTA=-0.027 secs, COMPENSATE=1283, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 595469323, APTS: 593510400, DELTA=-0.021 secs, COMPENSATE=1020, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 597827755, APTS: 596459520, DELTA=-0.015 secs, COMPENSATE=712, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 600186187, APTS: 599408640, DELTA=-0.008 secs, COMPENSATE=404, BR: 48000, lens: 2016/2016, frames: 2
Pos: 6.0s 173f ( 0%) 155fps Trem: 2min 386mb A-V:0.022 [4059:384]
1 duplicate frame(s)!
Pos: 6.3s 181f ( 0%) 156fps Trem: 2min 383mb A-V:0.022 [4175:385]
ERROR: SCR: 617329261, APTS: 617103360, DELTA=-0.002 secs, COMPENSATE=117, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 622469136, APTS: 620052480, DELTA=-0.026 secs, COMPENSATE=1258, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 625820883, APTS: 623001600, DELTA=-0.031 secs, COMPENSATE=1468, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 630737242, APTS: 628899840, DELTA=-0.020 secs, COMPENSATE=956, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 633641957, APTS: 631848960, DELTA=-0.019 secs, COMPENSATE=933, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 636546672, APTS: 634798080, DELTA=-0.019 secs, COMPENSATE=910, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 641463031, APTS: 637747200, DELTA=-0.040 secs, COMPENSATE=1935, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 644591262, APTS: 643645440, DELTA=-0.010 secs, COMPENSATE=492, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 647272461, APTS: 646594560, DELTA=-0.007 secs, COMPENSATE=353, BR: 48000, lens: 2016/2016, frames: 1
1 duplicate frame(s)!
Pos: 6.6s 189f ( 0%) 149fps Trem: 2min 426mb A-V:0.022 [4256:384]
1 duplicate frame(s)!
Pos: 6.8s 194f ( 0%) 150fps Trem: 2min 426mb A-V:0.009 [4281:384]
ERROR: SCR: 662939163, APTS: 649543680, DELTA=-0.145 secs, COMPENSATE=6976, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 669221727, APTS: 655441920, DELTA=-0.150 secs, COMPENSATE=7176, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 672624249, APTS: 658391040, DELTA=-0.154 secs, COMPENSATE=7413, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 675764949, APTS: 661340160, DELTA=-0.157 secs, COMPENSATE=7512, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 681262047, APTS: 667238400, DELTA=-0.152 secs, COMPENSATE=7303, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 684402747, APTS: 670187520, DELTA=-0.154 secs, COMPENSATE=7403, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 687543447, APTS: 673136640, DELTA=-0.156 secs, COMPENSATE=7503, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 692516901, APTS: 679034880, DELTA=-0.146 secs, COMPENSATE=7021, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 695395779, APTS: 681984000, DELTA=-0.146 secs, COMPENSATE=6985, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 698274657, APTS: 684933120, DELTA=-0.145 secs, COMPENSATE=6948, BR: 48000, lens: 2016/2016, frames: 2
Pos: 6.9s 197f ( 0%) 141fps Trem: 2min 460mb A-V:0.022 [4307:384]
1 duplicate frame(s)!
Pos: 7.1s 201f ( 0%) 142fps Trem: 2min 460mb A-V:0.038 [4342:384]
ERROR: SCR: 712168367, APTS: 690831360, DELTA=-0.232 secs, COMPENSATE=11113, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 718546374, APTS: 693780480, DELTA=-0.269 secs, COMPENSATE=12898, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 722024701, APTS: 696729600, DELTA=-0.274 secs, COMPENSATE=13174, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 725213060, APTS: 699678720, DELTA=-0.277 secs, COMPENSATE=13299, BR: 48000, lens: 2016/2016, frames: 1
Pos: 7.2s 205f ( 0%) 138fps Trem: 2min 480mb A-V:0.022 [4361:384]
1 duplicate frame(s)!
Pos: 7.5s 211f ( 0%) 140fps Trem: 2min 471mb A-V:0.013 [4350:384]
ERROR: SCR: 750640352, APTS: 705576960, DELTA=-0.489 secs, COMPENSATE=23470, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 758407330, APTS: 708526080, DELTA=-0.541 secs, COMPENSATE=25979, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 761642732, APTS: 711475200, DELTA=-0.544 secs, COMPENSATE=26128, BR: 48000, lens: 2016/2016, frames: 2
Pos: 7.5s 213f ( 0%) 136fps Trem: 3min 500mb A-V:0.022 [4397:384]
1 duplicate frame(s)!
Pos: 7.6s 214f ( 0%) 137fps Trem: 3min 500mb A-V:0.026 [4369:384]
Writing AVI index...
ERROR: SCR: 795128138, APTS: 717373440, DELTA=-0.844 secs, COMPENSATE=40497, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 801131545, APTS: 720322560, DELTA=-0.877 secs, COMPENSATE=42088, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 804243947, APTS: 723271680, DELTA=-0.879 secs, COMPENSATE=42173, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 805551901, APTS: 729169920, DELTA=-0.829 secs, COMPENSATE=39782, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 805773298, APTS: 732119040, DELTA=-0.799 secs, COMPENSATE=38361, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 805994695, APTS: 735068160, DELTA=-0.770 secs, COMPENSATE=36940, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 806216092, APTS: 740966400, DELTA=-0.708 secs, COMPENSATE=33984, BR: 48000, lens: 2016/2016, frames: 1
^F
ERROR: SCR: 806437489, APTS: 743915520, DELTA=-0.678 secs, COMPENSATE=32563, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 806658886, APTS: 746864640, DELTA=-0.649 secs, COMPENSATE=31142, BR: 48000, lens: 2016/2016, frames: 2
ERROR: SCR: 806880283, APTS: 752762880, DELTA=-0.587 secs, COMPENSATE=28186, BR: 48000, lens: 2016/2016, frames: 1
ERROR: SCR: 807101680, APTS: 755712000, DELTA=-0.558 secs, COMPENSATE=26765, BR: 48000, lens: 960/960, frames: 2
Overhead: 1.255% (56688 / 4516496)
Fixing AVI header...
Video stream: 4369.484 kbit/s (546185 bps) size: 4155165 bytes 7.608 secs 214 frames
Audio stream: 384.000 kbit/s (48000 bps) size: 384000 bytes 8.000 secs
florian at ubuntu-florian:/media/incoming$
----- Original Message ----
From: RC <rcooley at spamcop.net>
To: MEncoder usage discussions <mencoder-users at mplayerhq.hu>
Sent: Saturday, December 23, 2006 12:03:05 AM
Subject: Re: [MEncoder-users] riping dvds to avi, retaining original encoding
On Fri, 22 Dec 2006 15:03:37 -0800 (PST)
florian austin <mynameisflorian at yahoo.com> wrote:
> 1) Is
all that extra data (i think about 500MB or so) seek
> information?
No, the index is probably only around 20MBs.
Most of the space is probably extra audio tracks, subtitles, etc.
> 2) How can I rip this DVD into an AVI container, with seek
> information, that can also be played using other media players, such
> as Totem(xine, I believe)
You can't, really. MPEG-2 in an AVI is completely non-standard.
See -of mpeg in the docs to output to a standard MPEG or VOB file.
_______________________________________________
MEncoder-users mailing list
MEncoder-users at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MEncoder-users
mailing list