Author |
Message |
dangral_myth
|
Posted: Tue Feb 21, 2006 8:28 pm |
|
Joined: Thu Dec 15, 2005 9:08 am
Posts: 11
|
I'm currently running mythburn on .18 and want to upgrade to .19. What do I need to do to make sure that mythburn will work with mythtv .19?
|
|
Top |
|
 |
cesman
|
Posted: Tue Feb 21, 2006 9:31 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Less I'm mistaken... While the mythweb interface isn't, you should be able to use mythburn-ui.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
jimhayes
|
Posted: Wed Feb 22, 2006 4:46 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
I checked out the CVS version a couple of days ago, and it now does install to mythweb in 0.19.
My impression is that it's not entirely finished for 0.19, though that could be down to my lack of attention/understanding or perhaps my apache setup.
I did however find a bug in passing through the cutlist settings, which i think I've fixed, but not actually tested as yet. I've sent a message to the author of the latest CVS changes via sourceForge regarding that one.
Apart from that, it does seem to work OK, for me at least, and it was great to have it working so soon and with little effort, so many thanks to paulh66 for the updates, appreciated.
|
|
Top |
|
 |
patman
|
Posted: Fri Feb 24, 2006 9:18 am |
|
Joined: Fri Jan 27, 2006 11:56 pm
Posts: 25
|
Where did you get your CVS version from? I just tried that and it looks like I'm getting the same version I had before...that doesn't like 0.19.
|
|
Top |
|
 |
itsmebcc
|
Posted: Fri Feb 24, 2006 12:03 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
jimhayes wrote: I checked out the CVS version a couple of days ago, and it now does install to mythweb in 0.19. My impression is that it's not entirely finished for 0.19, though that could be down to my lack of attention/understanding or perhaps my apache setup. I did however find a bug in passing through the cutlist settings, which i think I've fixed, but not actually tested as yet. I've sent a message to the author of the latest CVS changes via sourceForge regarding that one.
Apart from that, it does seem to work OK, for me at least, and it was great to have it working so soon and with little effort, so many thanks to paulh66 for the updates, appreciated.
I would also like to know where you got the cvs version from. I have tried to get mythburn and mythburn-ui to workto no avvail. The way that I understand it is that mythburn-ui simply calls to the mythweb part of mythburn to initialize the scripts. But since mythweb has completly changed and mythburn cannot be installed to this version of mythweb that nothing seems to work.
|
|
Top |
|
 |
patman
|
Posted: Fri Feb 24, 2006 1:08 pm |
|
Joined: Fri Jan 27, 2006 11:56 pm
Posts: 25
|
I think I have got it figured out...finally...
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/mythburn checkout mythburn
...seems to be the proper incantation, as the install instructions...
http://knoppmythwiki.org/index.php?page ... ipts_HowTo
...point you to.
I had a number of problems doing the install
- I renamed my old mythburn directory out of the way and got a whole raft of install.sh errors that were related to the mythburn install destination directories not existing
- I copied the old directory structure and contents into the intended install destination, and got farther with the install.sh file...although there were still a few hitches with missing files and dirs.
- After the install.sh script ran cleanly, I ran it and got a bunch of errors. Turns out that if the old .sh files are still there, the install.sh won't overwrite them. Apparently it wants there to be an existing destination directory structure, but it needs to be empty.
- I manually copied in all of the .sh files and the contents of the 'scripts' directory, and things started working a little better.
- I got errors with the projectx calls, and tracked that down to having an out of date version of projectx that didn't understand the '-out' parameter. I got 0.90.3 from sourceforge, and got that installed.
Now it seems happier, I'm actually in the middle of a script run now...keeping fingers crossed...
|
|
Top |
|
 |
jimhayes
|
Posted: Fri Feb 24, 2006 1:43 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
You just beat me too it, yes direct from sourceforge.
I checked out the entire lot into a fresh directory, used that and a clean install of mythweb from the 0.19 release.
I had no problems with installation.
I may have a further look at it this weekend and see if I can fix some things, will upload a patch there if succesfull.
In the meantime, the change I made to re-enable the cut list was this :
in [mythweb root]/modules/mythburn/confirm.php
replace line 143
( $cmdline = $cmdline.$_GET['cutlist_'.str_replace('.','_',$recording)]=='yes' ? escapeshellarg('cut') : escapeshellarg('nocut');)
with :
if($_GET['cutlist_'.str_replace('.','_',$recording)]=='yes'){
$cmdline .= escapeshellarg('cut');
}else{
$cmdline .= escapeshellarg('nocut');
}
apologies for my longhand syntax, I find it clearer to read, but this is not the place for a style discussion! And I'm not much of a programmer, in any case.
That got me to the basic burn functionality, at any rate.
hope that helps.
|
|
Top |
|
 |
patman
|
Posted: Fri Feb 24, 2006 1:59 pm |
|
Joined: Fri Jan 27, 2006 11:56 pm
Posts: 25
|
My script finished, and it worked...burning the disc now...
I started this one from the command line, I still have the next hurdle of actually having this invoke properly from the web interface.
Is it me, or...did the 0.18 version of the 'burn a dvd' webpage let you filter the list by show title, as well as allowing you to sort on the different columns? With 0.19, I just get a list of all shows that are recorded, and no sorting ability. Is that a casualty of the not-quite-ready-for-0.19 state of the code?
|
|
Top |
|
 |
jimhayes
|
Posted: Fri Feb 24, 2006 2:25 pm |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
It looks that way to me.
I was considering just putting a couple of burndvd / cutlist checkboxes per recording in the mythweb recordings page and a button to open the mythburn confirm page, thus bypassing the mythburn listings.
But for the moment, i've been at work all day/week, my dog has died, the washing machine broke and I'm giving up and going down the pub !
|
|
Top |
|
 |
itsmebcc
|
Posted: Fri Feb 24, 2006 3:14 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
Awesome. That took all of 5 minutes. Now to see if it is actually working. So does anyone have mythburn-ui working in .19?
|
|
Top |
|
 |
itsmebcc
|
Posted: Fri Feb 24, 2006 7:55 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
OK. For some reason I cannot seem to get this to work. I am not getting any errors, but it is going really slow. It gets to "Loading AC3 frames..." and just sits there. I am testing this on a 80 meg test file. I have a nexus-s so it is already an mpg file. I see java running, but it is using like 0.3% cpu. Any ideas?
Here is the log file .
Code: MythBurn Script is running as user wwwrun Video format = ntsc Background image = /home/mythtv/mythburn/mythburn/images/backgrounds/grey.png Background music = /home/mythtv/mythburn/mythburn/music/funky2.mp2 Make ISO image = yes Burn to DVD-R = no Delete VIDEO_TS = no Highlight image = red_black_border.png Animated thumbnails = no Chapter Submenus = no Recode to AC3 = no MythTV files are in /data/mythtv/video Creating DVD at 24-02-2006 20:59.... Total file size of video files is 87 Mbytes mkdir: cannot create directory `/data/mythtv/mythburn/temp/DVD': File exists Multiplexing MPEG2 video files to DVD format and applying cutlists ----- datestamp=24-02-2006 20:59 ----- datestamp=24-02-2006 20:59 1114_20060219222508.mpg commerical cut disabled, remultiplexing for DVD format only Re-multiplexing file /data/mythtv/video/1114_20060219222508.mpg Reading GUI-Switch... Reading Help Switch... Reading Config File Switch... Start with GUI... Loading last Config or Standard File... Loading Language -> 'en'
ProjectX 0.90.2.00/05.11.2005 TEST PROJECT ONLY , User: wwwrun
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 project. (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.
Java Environment Friday, February 24, 2006 8:59:52 PM CST java.version 1.4.2_06 java.vendor Sun Microsystems Inc. java.home /usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre java.vm.version 1.4.2_06-b03 java.vm.vendor Sun Microsystems Inc. java.vm.name Java HotSpot(TM) Client VM java.class.vers 48.0 java.class.path ProjectX.jar os.name Linux os.arch i386 os.version 2.6.13-15.7-default ini.file /usr/share/projectx/X.ini ext.disk.access disabled or library not found user.language en user.name wwwrun user.home /var/lib/wwwrun
quick CL usage: Note: CL doesn't load the GUI components, except with switch [-gui] <without options> ...starts the GUI switches and inputfiles can be in any order
options: [-ini <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) [-out <path>] ..use that specified directory for output [-name <filename>] ..use that specified filename for output [-cut <file>] ..use that text based file as cutpoint list [-chp <file>] ..use that text based file as chapterpoint list [-id <tokens>] ..use only these (P)IDs, separated by comma "," [-gui] ..display the GUI using all given CLI options [-log] ..write the normal logfile [-saveini] ..save changes made bei CLI in active .ini [-split <xxx>] ..split output at xxx MB [-demux, -tom2p, -topva, -tovdr, -tots, -filter] ..action types
Reading CLI Switches... Loading Basic Classes... Loading GUI... Loading Menus... Loading Popup Menus... Loading Quickload Panel... Loading Control Panel... Loading Status Panel... Loading Input Directories... Loading Main Frame... Printing Environment Settings... Showing Main Frame... Checking Commons-Net library access... Loading AC3 frames...
|
|
Top |
|
 |
itsmebcc
|
Posted: Fri Feb 24, 2006 9:30 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
I just realized that the latest version of projectx had not installed previously, so I made sure that it installed this time. I am however getting the same problems. Except for now it is sitting at one line less than before so now I am at
"Checking Commons-Net library access..."
I guess I need to figure out what the command line options are for projectx so I can see where this is crapping out. Or ifnd the log file.
B
|
|
Top |
|
 |
paulh
|
Posted: Sat Feb 25, 2006 5:33 pm |
|
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
|
Jim
I've applied your patch to cvs that you sent me thanks.
I tried to send you a reply via sourgeforge but the message just bounced back
If you or any one have any further patches please send them to me directly at my email address mythtv (at) dsl.pipex.com create them with cvs diff -u and attach them to the email rather than include them in line. I had to apply your patch by hand as it was all mangled by the time it reached me.
Most development time by both me and split2k1 has moved to the new version 2 of the script which is why the new web interface for 0.19 is only half completed.
|
|
Top |
|
 |
itsmebcc
|
Posted: Sat Feb 25, 2006 9:59 pm |
|
Joined: Thu Feb 02, 2006 6:35 pm
Posts: 23
|
OK. I finally got thru all of the permission issues I was having and I have actually burned a disk with this. My problem is that Iseem to be getting very sporadic results. I get errors most of the time, but they do not tell me much, so I am not sure where to look. This is the part of the log file that I get the error on.
Code: mplex -o /data/mythtv/mythburn/temp/2513_20060128013000.mpg -f 8 2513_20060128013000.m2v ./2513_2006012801300$ *********************************** MythTV BurnDVD stopped due to error *********************************** Sent UDP/XML packet to IP 255.255.255.255 and port: 6948
Where can I try and find out some more info on the error? I cannot seem to find the projectx error file, and I am not even sure if that is what I need to be looking for.
|
|
Top |
|
 |
jimhayes
|
Posted: Sun Feb 26, 2006 5:48 am |
|
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
|
itsmebcc
It's failing on the mplex command, but it's not telling you why.
Have a look in /scripts/remplex.sh, wherever mplex is called add the verbose option ( -v 0 ) to the line, it should then give you more info in the log as to why it's failing.
EG change
mplex -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null
to
mplex -v 0 -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null
that should help, but I have to admit I've not actually tested it yet
|
|
Top |
|
 |