View previous topic :: View next topic |
Author |
Message |
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Fri Jul 25, 2025 2:38 am Post subject: DVD to Matroska (x264) |
|
|
With the help of several online resources i have created a script for ripping DVDs to .mkv using the x264 video codec.
And it works very well, except that I keep loosing a/v sync no matter which dvds i use and which media players i use....
Can anyone spot ehat's going wrong? i THINK the problem is with step 5, the actual call to mkvmerge, but i'm not sure...
Code: | #!/bin/bash
FRAMERATE="29.97";
CROP="704:480:8:0";
BITRATE="1024";
ASPECTRATIO="4/3";
SUBS=( 0x20 eng );
AUDIO1=( 128 eng );
AUDIO2=( 129 jpn );
TITLES=( 2 3 4 5 6 7 );
TARGETS=(
Kaleido_Star_21_-_The_Amazing_Mystery_Star
Kaleido_Star_22_-_The_Amazing_Resolve_Beneath_the_Mask
Kaleido_Star_23_-_The_Legendary_Amazing_Maneuver
Kaleido_Star_24_-_The_Amazing_Intensive_Training_Continues
Kaleido_Star_25_-_An_Amazing_Bond
Kaleido_Star_26_-_An_Amazing_Comeback
)
for i in $(seq 0 4); do
if [ ! -e ${TARGETS[$i]}/step1 ]; then
echo Ripping DVD \(${TARGETS[$i]}\);
mkdir -p ${TARGETS[$i]};
mplayer dvd://${TITLES[$i]} -dumpstream -dumpfile ${TARGETS[$i]}/${TARGETS[$i]}.vob >/dev/null 2>&1;
dvdxchap -t ${TITLES[$i]} /dev/dvd > ${TARGETS[$i]}/chapters.txt ;
touch ${TARGETS[$i]}/step1;
fi;
done;
IFO="VTS_01_0.IFO"
mount /dev/dvd >/dev/null 2>&1;
cp /media/dvd/VIDEO_TS/$IFO .;
for i in $(seq 0 4); do
if [ ! -e ${TARGETS[$i]}/step2 ]; then
echo Extracting Subtitles \(${TARGETS[$i]}\)
mkdir -p ${TARGETS[$i]}
tccat -i ${TARGETS[$i]}/${TARGETS[$i]}.vob -L | tcextract -x ps1 -t vob -a ${SUBS[0]} > ${TARGETS[$i]}/subs-${SUBS[1]}
subtitle2vobsub -o ${TARGETS[$i]}/vobsubs -i ${IFO} -a ${SUBS[0]}< ${TARGETS[$i]}/subs-${SUBS[1]}
rm ${TARGETS[$i]}/subs-${SUBS[1]}
touch ${TARGETS[$i]}/step2;
fi;
done;
for i in $(seq 0 4); do
if [ ! -e ${TARGETS[$i]}/step3 ]; then
echo Extracting Audio \(${TARGETS[$i]}\);
mkdir -p ${TARGETS[$i]}
mplayer ${TARGETS[$i]}/${TARGETS[$i]}.vob -aid ${AUDIO1[0]} -dumpaudio -dumpfile ${TARGETS[$i]}/audio${AUDIO1[1]}.ac3 >/dev/null 2>&1
mplayer ${TARGETS[$i]}/${TARGETS[$i]}.vob -aid ${AUDIO2[0]} -dumpaudio -dumpfile ${TARGETS[$i]}/audio${AUDIO2[1]}.ac3 >/dev/null 2>&1
## tried audio as MP3, no effect.... :-(
# transcode -i ${TARGETS[$i]}/audio${AUDIO1[1]}.ac3 -y null,wav -o${TARGETS[$i]}/temp.wav >/dev/null 2>&1
# lame ${TARGETS[$i]}/temp.wav ${TARGETS[$i]}/audio${AUDIO1[1]}.mp3
# transcode -i ${TARGETS[$i]}/audio${AUDIO2[1]}.ac3 -y null,wav -o${TARGETS[$i]}/temp.wav >/dev/null 2>&1
# lame ${TARGETS[$i]}/temp.wav ${TARGETS[$i]}/audio${AUDIO2[1]}.mp3
# rm ${TARGETS[$i]}/temp.wav ${TARGETS[$i]}/*.ac3
touch ${TARGETS[$i]}/step3;
fi;
done;
for i in $(seq 0 4); do
if [ ! -e ${TARGETS[$i]}/step4 ]; then
echo Encoding Video \(${TARGETS[$i]}\) \(This will take a while...\)
mencoder ${TARGETS[$i]}/${TARGETS[$i]}.vob -vf pullup,softskip,crop=${CROP},harddup -nosound -ovc x264 \
-x264encopts bitrate=${BITRATE}:me=umh:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:threads=auto:pass=1 \
-of rawvideo -o /dev/null 2>/dev/null
mencoder ${TARGETS[$i]}/${TARGETS[$i]}.vob -vf pullup,softskip,crop=${CROP},harddup -nosound -ovc x264 \
-x264encopts bitrate=${BITRATE}:subq=5:me=umh:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:threads=auto:pass=2 \
-of rawvideo -o ${TARGETS[$i]}/${TARGETS[$i]}.264 2>/dev/null
touch ${TARGETS[$i]}/step4;
fi;
done;
for i in $(seq 0 4); do
if [ ! -e ${TARGETS[$i]}/step5 ]; then
echo Muxing Video Into Container \(${TARGETS[$i]}\);
mkvmerge -o "${TARGETS[$i]}.mkv" --chapters ${TARGETS[$i]}/chapters.txt --default-track 0:yes --aspect-ratio 0:4/3 --default-duration 0:30000/1001fps \
-d 0 -A -S ${TARGETS[$i]}/${TARGETS[$i]}.264 --language 0:${AUDIO1[1]} --default-track 0:yes -a 0 -D -S \
${TARGETS[$i]}/audio${AUDIO1[1]}.ac3 --language 0:${AUDIO2[1]} --default-track 0:no -a 0 -D -S \
${TARGETS[$i]}/audio${AUDIO2[1]}.ac3 --language 0:${SUBS[1]} --default-track 0:no -s 0 -D -A \
${TARGETS[$i]}/vobsubs.idx --track-order 0:0,1:0,2:0,3:0;
touch ${TARGETS[$i]}/step5;
fi;
|
oh, and sorry about the lack of comments.... -embarrassed-
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Fri Jul 25, 2025 9:50 am Post subject: |
|
|
I've just been using VLC. Its transcode/save to file wizard is ridiculously easy and I've only run into a couple movies it couldn't rip (but then again, nothing else could either). It supports H 264 but not the .mkv container - just MPEG TS or MP4. The audio can be transcoded or not - it's up to you.
I can't help with your script.
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Fri Jul 25, 2025 3:58 pm Post subject: |
|
|
BrionS wrote: | I've just been using VLC. Its transcode/save to file wizard is ridiculously easy and I've only run into a couple movies it couldn't rip (but then again, nothing else could either). It supports H 264 but not the .mkv container - just MPEG TS or MP4. The audio can be transcoded or not - it's up to you.
I can't help with your script. |
Repeat after me... I hate Sony, I hate Sony...... I hate Sony...
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Fri Jul 25, 2025 9:35 pm Post subject: |
|
|
Actually ARccOS doesn't stop VLC for the most part.
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Fri Jul 25, 2025 11:04 pm Post subject: |
|
|
ARccOS doesn't stop mplayer/mencoder, doesn't even slow 'em down.
I'm wondering what is causing the audio sync issues though....
I'll reencode a chapter and post the output that might help...
~~ unrelated ~~
@ DedannaRocks! - I [censored] HATE SONY AND ALL THEIR [censored - you really don't want to know] TOO!
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Sat Jul 26, 2025 12:26 am Post subject: |
|
|
Did some checking...
Quote: | Ripping DVD (Kaleido_Star_26_-_An_Amazing_Comeback)
MPlayer dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing dvd://7.
There are 7 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: ja aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: en
number of subtitles on disk: 2
Core dumped ;)
Exiting... (End of file)
Extracting Subtitles (Kaleido_Star_26_-_An_Amazing_Comeback)
tc_memcpy: using amd64 for memcpy
Extracting Audio (Kaleido_Star_26_-_An_Amazing_Comeback)
MPlayer dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.vob.
MPEG-PS file format detected.
Core dumped ;)
Exiting... (End of file)
MPlayer dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.vob.
MPEG-PS file format detected.
Core dumped ;)
Exiting... (End of file)
Encoding Video (Kaleido_Star_26_-_An_Amazing_Comeback) (This will take a while...)
MEncoder dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0x4f673000
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8900.0 kbps (1112.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.970 ftime:=0.0334
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: [crop w=704 h=480 x=8 y=0]
Crop: 704 x 480, 8 ; 0
Opening video filter: [softskip]
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.0s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 4f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0.1s 5f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.5s 23f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.6s 24f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.8s 29f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[[... Theres a lot of these spread through the logs... Check online for full output ]]Pos:1431.3s 42902f (99%) 48.56fps Trem: 0min 182mb A-V:0.000 [1068:0]
Flushing video frames.
Video stream: 1067.954 kbit/s (133494 B/s) size: 191092129 bytes 1431.463 secs 42902 frames
x264 [info]: slice I:428 Avg QP:16.57 size: 29528
x264 [info]: slice P:20237 Avg QP:19.34 size: 7107
x264 [info]: slice B:22233 Avg QP:18.38 size: 1557
x264 [info]: mb I I16..4: 45.8% 0.0% 54.2%
x264 [info]: mb P I16..4: 10.3% 0.0% 5.3% P16..4: 34.2% 7.4% 2.7% 0.0% 0.0% skip:40.1%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.3% B16..8: 12.9% 0.0% 0.0% direct:15.6% skip:70.7%
x264 [info]: final ratefactor: 20.31
x264 [info]: kb/s:1067.9
MEncoder dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0x4f673000
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8900.0 kbps (1112.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.970 ftime:=0.0334
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: [crop w=704 h=480 x=8 y=0]
Crop: 704 x 480, 8 ; 0
Opening video filter: [softskip]
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
Pos: 0.0s 1f ( 0%) 0.28fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.0s 2f ( 0%) 0.56fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 3f ( 0%) 0.84fps Trem: 0min 0mb A-V:0.000 [0:0]
[[... Theres a lot of these spread through the logs... Check online for full output ]]
Pos:1431.3s 42902f (99%) 35.92fps Trem: 0min 174mb A-V:0.000 [1024:0]
Flushing video frames.
Video stream: 1024.351 kbit/s (128043 B/s) size: 183290043 bytes 1431.463 secs 42902 frames
x264 [info]: slice I:428 Avg QP:16.48 size: 27071
x264 [info]: slice P:20237 Avg QP:18.62 size: 7001
x264 [info]: slice B:22233 Avg QP:18.28 size: 1349
x264 [info]: mb I I16..4: 23.0% 41.5% 35.5%
x264 [info]: mb P I16..4: 4.2% 10.3% 3.2% P16..4: 27.1% 8.6% 3.3% 0.0% 0.0% skip:43.4%
x264 [info]: mb B I16..4: 0.2% 0.6% 0.1% B16..8: 12.2% 0.5% 1.0% direct:10.5% skip:74.9%
x264 [info]: 8x8 transform intra:56.9% inter:43.3%
x264 [info]: ref P 77.6% 22.4%
x264 [info]: ref B 77.0% 23.0%
x264 [info]: kb/s:1024.3
Muxing Video Into Container (Kaleido_Star_26_-_An_Amazing_Comeback)
mkvmerge v2.1.0 ('Another Place To Fall') built on Jul 17 2025 01:24:11
'Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.264': Using the AVC/h.264 ES demultiplexer.
'Kaleido_Star_26_-_An_Amazing_Comeback/audioeng.ac3': Using the AC3 demultiplexer.
'Kaleido_Star_26_-_An_Amazing_Comeback/audiojpn.ac3': Using the AC3 demultiplexer.
'Kaleido_Star_26_-_An_Amazing_Comeback/vobsubs.idx': Using the VobSub subtitle reader (SUB file 'Kaleido_Star_26_-_An_Amazing_Comeback/vobsubs.sub').
'Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.264' track 0: Using the MPEG-4 part 10 ES video output module.
'Kaleido_Star_26_-_An_Amazing_Comeback/audioeng.ac3' track 0: Using the AC3 output module.
'Kaleido_Star_26_-_An_Amazing_Comeback/audiojpn.ac3' track 0: Using the AC3 output module.
'Kaleido_Star_26_-_An_Amazing_Comeback/vobsubs.idx' track 0: Using the VobSub subtitle output module (language: ).
The file 'Kaleido_Star_26_-_An_Amazing_Comeback.mkv' has been opened for writing.
progress: 100%
The cue entries (the index) are being written...
Muxing took 8 seconds. |
Full log is located at www.novacrusader.com/dragonrider/mkdvd.log (almost 7MB!@)
This might shed some light on what is going on....
Quote: | dragonfly@Sakura ~/FLCL/Kaleido_Star $ mplayer -vo null -ao null Kaleido_Star_26_-_An_Amazing_Comeback.mkv
MPlayer dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing Kaleido_Star_26_-_An_Amazing_Comeback.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
[mkv] Track ID 3: audio (A_AC3), -aid 1, -alang jpn
[mkv] Track ID 4: subtitles (S_VOBSUB), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 704x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 704x480 => 704x528 Planar YV12
A:1431.3 V:1431.3 A-V: -0.000 ct: -0.163 0/ 0 14% 0% 1.0% 0 0
Exiting... (End of file)
dragonfly@Sakura ~/FLCL/Kaleido_Star $ mplayer -vo null -ao null Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.264
MPlayer dev-SVN-r26753-4.1.2 (C) 2025-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing Kaleido_Star_26_-_An_Amazing_Comeback/Kaleido_Star_26_-_An_Amazing_Comeback.264.
H264-ES file format detected.
FPS seems to be: 29.970030
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.30:1 - prescaling to correct movie aspect.
VO: [null] 704x480 => 704x540 Planar YV12
V: 0.0 1111/1111 14% 3% 0.0% 0 0
Exiting... (End of file)
dragonfly@Sakura ~/FLCL/Kaleido_Star $ |
The frame counts seem to be off, unless i am reading something wrong?
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Sat Jul 26, 2025 1:04 pm Post subject: |
|
|
The duplicate frame messages are normal for a telecined film (also known as 3:2 pulldown). Basically for every 5 frames, you have 2 duplicates, and the rest are interlaced - so your decoding process is simply dropping the duplicate frames. It has never affected my sound before.
Here's a link to a site explaining progressive, interlaced, and telecine: http://www.animemusicvideos.org/guides/avtech/video2.htm
However, I wonder about all the "core dumped" messages in the top section and the "Audio: no sound" message in the bottom section. I've never been very good with getting manual encodings working correctly, so I usually use some other program such as DVD::Rip or VLC to do the mplayer magic for me (though I don't believe VLC uses mplayer).
As a side note, FLCL is a great series - strange to be sure, but great! 
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
|
Back to top |
|
tlmiller Ultimate Member

Joined: 01 May 2025 Posts: 2434 Location: MD, USA
|
Posted: Sat Jul 26, 2025 8:31 pm Post subject: |
|
|
I have no problems with most ARccOS protected DVD's...I did have an issue with one about a year ago...but I don't even remember what it was.
_________________ Debian Squeeze, Arch, Kubuntu mostly. Some Mandriva. Some Windows.
Desktops: shadowdragon, medusa
Laptops: bluedrake, banelord, sandwyrm, aardvark.
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Sun Jul 27, 2025 7:41 am Post subject: |
|
|
DedannaRocks! - try using VLC to play your ARccOS DVDs (it also rips/transcodes but perhaps not as fast or as well as mencoder). VLC doesn't require you to install any libdvdcss or other codecs to play (it includes what it needs).
If that works, then at least you have something that can play your movies, if not I'm not sure what will play them.
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Sun Jul 27, 2025 4:10 pm Post subject: |
|
|
It doesn't. Been there done that. Still, anything but Sony.
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Sun Jul 27, 2025 6:35 pm Post subject: |
|
|
Which movie in particular if you don't mind me asking?
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Fri Dec 19, 2025 3:52 am Post subject: |
|
|
BrionS wrote: | Which movie in particular if you don't mind me asking? |
Sorry, just saw this. Per a p.m. I sent to someone at the Mandriva forum back when it was happening:
Quote: | Hey,
I'm wondering if you can answer a question for me please?
This happens no matter what version of K3b I'm using. When I copy three dvds as .isos in K3b, they stick at 443 Mbs for a good while, then I get an I/O error, and my dvd writer loses UDMA.
The movies are Ratatouille, The Chronicles of Narnia, and Cars.
What happens at 443 Mbs with movies on dvd?
Needless to say, they can't be used to burn beyond that point.
Thanks. |
The response was:
They're right - I do hate 'em. LOL. I was trying to back them up at the time. I had tried every program I had (and I have a LOT of them installed) to no avail. I haven't tried recently with updates - will do so again when I have internet going again on Tuesday.
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
BrionS Sr. Member

Joined: 04 Jul 2025 Posts: 1074 Location: Rochester, NY
|
Posted: Fri Dec 19, 2025 4:10 am Post subject: |
|
|
I could not get Chronicles of Narnia to work and Disney uses Sony's ARccOS on many of their movies. So I hate Sony for creating it and Disney for using it.
However, it's rather easy to get around (with a good working version of VLC). Do the following:
1. Put the movie in the drive and open VLC
2. Open the disc to play locally with menus
3. Navigate through the menus to play the movie and keep an eye on the lower-right corner where it has the time position / end time information
4. When you finally get to the feature (you'll see because the end time is > 1hr) look at what time the title starts at - usually it will not be 1, it'll be 00:00:03 or 00:00:07 or something non-00:00:01 and will start counting up from there.
5. Make a note of that time - you'll need it when ripping
6. While the movie is playing, go to the Playback menu and select the title - see what title is currently selected (very often it's not title 1, more like title 6 or title 13).
7. Make a note of the title player - you'll need it when ripping
8. Now you can stop the movie and select the File -> Stream / Save option
9. Check the box for "no menus"
10. Select the title you found in step 6
11. Check the "more options" to see additional fields
12. Adjust the start time to the time in seconds you found in step 4.
13. Click Convert / Save and enter the file name you wish to save it to as well well as your encoding options
At this point VLC will start ripping the movie past the ARccOS garbage just like the DVD player would and it will rip the correct title. Unfortunately the latest version of VLC (after 0.96 I think) is broken and cannot start ripping from a non-zero start position. I'm very mad about this because Ubuntu does not have the old version in the Intrepid repos and so I can't roll back either. All I can hope for is them to fix it soon so I can continue backing up my movies (including Ratatouille and Cars).
_________________ Ubuntu 8.10 (64-bit), Ubuntu 7.10 (64-bit)
OpenFiler 2.2 (rPath Linux base), Mythbuntu 8.10
|
|
Back to top |
|
|