[mythtv-users] mythburn - wow - this takes a LOOOONG time...

Jesse Guardiani jesse at wingnet.net
Sun Sep 18 18:28:21 UTC 2005


On Sunday 18 September 2005 1:59 pm, Paul wrote:
> 
> ----- Original Message ----- 
> From: "Jesse Guardiani" <jesse at wingnet.net>
> To: "Discussion about mythtv" <mythtv-users at mythtv.org>
> Sent: Sunday, September 18, 2005 4:34 PM
> Subject: Re: [mythtv-users] mythburn - wow - this takes a LOOOONG time...
> 
> 
> <snip>
> 
> > 1.) I'm not sure if that's possible.
> > 2.) I'm not sure it has actually gotten around to transcoding anything
> >     yet. I think it's just demuxing! And it's been going for 7 hours...
> > 
> > Here's the comand line it's using:
> > 
> > /usr/share/mythburn/mythtvburn.sh 'ntsc' 'grey.png' \
> > 'menumusic.mp2' 'yes' 'no' 'no' 'bar.png' 'no' 'no' \
> > 'no' '1170_20050819193000_20050819200000.nuv' \
> > 'cut' > /usr/share/mythburn/temp/mythburn.log 2>&1 &
> > 
> > And here's the log:
> > 
> > 
> > MythBurn Script is running as user apache
> > Video format = ntsc
> > Background image = /usr/share/mythburn/images/backgrounds/grey.png
> > Background music = /usr/share/mythburn/music/menumusic.mp2
> > Make ISO image = yes
> > Burn to DVD-R = no
> > Delete VIDEO_TS = no
> > Highlight image = bar.png
> > Animated thumbnails = no
> > Chapter Submenus = no
> > Recode to AC3 = no
> > Creating DVD at 18-09-2005 03:40....
> > Total file size of video files is 982 Mbytes
> > QSettings: error creating /.qt
> > Multiplexing MPEG2 video files to DVD format and applying cutlists
> > ----- datestamp=18-09-2005 03:40
> > ----- datestamp=18-09-2005 03:40
> > 1170_20050819193000_20050819200000.nuv
> > try to cut commercials using mythtv cutlist
> > cutlist found, applying and remultiplexing for DVD format
> > Filename "/share/tv/1170_20050819193000_20050819200000.nuv"
> > OutFile "/usr/share/mythburn/temp/1170_20050819193000_20050819200000.nuv"
> > Cutting out commercials + demultiplexing with projectx
> > use last config or standard ...
> > ProjectX 0.82.1.02_b2/06.06.2005 TEST PROJECT ONLY , User: apache
> > 
> > quick CL usage: (Note: CL also loads the GUI components, without displaying)
> > without options  ...to start the GUI
> > [options] <sourcefile 1>...[<sourcefile x>]
> > 
> > options: -dvx1..4, -c <x>, -o <x>, -n <x>, -l, -p <x>, -i <x>, -g
> > -c [path]inifile  ...use that specified iniFile instead of the standard
> > -dvx1  ...create a .d2v ProjectFile on demux
> > -dvx2  ...create a .d2v ProjectFile + .ac3.wav (RIFF WAVE Header)
> > -dvx3  ...create a .d2v ProjectFile + .mpa.wav (RIFF WAVE Header)
> > -dvx4  ...create a .d2v ProjectFile + .ac3.wav + mpa.wav (RIFF WAVE Header)
> > -o <path>  ...use that specified directory for output
> > -n <filename>  ...use that specified filename for output
> > -p <file>  ...use that text based file as cutpoint list
> > -i <tokens>  ...use only these (P)IDs, separated by comma ","
> > -g  ...display the GUI using all given CLI options
> > -l  ...write the normal logfile
> > use -dvx OR -c & -o/-n/-l/-p/-i/-g or no options (for std)
> > 
> > java.version    1.4.2-02
> > java.vendor     Blackdown Java-Linux Team
> > java.home       /opt/blackdown-jdk-1.4.2.02/jre
> > java.vm.version Blackdown-1.4.2-02
> > java.vm.vendor  Blackdown Java-Linux Team
> > java.vm.name    Java HotSpot(TM) Client VM
> > java.class.vers 48.0
> > java.class.path /usr/share/projectx/ProjectX.jar
> > 
> > 
> > TERMS AND CONDITIONS:
> > (1) this is a free Java based demux utility.
> > (2) It is intended for educational purposes only, as a non-commercial test proje
> > ct.
> > (3) It may not be used otherwise. Most parts are only experimental.
> > (4) released under the terms of the GNU GPL.
> > (5) there is NO WARRANTY of any kind attached to this software.
> > (6) use it at your own risk and for your own education as it was meant.
> > 
> > -> to agree to these terms you have to start the GUI first
> > ^MSunday, September 18, 2005  3:40:34 AM EDT
> > ^MProjectX 0.82.1.02_b2 (06.06.2005)
> > 
> > ^M<<< session infos >>>
> > ^M-> working with collection 0
> > ^M
> > ^M-> normal log file
> > ^M-> write all video data
> > ^M-> write all other data
> > ^M-> patch c.d.flagged infos of pictures
> > ^M-> add sequence end code
> > ^M-> set resolution in SDE
> > ^M
> > ^M-> write output files to: ./
> > ^M-> 1 cutpoint(s) defined ( (2) use Frame number for cuts )
> > 
> > ^M-> Input File 0:  /share/tv/1170_20050819193000_20050819200000.nuv (1028543936
> >  bytes)
> > ^M-> File is MPEG-2 PS/SS (Video/Audio PES)
> > ^M-> demux
> > ^M1% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv^M-> found PES-
> > ID 0xE0 (MPEG Video) @ 38
> > ^M!> missing startcode @ 2062
> > ^M!> found startcode @ 2064
> > ^M-> found PES-ID 0xBD (private stream 1) (SubID 0x69)-> ignored @ 2064
> > ^M-> found PES-ID 0xC0 (MPEG Audio) @ 2194
> > ^M!> missing startcode @ 49298
> > ^M!> found startcode @ 49300
> > ^M!> missing startcode @ 53526
> > 
> > And those last two lines continue for the next 2.9M of the log file.
> > 
> > Has it even started transcoding the file to a higher resolution yet,
> > or is it just demuxing the video and audio into different files?
> > 
> > Is this normal?
> > 
> 
> Doesn't look right to me. In the log above it looks like it never got past 1%. 
> You should be seeing the % value increasing something like this:
> 
> 1% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv
> 2% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv
> 3% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv
> 4% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv

Yeah, it's got those, but in between each one is about 100 "missing startcode"
statements:

100% demuxing A/V PES file 1170_20050819193000_20050819200000.nuv^M!> missing
startcode @ 1018269790
^M!> found startcode @ 1018269792
^M!> missing startcode @ 1018290402
^M!> found startcode @ 1018290404

What do those mean?


> I just timed creating a DVD with a single 1.5Gb file on it. The Demuxing part just
> took less than 2 mins to complete with 9 cutpoints on my system! The complete
> DVD not including the burning took less than 8 mins total. Even a 733MHz cpu
> shouldn't be taking 7 hours!

That's what I'm screaming! My file isn't even that large. It's just 929M.
And BTW, I've tried this on two different machines now. A dual 600mhz P3
slot 1 with 800M PC100 SDRAM, and on my single CPU 733mhz machine with a
133mhz FSB and 512M PC133 SDRAM. Or maybe it has something to do with the
fact that the slower 733mhz machine is running Sun's JRE, whereas the 600mhz
machine is running the Blackdown JDK?

Believe it or not, the 600mhz machine was actually faster, probably because
it has more RAM and the disk storage is local to it (the 733mhz machine
mounts it's storage from the 600mhz machine via 100BaseTX & NFS).

600mhz Final run time: 10 hours!!!!

These machines run two completely different operating systems too. The 733mhz
machine runs KnoppMyth R5A16, whereas the 600mhz machine runs Gentoo Linux.

How much RAM does your machine have? Maybe that has something to do with it.
The 600mhz machine has more RAM, but it runs a lot of daemons, so most of it
is usually in use. I didn't see any swapping during the projectx run though.


> The mythburn scripts will never transcode anything by the way they assume the files 
> you give it are already MPEG2 and have DVD compliant resolutions etc.

Great. So why the heck does it take so long? :) My recordings are from a PVR 350.
Does anyone here run Mythburn on recordings from a PVR 350? Maybe the mpeg it
generates is really messed up or something?


-- 
Jesse Guardiani
Programmer/Sys Admin
jesse at wingnet.net


More information about the mythtv-users mailing list