Nuvexport

From MythTV Official Wiki
Revision as of 20:49, 7 October 2006 by Pepsi max2k (talk | contribs)

Jump to: navigation, search

Important.png Note: The correct title of this article is nuvexport. It appears incorrectly here due to technical restrictions.


nuvexport is a script designed to export mythtv nuv and mpeg-nuv files to other formats, including xvid, svcd, dvd and others. Please see the official nuvexport page for more info.

A somewhat comprehensive separate wiki by Christopher Friend on the usage of nuvexport can be found here (currently being moved to this page - 07/10/06).

If you're looking for the Xvid codec, check here.

Installing Nuvexport

To install Nuvexport you

Fedora Core 4 dependencies

  • id3lib: Can be installed from Fedora extras: yum install id3lib

nuvexport can be installed as RPM from http://forevermore.net/files/nuvexport like this:

rpm -Uvh http://forevermore.net/files/nuvexport/nuvexport-0.3-0.20060729.svn.noarch.rpm

Fedora Core 2 dependencies

  • mjpegtools: provides mpeg2enc and mp2enc
  • perl-Time-Hi Res provides perl's Time::Hi Res module

Debian dependencies

  • mjpegtools: provides mpeg2enc and mp2enc
  • ffmpeg: provides ffmpeg
  • perl: provides perl's Time::Hi Res module
  • libdate-manip-perl: provides Date::Manip

Ubuntu dependencies

Mostly as Debian, but the default ffmpeg package doesn't come with xvid or mp3 exporting enabled. It may be necessary to build ffmpeg from source.

There is no id3lib package for Ubuntu, so this will also have to be built from source.


Nuvexport Manual

The following is my (Christopher Friend aka. pepsi_max2k) attempt at an nuvexport manual, previously found here but now under constant attack by spambots.

It was started not long after I first got into Linux & MythTV and therefore is aimed at the complete Linux novice. Most of the information I just tried to figure out for myself. I've tried to explain various things like transcode programs and video formats but I can't guarantee it's all correct.

Feel free to modify, update, improve and expand the currecnt information, but please try to keep the target audience the same - someone who really does need telling not to add the quote marks around text. This way, most users can ignore what they already know, and the novice user won't get frustrated by half explained commands. Thanks.


Starting Nuvexport

Nuvexport is run via the command line. Open your regular command prompt and then all you need to do is type

nuvexport

If you want to change any of the basic running options then you can add flags after the main program name when you start it, but I'll discuss these later.

Regardless of what flags you use (if any), nuvexport will then begin and start reading MythTV's database to get information on your programs. This is shown by the text "Loading MythTV recording info." with a percentage mark underneathe. Once this reaches 100% you will be shown a new screen that informs you which encoder MythTV is using (see below) by the following line:

Using transcode for exporting.

In this case, it's using Transcode to, well, transcode files. If you use FFMpeg or MEncoder, the printout should change appropriately.

Directly below this printout you will be given a list of encoding options and asked to choose one.

Transcode Or FFMpeg

Just starting nuvexport with the command:

nuvexport

will start nuvexport in it's default mode, using FFMpeg to encode files.

One of the biggest decisions to make when running nuvexport is whether you really want to use FFMpeg, or if you want to use Transcode, or MEncoder instead as the base transcoder program. Basically nuvexport doesn't transcode anything itself, just provides easy access to other programs and their options which themselves perform the actual transcoding.

Firstly, in order to use either FFMpeg or Transcode, they both need to be installed beforehand. You'll most likely be able to do this through your OS's package manager, or download them from the internet.

Note: If you're installing from an RPM package then the options you'll be given on which format to encode to? during the running of nuvexport may differ depending on how the package has been put together. If you find that some things such as DivX/VCD/SVCD encoding options have the “(disabled)” text next to them then you'll not be able to use them due to the currently installed version of either FFMpeg or Transcode (whichever you're using) not supporting them. The only option you have is to either find another copy of the program's package, or try to compile the program from source code and install it yourself.

Note 2: Some of the options will be disabled regardless as I'm sure I read somewhere that the PSP and iPod encoding had not been fully implemented yet.