View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 107 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Aug 16, 2005 4:08 pm 
Offline
Joined: Wed Apr 20, 2005 4:45 pm
Posts: 3
Location: North East UK
Hi All

I'd really like to thank everyone who is working on or contributing to mythburn. It adds much needed functionality and works great. 8)

I have noticed a small buggette. If you set dvddir and tempdir to the same place like I did then your logfile and lock files will be deleted right after the get created by line # 224 of mythtvburn.sh. The simple answer is to create a subdir for the DVD output and then this doesn't happen.

I just wanted to share that in case anyone else is wondering why they don't get a log file.

Cheers
Paul


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 19, 2005 5:47 am 
Offline
Joined: Thu Dec 30, 2004 5:04 pm
Posts: 21
spookt wrote:
Hi All
I'd really like to thank everyone who is working on or contributing to mythburn. It adds much needed functionality and works great. 8)

Glad to hear it works well for you!

I've added a check to the install script so setting temp and dvddir to the same directory is no longer possible.

Thanks, Martin


Top
 Profile  
 
 Post subject: Another small update
PostPosted: Sat Aug 27, 2005 7:22 am 
Offline
Joined: Thu Dec 30, 2004 5:04 pm
Posts: 21
Hi, guess it's time to make the next batch of mythburn updates available:
- some more changes to install script, notably projectx commandline is configurable; should make it easier for systems that don't have a "projectx" wrapper/executable
- reworked DVD structure for DVDauthor; this should get the correct buttons highlighted in the chapter and main menu and allows recordings with different aspect ratios on the same DVD

As usual, you can download a tarball from http://mabene.icomedias.com/mythburn/mythburn.tar.gz.

Update: DVD generation without chapter menu failed with an error; new version is now online. if you request the above url, you get a redirect to the current version - mythburn_20050827b.tar.gz is the fixed file. If you've got the version wighout "b", please download again. Sorry for the fubar.

You can install the new file over your existing directory; when updating please re-run the install.sh script: there's a couple of new entries in the config file that need to be set up properly.

I'm interested in feeback, especially wrt. the new DVD structure (i.e: do the DVDs play correctly on your standalone player?)

Sorry, One feature I didn't get in yet: transcoding mp2 audio to AC3 for NTSC DVDs. I haven't forgotten the feature request, just didn't get round to it yet.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 7:00 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Thank you Mabene for your effort. I tried your mythburn tarball of August 27 and your projectx binaries. Installing was easy with the instructions provided here. However I run the scripts on a "headless" backend that doesn't run a Xserver. When I try to create a DVD iso image projectx fails as soon as it starts because it cannot output to a Xserver. Leaving this message in the log:

Code:
Neither Xvfb nor DISPLAY variable found, can't run projectx


I have encountered a similar situation on a different system with Tomcat where Java needed a X libs to create pictures. That was remedied by adding -Djava.awt.headless=true to the Java command line. I tried it here too, but no avail. Googling shows Xvfb as a workaround (just like the error message suggests), but I wondered if there is a more graceful solution. I suppose someone running a Mythfrontend as user mythtv and Mythburn from the webserver as user www-data may find problems too connecting to the Xserver.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 7:29 am 
Offline
Joined: Thu Dec 30, 2004 5:04 pm
Posts: 21
willem wrote:
Neither Xvfb nor DISPLAY variable found, can't run projectx

I suppose someone running a Mythfrontend as user mythtv and Mythburn from the webserver as user www-data may find problems too connecting to the Xserver.

Projectx really wants to connect to an X server, even though it doesn't actually display anything in batch mode. The best workaround is really Xvfb - a virtual X server that is started and killed within the Mythburn scripts. This works just fine on a headless backend.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 8:32 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Thanks for the quick reply. I have installed Xvfb using apt. Now I see that there is a Xvfb process started:

Code:
# ps -ef | grep Xvfb
www-data  2229     1  0 16:24 ttyp0    00:00:00 /usr/X11R6/bin/Xvfb :33 -screen 0 640x480x8


but the Java process still can't output to Xvfb even though it seems aware of it's display number (33):
Code:

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':33.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.awt.Window.init(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at javax.swing.JFrame.<init>(Unknown Source)
        at net.sourceforge.dvb.projectx.subtitle.SubPicture.<init>(Unknown Source)
        at net.sourceforge.dvb.projectx.common.X.<clinit>(Unknown Source)
Error Running project X, no log file created. giving up.


Any thoughts???


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 9:11 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
Solved it!

When I tried to run Xvfb interactively as the user www-data, I got these errors:

Code:
_XSERVTransmkdir: ERROR: Mode of /tmp/.X11-unix must be set to 1777
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 1
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local


Googling for it revealed that the sockets needed to be created once as root. Running the same Xvfb command as root fixed it. Now I have succesfully created a first test DVD. Thanks again for your effort and help.


Top
 Profile  
 
 Post subject: mext installment
PostPosted: Mon Aug 29, 2005 1:33 pm 
Offline
Joined: Thu Dec 30, 2004 5:04 pm
Posts: 21
As promised earlier, a new release is available that lets you recode audio to ac3 format if
- video format is ntsc
- there's no ac3 audio stream in the original file
- the option to recode mpeg2 to ac3 is set
- you've got ffmpeg and a decoder for mpeg2 audio (like mpg123 or madplay) installed.

Other changes in this release:
- changed ordering of audio streams for recordings with multiple audio streams. Streams are sorted first by format and next by PID / PES-ID. sort order for format depends on the video format: pal gets first mpeg2 then ac3 streams, ntsc gets ac3 first and mpeg2 next. This should help compatibility issues with older ntsc players.
- added dependancy checks to the install script; installation should now warn you if you're missing any required tools.

same installation procedure as last time: download http://mabene.icomedias.com/mythburn/mythburn.tar.gz, unpack to a directoy of your choice, run install.sh script.

if you're upgrading, unpacking or copying over your existing installation shouldn't hurt anything. please rerun install.sh to initialize new config settings. both ffmpeg and mpg123 (or madplay) are only required if you want to use audio recoding.


Top
 Profile  
 
 Post subject: Update mythburn script
PostPosted: Thu Sep 01, 2005 5:26 pm 
Offline
Joined: Thu Sep 01, 2005 5:11 pm
Posts: 2
Hello,

OK, I've made two coasters. The first was my fault (I guess), I needed to update transcode, and I didn't catch the errors in the log. I don't see what's wrong with the second. The menu comes up, but I can't select any of the videos. I have:

mjpegtools 1.6.2
dvdauthor 0.6.11
imagemagick 6.2.2.3
transcode 0.6.14
projectx 0.82.0.00

I read about the incompatibility of dvdauthour 0.6.11 and imagemagick. but this is on a gentoo system, everything was compiled, and I didn't see the specified errors. What I do see is:

STAT: Processing /myth/mythburn/temp/final_sceneselection1.mpg...
WARN: attempt to update tv format from ntsc to pal; skipping
WARN: Discontinuity in audio channel 8; please remultiplex input.
WARN: Previous sector: 0.178 - 0.178
WARN: Current sector: 0.256 - 0.256
WARN: Discontinuity in audio channel 8; please remultiplex input.


Top
 Profile  
 
 Post subject: mea culpa
PostPosted: Sat Sep 03, 2005 9:37 am 
Offline
Joined: Thu Sep 01, 2005 5:11 pm
Posts: 2
Ignore me...somehow my xine keymap got replaced, so no DVDs were working the way I thought they should. The second DVD I made works great, thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 6:01 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
mabene your doing a great job keeping these scripts alive!

Well done!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 10:32 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
I'd like to incorp this into KnoppMyth. If someone would install against the latest release and provide me notes, that would be great.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 5:53 am 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day folks,

Sorry to be a bit dopey about this, but I am following the instructions and trying to debug the Mythburn install. When I fire up a DVD burn from MythWeb, it fails. So I run the command from a shell and I get the same results as Willem above, ie errors regarding the Java App unable to connect to the Xvfb Display :33.

I checked that Xvfb was running, and it was.

I read the bit in the WIKI about running the command (Xvfb etc) as root the first time. I did this but still no cigar, when they say run as root do they mean to run it after SU'ing in , or is this some other problem to do with UID or permissions, sorry but I'm not sure where to go from here.
Thanks in advance
Matt


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 6:13 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
At some point the MythBurn scripts try this command as user www-data:

Code:
/usr/X11R6/bin/Xvfb :33 -nolisten inet6 -screen 0 640x480x8


When the sockets are not in place (/tmp/.X11-unix) you get the error messages like I described above. I fixed it by logging in as root (su - should work just as well) and run the command above and ending it with <CTRL>+<C>. This creates the sockets. Then you can try again as the user www-data. This worked for me.

The only thing I need to look into is why these sockets disappear after some time. There may be a script that cleans out /tmp. Haven't had time to investigate that. Perhaps one of you guys know? I saw these lines in /etc/default/rcS:

Code:
# Time files in /tmp are kept in days.
TMPTIME=0


They probably have got to do with cleaning out /tmp...

UPDATE:

/etc/init.d/bootmisc.sh cleans out /tmp at boottime. It leaves some files alone. I expanded this list with .X11-unix so it should stay next time. We'll see at the next reboot.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 6:27 am 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day,

I had a look, and the Mythburn scripts are definitely starting Xvfb, but as root ? Maybe this is my problem, maybe I am supplying the wrong answers to install.sh ? I will have to dig deeper.

Thanks for the rapid response by the way :)

Matt


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu