[mythtv-users] trandcoding messes up 6 channel audio slow audio playback

Scott Macdonell genius9976 at yahoo.com
Mon Mar 28 02:33:19 UTC 2011


>How do you transcode though?

I created my own transcode profile that I set to auto-transcode when the 
recordings finished. It used to work fine and then stopped about a week ago 
after updating. I'm now running mythbackend version:  [0.24-6.fc13 
(4af46b1f5d)]. It garbles the 6-channel audio from recordings off my cable box 
(firewire) and a OTA tuner card. (Theoretically, it might also garble 2-channel 
audio from these sources if there is any... but I haven't ever seen it) There 
are no problems transcoding recordings from my analog card.

The profile I've been using has the following options:

Page 1: No custom filter. The two boxes are not checked (No lossless transcoding 
nor resizing)

Page 2:
Codec: MPEG-4
Bitrate: 5000kb/s
Max Quality: 2
Min Quality: 15
Max Diff Between Frames: 3
Only two boxes checked: Enable-high quality encoding and Enable 4MV encoding
Number of Threads: 2

Page 3:
Codec: MP3
Sampling Rate 48000
MP3 Quality: 1
Volume: 100%


Also, I just tried transcoding another recording changing the audio codec from 
MP3 to uncompressed, and I got the same result.
Here's the backend output from that:

2011-03-27 21:06:42.009 JobQueue: Transcode Starting for "Power Rangers 
Samurai":"I've Got a Spell on Blue": 720p NoResize 2 (783.2 MB)
2011-03-27 21:06:42.013 transcode: Transcode Starting: "Power Rangers 
Samurai":"I've Got a Spell on Blue": 720p NoResize 2 (783.2 MB)
2011-03-27 21:06:42.339 Using runtime prefix = /usr
2011-03-27 21:06:42.339 Using configuration directory = /root/.mythtv
2011-03-27 21:06:42.339 Unable to read configuration file mysql.txt
2011-03-27 21:06:42.339 Empty LocalHostName.
2011-03-27 21:06:42.339 Using localhost value of mythback
2011-03-27 21:06:42.360 New DB connection, total: 1
2011-03-27 21:06:42.364 Connected to database 'mythconverg' at host: localhost
2011-03-27 21:06:42.371 Closing DB connection named 'DBManager0'
2011-03-27 21:06:42.372 Connected to database 'mythconverg' at host: localhost
2011-03-27 21:06:42.374 Current locale EN_US
2011-03-27 21:06:42.374 Reading locale defaults from 
/usr/share/mythtv//locales/en_us.xml
2011-03-27 21:06:42.383 Loading en_us translation for module mythfrontend
2011-03-27 21:06:42.383 Enabled verbose msgs: important
2011-03-27 21:06:42.387 Transcoding from 
/pvr1/recordings1/9836_20110326112300.mpg to 
/pvr1/recordings1/9836_20110326112300.mpg.tmp
2011-03-27 21:06:42.520 AFD: Opened codec 0x2522bf0, id(MPEG2VIDEO) type(Video)
2011-03-27 21:06:42.520 AFD: codec AC3 has 6 channels
2011-03-27 21:06:42.521 AFD: Opened codec 0x25239c0, id(AC3) type(Audio)
2011-03-27 21:06:42.526 Found video height of 1088.  This is unusual and more 
than likely the video is actually 1080 so mythtranscode will treat it as such.
2011-03-27 21:06:42.527 New DB connection, total: 2
2011-03-27 21:06:42.527 New DB connection, total: 3
2011-03-27 21:06:42.527 Connected to database 'mythconverg' at host: localhost
2011-03-27 21:06:42.528 Connected to database 'mythconverg' at host: localhost
2011-03-27 21:06:42.535 MythCoreContext: Connecting to backend server: 
192.168.2.129:6543 (try 1 of 1)
2011-03-27 21:06:42.536 Using protocol version 63
2011-03-27 21:06:42.536 MainServer::ANN Monitor
2011-03-27 21:06:42.536 adding: mythback as a client (events: 0)
2011-03-27 21:06:42.537 MainServer::ANN Monitor
2011-03-27 21:06:42.537 adding: mythback as a client (events: 1)
2011-03-27 21:06:42.725 Transcoding Video and Audio
2011-03-27 21:07:57.534 MainServer::ANN Monitor
2011-03-27 21:07:57.534 adding: mythback as a client (events: 2)
2011-03-27 21:07:57.535 Reschedule requested for id 548.
2011-03-27 21:08:00.724 Scheduled 684 items in 3.1 = 0.00 match + 3.11 place
2011-03-27 21:08:00.727 scheduler: Scheduled items: Scheduled 684 items in 3.1 = 
0.00 match + 3.11 place
2011-03-27 21:12:44.565 MainServer::ANN Monitor
2011-03-27 21:12:44.565 adding: mythback as a client (events: 0)
2011-03-27 21:12:44.566 MainServer::ANN Monitor
2011-03-27 21:12:44.566 adding: mythback as a client (events: 1)
2011-03-27 21:15:49.762 MainServer::ANN Monitor
2011-03-27 21:15:49.762 adding: mythback as a client (events: 0)
2011-03-27 21:15:49.763 MainServer::ANN Monitor
2011-03-27 21:15:49.763 adding: mythback as a client (events: 1)
2011-03-27 21:15:49.778 Reschedule requested for id -1.
2011-03-27 21:15:49.804 Received a remote 'Clear Cache' request
2011-03-27 21:15:53.187 Scheduled 684 items in 3.3 = 1.21 match + 2.12 place
2011-03-27 21:15:53.189 scheduler: Scheduled items: Scheduled 684 items in 3.3 = 
1.21 match + 2.12 place
2011-03-27 21:16:47.799 AutoExpire: CalcParams(): Max required Free Space: 2.0 
GB w/freq: 15 min
2011-03-27 21:21:41.869 AFD: Audio stream changed
2011-03-27 21:22:53.792 [ac3 @ 0x3d40b8cf40]incomplete frame
2011-03-27 21:22:54.305 Pulse: PulseAudio resume OK
2011-03-27 21:22:54.320 Transcoding /pvr1/recordings1/9836_20110326112300.mpg 
done
2011-03-27 21:22:54.330 Transcode: delete old file: waiting while program is in 
use.
2011-03-27 21:22:54.332 Transcode: program is no longer in use.
2011-03-27 21:22:54.385 Requesting delete for file 
'myth://Default@192.168.2.129:6543/9836_20110326112300.mpg.old'.
2011-03-27 21:22:54.493 ~MythContext waiting for threads to exit.
Error in my_thread_global_end(): 1 threads didn't exit
2011-03-27 21:22:59.646 ProgramInfo(9836_20110326112300.mpg), Error: 
GetPlaybackURL: '9836_20110326112300.mpg' should be local, but it can not be 
found.
2011-03-27 21:22:59.650 transcode: Transcode Finished: "Power Rangers 
Samurai":"I've Got a Spell on Blue": could not stat 
'GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/mythback/9836_20110326112300.mpg'
2011-03-27 21:22:59.650 JobQueue: Transcode Finished: "Power Rangers 
Samurai":"I've Got a Spell on Blue": could not stat 
'GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/mythback/9836_20110326112300.mpg'


      


More information about the mythtv-users mailing list