LinHES Forums
http://forum.linhes.org/

MythBurn driving me nuts..
http://forum.linhes.org/viewtopic.php?f=6&t=9968
Page 1 of 1

Author:  Lem [ Mon May 08, 2006 4:58 am ]
Post subject:  MythBurn driving me nuts..

I did one DVD of a single episode of a program. No problem.

So i tried 3 episodes of something else. MythBurn ran transquant as it was marginally too big.. 1.04ish

DVD burn't but no sound. Guessed it might have been the transquant as the other worked fine.

So.. I did a lossless transcode (these are DVB-T recordings) to cut out the commercials and try again.
Mythburn now *stops due to an error* whilst running mplex on the first file.

Any ideas??.

Author:  speedsix [ Mon May 08, 2006 6:39 am ]
Post subject: 

I get no sound with burnt DVB-T recordings either.

Author:  Lem [ Mon May 08, 2006 6:48 am ]
Post subject: 

The non-requantised ones seem fine on my machine. Is your DVD over (or even close) being full? R5B7 automatically requantises the recording if it's too big (check your log). However, this seems to lose the sound!

Author:  simonf [ Mon May 08, 2006 4:07 pm ]
Post subject:  No sound

Hi Lem

I have posted my fixes on a server ready for download

see http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=9311


also if you are having problems with requadrenting sizes being wrong try running lossless mpeg2 transcoding first this means that mythburn dosnt need to know how much has been edited/cut from the file before calculating the target size

rgds

simon

Author:  Lem [ Tue May 09, 2006 1:05 am ]
Post subject: 

Thanks Simon,

Yes I found that mythburn doesn't take cutlists into account when calculating disk size, so I did a lossless transcode to eliminate the commercials.
However, mythburn won't create a dvd from these trancoded files!
It fails at the mplex stage on the first file. It seems to run for a bit before falling over. Checking the temp directory I have a mpg file (with sound), a mp2 file with the audio, and another 'filename'(1).mp2 file that has no sound.

It seems that either these transcoded files don't need mplex, or it's dropping out at the end of the process for some reason.

I might try building the new MythArchive module - see if that can do it!

Author:  simonf [ Tue May 09, 2006 2:06 am ]
Post subject:  ongoing problems

Can you post the log file


it may shed some light on the matter

Rgds simon

if it is creating the mpg file with audio then mplex has completed ??

Author:  speedsix [ Tue May 09, 2006 10:31 am ]
Post subject: 

Lem wrote:
The non-requantised ones seem fine on my machine. Is your DVD over (or even close) being full? R5B7 automatically requantises the recording if it's too big (check your log). However, this seems to lose the sound!

The recording was only 25mins or so. I'll try another recording.

Dom

Author:  Lem [ Tue May 09, 2006 1:40 pm ]
Post subject: 

This is the last bit of my log..

summary of created media files:
.Video (m2v): 67295 Frames 00:44:51.800 './1004_20060405210300.m2v'
Audio 0 (mp2): 112158 Frames 00:44:51.792 10/0/10/3 './1004_20060405210300.mp2'
Audio 1 (mp2): 112158 Frames 00:44:51.792 9/0/11/2 './1004_20060405210300[1].mp2'
=> 1,098,559,806 bytes written...
-> we have 13 warnings/errors.
done... 1 collection(s) processed @ 00:02:37.217

first audio file size 62
second audio file size 21
mplex -o /myth/mythburn/temp/1004_20060405210300.mpg -f 8 1004_20060405210300.m2v 1004_20060405210300.mp2
***********************************
MythTV BurnDVD stopped due to error



The created mpg file seems fine though..

Author:  simonf [ Tue May 09, 2006 2:53 pm ]
Post subject: 

From the output it looks like the mplex worked fine , its using remplex

did it delete ?? 1004_20060405210300.m2v and 1004_20060405210300.mp2 and 1004_20060405210300_log.txt

Author:  simonf [ Tue May 09, 2006 3:06 pm ]
Post subject:  Another fudge

you could try remarking out

Code:
   if [ "${cutflags[$idx]}" == "cut" ]; then
      echo "try to cut commercials using mythtv cutlist"
      # Obtain information about MPEG2 files from MythTV database
      ${scripts}/getmyth.sh $myfolder $mythtvlocation $file
      if [ -s ${tempdir}/cutlist.txt ]; then
         echo "cutlist found, applying and remultiplexing for DVD format"
         ${scripts}/mpeg2cut-px.sh ${myfolder} $videoformat $recode_ntsc ${mythtvlocation}/${file} ${tempdir}/${file} $factor
         checkreturnvalue
      else
         # remux to get DVD VOBUs inserted and fix potential audio sync issues
         echo "no cutlist found, remultiplexing for DVD format only"
         ${scripts}/remplex.sh $myfolder $videoformat $recode_ntsc ${mythtvlocation}/${file} ${tempdir}/${file} $factor
         echo "mplex worked"
         #checkreturnvalue         
      fi
   else
      # remux to get DVD VOBUs inserted and fix potential audio sync issues
      echo "commerical cut disabled, remultiplexing for DVD format only"
      ${scripts}/remplex.sh $myfolder $videoformat $recode_ntsc ${mythtvlocation}/${file} ${tempdir}/${file} $factor
      checkreturnvalue
   fi


the checkreturnvalue just after the remplex in mythtvburn .sh it should then continue onto the next stage its a bit brutal but at least you can see if this cures it then i can see if i can fix the returned value

Author:  Lem [ Wed May 10, 2006 1:16 am ]
Post subject: 

That was my next line of attack Simon.. cheers for the pointer!

Author:  Lem [ Wed May 10, 2006 1:50 pm ]
Post subject: 

It's not deleting the m2v file etc, so I guess it stopping in remplex.sh, just after the mplex command. I've commented out the checkreturnvalue there..

Seems to be working...

Author:  Lem [ Wed May 10, 2006 3:03 pm ]
Post subject: 

Ok.. that works!

Now, my DVD menu doesn't seem to work properly. I can manually change titles, but using the menu would be nice!

Nearly there!

Author:  simonf [ Wed May 10, 2006 3:58 pm ]
Post subject:  DVD Menu Not working in what

Lem,

Have you tried the dvd in stand alone players or are you using xine

I seem to remember i couldnt get xine to work using the keyboard, but now i have set up my ms remote i can get the menu to work.


I assume you do have sound though, dont know why mplex is returning a error value but removing the checkreturnvalue.

Rgds

Simon

Author:  Lem [ Mon May 15, 2006 1:46 am ]
Post subject: 

Success!..

Removing the -k switch in remplex.sh solved my menu probs.
Thanks a bundle to simonf for all the previous help - much appreciated!

I'll test my scripts with other files, then if any other UK DVB-T 'ers want to try them I'll post them up somewhere convenient.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/