[mythtv] [mythtv-commits] mythtv branch master updated by jyavenard. v0.27-pre2-918-g4132132

George Nassas gnassas at mac.com
Tue Apr 2 14:38:00 UTC 2013


On 2013-04-02, at 12:35 AM, Jim Stichnoth wrote:

> Try applying http://code.mythtv.org/trac/attachment/ticket/2077/mythtransode-ac3.diff , particularly the chunk for the ffmpeg file.  It looks like ffmpeg ticket http://ffmpeg.org/trac/ffmpeg/ticket/1240 might have had a fix that was never properly committed.


Thanks for the tip. I was watching that ticket but it didn't seem to be relevant for me so I didn't try it.

Unfortunately, transcoding still fails for mpeg2/ac3 shows. I cut the first 7405 frames from an atsc recording and tried a transcode which failed. Here are the relevant lines from the log:

mpeg2fix.cpp:77 (my_av_print) - Input #0, mpegts, from '/disks/d9/tv/7041_20130401195600.mpg':
mpeg2fix.cpp:77 (my_av_print) -   Duration: 01:08:58.94, start: 93425.131100, bitrate: 17013 kb/s
mpeg2fix.cpp:77 (my_av_print) -     Stream #0:0[0x51]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
mpeg2fix.cpp:77 (my_av_print) -     Stream #0:1[0x54](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
mpeg2fix.cpp:77 (my_av_print) -     Stream #0:2[0x55](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, fltp, 192 kb/s
mpeg2fix.cpp:1946 (Start) - VID #0 PTS:25:57:05.537 Delta: 0.0ms queue: 11
mpeg2fix.cpp:1955 (Start) - AUD #1 PTS:25:57:05.515 Delta: 21.9222ms queue: 2
mpeg2fix.cpp:1955 (Start) - AUD #2 PTS:25:57:05.517 Delta: 19.8444ms queue: 2
mpeg2fix.cpp:2146 (Start) - Del map found 0 at 7405 (7405)
mpeg2fix.cpp:1698 (ConvertToI) - Converting frame #0 from B to I 
mpeg2fix.cpp:1698 (ConvertToI) - Converting frame #1 from B to I 
mpeg2fix.cpp:2251 (Start) - Need to insert 60486 frames > max allowed: 20.  Assuming bad PTS
mpeg2fix.cpp:698 (AddFrame) - Deadlock detected.  One buffer is full when the other is empty!  Aborting

At first I thought it was because I'm removing from the beginning, I do that with all of my edits, but here's one where I cut out the 16-19 minutes portion of the show:

mpeg2fix.cpp:738 (InitAV) - Opening /disks/d9/tv/7071_20130402033100.mpg
mpeg2fix.cpp:77 (my_av_print) - PES packet size mismatch
mpeg2fix.cpp:77 (my_av_print) - Input #0, mpegts, from '/disks/d9/tv/7071_20130402033100.mpg':
mpeg2fix.cpp:77 (my_av_print) -   Duration: 01:10:58.57, start: 25570.380789, bitrate: 11212 kb/s
mpeg2fix.cpp:77 (my_av_print) -     Stream #0:0[0x31]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
mpeg2fix.cpp:77 (my_av_print) -     Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
mpeg2fix.cpp:1946 (Start) - VID #0 PTS:07:06:10.882 Delta: 0.0ms queue: 28
mpeg2fix.cpp:1955 (Start) - AUD #1 PTS:07:06:10.860 Delta: 21.8556ms queue: 2
mpeg2fix.cpp:698 (AddFrame) - Deadlock detected.  One buffer is full when the other is empty!  Aborting
main.cpp:709 (main) - Transcoding /disks/d9/tv/7071_20130402033100.mpg failed

Seems like the deadlock is the common thing. I'm using vaapi if that matters.

On the plus side I edited an old ivtv mpeg2/mp2 show and lossless transcoding actually worked. It forgot to rebuild the seektable when it was done but the show did get cut down correctly.

- George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20130402/63e71e18/attachment.html>


More information about the mythtv-dev mailing list