[mythtv-users] Re: MPEG2 cutting script complete

James L. Paul james at mauiguru.com
Mon Aug 23 14:40:06 EDT 2004


On Monday 23 August 2004 05:25, Gavin Hurlbut wrote:
> James L. Paul <james at mauiguru.com> wrote:
> > I updated to the latest, 0.6.12, directly from the project site.
>
> Sounds good.
>
> > Filename "/opt/mythtv//1070_20040730160000_20040730170000.nuv"
> > OutFile "Great Biker Build-Off - Russ Mitchell vs. Eddie Trotta.mpg"
> > Last GOP index 7187
> > Cutlist "-19059 22666-24851 31237-51762 57767-72955 80824-93036
> > 103157-106890 107802-"
> > Finding the AV Offset to use with lvemux:0
> > Finding framerate:29.970
> > Last Frame 107805
> > Indexing the file with avidemux2
> > Cutting out commercials with avidemux2
> > /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
> >
> > Remultiplexing video
> > GOP timestamps will be rebuild
> > ERROR: opening A/V streams (0/1)
> > Cleaning up
> > rm: cannot lstat `1070_20040730160000_20040730170000.mp2': No such file
> > or directory
>
> OK.  This is avidemux2 crashing on your audio stream, obviously.  Now
> what's causing that...  Hmmm.

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 guess the first thing to ask: what version of avidemux2?  2.0.26 has some
> known issues with MPEG2 stuff, so if that's your revision, upgrade to
> 2.0.28 or downgrade to 2.0.24 and try again :)

# avidemux2 --version

 LARGE FILE AVAILABLE : 1 offset
Locales for avidemux appear to be in /usr/share/locale

I18N : _File

*******************
  Avidemux 2, v  2.0.28
*******************
 http://fixounet.free.fr/avidemux
 Code      : Mean & JSC
 GFX       : Nestor Di , nestordi at augcyl.org
 Testing   : Jakub Misak
 FreeBsd   : Anish Mistry, amistry at am-productions.biz
MMX activated.

 Registering Encoders
*********************
Mjpeg encoder registred
Xvid-4  encoder registred
FFMPEG  encoder registred

 3 encoder registered
Initializing global xvid 4
        xvid build:xvid-1.0.1
        xvid thread:0
        xvid SIMD supported:(80)
Checking cpu capabilities
Cpu has MMX
Cpu has 3DNOW
Cpu has MMXEXT
Cpu has SSE
End of cpu capabilities check

 Registering Filters
*********************

Preferences found and loaded
Using dummy audio device

 Codec FFmpeg4 found
Global SDL init...

 *** Automated : 44 entries*************

 Unknown command :--version

 ********** Automation ended***********

> > 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.
>
> If you could come on IRC tonight, I might be able to do some online
> troubleshooting with you.  It's awefully hard to do over email as it can
> take several iterations.

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.

Thanks!

>
> Ciao
> Gavin


More information about the mythtv-users mailing list