Mailing List Archive

Mythtranscode ALWAYS Fails when there are Stereo and Mono audio tracks
Mythtranscode on lossless transcode ALWAYS fails on UK Freeview SD & HD
recordings when there are two audio tracks, a stereo and a mono (for the
hard of hearing) .This occurs with some BBC & occasionally some Channel 4
and ITV recordings.
Is there still no way round this.
This problem has been going on for some years now.
DvbCut always works with either both tracks or selection of first track
which is always the proper stereo soundtrack. DvbCut is also much quicker
than mythtranscode, but cannot deal with Freeview HD.
ProjectX also transcodes SD with two audio tracks OK, but not HD.
Re: Mythtranscode ALWAYS Fails when there are Stereo and Mono audio tracks [ In reply to ]
On Wed, Mar 21, 2012 at 23:58, Don Makepiece <dmakepce@gmail.com> wrote:
> Mythtranscode on lossless transcode ALWAYS fails on UK Freeview SD & HD
> recordings when there are two audio tracks, a stereo and a mono (for the
> hard of hearing) .This occurs with some BBC & occasionally some Channel 4
> and ITV recordings.
> Is there still no way round this.

You did not specify what exactly what the definition of
"ALWAYS fails" is, but have you tried it with the git master
(or the 0.25rc builds)? There are some fixes there for
transcoding and multiple audio tracks. See ticket
http://code.mythtv.org/trac/ticket/7118 as a starter.

If the problem still exists, you should follow the
instructions at http://code.mythtv.org/trac/wiki/TicketHowTo
and open a new ticket. Problems will not get
addressed without reports (and sufficient reproducers).

Gary
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
Re: Mythtranscode ALWAYS Fails when there are Stereo and Mono audio tracks [ In reply to ]
Gary, sorry I have taken so long to reply, but I have loaded Mythtv 0.25 to
my Ubuntu 11.10 test system.
The recording of Coast BBC Two 19:00-19:30 failed as usual with audio track
0 - stereo and audio track 1 - mono soundtrack for the hard of hearing.
My main system is Ubuntu 11.04 with Mythtv 0.24 from Ubuntu repo, but with
kernel 3.2.rc2 (for nano 290e Freeview HD Tuner) and auto updating ffmpeg.
Log is as follows.

(HandleAnnounce) adding: john-M68M-S2P as a client (events: 0)
Mar 23 20:05:53 john-M68M-S2P mythbackend[12399]: I ProcessRequest
mainserver.cpp:1358 (HandleAnnounce) MainServer::ANN Monitor
Mar 23 20:05:53 john-M68M-S2P mythbackend[12399]: I ProcessRequest
mainserver.cpp:1360 (HandleAnnounce) adding: john-M68M-S2P as a client
(events: 1)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x9c85100,
id(MPEG2VIDEO) type(Video)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:1958 (ScanStreams) AFD: codec MP2 has 2 channels
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I ProgramInfoUpdater
mythcorecontext.cpp:1177 (CheckProtoVersion) Using protocol version 72
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x9c85890, id(MP2)
type(Audio)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:1958 (ScanStreams) AFD: codec MP2 has 1 channels
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x9c8a7c0, id(MP2)
type(Audio)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x9c8afb0,
id(DVB_SUBTITLE) type(Subtitle)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: N CoreContext
audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
transcode.cpp:933 (TranscodeFile) Honoring the cutlist while transcoding
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
transcode.cpp:966 (TranscodeFile) Cutlist : 0-6501,49876-58876
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
transcode.cpp:968 (TranscodeFile) Original Length: 59973 frames
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
transcode.cpp:970 (TranscodeFile) New Length : 44472 frames
Mar 23 20:05:53 john-M68M-S2P mythpreviewgen[14742]: I CoreContext
previewgenerator.cpp:823 (GetScreenGrab) Preview: Grabbed preview
'/var/lib/mythtv/recordings/1002_20120323185500.mpg' 720x576@900s
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: N CoreContext
transcode.cpp:1225 (TranscodeFile) Switching to MPEG-2 transcoder.
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I SystemIOHandlerW
system-unix.cpp:90 (run) Starting IO manager (write)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I SystemIOHandlerR
system-unix.cpp:90 (run) Starting IO manager (read)
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I SystemSignalManager
system-unix.cpp:485 (run) Starting process signal handler
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I SystemManager
system-unix.cpp:263 (run) Starting process manager
Mar 23 20:05:53 john-M68M-S2P mythpreviewgen[14742]: I CoreContext
mythcontext.cpp:1115 (~MythContext) Waiting for threads to exit.
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:737 (InitAV) Opening
/var/lib/mythtv/recordings/1002_20120323185500.mpg
Mar 23 20:05:53 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Invalid extradata, subtitle streams may be
combined!
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) start time is not set in
av_estimate_timings_from_pts
Mar 23 20:05:54 mythtranscode[14738]: last message repeated 6 times
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Input #0, mpegts, from
'/var/lib/mythtv/recordings/1002_20120323185500.mpg':
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Duration: 00:39:59.30, start: 53439.676111,
bitrate: 4659 kb/s
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.0[0xc9]: Video: mpeg2video,
yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
50 tbc
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.1[0xca](eng): Audio: mp2, 48000
Hz, 2 channels, s16, 256 kb/s
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.2[0xce](eng): Audio: mp2, 48000
Hz, 1 channels, s16, 64 kb/s
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.3[0xcd](eng): Subtitle: dvbsub
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.4[0xd2]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.5[0x1ce9]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.6[0x1c21]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.7[0x1c22]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.8[0x1c23]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.9[0x1c24]: Data: [0][0][0][0] /
0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:76 (my_av_print) Stream #0.10[0x1c25]: Data: [0][0][0][0]
/ 0x0000
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1923 (Start) #0 PTS:14:50:40.063 Delta: 0.0ms queue: 8
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1932 (Start) #1 PTS:14:50:40.060 Delta: 3.82222ms queue: 2
Mar 23 20:05:54 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1932 (Start) #2 PTS:14:50:40.060 Delta: 3.82222ms queue: 2
Mar 23 20:05:54 john-M68M-S2P mythpreviewgen[14742]: I DBLogger
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager3'
Mar 23 20:05:54 john-M68M-S2P mythpreviewgen[14742]: I PT0
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager2'
Mar 23 20:05:54 john-M68M-S2P mythpreviewgen[14742]: I CoreContext
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager1'
Mar 23 20:05:56 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:2123 (Start) Del map found 0 at 6501 (6501)
Mar 23 20:05:56 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1676 (ConvertToI) Converting frame #18 from B to I
Mar 23 20:05:56 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1676 (ConvertToI) Converting frame #19 from B to I
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: I CoreContext
mpeg2fix.cpp:1676 (ConvertToI) Converting frame #20 from P to I
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: N CoreContext
main.cpp:775 (WaitToDelete) Transcode: delete old file: waiting while
program is in use.
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: N CoreContext
main.cpp:807 (WaitToDelete) Transcode: program is no longer in use.
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: N CoreContext
main.cpp:1039 (CompleteJob) Deleting
/var/lib/mythtv/recordings/1002_20120323185500.mpg.tmp
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: N CoreContext
main.cpp:706 (transUnlink) Requesting delete for file 'myth://
Default@192.168.2.2:6543/1002_20120323185500.mpg.tmp'.
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: I CoreContext
mythcontext.cpp:1115 (~MythContext) Waiting for threads to exit.
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: I DBLogger
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager2'
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: I PT0 mythdbcon.cpp:453
(CloseDatabases) Closing DB connection named 'DBManager3'
Mar 23 20:05:57 john-M68M-S2P mythtranscode[14738]: I CoreContext
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager1'
Mar 23 20:05:57 john-M68M-S2P mythbackend[12399]: I Transcode_10
mythdbcon.cpp:75 (MSqlDatabase) Database connection created: DBManager63
Mar 23 20:05:57 john-M68M-S2P mythbackend[12399]: I Transcode_10
mythdbcon.cpp:298 (popConnection) New DB connection, total: 18
Mar 23 20:05:57 john-M68M-S2P mythbackend[12399]: I Transcode_10
mythdbcon.cpp:179 (OpenDatabase) Connected to database 'mythconverg' at
host: localhost
Mar 23 20:05:57 john-M68M-S2P mythbackend[12399]: I Transcode_10
jobqueue.cpp:2081 (DoTranscodeThread) JobQueue: Transcode Errored:
Coast:"The Netherlands": High Quality (exit status 150, job status was
"Errored")
Mar 23 20:05:57 john-M68M-S2P mythbackend[12399]: I Transcode_10
mythdbcon.cpp:453 (CloseDatabases) Closing DB connection named 'DBManager63'

This is always the same result with recordings with these audio tracks,
DVBCUT has no problem transcoding.
There is possible a subtitle problem as well.
My Ubuntu 11.10 has not got the auto updating ffmpeg as the deb file is
only for Ubuntu 11.04.
Don

On 22 March 2012 00:16, Gary Buhrmaster <gary.buhrmaster@gmail.com> wrote:

> On Wed, Mar 21, 2012 at 23:58, Don Makepiece <dmakepce@gmail.com> wrote:
> > Mythtranscode on lossless transcode ALWAYS fails on UK Freeview SD & HD
> > recordings when there are two audio tracks, a stereo and a mono (for the
> > hard of hearing) .This occurs with some BBC & occasionally some Channel 4
> > and ITV recordings.
> > Is there still no way round this.
>
> You did not specify what exactly what the definition of
> "ALWAYS fails" is, but have you tried it with the git master
> (or the 0.25rc builds)? There are some fixes there for
> transcoding and multiple audio tracks. See ticket
> http://code.mythtv.org/trac/ticket/7118 as a starter.
>
> If the problem still exists, you should follow the
> instructions at http://code.mythtv.org/trac/wiki/TicketHowTo
> and open a new ticket. Problems will not get
> addressed without reports (and sufficient reproducers).
>
> Gary
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>