View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 08, 2006 11:40 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Hello,

I was having the common problem of not having audio when playing mythburned DVDs on some DVD players. So I decided to try the option to convert the audio to AC3 format. However, now I am getting the message that "MythTV BurnDVD stopped due to error". The line prior to that in the log file is:

Code:
mplex -o /myth/mythburn/temp/1036_20061202160000.mpg -f 8 1036_20061202160000.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) ./1036_20061202160000.mp2


As you can see, something has added the ffmpeg version details into the mplex command. From what I can tell, the correlating line in remplex.sh is:

Code:
   echo mplex -o $dst -f 8 ${base}.m2v ${audio} 2> /dev/null


Which to me makes it look like the ${audio} variable has that extra data prepended to it. This idea makes me believe that the problem must be somewhere in the prepare_audio.sh script. But now I am at a loss as to where to look.

I am currently running KM R5C7. Any ideas as to what I can do to fix this?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 9:20 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Ok, I did some more checking by adding a few extra "echo" lines into the prepare_audio.sh and remplex.sh scripts, and have uncovered what I consider to be a VERY strange situation. At the very end of the prepare_audio.sh script I added an echo statement to output the contents of the $audio variable just before the script exits. I also added an echo statement in the remplex.sh to output the $audio variable the line after prepare_audio.sh is run. The results of these echo statements is as follows:

Code:
******* audio = ./1032_20061206183000.mp2
******* Stopping prepare_audio.sh script
audio = 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) ./1032_20061206183000.mp2
mplex -o /myth/mythburn/temp/1032_20061206183000.mpg -f 8 1032_20061206183000.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) ./1032_20061206183000.mp2
***********************************
MythTV BurnDVD stopped due to error
***********************************


As you can see, the first line is what the $audio variable contains at the end of the prepare_audio.sh. At this point, $audio correctly points to the audio file. However, as soon as prepare_audio.sh exits, for some reason the ffmpeg information gets added to the beginning of the $audio variable.

Any ideas as to what is happening?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 10:09 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Well, I decided that I didn't really care why this was happening. However, since it appears that this is a dependable problem (ie. it happens every single time) I could just code around it. So I just added a line to the remplex.sh script that "cut" the $audio variable using the "/" as the delimiter and taking field 2. This left me with just <name>.mp2 in the $audio variable. So, now the remplex.sh finishes properly.

Now I am getting a segmentation fault while the dvdauthor process runs. It looks like it is having a problem converting the intro.mpg. Once dvdauthor stops, the DVD/VIDEO_TS folder contains the VOBs and IFO for the actual TV show, but not for the intro and menu.

Who knew it would be such a problem just to enable the option to convert to AC3, since if I don't enable that option everything runs perfectly?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 10:12 am 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
Man I feel your pain, this is a known issue with .19 in knoppmyth. I've beat my head against the wall for many hours trying to get AC3 to work. No dice, and in searching/posting here there arent any fixes. From my perspective, the mythburn project has been all but abandoned because of the new functionaliy of mytharchive on .20+. Mytharchive is getting all of the development time.

.20 should be out soon for knoppmyth and you'll definately get what you're after then..

The Ether..


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 23, 2006 3:01 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
Ok, after running test after test, and trying different changes I finally figured out one that fixes my problem, and I figured that I would post my solution here in case anyone else was trying to use this.

I am not sure of the detailed cause, but I have a guess. Mythtvburn creates an IntroX.mpg for each show you are adding to the DVD. This intro contains the brief description of the video, and it is about 7 seconds long. The audio in this video is MP2 encoded, even if you choose the "Convert to AC3" option. My only guess is that dvdauthor does not like switching from MP2 to AC3, or vise-a-versa. When I manualy edited the XML file and removed the reference to the introX.mpg dvdauthor finished successfully, without the seg fault error.

So, I just edited the mythtvburn.sh and commented out the lines that add the intro into the XML. These lines occur at line 605 - 607 and are as follows:
Code:
#if [ "$submenus" == "no" ]; then
#   echo "<vob file='${tempdir}/intro${index}.mpg' /> " >> $myxml
#fi

Now when I run the mythtvburn and convert to AC3, the process completes without errors and the iso is created successfully.

I should also clarify that I do not use the option to create the chapter menus.

Hope this solution helps someone else as well as it has helped me.

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu