[mythtv] ffmpeg sync

Mark Spieth mark at dclabs.com.au
Wed Apr 25 09:27:56 UTC 2007


> Janne Grunau wrote:
>> On Tuesday 17 April 2007 20:58:44 Bruce Markey wrote:
>>>
>>>
>> Updated patch: http://www.grunau.be/ffmpeg_sync_8742_13272.diff.bz2
>

Ive just done a quick test with this patch and MPEG4 looks good too. handles 
videos previously that did not decode correctly.
mpeg2 also looks ok.

I changed the include for the now missing liba52/a52.h to <a52dec/a52.h> in 
avf and audiooutputbase and it all compiled ok. havent tested 
ac3/multichannel yet.

however Ive noticed a problem in the preview generator. havent traced it 
yet. (FE log with playback/libav on)
The double ringbuffer open is sus. this happened on a newly recorded dvb 
recording which hadnt been accessed yet. I have preview + preview video 
enabled in this FE.
after a killall mythfrontend (2.4 kernel) the next preview was fine (already 
created of course) and the recording played fine too.

this changed in the last couple of months, but not sure when and I cant go 
back as my test machine is live.
If someone has any ideas on this that may help or remember why they did 
something, please let me know.
Ill chase this in the next few days when I have time if no one beats me.

cheers
mark

2007-04-25 18:39:01.040 Starting preview generator
2007-04-25 18:39:01.212 NVP: Exited decoder loop.
2007-04-25 18:39:01.254 ~VideoOutputNull()
2007-04-25 18:39:01.637 
RingBuf(/data/mythtv/recordings/1007_20070425183900.mpg): OpenFile(/data/m
ythtv/recordings/1007_20070425183900.mpg, 1)
2007-04-25 18:39:01.640 
RingBuf(/data/mythtv/recordings/1007_20070425183900.mpg): CalcReadAheadThr
esh(3221215036 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-04-25 18:39:02.668 
RingBuf(/data/mythtv/recordings/1007_20070425183900.mpg): OpenFile(/data/m
ythtv/recordings/1007_20070425183900.mpg, 0)
2007-04-25 18:39:02.672 
RingBuf(/data/mythtv/recordings/1007_20070425183900.mpg): CalcReadAheadThr
esh(1234925180 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
mpegts_add_stream: at pid 0x302 with type 3
mpegts_add_stream: stream #0, has id 0x302 and codec MP3, type Audio at 
0x83bfb50
mpegts_add_stream: at pid 0x304 with type 257
mpegts_add_stream: stream #1, has id 0x304 and codec DVB_VBI, type Data at 
0x9081530
mpegts_add_stream: at pid 0x301 with type 2
mpegts_add_stream: stream #2, has id 0x301 and codec MPEG2VIDEO, type Video 
at 0x9081b40



More information about the mythtv-dev mailing list