dvd::rip

->ABOUT / NEWS

->DOCUMENTATION
-TABLE OF CONTENTS
-INSTALLATION
-USING THE GUI
-CLUSTER MODE
-FAQ

->KEY FEATURES

->DOWNLOAD

->SUPPORT

->TRANSLATIONS

->MAILING LIST
-SEARCH ARCHIVE

->CHANGE LOG

->CREDITS

->TODO

->LINKS

http://www.exit1.org/


[dvd::rip] A couple of problems with dvd::rip - Problems transcoding 6ch

Subject: [dvd::rip] A couple of problems with dvd::rip - Problems transcoding 6ch AC3
From: Brett Wyer <brett.wyer@xxxxxxxxx>
Date: Sat, 14 Mar 2009 15:46:57 -0500
Thanks for building such a great tool!

Basically, I have tried transcoding two different DVD's with 6-channel audio, with the end result being 2-channel no matter what I do.  I've tried a number of combinations of encoding schemes with no different results.

Here's the tcprobe info for my most recent attempt (The Matrix):

-bash-3.2# tcprobe -i /mnt
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/loop0 mounted on /mnt for CSS authentication
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/loop0 mounted on /mnt for CSS authentication
[dvd_reader.c] mpeg2 ntsc 16:9 only letterboxed U0 NTSC CC 1 720x480 video
[dvd_reader.c] ac3 en drc 48kHz 6Ch
[dvd_reader.c] ac3 en drc 48kHz 2Ch
[dvd_reader.c] ac3 en drc 48kHz 2Ch
[dvd_reader.c] DVD title 1/35: 38 chapter(s), 1 angle(s), title set 2
[dvd_reader.c] title playback time: 02:16:13.09  8174 sec
[tcprobe] DVD image/device
[tcprobe] summary for /mnt, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 16:9 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
      audio track: -a 1 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
      audio track: -a 2 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
V: 195981 frames, 8174 sec @ 23.976 fps
A: 124.73 MB @ 128 kbps
USER CDSIZE:  650 MB | V: -124.7 MB @ -15999.9 kbps
USER CDSIZE:  700 MB | V: -124.7 MB @ -15999.9 kbps
USER CDSIZE: 1300 MB | V: -124.7 MB @ -15999.8 kbps
USER CDSIZE: 1400 MB | V: -124.7 MB @ -15999.8 kbps

As would be expected, the first audio channel is AC3, 6Ch.

Step-by-step, here's what I'm doing (the unencrypted ISO is mounted on /mnt):

- I go to Rip Title and Read TOC
- I select title #1, audio track 1 (en ac3 48kHz 6Ch)

If I click on View Selected Title/Chapters, it seems a little wonky at this point.  When mplayer comes up, it reports the following:

Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
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)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...

This strikes me as odd - why would it be selecting 2ch, when this is a 6ch track?  I assume, though, because I'm in a default configuration, and this machine doesn't have a sound card.  Anyway, moving along:

- I rip selected titles/chapters and wait...

Here is where the first of my problems comes in.  The rip process seems to die in the middle - here is the log:

Sat Mar 14 09:51:57 2009 Start job 'Rip selected title(s) / chapter(s)'
Sat Mar 14 09:51:57 2009 Start job 'Process title #1'
Sat Mar 14 09:51:57 2009 Start job 'Rip - title #1'
Sat Mar 14 09:51:57 2009 Executing command: rm -f /home/wyer/dvdrip-data/The_Matrix/vob/001//The_Matrix-???.vob && execflow -n 19 tccat -t dvd -T 1,-1,1 -i \/mnt | dvdrip-splitpipe -f /home/wyer/dvdrip-data/The_Matrix/tmp/The_Matrix-001-nav.log 1024 /home/wyer/dvdrip-data/The_Matrix/vob/001//The_Matrix vob  | tcextract -a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm && echo EXECFLOW_OK
Sat Mar 14 09:52:45 2009 Rip - title #1: 10% done.
Sat Mar 14 09:53:36 2009 Rip - title #1: 20% done.
Sat Mar 14 09:54:34 2009 Rip - title #1: 30% done.
Sat Mar 14 09:55:27 2009 Rip - title #1: 40% done.
Sat Mar 14 09:56:29 2009 Rip - title #1: 50% done.
Sat Mar 14 09:57:43 2009 Rip - title #1: 60% done.
Sat Mar 14 09:58:59 2009 Rip - title #1: 70% done.
Sat Mar 14 10:00:11 2009 Executing command: execflow tcprobe -H 25 -i /home/wyer/dvdrip-data/The_Matrix/vob/001/ && echo EXECFLOW_OK
Sat Mar 14 10:00:17 2009 Program stream units calculated
Sat Mar 14 10:00:17 2009 Enabled PSU core. Movie is NTSC and has more than one PSU.
Sat Mar 14 10:00:17 2009 Job 'Process title #1' finished
Sat Mar 14 10:00:17 2009 Job 'Rip - title #1' finished

Not sure what's going on here, but it appears from the log that the rip finished, even though the progress list only went to 70%.  The only way to proceed at this point is to exit dvd::rip.  If I do so, the following error is logged:

Gtk-CRITICAL **: gtk_text_layout_get_iter_location: assertion `GTK_IS_TEXT_LAYOUT (layout)' failed at /usr/local/lib/perl5/site_perl/5.10.0/Video/DVDRip/Logger.pm line 109.

I don't know if that has something to do with the rip process or not.  Moving along...

- I go to Clip and Zoom, grab a frame, and apply presets (autoadjust, big frame, HQ)
- I skip subtitles, go to transcode and select AVI, ffmpeg with mpeg4 audio, BPP by quality of .25, select track 1 (the 6ch track) and click the AC3 tab, select use PSU core, then click transcode.

About an hour and 15 minutes later, I have an AVI file, which I check using Mplayer, VLC Video player and my media server, and they all agree that there are only 2 channels in the audio track.

I had similar results with Journey to the Center of the Earth.  What's going on here?

Below is the output from the Debug window.  The man page for transcode says that using the -A switch makes it use AC3 and passthru.  That would seem to imply that I would end up with a 6-channel AVI.  What's going on here?

Probe Command:
==============
execflow tcprobe -H 10 -i /mnt -T 1 && echo EXECFLOW_OK; execflow dvdxchap -t 1 /mnt 2>/dev/null


Rip Command:
============
rm -f /home/wyer/dvdrip-data/The_Matrix/vob/001//The_Matrix-???.vob && execflow -n 0 tccat -t dvd -T 1,-1,1 -i \/mnt | dvdrip-splitpipe -f /home/wyer/dvdrip-data/The_Matrix/tmp/The_Matrix-001-nav.log 1024 /home/wyer/dvdrip-data/The_Matrix/vob/001//The_Matrix vob  | tcextract -a 0 -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm && echo EXECFLOW_OK


Grab Preview Image Command:
===========================
mkdir -m 0775 /home/wyer/dvdrip-data/The_Matrix/tmp/dvdrip27519.snap; cd /home/wyer/dvdrip-data/The_Matrix/tmp/dvdrip27519.snap; execflow tccat -i \/home\/wyer\/dvdrip\-data\/The_Matrix\/vob\/001\/  -t vob -S 1385619 -d 0 | tcdemux -s 0x80 -x mpeg2 -S 9 -M 0 -d 0 -P /dev/null | tcextract -t vob -a 0 -x mpeg2 -d 0 | ffmpeg -r 29.970 -i - -an -r 1 -ss '0.367' -vframes 1 snapshot%03d.png  && execflow convert -size 720x480 /home/wyer/dvdrip-data/The_Matrix/tmp/dvdrip27519.snap/snapshot*.png /home/wyer/dvdrip-data/The_Matrix/tmp/The_Matrix-001-preview-orig.jpg && execflow convert -size 720x480 /home/wyer/dvdrip-data/The_Matrix/tmp/dvdrip27519.snap/snapshot*.png gray:/home/wyer/dvdrip-data/The_Matrix/tmp/The_Matrix-001-preview-orig.raw && rm -r /home/wyer/dvdrip-data/The_Matrix/tmp/dvdrip27519.snap && echo EXECFLOW_OK


Transcode Command:
==================
mkdir -m 0775 -p '/home/wyer/dvdrip-data/The_Matrix/tmp' && cd /home/wyer/dvdrip-data/The_Matrix/tmp && mkdir -p /home/wyer/dvdrip-data/The_Matrix/avi/001 && execflow -n 0 transcode -H 10 -a 0 -x vob -i \/home\/wyer\/dvdrip\-data\/The_Matrix\/vob\/001\/ -w 1841,50 -F mpeg4 -A -N 0x2000 -f 30,4 -M 2 -Y 56,0,56,0 -Z 768x432 -R 1 -y ffmpeg,null -o /dev/null --progress_meter 2 --progress_rate 25 && echo EXECFLOW_OK
mkdir -m 0775 -p '/home/wyer/dvdrip-data/The_Matrix/tmp' && cd /home/wyer/dvdrip-data/The_Matrix/tmp && mkdir -p /home/wyer/dvdrip-data/The_Matrix/avi/001 && execflow -n 0 transcode -H 10 -a 0 -x vob -i \/home\/wyer\/dvdrip\-data\/The_Matrix\/vob\/001\/ -w 1841,50 -F mpeg4 -A -N 0x2000 -f 30,4 -M 2 -Y 56,0,56,0 -Z 768x432 -R 2 -y ffmpeg -o /home/wyer/dvdrip-data/The_Matrix/avi/001/The_Matrix-001.avi --progress_meter 2 --progress_rate 25 && echo EXECFLOW_OK


View DVD Command:
=================
mplayer dvd://1 -aid 128 -chapter 1 -dvdangle 1 -dvd-device \/mnt


View Files Command:
===================
mplayer movie.avi


CD image creation command:
========================
No files for image creation selected.


CD burning command:
==================
No files for burning selected.


WAV creation command:
====================
mkdir -p /home/wyer/dvdrip-data/The_Matrix/avi/001 && execflow -n 0 transcode -a 0 --progress_meter 2 --progress_rate 200 -y null,wav -u 100 -o /home/wyer/dvdrip-data/The_Matrix/avi/001/The_Matrix-001-00.wav -x null -i \/home\/wyer\/dvdrip\-data\/The_Matrix\/vob\/001\/ && echo EXECFLOW_OK

Here are the versions of software I'm runnig:

  Program              Version  
  -------------------------------
  dvd::rip             0.98.10  
  transcode            1.1.1    
  ImageMagick          6.4.0    
  ffmpeg               SVN-r16671,
  xvid4conf            1.12     
  subtitle2pgm         not installed
  lsdvd                0.16     
  rar                  3.80     
  mplayer              cvs      
  ogmtools             not installed
  dvdxchap             not installed
  mjpegtools           1.9.0    
  xine                 0.99.5   
  fping                2.4      
  hal                  0.5.12   
  -------------------------------

Linux-wise, I'm running a 64-bit instance of Fedora Core 10 - 2.6.27.5-117.fc10.x86_64.

Thanks,

Brett
<Prev in Thread] Current Thread [Next in Thread>
  • [dvd::rip] A couple of problems with dvd::rip - Problems transcoding 6ch AC3, Brett Wyer <=
 

Archive powered by MHonArc. Search powered by ht://dig.

[ top ]