Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#4862 closed task (fixed)

FFmpeg sync tracking ticket for 0.22

Reported by: Janne Grunau Owned by: Janne Grunau
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: yes

Description

ticket to track changes to ffmpeg libs past [14902] which synced to ffmpeg revision 11051.

Change History (36)

comment:1 Changed 12 years ago by Janne Grunau

(In [16390]) Merges revision 11214 and 11275 from FFmpeg

Do not decode b frames without seeing reference frames

Refs #4862, Fixes #4798

comment:2 Changed 12 years ago by Janne Grunau

(In [16406]) Fix the double bit rate problem for software encoding

Reverting the effect of FFmpeg's changeset 10477 as workaround until NuppelVideoRecorder? sets proper pts.

Refs #4862, Refs #4240

comment:3 Changed 12 years ago by Janne Grunau

(In [16407]) Merges revision [16406] from trunk: Fix the double bit rate problem for software encoding

Reverting the effect of FFmpeg's changeset 10477 as workaround until NuppelVideoRecorder? sets proper pts.

Refs #4862, Refs #4240

comment:4 Changed 12 years ago by skamithi

(In [16659]) Refs #4925, Refs #4862. internal dvd player: add some checks to ffmpeg's utils.c. prevents crashes I found when I applied the rest of patch in #4925. Doesn't cause any problems for me. Want to leave it trunk for testing and if no one finds a problem in 4 weeks will port to 0.21 fixes.

comment:5 Changed 11 years ago by skamithi

(In [16801]) Closes #5002, Refs #4925, Refs #4862. in line 884 of utils.c there still needs to be a check for null of st->codec because it will be dereferenced in the next line in the call to av_parser_init()

comment:6 Changed 11 years ago by Anduin Withers

(In [17083]) References #4862, #5220

This imports a modified version of the AC3 CRC check introduced in ffmpeg's revision 11379.

This should eliminate chirp/pop issues when the AC3 data is corrupt.

Thanks to Tom Dexter for this patch. My modifications were only to make it as close to the current ffmpeg code as possible (without importing the new CRC table stuff).

comment:7 Changed 11 years ago by skamithi

(In [17304]) Refs #4925 Refs #4862. internal dvd player: remove av_read_frame_flush call when purging audio streams during an audio stream change. commit out some code in utils.c av_remove_stream to help prevent crashes during this process. i hope it doesn't cause issues for anyone else. also noticed latest ffmpeg doesn't have av_remove_stream defined.so whenever a ffmpeg sync is done, i'll have to find a new solution here if the latest ffmpeg doesn't automatically clean out previously used audio streams.

comment:8 Changed 11 years ago by Janne Grunau

(In [18904]) FFmpeg sync to r15261. Refs #4862

Too much changes to list them all. The most important changes for mythtv are probably the improvements in the H264 decoder, MLP/TrueHD and AAC decoder. The native AAC decoder does only support Main and Low Complexity profile AAC. The usual bugfixes and optimizations are also included. libavcodec uses now yasm for some SIMD assembler functions.

comment:9 Changed 11 years ago by Janne Grunau

(In [18921]) workaround for a strict aliasing violation on x86_32. Refs #4862

comment:10 Changed 11 years ago by Janne Grunau

(In [18944]) sync mpegps_probe to latest ffmpeg to avoid misprobes of some mp3 files. Refs #4862

comment:11 Changed 11 years ago by Janne Grunau

(In [19002]) Reverts ffmpeg changeset 14339. fixes seeking to non-idr frames

Refs #4862 http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?r1=14338&r2=14339

comment:12 Changed 11 years ago by Janne Grunau

(In [19072]) revert difference to upstream libavcodec, Refs #4862

comment:13 Changed 11 years ago by Janne Grunau

(In [19173]) fix detection of some H264 streams in MPEG TS. FFmpeg changeset 14445, Refs #4862

comment:14 Changed 11 years ago by Dibblah

Status: newassigned

comment:15 Changed 11 years ago by Janne Grunau

(In [19282]) removes several ffmpeg sync artifacts. Refs #4862

comment:16 Changed 11 years ago by Janne Grunau

(In [19284]) fix a ffmpeg sync error in libavcodec/dca.c. Refs #4862

spotted by Greg Estabrooks

comment:17 Changed 11 years ago by Janne Grunau

(In [19986]) adds libswscale to the build system

as preparation for the next ffmpeg sync running mythtv with --enable-swscale is not supposed to work at the moment the "#if ENABLE_SWSCALE"... will be removed as soon as img_convert and img_resample are removed. Refs #4862

comment:18 Changed 10 years ago by Janne Grunau

(In [20797]) FFmpeg sync to revision 19352. Refs #4862

Most noteable additions to libavcodec are probably RealVideo? 3 and 4 support and improvements in HD audio decoders. The liba52 decoder is removed. It has the usual amount of fixes and added unsual codecs.

Importent parts still missing are AAC in LATM support and Spectral extension EAC-3.

comment:19 Changed 10 years ago by Janne Grunau

(In [20808]) fix DVB subtitles post ffmpeg sync. Refs #6248

comment:20 Changed 10 years ago by Janne Grunau

(In [20810]) silence mpegts demuxer post ffmpeg sync. Refs #6248

comment:21 Changed 10 years ago by Janne Grunau

(In [20812]) fix ARCH_ defines post ffmpeg sync. Fixes #6690, Refs #6691, Refs #4862

comment:22 Changed 10 years ago by Janne Grunau

(In [20840]) remove unused merge artifact from the mpeg-ps demuxer. Refs #4862

comment:23 Changed 10 years ago by Janne Grunau

(In [20887]) tidy configure --help output up after ffmpeg merge. Refs #4862

comment:24 Changed 10 years ago by Janne Grunau

(In [20906]) arch related cleanup in configure after ffmpeg sync. Refs #4862

comment:25 Changed 10 years ago by Janne Grunau

(In [20941]) do not overwrite setted AVPacket.pos, fixes keyframe index calculation

gets rid of unused AVStream addition cur_frame_startpos Fixes #6731, Refs #4862

comment:26 Changed 10 years ago by mythdev@…

Openchrome (XvMC-VLD) decoding does not work anymore for me after the last FFmpeg sync.

This is my frontend log: (mythfrontend -v playback,libav)

2009-07-20 12:56:57.690 TV: StartTV() -- begin
2009-07-20 12:56:57.691 TV: ctor
2009-07-20 12:56:58.288 TV: tv->Playback() -- begin
2009-07-20 12:56:58.325 TV: tv->Playback() -- end
2009-07-20 12:56:58.325 TV: StartTV -- process events begin
2009-07-20 12:56:58.352 TV: HandleStateChange(0) -- begin
2009-07-20 12:56:58.352 TV: Attempting to change from None to Watching WatchingPreRecorded
2009-07-20 12:56:58.357 RingBuf(myth://10.0.0.1:6543/13004_20090719193000.mpg): OpenFile(myth://10.0.0.1:6543/13004_20090719193000.mpg, 12)
2009-07-20 12:56:58.585 RemoteFile(myth://10.0.0.1:6543/13004_20090719193000.mpg)
2009-07-20 12:56:58.585 RingBuf(myth://10.0.0.1:6543/13004_20090719193000.mpg): CalcReadAheadThresh(0 KB)
			 -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2009-07-20 12:56:58.586 TV: StartPlayer(0, Watching WatchingPreRecorded, main) -- begin
2009-07-20 12:56:58.939 mpegts_add_stream: at pid 0x36 with type 2
2009-07-20 12:56:58.941 mpegts_add_stream: stream #0, has id 0x36 and codec MPEG2VIDEO, type Video at 0x838f930
2009-07-20 12:56:58.941 mpegts_add_stream: at pid 0x37 with type 3
2009-07-20 12:56:58.942 mpegts_add_stream: stream #1, has id 0x37 and codec MP3, type Audio at 0x83aa040
2009-07-20 12:56:58.942 mpegts_add_stream: at pid 0xae with type 257
2009-07-20 12:56:58.945 mpegts_add_stream: stream #2, has id 0xae and codec DVB_VBI, type Data at 0x83a01b0
2009-07-20 12:56:59.421 [mpegts @ 0xb738b9bc]All info found
2009-07-20 12:56:59.983 AFD: Stream #0, has id 0x36 codec id MPEG2VIDEO, type Video, bitrate 15000000 at 0x838f930
2009-07-20 12:56:59.995 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:56:59.995 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:56:59.995 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:56:59.996 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:56:59.996 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:56:59.996 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:56:59.997 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.012 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:57:00.013 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.013 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.014 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:57:00.014 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:57:00.014 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:57:00.014 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.016 VideoOutputXv: XvMC version: 1.1
2009-07-20 12:57:00.054 XvMCSurfaceTypes::find(w 720, h 576, chroma 1, vld 1, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 56 <=p, port, surfNum)
2009-07-20 12:57:00.055 Trying XvMC port 56
2009-07-20 12:57:00.056 Found a suitable XvMC surface 0
2009-07-20 12:57:00.103 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:57:00.104 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.105 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.106 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:57:00.107 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:57:00.107 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:57:00.108 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.110 VideoOutputXv: @ j=0 Looking for flag[s]: XvInputMask  1b
2009-07-20 12:57:00.110 VideoOutputXv: Adaptor#0: XV_SWOV has flag[s]: XvInputMask XvImageMask 
2009-07-20 12:57:00.110 VideoOutputXv: Has XVideo flags...
2009-07-20 12:57:00.111 VideoOutputXv: Has XV_BRIGHTNESS...
2009-07-20 12:57:00.112 VideoOutputXv: Has XV_COLORKEY...
2009-07-20 12:57:00.112 VideoOutputXv: Here...
2009-07-20 12:57:00.112 XvMCSurfaceTypes::find(w 720, h 576, chroma 1, vld 1, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 56 <=p, port, surfNum)
2009-07-20 12:57:00.113 Trying XvMC port 56
2009-07-20 12:57:00.114 Found a suitable XvMC surface 0
2009-07-20 12:57:00.115 VideoOutputXv: Grabbed xv port 56
2009-07-20 12:57:00.115 VideoOutputXv: XvMC surface found with VLD support on port 56
2009-07-20 12:57:00.146 VideoOutputXv: Closing XVideo port 56
2009-07-20 12:57:00.148 Using 1 CPUs for decoding
2009-07-20 12:57:00.149 AFD: InitVideoCodec() 0x83a9c80 id(MPEG2VIDEO_XVMC_VLD) type (Video).
2009-07-20 12:57:00.150 detectInterlace(Detect Scan, Interlaced Scan, 25, 576) ->Interlaced Scan
2009-07-20 12:57:00.169 AFD: Using xvmc-vld for video decoding
2009-07-20 12:57:00.170 AFD: Looking for decoder for MPEG2VIDEO_XVMC_VLD
2009-07-20 12:57:00.170 AFD: Opened codec 0x83a9c80, id(MPEG2VIDEO_XVMC_VLD) type(Video)
2009-07-20 12:57:00.171 AFD: Stream #1, has id 0x37 codec id MP2, type Audio, bitrate 256000 at 0x83aa040
2009-07-20 12:57:00.171 AFD: codec MP2 has 2 channels
2009-07-20 12:57:00.172 AFD: Looking for decoder for MP2
2009-07-20 12:57:00.172 AFD: Opened codec 0x83aa230, id(MP2) type(Audio)
2009-07-20 12:57:00.173 AFD: Stream #2, has id 0xae codec id DVB_VBI, type Data, bitrate 0 at 0x83a01b0
2009-07-20 12:57:00.174 AFD: data codec (Data)
2009-07-20 12:57:00.180 RingBuf(myth://10.0.0.1:6543/13004_20090719193000.mpg): CalcReadAheadThresh(0 KB)
			 -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2009-07-20 12:57:00.214 Opening audio device 'default'. ch 2(2) sr 48000
2009-07-20 12:57:00.215 Opening ALSA audio device 'default'.
2009-07-20 12:57:00.624 Dec: Trying to select track (w/lang)
2009-07-20 12:57:00.624 Dec: Selecting first track
2009-07-20 12:57:00.624 Dec: Selected track #1 in the Unknown language(0)
2009-07-20 12:57:00.624 Dec: Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0)
2009-07-20 12:57:00.738 Position map filled from DB to: 44892
2009-07-20 12:57:00.740 Dec: SyncPositionMap prerecorded, from DB: 3742 entries
2009-07-20 12:57:00.740 Dec: SyncPositionMap, new totframes: 44892, new length: 1795, posMap size: 3742
2009-07-20 12:57:00.741 Input #0, mpegts, from 'myth://10.0.0.1:6543/13004_20090719193000.mpg':
2009-07-20 12:57:00.742   Duration: 00:29:56.04, start: 63040.727767, bitrate: 8342 kb/s
2009-07-20 12:57:00.742     Stream #0.0[0x36], 1/90000: Video: mpegvideo_xvmc_vld, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 1/50, 15000 kb/s, 25 tbr, 90k tbn, 50 tbc
2009-07-20 12:57:00.742     Stream #0.1[0x37], 1/90000: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
2009-07-20 12:57:00.743     Stream #0.2[0xae], 1/90000: Data: 0x0000
2009-07-20 12:57:00.743 AFD: Position map found
2009-07-20 12:57:00.743 AFD: Successfully opened decoder for file: "myth://10.0.0.1:6543/13004_20090719193000.mpg". novideo(0)
2009-07-20 12:57:00.752 VideoOutput: Allowed renderers: xvmc-blit
2009-07-20 12:57:00.753 VideoOutput: Allowed renderers (filt: xvmc-vld): xvmc-blit
2009-07-20 12:57:00.761 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:57:00.761 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.762 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.762 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:57:00.762 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:57:00.763 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:57:00.763 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.763 VideoOutput: Preferred renderer: xvmc-blit
2009-07-20 12:57:00.763 VideoOutput: Trying video renderer: 'xvmc-blit'
2009-07-20 12:57:00.803 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:57:00.803 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.804 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.804 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:57:00.804 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:57:00.804 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:57:00.820 VideoOutputXv: ctor
2009-07-20 12:57:00.820 VideoOutWindow::SetPIPState. pip_state: 0]
2009-07-20 12:57:00.822 VideoOutputXv: Creating gc
2009-07-20 12:57:00.823 VideoOutputXv: XJ_screen_num: '0'
2009-07-20 12:57:00.823 VideoOutputXv: XJ_curwin:     '4194310'
2009-07-20 12:57:00.823 VideoOutputXv: XJ_win:        '4194310'
2009-07-20 12:57:00.823 VideoOutputXv: XJ_root:       '108'
2009-07-20 12:57:00.824 VideoOutputXv: XJ_gc:         '0x996d570'
2009-07-20 12:57:00.825 Snapping height to avoid scaling: height: 576, top: 96
2009-07-20 12:57:00.825 Display Rect  left: 0, top: 96, width: 1024, height: 576, aspect: 1.33333
2009-07-20 12:57:00.826 Video Rect    left: 0, top: 0, width: 720, height: 576, aspect: 1.77778
2009-07-20 12:57:00.826 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.829 VideoOutput: Pixel dimensions: Screen 1024x768, window 1024x768
2009-07-20 12:57:00.829 VideoOutput: Actual display dimensions: 260x147 mm  Aspect: 1.76871
2009-07-20 12:57:00.829 VideoOutput: Estimated window dimensions: 260x147 mm  Aspect: 1.76871
2009-07-20 12:57:00.829 VideoOutputXv: InitSetupBuffers() render: xvmc-blit, allowed: xvmc-blit
2009-07-20 12:57:00.839 VDP: Accepting: cmp(<= 720 576,> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,none) filt()
2009-07-20 12:57:00.839 VDP: Accepting: cmp(<= 1280 720,> 720 576) dec(xvmc) cpus(1) rend(xvmc-blit) osd(ia44blend) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.839 VDP: Accepting: cmp(> 0 0) dec(xvmc-vld) cpus(1) rend(xvmc-blit) osd(chromakey) osdfade(disabled) deint(bobdeint,onefield) filt()
2009-07-20 12:57:00.840 VDP: Accepting: cmp(> 0 0) dec(libmpeg2) cpus(1) rend(xv-blit) osd(chromakey) osdfade(disabled) deint(none,none) filt()
2009-07-20 12:57:00.840 VDP: LoadBestPreferences(2048x2048, 0)
2009-07-20 12:57:00.840 VDP: LoadBestPreferences(2048x2048, 60)
2009-07-20 12:57:00.840 VDP: LoadBestPreferences(720x576, 60)
2009-07-20 12:57:00.841 VideoOutputXv: @ j=0 Looking for flag[s]: XvInputMask  1b
2009-07-20 12:57:00.841 VideoOutputXv: Adaptor#0: XV_SWOV has flag[s]: XvInputMask XvImageMask 
2009-07-20 12:57:00.841 VideoOutputXv: Has XVideo flags...
2009-07-20 12:57:00.842 VideoOutputXv: Has XV_BRIGHTNESS...
2009-07-20 12:57:00.842 VideoOutputXv: Has XV_COLORKEY...
2009-07-20 12:57:00.843 VideoOutputXv: Here...
2009-07-20 12:57:00.843 XvMCSurfaceTypes::find(w 720, h 576, chroma 1, vld 1, idct 0, mpeg2, sub-width 0, sub-height 0, disp, p<= 56, 56 <=p, port, surfNum)
2009-07-20 12:57:00.843 Trying XvMC port 56
2009-07-20 12:57:00.843 Found a suitable XvMC surface 0
2009-07-20 12:57:00.844 VideoOutputXv: Grabbed xv port 56
2009-07-20 12:57:00.844 VideoOutputXv: XvMC surface found with VLD support on port 56
2009-07-20 12:57:00.844 VideoOutputXv: XvMC Adaptor Name: 'XV_SWOV'
2009-07-20 12:57:00.870 VideoOutputXv: VLD - Allocated 20 surfaces, now destroying 5 of them.
2009-07-20 12:57:00.870 Allocated 15 XvMC surfaces, minimum was 8 surfaces
2009-07-20 12:57:00.873 VDP: SetVideoRenderer(xvmc-blit)
2009-07-20 12:57:00.873 VDP: SetVideoRender(xvmc-blit) == GetVideoRenderer()
2009-07-20 12:57:00.874 Display Rect  left: 0, top: 0, width: 1024, height: 768, aspect: 1.77778
2009-07-20 12:57:00.874 Video Rect    left: 0, top: 0, width: 720, height: 576, aspect: 1.77778
2009-07-20 12:57:00.879 Over/underscan. V: 0, H: 0
2009-07-20 12:57:00.879 Display Rect  left: 0, top: 0, width: 1024, height: 768, aspect: 1.77778
2009-07-20 12:57:00.879 Video Rect    left: 0, top: 0, width: 720, height: 576, aspect: 1.77778
2009-07-20 12:57:00.880 VDP: LoadBestPreferences(720x576, 25)
2009-07-20 12:57:00.880 NVP(0): Forcing decode extra audio option on (Video method requires it).
2009-07-20 12:57:00.882 NVP(0): LoadFilters(''..) -> 0x0
2009-07-20 12:57:00.887 OSD Theme Dimensions W: 640 H: 480
2009-07-20 12:57:04.530 playCtx: StartDecoderThread(): took 3777 ms to start player.
2009-07-20 12:57:04.531 TV: StartPlayer(0, Watching WatchingPreRecorded, main) -- end ok
2009-07-20 12:57:04.531 NVP(0): ClearAfterSeek(1)
2009-07-20 12:57:04.532 VideoOutputXv: ClearAfterSeek()
2009-07-20 12:57:04.532 VideoOutputXv: DiscardFrames(0)
2009-07-20 12:57:04.532 TV: Changing from None to Watching WatchingPreRecorded
2009-07-20 12:57:04.532 VideoOutputXv: DiscardFrames() 1: AAAAAAAAAAAAAAA
2009-07-20 12:57:04.537 TV: HandleStateChange(0) -- end
2009-07-20 12:57:04.537 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAA -- done()
2009-07-20 12:57:04.538 VideoOutputXv: DiscardFrames(1)
2009-07-20 12:57:04.538 VideoOutputXv: DiscardFrames() 1: AAAAAAAAAAAAAAA
2009-07-20 12:57:04.538 VideoOutputXv: DiscardFrames() 2: AAAAAAAAAAAAAAA
2009-07-20 12:57:04.538 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAA -- done()
2009-07-20 12:57:04.543 Realtime priority would require SUID as root.
2009-07-20 12:57:04.544 VDP: GetFilteredDeint() : xvmc-blit -> 'bobdeint'
2009-07-20 12:57:04.549 FilterManager: GetFilterInfo(convert) returning: 0x0
2009-07-20 12:57:04.549 FilterManager: GetFilterInfo(bobdeint) returning: 0xa7b1300
2009-07-20 12:57:04.550 Using deinterlace method bobdeint
2009-07-20 12:57:04.558 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.562 ScreenSaverX11Private: DPMS Deactivated 1
2009-07-20 12:57:04.607 WriteAudio: buffer underrun
2009-07-20 12:57:04.634 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.636 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.638 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.640 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.661 Set video sync frame interval to 40000
2009-07-20 12:57:04.664 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.667 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.669 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.694 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.697 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.699 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.726 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.755 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.758 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.760 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.784 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.786 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.789 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.801 Using video as timebase
2009-07-20 12:57:04.827 Video timing method: DRM
2009-07-20 12:57:04.827 Refresh rate: 16665, frame interval: 40000
2009-07-20 12:57:04.791 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.832 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.837 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.842 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.843 NVP(0): Waiting for prebuffer..  0 AAAAAAAAAAAAAAA
2009-07-20 12:57:04.845 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.848 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.850 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.854 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.859 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.873 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.875 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.878 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.880 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.883 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.
2009-07-20 12:57:04.887 [mpegvideo_xvmc_vld @ 0xb6e77fa0]decoding to PIX_FMT_NONE is not supported.

Frontend version:

MythTV version 2009-07-20 13:03:13.989 mythfrontend version: trunk [20904]

My config:

# Basic Settings
Compile type              debug
Compiler cache            no
DistCC                    yes
qmake                     /usr/bin/qmake
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86 (c3-2)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              no
3DNow! enabled            no
3DNow! extended enabled   no
SSE enabled               no
SSSE3 enabled             no
CMOV enabled              yes
CMOV is fast              yes

# Input Support
Joystick menu             no
lirc support              yes
Video4Linux sup.          yes
ivtv support              no
HR-PVR support            no
FireWire support          no
DVB support               yes [/usr/include]
HDHomeRun support         no
IPTV support              no

# Sound Output Support
PulseAudio support        no
OSS support               no
ALSA support              yes
aRts support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            no
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          no
XvMC libs                 -lchromeXvMC
VDPAU support             no
OpenGL video              no
OpenGL vsync              no
DirectFB                  no
Fribidi formatting        yes
MHEG support              no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

WARNING: When using --arch=X or --cpu=X you must include the
         output of ./configure along with any bug report.

libs/libmythdb/mythconfig.h is unchanged

If I can help debug/test this in some way, please tell me how.

Thank you!

comment:27 in reply to:  26 Changed 10 years ago by Janne Grunau

Ticket locked: set

Replying to mythdev@telfort.nl:

Openchrome (XvMC-VLD) decoding does not work anymore for me after the last FFmpeg sync.

somehow expected since there were many XvMC/hardware accelerated decoding changes and I can't test it. please open a new ticket.

comment:28 Changed 10 years ago by Janne Grunau

(In [21465]) applies a couple of ffmpeg changes for eac3 spectral extension support. Refs #4862, Refs #6673

the applied changes are ffmpeg revision 19496, 19497, 19498, 19500, 19501, 19577, 19584-19589

comment:29 Changed 10 years ago by Janne Grunau

(In [21466]) apply patch for EAC3 spectral extension support. Refs #4862, Closes #6673

requires configure rerun

patch on ffmpeg devel ml: Subject: Re: [FFmpeg-devel] [PATCH] E-AC-3 spectral extension From: Justin Ruggles <redacted> Date: Wed, 05 Aug 2009 18:14:39 -0400

comment:30 Changed 10 years ago by skamithi

(In [21891]) Refs #5989. Refs #4862. after ffmpeg resync added LPCM support, 16bit pcm audio in dvds fails everytime. found what looks to be a typo that resolves the issue. will send an email to ffmpeg alias to confirm.

comment:31 Changed 10 years ago by Janne Grunau

(In [22043]) increase number of probe packets and probe buffer size to fix detection of ivtv recordings

backport of ffmpeg changeset 20017. Refs #4862, Closes #7140

comment:32 Changed 10 years ago by skamithi

(In [22131]) Closes #6808. Refs #4862. Check that avctx->decode_cc_dvd is defined before executing it. user reported a crash when the first frame in the VOB had a closed captioning but AFD:ScanStreams hadn't kicked in yet.

comment:33 Changed 10 years ago by JYA

(In [22183]) Fix AAC channels ordering. Backport ffmpeg changeset 19399, 19400, 19562, 19782, 20067, 20068, 20069. Refs #4862.

comment:34 Changed 10 years ago by JYA

In [22183], skipped ffmpeg changeset: 19999, 19970, 19958, 19956, 19955, 19787.

following files were modified: mythtv/libs/libavcodec/aac.c mythtv/libs/libavcodec/aac.h mythtv/libs/libavcodec/aacdectab.h mythtv/libs/libavcodec/aactab.c mythtv/libs/libavcodec/aactab.h

During next ffmpeg resync, original upstream files can be used directly. No particular modification for mythtv.

comment:35 Changed 10 years ago by Janne Grunau

Milestone: unknown0.22
Resolution: fixed
Status: assignedclosed
Summary: FFmpeg sync tracking ticketFFmpeg sync tracking ticket for 0.22

comment:36 Changed 10 years ago by Janne Grunau

(In [22279]) fix libavformat's seeking in avformatdecoder

the seek timestamp didn't took the start timestamp into account probably broken by a ffmpeg sync. Refs #4862 might fix Refs #6817, livetv shouldn't use libavformat's seeking but the behaviour described in the ticket matched what I saw with normal files without posmap

Note: See TracTickets for help on using tickets.