View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Mar 22, 2006 8:43 pm 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
I am trying to get nuvexport to work on my R5A26 install. I get the same error before and after I upgraded nuvexport and ffmpeg. ffmpeg will run fine from the command line and create dvd compatible mpg file.

Here is the error I am getting
Code:
Illegal division by zero at /usr/local/share/nuvexport/export/ffmpeg.pm line 228, <STDIN> line 14.


Here is the line 228 referred to above
Code:
if ($self->{'width'} / $self->{'height'} <= $self->{'out_aspect'}) {


If I chose the vcd option in nuvexport I get to this
Code:
2006-03-22 18:33:53.380 New DB connection, total: 1
2006-03-22 18:33:53.613 New DB connection, total: 2
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed:  0 of 153780 frames (0.00%),   0.00 fps


but the process never has any fps produced anything.

I searched high and low and have never seen the ILLEGAL DIVISION BY ZERO mentioned before and I never saw a solution to getting ffmpeg to work once it just sort of freezes using nuvexport.

My signature shows R4V5 but I have actually upgraded awhile back.

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 05, 2006 7:18 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
I updgraded mplayer earlier today and now I'm getting these errors. I think the problem has to do with nuvexport not getting the correct aspect ratio for any of the programs.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 05, 2006 10:43 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Illegal division by zero

ouch someones not checking their variables very well.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 06, 2006 7:39 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Man, that's so close to what I was thinking that it's scary... ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 08, 2006 1:03 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
I got this working by using (for 4:3):

Code:
nuvexport --force-aspect=1.33


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 8:50 am 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Hi. I'm having the same problem, and tried the alternate command noted above. This also fails for me, with error:

ffmpeg had critical errors:

ffmpeg: unrecognized option '-vtag'

Anyone found a workaround? Thanks.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 11:08 am 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
This just started happening after upgrading to R5D1. I have found references to this problem in these areas:

https://svn.forevermore.net/nuvexport/ticket/42
http://mythtv.org/pipermail/mythtv-user ... 40599.html
http://www.mail-archive.com/mythtv-user ... 37539.html
and
http://www.gossamer-threads.com/lists/m ... ers/224584

In that last one, one user reported downgrading to the last version of nuvexport worked, but one other user reported that it didn't for him.

Thanks for your help.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 8:16 am 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
I'm not a programmer, so I assume Xsecrets' comment is aimed at the chap who writes nuvexport. The normal variables using nuvexport --transcode don't offer any help.

Although the man pages and the nuvexport website didn't help, I found this works:

nuvexport --force-aspect=1.3333

It wants those two extra 3's.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 8:20 am 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Oops, spoke too soon. It ran for a couple of minutes, then died.


ffmpeg had critical errors:

ffmpeg: unrecognized option '-vtag'


I never specified any -vtag option, and can't find more info with Google. I guess its just broken.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 05, 2006 11:51 am 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
The "nuvexport --force-aspect=1.33" command did the trick for me. I burned the resultant Mpeg file to DVD and it was of very nice quality.

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
PostPosted: Tue Oct 10, 2006 11:36 am 
Offline
Joined: Mon Oct 09, 2006 8:34 pm
Posts: 1
Affiliate Manager Wanted! Over $6,000/month [url=http://filthyloaded.com/ci/?ID=45217]http://filthyloaded.com/ci[/url]


Top
 Profile  
 
PostPosted: Fri Nov 24, 2006 9:42 am 
Offline
Joined: Sat Mar 18, 2006 12:27 pm
Posts: 14
In R5D1 I was trying to convert original recording file (MPEG) to DIVX, but first I got that
Code:
Illegal division by zero
message that has mentioned here before, but after I put force_aspect in nuvexportrc I got message that said
Code:
ffmpeg had critical errors:
ffmpeg: unrecognized option '-vtag'
that has ALSO mentioned here.

:arrow: So I assume that ffmpeg did not recognise the option -vtag.

nuvexport is 0.3 0.20060214 and ffmpeg is 0.4.9-pre1 build 4718.

Questions:
    1. When has this specifig option added to ffmpeg :?:
    2. Should I
      a) downgrade nuvexport somehow OR
      b) upgrade ffmpeg :?:
    3. How do I do both :?:
:shock:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 3:52 am 
Offline
Joined: Mon Feb 13, 2006 7:10 pm
Posts: 36
Location: Australia
You might want to try commenting out the lines that refer to vtag in /usr/local/share/nuvexport/export/ffmpeg.pm

I've not tried it myself so backup the file first.

The vtag error is similar to the hq & mv4 errors addressed in this topic: http://mysettopbox.tv/phpBB2/viewtopic.php?t=7017

Let us know how it goes.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 12:50 pm 
Offline
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
Thanks for your help.

The article seems to say one should go into:

/usr/local/share/nuvexport/export/ffmpeg.pm

change line 62 to read:

if ($data =~ m/ffmpeg\sversion\s(.+?),\s/si) {

and comment out line 64, which is:

#$self->{'ffmpeg_build'} = $2

Next, in the same file, you're supposed to comment out an references to -hq, which I did.

However, you're then suposed to go into:

/usr/local/share/nuvexport/export/ffmpeg/DivX.pm and
/usr/local/share/nuvexport/export/ffmpeg/XviD.pm

and comment out any references to -4mv.

However, there are no references to -4mv in the second or third files.

nuvexport --transcode still gives the illegal division error and quits.

Is is possible the other guy meant that I should comment out references to -mv4 instead of -4mv?

Also, is there another way to convert these to nice small video files that other people are using?

Thanks again.

_________________
AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 06, 2006 4:10 am 
Offline
Joined: Mon Feb 13, 2006 7:10 pm
Posts: 36
Location: Australia
Did you try this?

Quote:
You might want to try commenting out the lines that refer to vtag in /usr/local/share/nuvexport/export/ffmpeg.pm



Quote:
Is is possible the other guy meant that I should comment out references to -mv4 instead of -4mv?

No. -mv4 now does what -4mv used to do, so the command itself is fine but somewhere along the line the syntax changed. I replaced references to -4mv with -mv4

_________________
LinHES 7.1, Gigabyte GA-K8NXP-SLI m/b, Athlon 64 X2 4200+, 3Gb RAM, 80GB PATA (/ & /myth), 2TB SATA (/myth/tv), Gigabyte 8600GT component-out, 2x Dvico HDTV DVB-T Lite, 1x Hauppage HVR-2200 PCIe Dual, Harmony remote with Dvico IR receiver.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu