LinuxMCE Forums
May 23, 2013, 11:50:07 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: DVD Ripping and Transcoding  (Read 769 times)
xephyrus
Newbie
*
Posts: 6


View Profile
« on: January 24, 2008, 12:52:10 am »

Hi,

I notice that LinuxMCE has a DVD ripping function.  But it looks like it doesn't have any automatic transcoding hooked in.  Understandable given how tricky it can be to get good transcoding set up.  But, how hard would it be to hook things up so that the main feature of a DVD could be transcoded automatically upon completion of a rip?

I very rarely care about any of the "special features" on a DVD.  I'm just after the content, and most DVD's can be compressed down quite a bit without losing visible quality.

Thanks,
.  Topher
Logged
kir
Guru
****
Posts: 183



View Profile
« Reply #1 on: January 30, 2008, 02:55:46 pm »

Hi,

I notice that LinuxMCE has a DVD ripping function.  But it looks like it doesn't have any automatic transcoding hooked in.  Understandable given how tricky it can be to get good transcoding set up.  But, how hard would it be to hook things up so that the main feature of a DVD could be transcoded automatically upon completion of a rip?

I very rarely care about any of the "special features" on a DVD.  I'm just after the content, and most DVD's can be compressed down quite a bit without losing visible quality.

Thanks,
.  Topher

What I can say is that the script that does ripping is here:
http://svn.linuxmce.com/pluto/trunk/src/Disk_Drive/ripDiskWrapper.sh

and the code that does DVD ripping runs here:

Code:
if [[ "$diskType" == 2 ]]; then
         if eval "$command"; then
                 echo "Ripping successful"
                 touch "$targetFileName.dvd.lock"
                 mv -f "$targetFileName.dvd"{.in-progress,}
                 exit 0;
         else
...

(the $command is constructed above, the magic "2" is actually DISCTYPE_DVD_VIDEO constant, see beginning of the same file for both)

So probably before doing "exit 0" you can insert required transcoding commands, if you know how to do the transcoding itself.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!