[mythtv-users] nuvexort not working with ffmpeg

Patrick Oglesby octoberblu3 at gmail.com
Sat Sep 12 03:15:44 UTC 2009


On Fri, Sep 11, 2009 at 4:47 PM, Greg Hermsen <g.hermy15 at gmail.com> wrote:
> On Thu, Sep 10, 2009 at 8:45 PM, Dale Pontius <DEPontius at edgehp.net> wrote:
>>
>> Greg Hermsen wrote:
>> > I have been able to run nuvexport with transcode, but I have not been
>> > able to nuvexport with ffmpeg.  I would like to use ffmpeg because it
>> > give more encoding options and it seems to be the way most people run
>> > it.  I included my responses to most prompts below and the error message
>> > I receive.
>> >
>> > I have tried many combinations of settings.  No matter what I do, I
>> > consistently get the error, "unrecognized option '-title'".  Does
>> > anybody have any suggestions to get nuvexport to work with ffmpeg?
>> >
>> >    Distributor ID: Ubuntu
>> >    Description: Ubuntu 9.04
>> >    Release: 9.04
>> >    Codename: jaunty
>> >
>> > Thanks,
>> > Greg
>> > ******** Nuvexport session below **********
>> > Where would you like to export the files to? [.] /home/mythtv/iPod
>> > Enable Myth cutlist? [Yes] y
>> > Enable noise reduction (slower, but better results)? [No] n
>> > Enable deinterlacing? [Yes] n
>> > Crop broadcast overscan border (0-5%) ? [1.5] 0
>> > Audio bitrate? [64]
>> > Enable iPod compatibility? [Yes] y
>> > Using the mpeg4 codec (h.264 mp4/ipod encoding requires the svn version
>> > of ffmpeg.)
>> > Variable bitrate video? [Yes]
>> > Multi-pass (slower, but better quality)? [Yes] n
>> > VBR quality/quantisation (1-31)? 10
>> > Video bitrate? [384]
>> > Default resolution based on requested dimensions.
>> > Width? [320]
>> > Height? [240]
>> > Now encoding:  iCarly:  iDon't Want to Fight
>> > Encode started:  Wed Sep  9 20:02:47 2009
>> > Waiting for mythtranscode to set up the fifos.
>> > Starting ffmpeg.
>> > processed:  0 of -11363 frames at 0 fps (~%, eta: unknown)
>> > ffmpeg had critical errors:
>> > ffmpeg: unrecognized option '-title'
>> > Cleaning up temp files.
>> > Cleaning up child processes.
>> > ********************************************
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>> Same results here, but I just use "transcode".  I burned a bunch of
>> exercise disks for my wife a year or so back, and found that transcode
>> did a much better job of handling motion than ffmpeg.  The latter had
>> too many motion artifacts.  I know ffmpeg is supposed to be faster, but
>> I haven't had the time to dig up the right version.  If I had more time,
>> I'd try "mencoder", too.
>>
>> Dale
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> Thanks Dale.  The reason I wanted to use ffmpeg was because it looks like it
> should allow encoding for iPods.  I want to be able to put my kid's shows on
> their iPods and I was hoping to do the encoding in one step.  If I can't get
> ffmpeg working, I'll just continue on with my current approach...encoding
> with transcode then copy to a Windows pc and reencode there.
>
> It appears to me that ffmpeg changed syntax quite some time ago nuvexport
> was not changed to work with ffmpeg.
>
> Greg
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

ffmpeg has been a moving target for quite sometime in regards to the
proper way to send options.  If you happen to have the 0.5 version of
ffmpeg, you can try downloading a mostly compatible version of
nuvexport from here.
http://forevermore.net/files/nuvexport/

To get it to run as a user job, you may need a patch from here
http://ubuntuforums.org/showpost.php?p=3966549&postcount=118

I also had to modify it a bit more to get it to recognize my ffmpeg version line

--- a/export/ffmpeg.pm  2009-09-09 17:27:26.614831911 -0400
+++ b/export/ffmpeg.pm  2009-09-09 17:25:26.528176098 -0400
@@ -72,7 +72,7 @@
     # Check the ffmpeg version
         if (!defined $self->{'ffmpeg_vers'}) {
             $data = `$ffmpeg -version 2>&1`;
-            if ($data =~ m/ffmpeg\sversion\s0.5-/si) {
+            if ($data =~ m/ffmpeg\sversion\s0.5/si) {
                 $self->{'ffmpeg_vers'}  = '0.5';
             }
             # Disabled unti I need the formatting again to detect wacky ffmpeg

Good luck,
Patrick


More information about the mythtv-users mailing list