Author Topic: Transcoding  (Read 10508 times)

ferguscan

  • Newbie
  • *
  • Posts: 11
    • View Profile
Transcoding
« on: September 22, 2007, 07:47:15 am »
Hi,

I like to copy DVDs to my hard drive.  They take up a whole lotta space, however.  When copying a DVD to my hard drive, I would like to transcode to MPEG-4.  Does LinuxMCE contain a mechanism for doing this (automatically, or through manual prompting)?

Thanks,

Stuart

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Transcoding
« Reply #1 on: September 22, 2007, 08:47:32 am »
Hi,

I like to copy DVDs to my hard drive.  They take up a whole lotta space, however.  When copying a DVD to my hard drive, I would like to transcode to MPEG-4.  Does LinuxMCE contain a mechanism for doing this (automatically, or through manual prompting)?

Thanks,

Stuart

No it doesn't at present... but HandBrake might be a way forward. Look here http://handbrake.m0k.org/

The cli version (the only option currently if you not running Windows or Mac OSX) would look to be a good fit as it could be easily scripted to do the conversion ('easy' is a relative term here as HandBrake is a complex/powerful tool). I have not tried this I has to be said... but it looks 'doable' ;-)
« Last Edit: September 23, 2007, 11:07:44 am by totallymaxed »
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Transcoding
« Reply #2 on: September 24, 2007, 05:02:55 pm »
Good point, totallymaxed! It'd be great to have that option when DVD is stored on HDD.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: Transcoding
« Reply #3 on: September 25, 2007, 09:22:14 pm »
Has anybody tried handbrake for linux?

I downloaded it to attempt burning some dvd's in kubuntu, outside of LMCE, to prevent using so much disc space, but don't know how to install it!!

haven't had any experience with a 'cli'
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Transcoding
« Reply #4 on: September 25, 2007, 10:24:41 pm »
Has anybody tried handbrake for linux?

I downloaded it to attempt burning some dvd's in kubuntu, outside of LMCE, to prevent using so much disc space, but don't know how to install it!!

haven't had any experience with a 'cli'

Just download binary for Linux and untar it somewhere. Then run it
Code: [Select]
./HandBrakeCLI -i /home/public/data/videos/Harry_Potter_IV.dvd -o ~/tmp/Harry_Potter_IV.mp4
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Transcoding
« Reply #5 on: September 26, 2007, 10:00:30 am »
Good point, totallymaxed! It'd be great to have that option when DVD is stored on HDD.

Yep... ;-)

It HandBrake has all the features needed and because it can be drive smoothly from scripts its a great fit. I'm just experimenting with the many options for configuring HandBrake...

Hmmm... now that N770 or N800 looks like it could handle some down sampled video content ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Transcoding
« Reply #6 on: September 26, 2007, 11:03:01 am »
Hmmm... now that N770 or N800 looks like it could handle some down sampled video content ;-)

My old iPaq (with "familiar" on it) has little trouble streaming live video (at 320x240, using VLC).  Those Nokias should have equivalent but probably better specs then that old machine.  So I guess it could be very feasable to implement it as a full blown media director that way, what an awesome idea!
"Change is inevitable. Progress is optional."
-- Anonymous


totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Transcoding
« Reply #7 on: September 26, 2007, 12:46:49 pm »
Hmmm... now that N770 or N800 looks like it could handle some down sampled video content ;-)

My old iPaq (with "familiar" on it) has little trouble streaming live video (at 320x240, using VLC).  Those Nokias should have equivalent but probably better specs then that old machine.  So I guess it could be very feasable to implement it as a full blown media director that way, what an awesome idea!

Yeah I totally agree a full blown Orbiter with media playing capabilities would be very cool. I am doing a bunch of tests on the best settings for transcoding for N770 now (also iPod and PS3 too). It's just a matter of figuring out the best balance between video/audio quality/bit rate and size (if the video is going to be downloaded to the N770). If streamed from the Core then size is not the problem as such but bit rate maybe. Handbrake is a great tool and very scriptable...
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

CrafyZA

  • Regular Poster
  • **
  • Posts: 40
    • View Profile
    • my2wheels
Re: Transcoding
« Reply #8 on: September 26, 2007, 02:05:09 pm »
I think I wanna try my hand at programming a front end for handbrake. Comming from a .NET and c# environment, I'm thinking this cannot be too hard to figure out. Perhaps it can be build in such a way to be executed from withing LMCE. Will look at how things fit together. It can then either be executed from the on screen orbiter under advanced, or from the admin website?
MOBO: Asus A8V Deluxe
CPU   :AMD 64 Athalon 3500
RAM   : 1.5 GB Ram
GPU   : Nvidia 6600GT
PVR   : Leadtek Winfast XP2000
Bluetooth dongle for orbitor software on Nokia 6600
This setup works like a charm! Maybe just a little more ram ;-)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Transcoding
« Reply #9 on: September 26, 2007, 03:29:16 pm »
I think I wanna try my hand at programming a front end for handbrake. Comming from a .NET and c# environment, I'm thinking this cannot be too hard to figure out. Perhaps it can be build in such a way to be executed from withing LMCE. Will look at how things fit together. It can then either be executed from the on screen orbiter under advanced, or from the admin website?

We're working on a wrapper around HandBrake that will manage the setup for transcoding to different devices and scheduling those jobs for you. We're writing it as a set of shell scripts. These could be driven from Web Admin or from a simple DCEplugin.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

CrafyZA

  • Regular Poster
  • **
  • Posts: 40
    • View Profile
    • my2wheels
Re: Transcoding
« Reply #10 on: September 26, 2007, 03:37:41 pm »
can i help?
MOBO: Asus A8V Deluxe
CPU   :AMD 64 Athalon 3500
RAM   : 1.5 GB Ram
GPU   : Nvidia 6600GT
PVR   : Leadtek Winfast XP2000
Bluetooth dongle for orbitor software on Nokia 6600
This setup works like a charm! Maybe just a little more ram ;-)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Transcoding
« Reply #11 on: September 26, 2007, 09:43:00 pm »
can i help?


Sure!... that would be great. Let me pull together what we have and I'll either post it here or make if available from a server. :-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: Transcoding
« Reply #12 on: September 27, 2007, 12:13:01 pm »
What about grouping up with RatDVD...

RatDVD compresses an entire DVD to a Divx DVD... When you play it, you get full menu an all audio tracks. It even supports burning back to a DVD again.

http://ratdvd.ca/

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: Transcoding
« Reply #13 on: September 27, 2007, 12:35:09 pm »
does LMCE play Divx encoded video??
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Transcoding
« Reply #14 on: September 27, 2007, 12:37:44 pm »
What about grouping up with RatDVD...

RatDVD compresses an entire DVD to a Divx DVD... When you play it, you get full menu an all audio tracks. It even supports burning back to a DVD again.

http://ratdvd.ca/

The problem with ratdvd is that it's not an open standard, last time I looked (a while ago) there was only windows software available and no intention whatsoever to open up the specifications.  The project also appeared to be using opensource software components without complying to the apropriate licenses. 

What I've heard from people trying it out is that the quality was not impressive at all.  Personally, as far as the dvd menus go, they annoy the crap out of me anyway.

does LMCE play Divx encoded video??

Yes it does that perfectly in my experience, just a shame it won't pick up on a disc with a bunch of them burned.
"Change is inevitable. Progress is optional."
-- Anonymous