[mythtv-users] nuvexport error: ERROR: opening A/V streams

Mike Smith easygreenus at yahoo.com
Tue Jan 31 03:58:45 UTC 2006


Date: Sun, 29 Jan 2006 03:08:04 -0800
From: Ajay Sharma <ssharma at revsharecorp.com>
Subject: [mythtv-users] nuvexport error:  ERROR:
opening A/V streams
	(0/0)
To: Discussion about mythtv <mythtv-users at mythtv.org>
Message-ID: <43DCA214.2080400 at revsharecorp.com>
Content-Type: text/plain; charset=ISO-8859-1;
format=flowed


I'm running the latest version of nuvexport
(nuvexport-0.2_pre20060118 
on Gentoo) and I'm getting an error when I try to do a
MPEG2->MPEG2 
export.  I ran nuvexport with the debug flag and this
is the command it 
told me to run manually:

$ mpeg2cut
/mnt/store/1004_20060126213000_20060126215900.nuv
'./The 
Office - The Carpet.mpg' 53685 182-17625 21287-30180
37292-48045 53686-
tail: `-1' option is obsolete; use `-n 1' since this
will be removed in 
the future
mpeg2cut v223-svn (c) 2005-2006 Gavin Hurlbut
Using mode Xvfb
Filename
"/mnt/store/1004_20060126213000_20060126215900.nuv"
OutFile "./The Office - The Carpet.mpg"
Output Dir "."
Space needed: 1827864, Space available: 12451292
Last Frame 53685
Cutlist "182-17625 21287-30180 37292-48045 53686-"
Finding the AV Offset to use with lvemux: -10
Indexing the file with avidemux2
Cutting out commercials with avidemux2
Remultiplexing video
GOP timestamps will be rebuild
ERROR: opening A/V streams (0/0)
Cleaning up
rm: cannot remove 
`/mnt/store/1004_20060126213000_20060126215900.nuv.idx':
No such file 
or 
directory
rm: cannot remove
`./1004_20060126213000_20060126215900.m2v': No such 
file or directory
rm: cannot remove
`./1004_20060126213000_20060126215900.mp2': No such 
file or directory
rm: cannot remove
`./1004_20060126213000_20060126215900.m2v.idx': No 
such file or directory

Any ideas?

--Ajay

I think I'm having the same problem.  I think this
version of mpeg2cut
was written for an older version of avidemux.  I found
that when you
make the call to avidemux2 you feed it a workfile with
the .cut extension.
It looks something like:

ADMW0002
01 videos
Name :
/var/video/1097_20060120093000_20060120100000.nuv.idx
4 segments
Start : 0
Size : 1
Ref :   0
Start : 6377
Size : 22244
Ref :   0
Start : 33032
Size : 14939
Ref :   0
Start : 53763
Size : 58
Ref :   0
Audio codec : none
Audio filter : audioNormalizeMode=0
audioResampleMode=0 audioDRC=0 audioShift=0
audioDelay=0 audioFreq=48000
Audio conf : audioProcessMode=0 audioMP3mode=0
audioMP3bitrate=128


I "think" this is an old format of the workfile.  When
I use avidemux2
interactively to cut out some video and save the
"project" file,  it 
looks like:

//AD  <- Needed to identify//
//--automatically built--
//--Project:
/scratch/Beverly_Hillbillies/The_Cat_Burglar/video.cut

var app = new Avidemux();

//** Video **
// 01 videos source
app.load("/scratch/Beverly_Hillbillies/The_Cat_Burglar/1097_20060104090000_20060104093000.nuv.idx");
//04 segments
app.clearSegments();
app.addSegment(0,0,5010);
app.addSegment(0,8565,5085);
app.addSegment(0,22245,6570);
app.addSegment(0,32250,21566);
app.markerA=0;
app.markerB=38230;

//** Postproc **
app.video.setPostProc(3,3,0);

//** Filters **

//** Video Codec conf **
app.video.codec("Copy","CQ=4","0 ");

//** Audio **
app.audio.reset();
app.audio.codec("copy",128);
app.audio.normalize=false;
app.audio.delay=0;
app.setContainer("ES");
setSuccess(1);
//app.Exit();

//End of script

The second call to avidemux2 has the "--load-workbench
filename.cut" 
option.  Should this .cut file have the same format as
the project
file save by avidemux?

Mike




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mythtv-users mailing list