[mythtv-users] mpeg-2 cut using nuvexport

Bene Martin martin.bene at icomedias.com
Tue Mar 8 07:58:14 UTC 2005


> the this is what I saw and it did not finish even after 11 hours. Can 
> anybody shed some light on what might be happening?

Possibly - I've spent quite some time getting mpeg2cut to work on my
system.
 
> which: no Xvfb in
> (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> :/home/mythtv/bin)
> mpeg2cut v1.7
> Using mode X
> Finding the AV Offset to use with lvemux: -33
> Indexing the file with avidemux2
> Cutting out commercials with avidemux2

> When I hit Ctrl+C it said something like finsihed encoding 
> and it took 
> 11 hrs. I see a message about no Xvfb at the begining. Does this have 
> anything to do with the never ending cutting process?

avidemux2 is an X11 program that tries to output status/progress
information even when run in batch mode. So, you need some kind of X
server for avi2demux to output to.
best choice is Xvfb - a virtual framebuffer X server; this lets
avidemux2 work without actually opening any windows. You don't have it,
so fallback to plan b:
avi2demux just uses your defined DISPLAY environment variable and opens
an X window on your display. should work OK if X is setup correctly and
other X stuff works.
> 
> Also, is the output of nuvexport on cutting the mpeg-2 mpeg-4 
> or still mpeg-2?

Output is mpeg-2; processing should be fairly fast since no reencoding
is needed for most of the file.

What type of file is the original mpeg stream? post the output of 
	tcprobe -i
/video/recordings/1037_20050305195900_20050305231000.nuv
if the output shows 
	[tcprobe] MPEG packetized elementary stream (PES)
as file type, avidemux2 can't handle the format and so the whole process
fails. 
Your files are from a DVB source, right?
two possible workarounds: when using mythtv > 0.16, you should try to
set the "record TS" option in setup to record the DVB transport stream
directly instead of converting to a PES stream. For mythtv 0.16 this
isn't supported (doesn't work); also it would only help you for new
files.

For your existing files, you'd have to convert your PES format files to
PS format using (for example) replex or lvemux before running nuvexport.

Bye, Martin


More information about the mythtv-users mailing list