[mythtv-users] Re: MPEG2 cutting script complete

Gavin Hurlbut gjhurlbu+mythtv-users at beirdo.ca
Mon Aug 23 21:00:55 EDT 2004


James L. Paul <james at mauiguru.com> wrote:
>> > /usr/local/bin/mpeg2cut: line 117: 10273 Aborted                 nice -n
>> > 19 avidemux2 --load-workbench ${BASENAME}.cut --audio-codec MP2
>> > --save-raw-video ${BASENAME}.m2v --save-raw-audio ${BASENAME}.mp2 --quit
>> > 2>/dev/null > /dev/null

That's what's saying it's crashing in avidemux2.

>> > Remultiplexing video
>> > GOP timestamps will be rebuild
>> > ERROR: opening A/V streams (0/1)

This is saying that it got 0 Audio streams and 1 Video stream

>> > rm: cannot lstat `1070_20040730160000_20040730170000.mp2': No such file
>> > or directory

And this confirms it, there's no mp2 file.

>> OK.  This is avidemux2 crashing on your audio stream, obviously.  Now
>> what's causing that...  Hmmm.

OK, I'm an idiot.  It crashed while writing the video.  Duh.  It never got to
the audio.  I should pay more attention. :)

> No idea. It's not obvious to me though. The cleanup routine is unable to find 
> an audio file and delete it, but I haven't looked at the script closely 
> enough to know that indicates an avidemux2 crash. FWIW, I'm able to manually 
> edit these files with avidemux2.

I'm sorry.  I jumped to the wrong conclusion there (I'll blame the lack of
caffeine on a Monday).

I think someone in IRC had this issue and we tracked it down to something
funky in the version of cursed he had.  If you grab the latest nuvexport, I
have made it prefer the Xvfb server (virtual framebuffer) over cursed.  It's
still a glorious hack, but it will almost assuredly work better.  It seems
that cursed requires versions of libaries that aren't readily available to many
systems, although they are on FC1.  Xvfb is a "standard" XFree86 server, it
just uses memory as a framebuffer, no input devices, no display.

>> > I haven't dug into this further yet to find out why can't open the A/V
>> > streams and breaks, but it's certainly not working for me.

My apologies.  Please try with Xvfb and the newest version of nuvexport, see
if that works better.

> I don't know when/where to get on IRC, I rarely use it and am in UTC-10:00 so 
> usually don't match evenings with many people. I'm short on time for another 
> week, but appreciate the offer of help. I added the avidemux2 version info 
> above in case it helps at all since I'm apparently not the only one with this 
> problem.

Hmm.  Well as for where: the IRC channel is on the freenode.net IRC network,
and the channel is #mythtv-users.  Point your IRC client (like xchat or mirc)
at irc.freenode.net...

As for the timezone thing, I'm on EDT (UTC-0400 I think), but I'm on until like
2am most nights, so that would be firmly in your evenings.  We have people on
from Europe, Australia, all over.  So I wouldn't be too concerned about that.
Now not having time, that's something I can't help with :)

Ciao
Gavin



More information about the mythtv-users mailing list