I'm having a similar problem with mythburn...maybe the same. Except it doesn't matter which user I su to, it always fails with the same error. This script is out-of-the-box unchanged, minus a few extra echos. I'm using R5B7.
I've have manually cleared everything in mythburn/temp and mythburn/temp/DVD. I tried running from the command line as user mythtv...
Code:
./mythtvburn.sh 'ntsc' 'grey.png' 'funky2.mp2' 'yes' 'no' 'no' 'red_black_border.png' 'yes' 'yes' 'yes' '1040_20050719110000_20050719113000.nuv' 'nocut'
After I run the script my temp directory looks like this...
`ls -a /myth/mythburn/temp/*`
Code:
/myth/mythburn/temp/1040_20050719110000_20050719113000.m2v
/myth/mythburn/temp/1040_20050719110000_20050719113000.mp2
/myth/mythburn/temp/1040_20050719110000_20050719113000_log.txt
/myth/mythburn/temp/DVD:
. ..
mythtvburn.sh outputs this...
Code:
MythBurn Script is running as user mythtv
Video format = ntsc
Background image = /myth/mythburn/images/backgrounds/grey.png
Background music = /myth/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 = yes
Chapter Submenus = yes
Recode to AC3 = yes
Parsing files and cutflags args
MythTV files are in /myth/tv
Creating DVD at 21-03-2006 14:59....
Total file size of video files is 1115 Mbytes
mkdir: cannot create directory `/myth/mythburn/temp/DVD': File exists
Cleaning up Temp folder
Using ntsc settings
Multiplexing MPEG2 video files to DVD format and applying cutlists
----- datestamp=21-03-2006 14:59
----- datestamp=21-03-2006 14:59
1040_20050719110000_20050719113000.nuv
commerical cut disabled, remultiplexing for DVD format only
Re-multiplexing file /myth/tv/1040_20050719110000_20050719113000.nuv
Reading GUI-Switch...
Reading Help Switch...
Reading Config File Switch...
Start without GUI...
Loading last Config or Standard File...
ini load error: java.io.FileNotFoundException: /myth/mythburn/temp/X.ini (No suc h file or directory)
Loading Language -> 'en'
ProjectX 0.90.3.01/31.01.2006 TEST PROJECT ONLY , User: mythtv
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) released under the terms of the GNU GPL.
(4) there is NO WARRANTY of any kind attached to this software.
(5) use it at your own risk and for your own education.
Java Environment
March 21, 2006 2:59:09 PM EST
java.version 1.5.0_06
java.vendor Sun Microsystems Inc.
java.home /usr/lib/j2re1.5-sun
java.vm.version 1.5.0_06-b05
java.vm.vendor Sun Microsystems Inc.
java.vm.name Java HotSpot(TM) Client VM
java.class.vers 49.0
java.class.path /usr/share/projectx/ProjectX.jar
os.name Linux
os.arch i386
os.version 2.6.15-chw-2
ini.file /myth/mythburn/temp/X.ini
ext.disk.access disabled or library not found
user.language en
user.name mythtv
user.home /home/mythtv
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
Loading Basic Classes...
Reading CLI Switches...
Checking Commons-Net library access...
Loading AC3 frames...
Starting Collection Process...
preparing collection(s)...
1 %<<< session infos >>>
Tuesday, March 21, 2006 2:59:10 PM EST
ProjectX 0.90.3.01 (31.01.2006)
-> working with collection 0
-> save normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: ignore scrambled packets
-> TS: enhanced search for open packets
-> TS: join file segments (of Dreambox?)
-> TS: generate PMT stream dependent
-> get only enclosed PES/TS packets
-> concatenate different recordings
-> ensure 1st PES-packet start with video
-> generate PCR/SCR from PTS
-> write output files to: '.'
-> Input File 0: '/myth/tv/1040_20050719110000_20050719113000.nuv' (1,167,257,6 93 bytes)
-> Filetype is MPEG-2 PS/SS (PES Container)
-> demux
demuxing A/V PES file 1040_20050719110000_20050719113000.nuv
-> found PES-ID 0xE0 (MPEG Video) @ 38
-> found PES-ID 0xC0 (MPEG Audio) @ 2062
-> found PES-ID 0xBD (private stream 1) (SubID 0x69)-> ignored @ 71680
-> video basics: 480*480 @ 29.97fps @ 0.6735 (4:3) @ 6000000bps, vbvBuffer 112
-> starting export of video data @ GOP# 0
!> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
29 %!> missing next startcode @ 337281588 from 337281472 (PES-ID 0xBD), dropping packet..
!> found startcode @ 337281589
100 %
-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 53818/ 1/ 0/ 3588/ 0/ 0
-> Video length: 53818 frames @ 00:29:55.720
-> GOP summary: min. 26, max. 30 fields; contains interlaced frames
-> avg. nom. bitrate 4507208bps (min/max: 2467200/6808000)
-> set first sequenceheader bitrate to 6808000bps
---> new File: ./1040_20050719110000_20050719113000.m2v
--> MPEG Audio (0xC0)
check & synchronize audio file 1040_20050719110000_20050719113000.mp
1 %-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 00:00:00.333, last packet 00:29:55.852
Video PTS: start 1.GOP 00:00:00.400, end last GOP 00:29:56.104
-> adjusting audio at video-timeline
!> missing syncword @ 2016, @ 00:00:00.000
!> found syncword @ 2304
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 384kbps, noCRC @ 00:00:00.000
100 %!> 9 frame(s) (216ms) added @ 00:29:55.512
audio frames: wri/pre/skip/ins/add 74822/0/0/0/9 @ 00:29:55.728 done...
---> new File: './1040_20050719110000_20050719113000.mp2'
101 %--> stream omitted (0xBD)
summary of created media files:
.Video (m2v): 53818 Frames 00:29:55.720 './1040_20050719110000_20050719113000.m2v'
Audio 0 (mp2): 74822 Frames 00:29:55.728 0/0/0/9 './1040_20050719110000_20050719113000.mp2'
=> 1,097,909,488 bytes written...
-> we have 6 warnings/errors.
done... 1 collection(s) processed @ 00:02:03.930
mpg123 -w - ./1040_20050719110000_20050719113000.mp2.old | ffmpeg -y -i - -f ac3 -ab 192 -ar 48000 ./1040_20050719110000_20050719113000.mp2
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Directory: ./
Playing MPEG stream from 1040_20050719110000_20050719113000.mp2.old ...
MPEG 1.0 layer II, 384 kbit/s, 48000 Hz stereo
Input #0, wav, from 'pipe:':
Duration: N/A, bitrate: 1536 kb/s
Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, ac3, to './1040_20050719110000_20050719113000.mp2':
Stream #0.0: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
size= 41944kB time=1789.6 bitrate= 192.0kbits/s
[29:55] Decoding of 1040_20050719110000_20050719113000.mp2.old finished.
Warning can't rewind WAV file. File-format isn't fully conform now.
size= 42087kB time=1795.7 bitrate= 192.0kbits/s
video:0kB audio:42087kB global headers:0kB muxing overhead 0.000000%
mplex -o /myth/mythburn/temp/1040_20050719110000_20050719113000.nuv -f 8 1040_20050719110000_20050719113000.m2v ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Oct 18 2005 17:26:48, gcc: 3.3.5 (Debian 1:3.3.5-12) ./1040_20050719110000_20050719113000.mp2
***********************************
MythTV BurnDVD stopped due to error
***********************************
Sent UDP/XML packet to IP 255.255.255.255 and port: 6948
Code:
Code: