Author |
Message |
etnoy
|
Posted: Thu Feb 09, 2006 2:02 am |
|
Joined: Wed Feb 01, 2006 4:18 pm
Posts: 17
|
Yup, I have a strange problem. I have never been able to rely on the DVD recording, and as of now I am running out of disk space, so please help me
Mythburn produces a lot of files without sound. The input is a Hauppauge Nova-T PCI card which records the dvb stream just like normal. Some recordings are all right, like "Nobel Minds". However, Hitchcock's "The Man who knew too much" is completely silent. The menus and the intro movie work alright, but the movie itself is silent.
I am running a clean mythburn cvs install and ProjectX 0.93.
The log file is attached here: http://www.broach.se/mythburn.log.bz2
Thanks in advance!
|
|
Top |
|
 |
nigelpearson
|
Posted: Thu Feb 09, 2006 4:46 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
I don't see anything obvious in the log, but I used to get this all the time with older versions of mythburn (ones which didn't use ProjectX) when there were glitches in the original recording.
It seemed that the audio would be fine until the glitch, then the audio track would completely stop after that point.
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
 |
etnoy
|
Posted: Thu Feb 09, 2006 9:06 am |
|
Joined: Wed Feb 01, 2006 4:18 pm
Posts: 17
|
Thanks for the reply. I assume your mythburn installation is working fairly well. Are you using the cvs or stable version? The reason I use the cvs one because I want to have requantizing and the new intro movies (of course I could backport the functions myself).
The movie is silent from the very beginning, and as far as I know mplayer reports (no audio track) when I try to play the resulting files. So somehow the audio gets lost in the middle of the process. Could it be that it splits the move into both ac3 and mp2 files and use the "wrong" one or something?
I can see no explanation at all for the problem.
Hopefully I will fix the problem before free space drops to zero.
|
|
Top |
|
 |
tjc
|
Posted: Thu Feb 09, 2006 9:33 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Actually in a past version of mythburn I traced this type of thing down to the replex utility. A search should turn up the details. My take at the times was that it made some naive assumptions about the audio bit rates...
|
|
Top |
|
 |
etnoy
|
Posted: Fri Feb 10, 2006 2:36 am |
|
Joined: Wed Feb 01, 2006 4:18 pm
Posts: 17
|
Some breakthroughs.
I had a look at http://threebit.net/mail-archive/mythtv ... 00059.html and found that it probably is the mplex part of the process that doesn't work. By looking carefully at the log file I found that mplex is called like this:
mplex -o /mnt/disk1/mythburntmp//6050_20060124222900_20060125002500.nuv -f 8 6050_20060124222900_20060125002500.m2v
Note that the .mp2 file is not there. The $audio variable in remplex.sh is empty, and therefore there is no trace of the audio file. I need to check why prepare_audio.sh doesn't work.
I'll keep writing on the progress!
|
|
Top |
|
 |
etnoy
|
Posted: Fri Feb 10, 2006 3:18 am |
|
Joined: Wed Feb 01, 2006 4:18 pm
Posts: 17
|
Think the problem is here:
pidlist=`grep "Audio .*on PID" ${logfile} | tr "\r" " " | perl -pi -e 's/^.*PID //;chomp'`
This line is found in scripts/prepare_audio.sh. Unfortunately, my grep thinks that the logfile is a binary file, and says that "Binary file 6050_20060124222900_20060125002500_log.txt matches"
If you add the -a option to grep it works.
I have not tried it, but I would be surprised if this was not the cause of the bug.
Hope this helps anoyone, shame that google can't find this forum post because it is limited to logged-in users 
|
|
Top |
|
 |
etnoy
|
Posted: Fri Feb 10, 2006 5:11 am |
|
Joined: Wed Feb 01, 2006 4:18 pm
Posts: 17
|
Okay, I am now quite sure that I have found the solution.
In the file scripts/prepare_audio.sh, find all lines which contain the "grep" command.
Add the -a option to all the grep commands and you're done!
The -a option makes sure that results are returned even though grep thinks the files are of binary type.
|
|
Top |
|
 |
nigelpearson
|
Posted: Sun Feb 12, 2006 12:27 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
etnoy wrote: Thanks for the reply. I assume your mythburn installation is working fairly well. Are you using the cvs or stable version?
Yes, working well. Using the version that is in R5A30. I haven't used the requantising very much, and I pre-cut the commercials out manually using commercial-cut 0.6 (because this version of mythburn does the size and quantising calculations before cutting the commercials out).
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
 |