[mythtv-commits] Ticket #7118: Mythtranscode lossless mpeg2 removes audio

MythTV noreply at mythtv.org
Thu Jun 13 12:10:17 UTC 2013


#7118: Mythtranscode lossless mpeg2 removes audio
------------------------------------+-----------------------------
 Reporter:  otto at kolsi dot fi    |          Owner:  beirdo
     Type:  Bug Report - General    |         Status:  new
 Priority:  minor                   |      Milestone:  0.25
Component:  MythTV - Mythtranscode  |        Version:  Master Head
 Severity:  medium                  |     Resolution:
 Keywords:                          |  Ticket locked:  0
------------------------------------+-----------------------------
Changes (by oli.henning@…):

 * status:  closed => new
 * resolution:  Fixed =>


Comment:

 I'm sorry, but i observed this problem too.

 I'ts a DVB-C recoding in Switzerland, UPC-Cablecom. The Channel is "ORF 1"
 with SD-Quality. Recording (nearly) every day the show "Two and a half
 men" (yea, cool series :-)). This show comes nearly every day on this
 channel at 19:15 - this is 7:15pm for our US-guys :-)

 I never had problems with this "removing audio"-issue before.
 I do not see it on other channels and also do no see it on this channel
 ("ORF 1") with other shows. But nearly every recording on _this_ channel
 at _this_ time has a lost audio after lossless mpeg2-transcoding.

 Unfortunately i have no not-transcoded file at the moment (this should be
 a TS-Stream-File). The transcoding deletes them. But i will take one and
 publish it so one can do some analyzes.

 Thanks a lot for the great work on MythTV. I love it.
 Greeting from switzerland.

 {{{
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: C thread_unknown
 mythcommandlineparser.cpp:2534 (ConfigureLogging) mythtranscode version:
 fixes/0.25 [v0.25.3-45-ged3b7d1] www.mythtv.org
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: C thread_unknown
 mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: compile:
 4.8.1, runtime: 4.8.1
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N thread_unknown
 mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose msgs:
 general
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N thread_unknown
 logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I thread_unknown
 logging.cpp:229 (FileLogger) Added logging to the console
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I thread_unknown
 logging.cpp:369 (SyslogLogger) Added syslogging to facility local7
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I thread_unknown
 logging.cpp:425 (DatabaseLogger) Added database logging to table logging
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N thread_unknown
 logging.cpp:1215 (logStart) Setting up SIGHUP handler
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N thread_unknown
 mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N thread_unknown
 mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory =
 /home/mythtv/.mythtv
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mythcorecontext.cpp:227 (Init) Assumed character encoding: de_CH.UTF-8
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 mythcontext.cpp:477 (LoadDatabaseSettings) Empty LocalHostName.
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of pvr-
 server
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to de_CH
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale de_CH
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: E CoreContext
 mythlocale.cpp:108 (LoadDefaultsFromXML) No locale defaults file for
 de_CH, skipping
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mythtranslation.cpp:66 (load) Loading de translation for module
 mythfrontend
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:540 (main) Transcoding from
 /mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg to
 /mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg.tmp
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 avformatdecoder.cpp:2104 (ScanStreams) AFD: Opened codec 0xa0fe960,
 id(MPEG2VIDEO) type(Video)
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 avformatdecoder.cpp:1962 (ScanStreams) AFD: codec MP2 has 2 channels
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 avformatdecoder.cpp:2104 (ScanStreams) AFD: Opened codec 0xa1007b0,
 id(MP2) type(Audio)
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 transcode.cpp:924 (TranscodeFile) Honoring the cutlist while transcoding
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 transcode.cpp:957 (TranscodeFile) Cutlist        : 0-15735,44921-89860
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 transcode.cpp:959 (TranscodeFile) Original Length: 89860 frames
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 transcode.cpp:961 (TranscodeFile) New Length     : 29186 frames
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 transcode.cpp:748 (GetProfile) Transcode: Looking for autodetect profile:
 Automatisch erkennen aus 576i
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I ProgramInfoUpdater
 mythcorecontext.cpp:371 (ConnectCommandSocket) MythCoreContext: Connecting
 to backend server: 192.168.1.6:6543 (try 1 of 1)
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I ProgramInfoUpdater
 mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: E CoreContext
 recordingprofile.cpp:164 (addSelection) SampleRate: Attempted to add a
 rate 32000 Hz, which is not in the list of allowed rates.
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 transcode.cpp:773 (GetProfile) Transcode: Using autodetect profile: MPEG2
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: N CoreContext
 transcode.cpp:1216 (TranscodeFile) Switching to MPEG-2 transcoder.
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:737 (InitAV) Opening
 /mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print) Input #0, mpegts, from
 '/mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg':
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)   Duration: N/A, bitrate: N/A
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)     Stream #0.0[0x90]: Video: mpeg2video,
 90k tbn
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)     Stream #0.1[0x91](ger): Audio: mp3, 0
 channels
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)     Stream #0.2[0x9b](ger): Audio: ac3, 0
 channels
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)     Stream #0.3[0xae](ger): Subtitle:
 [0][0][0][0] / 0x0000
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: E CoreContext
 mpeg2fix.cpp:782 (InitAV) Skipping invalid audio stream: 1
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: E CoreContext
 mpeg2fix.cpp:782 (InitAV) Skipping invalid audio stream: 2
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: E CoreContext
 mpeg2fix.cpp:800 (InitAV) Skipping unsupported codec 3 on stream 3
 Jun 12 21:47:48 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1923 (Start) #0 PTS:17:34:57.880 Delta: 0.0ms queue: 1
 Jun 12 21:47:52 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:2123 (Start) Del map found 0 at 15735 (15735)
 Jun 12 21:47:52 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1676 (ConvertToI) Converting frame #0 from B to I
 Jun 12 21:47:52 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1676 (ConvertToI) Converting frame #1 from B to I
 Jun 12 21:47:52 pvr-server mythtranscode[21493]: I MPEG2Replex
 replex/multiplex.c:828 (init_multiplex) Mux rate: 3.65 Mbit/s
 Jun 12 21:47:54 pvr-server mythtranscode[21448]: I CoreContext
 mythcontext.cpp:1115 (~MythContext) Waiting for threads to exit.
 Jun 12 21:47:55 pvr-server mythtranscode[21493]: N CoreContext
 mpeg2fix.cpp:1631 (DecodeToFrame) Frame 9 > 8.  Corruption likely at pos:
 312301276
 Jun 12 21:47:55 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1720 (InsertFrame) Inserting 2 I-Frames after #8
 Jun 12 21:48:21 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:2123 (Start) Del map found 1 at 44921 (44921)
 Jun 12 21:48:22 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1676 (ConvertToI) Converting frame #0 from B to I
 Jun 12 21:48:22 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:1676 (ConvertToI) Converting frame #1 from B to I
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:2623 (BuildKeyframeIndex) Generating Keyframe Index
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:737 (InitAV) Opening
 /mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg.tmp
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print) Input #0, mpeg, from
 '/mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg.tmp':
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)   Duration: 00:19:27.52, start: 0.280000,
 bitrate: 3837 kb/s
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: I CoreContext
 mpeg2fix.cpp:76 (my_av_print)     Stream #0.0[0x1e0]: Video: mpeg2video,
 yuv420p, 720x576 [PAR 64:45 DAR 16:9], 3587 kb/s, 25 fps, 25 tbr, 90k tbn,
 50 tbc
 Jun 12 21:48:23 pvr-server mythtranscode[21493]: N CoreContext
 mpeg2fix.cpp:2655 (BuildKeyframeIndex) Transcode Completed
 Jun 12 21:48:24 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:657 (main) Transcoding
 /mnt/oliveraStore/mythtvRecordings/2109_20130612190800.mpg done
 Jun 12 21:48:24 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:775 (WaitToDelete) Transcode: delete old file: waiting while
 program is in use.
 Jun 12 21:48:24 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:807 (WaitToDelete) Transcode: program is no longer in use.
 Jun 12 21:48:24 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:706 (transUnlink) Requesting delete for file
 'myth://Default@192.168.1.6:6543/2109_20130612190800.mpg.old'.
 Jun 12 21:48:24 pvr-server mythtranscode[21493]: N CoreContext
 main.cpp:706 (transUnlink) Requesting delete for file
 'myth://Default@192.168.1.6:6543/2109_20130612190800.mpg.png'.
 Jun 12 21:48:25 pvr-server mythtranscode[21493]: I CoreContext
 mythcontext.cpp:1115 (~MythContext) Waiting for threads to exit.

 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/7118#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list