bond
12th October 2007, 18:41
Thanks to Jeff Downs libavcodec now supports decoding PAFF:
http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/h264.c?sortby=date&view=log
enjoy!
bob0r
12th October 2007, 21:48
ffdshow-tryout 1523:
EinsFestival-HD.1280x720.paff.tandberg.h.264.astra.19e.30.aug.2007.ts = fail
08-25_16-27-11_ARTE HD (ger)_.ts = fail
canal.plus.film.hd.poland.1920x1080.paff.25.aug.2007.ts = fail
ANIXE.HD.Astra.1G.19.2E.10.jul.2007.ts = fail
ProSieben.HD.HD.Astra.1G.19.2E.10.jul.2007.ts = fail
http://x264.nl/h.264.samples/ I thought they had this link, but i guess people are too lazy to test.
I am supprised to see MBAFF + Spatial direct mode (Ateme satelite) working.
Conclusion:
USE CoreAVC 1.5.x www.coreavc.com, 15 dollar for the best _and_ fastest H.264 decoder.
Unless you want to wait some more years, then opensource ftw!
bond
12th October 2007, 22:03
you are mentioning a known bug in libavcodec, not being related to paff
nm
12th October 2007, 22:46
With MPlayer r24766:
EinsFestival-HD.1280x720.paff.tandberg.h.264.astra.19e.30.aug.2007.ts -- fails, first frame is displayed correctly, then it says:
[h264 @ 0x8932ed0]warning: first frame is no keyframe
[h264 @ 0x8932ed0]pic->data[0]!=NULL in avcodec_default_get_buffer
[h264 @ 0x8932ed0]get_buffer() failed (-1 -45642073 -1605175913 0xc7b734c7)
[h264 @ 0x8932ed0]decode_slice_header error
[h264 @ 0x8932ed0]pic->data[0]!=NULL in avcodec_default_get_buffer 0 60%
[h264 @ 0x8932ed0]get_buffer() failed (-1 -45642073 -1605175913 0xc7b734c7)
[h264 @ 0x8932ed0]decode_slice_header error
Edit: VLC 0.8.6 seems to play this fine, so the problem is probably in MPlayer's MPEG-TS demuxer (-demuxer lavf didn't work either).
08-25_16-27-11_ARTE HD (ger)_.ts -- works perfectly if this is the same clip as arte.hd.ts on bob0r's site
canal.plus.film.hd.poland.1920x1080.paff.25.aug.2007.ts -- fails, same problem as with EinsFestival...
ANIXE.HD.Astra.1G.19.2E.10.jul.2007.ts -- works, but complains:
Interlaced pictures + spatial direct mode is not implemented
ProSieben.HD.HD.Astra.1G.19.2E.10.jul.2007.ts -- works, but complains like with the ANIXE clip.
Conclusion: Looks like PAFF decoding is already working quite well, but there may be some (unrelated) problems in MPlayer's demuxers and in ffdshow.
Teklock
17th October 2007, 22:47
With MPlayer r24766:
EinsFestival-HD.1280x720.paff.tandberg.h.264.astra.19e.30.aug.2007.ts -- fails, first frame is displayed correctly, then it says:
[h264 @ 0x8932ed0]warning: first frame is no keyframe
[h264 @ 0x8932ed0]pic->data[0]!=NULL in avcodec_default_get_buffer
[h264 @ 0x8932ed0]get_buffer() failed (-1 -45642073 -1605175913 0xc7b734c7)
[h264 @ 0x8932ed0]decode_slice_header error
[h264 @ 0x8932ed0]pic->data[0]!=NULL in avcodec_default_get_buffer 0 60%
[h264 @ 0x8932ed0]get_buffer() failed (-1 -45642073 -1605175913 0xc7b734c7)
[h264 @ 0x8932ed0]decode_slice_header error
All of my h.264 PAFF samples have this same error. I was wondering what are the difference in some of these h.264 PAFF samples that don't work and why does the ffmpeg team seem to not worry about fixing it (judging by the ffmpeg mailing list). Thanks..
bond
17th October 2007, 23:14
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-October/036648.html
neuron2
13th November 2007, 03:57
So I thought I'd try to make PAFF work in DGAVCDec.
I got the latest trunk version of ffdshow_tryouts and it crashes in libavcodec whenever I open a PAFF h.264 (abort due to too many reference pictures).
Is there a good version of ffdhsow_tryouts libavcodec that works with PAFF?
bob0r
13th November 2007, 14:15
Its badly supported, maybe you should still make your own implementation.
canTsTop
13th November 2007, 15:49
@neuron2,
i have installed this version ffdshow_rev1602_20071111_xxl.exe and its working for me. i index video with DGAVCindex alpha 2, then change dga files beginning like this:
DGAVCIndexFile3
C:\bits0001.264
C:\Program Files\ffdshow\libavcodec.dll
but some times then i load avs with virtualdub it crashes then i randomly move slider, this is error (if it useful...):
VirtualDub crash report -- build 28292 (release)
--------------------------------------
Disassembly:
004e0400: 53 push ebx
004e0401: 55 push ebp
004e0402: 56 push esi
004e0403: 8bf1 mov esi, ecx
004e0405: 8b8678050000 mov eax, [esi+578]
004e040b: 83e0fe and eax, 0feh
004e040e: 83f802 cmp eax, 02h
004e0411: 57 push edi
004e0412: 7524 jnz 004e0438 (VideoSourceAVI::_isKey+38)
004e0414: 8b5e10 mov ebx, [esi+10h]
004e0417: 8b4c2414 mov ecx, [esp+14h]
004e041b: 8b6e14 mov ebp, [esi+14h]
004e041e: 8b542418 mov edx, [esp+18h]
004e0422: 6a00 push 00h
004e0424: 2bcb sub ecx, ebx
004e0426: 50 push eax
004e0427: 1bd5 sbb edx, ebp
004e0429: 52 push edx
004e042a: 51 push ecx
004e042b: e8b0b40a00 call 0058b8e0 (_alldiv)
004e0430: 8bfa mov edi, edx
004e0432: 03c3 add eax, ebx
004e0434: 13fd adc edi, ebp
004e0436: eb08 jmp 004e0440 (VideoSourceAVI::_isKey+40)
004e0438: 8b7c2418 mov edi, [esp+18h]
004e043c: 8b442414 mov eax, [esp+14h]
004e0440: 8bae70050000 mov ebp, [esi+570]
004e0446: 85ed test ebp, ebp
004e0448: 7434 jz 004e047e (VideoSourceAVI::_isKey+7e)
004e044a: 8b4e10 mov ecx, [esi+10h]
004e044d: 8b5614 mov edx, [esi+14h]
004e0450: 2bc1 sub eax, ecx
004e0452: 1bfa sbb edi, edx
004e0454: 8bc8 mov ecx, eax
004e0456: 83e107 and ecx, 07h
004e0459: bb01000000 mov ebx, 00000001
004e045e: d3e3 shl ebx, cl
004e0460: 8bd7 mov edx, edi
004e0462: b103 mov cl, 03h
004e0464: e847b40a00 call 0058b8b0 (_allshr)
004e0469: 0fbe0428 movsx eax, byte ptr [eax+ebp]
004e046d: 23d8 and ebx, eax
004e046f: f7db neg ebx
004e0471: 5f pop edi
004e0472: 1bdb sbb ebx, ebx
004e0474: 5e pop esi
004e0475: f7db neg ebx
004e0477: 5d pop ebp
004e0478: 8ac3 mov al, bl
004e047a: 5b pop ebx
004e047b: c20800 ret 0008
004e047e: 8b8e0c050000 mov ecx, [esi+50c]
004e0484: 8b11 mov edx, [ecx]
004e0486: 57 push edi
004e0487: 50 push eax
004e0488: 8b4210 mov eax, [edx+10h] <-- FAULT
004e048b: ffd0 call eax
004e048d: 5f pop edi
004e048e: 5e pop esi
004e048f: 5d pop ebp
004e0490: 5b pop ebx
004e0491: c20800 ret 0008
004e0494: cc int 3
004e0495: cc int 3
004e0496: cc int 3
004e0497: cc int 3
004e0498: cc int 3
004e0499: cc int 3
004e049a: cc int 3
004e049b: cc int 3
004e049c: cc int 3
004e049d: cc int 3
004e049e: cc int 3
004e049f: cc int 3
004e04a0: 53 push ebx
004e04a1: 56 push esi
004e04a2: 8bf1 mov esi, ecx
004e04a4: 83bec004000000 cmp dword ptr [esi+4c0], 00h
004e04ab: 57 push edi
004e04ac: 7469 jz 004e0517 (VideoSourceAVI::nearestKey+77)
004e04ae: 8b5c2414 mov ebx, [esp+14h]
004e04b2: 3b9e64ffffff cmp ebx, [esi-9c]
004e04b8: 7c52 jl 004e050c (VideoSourceAVI::nearestKey+6c)
004e04ba: 8b7c2410 mov edi, [esp+10h]
004e04be: 7f08 jg 004e04c8 (VideoSourceAVI::nearestKey+28)
004e04c0: 3bbe60ffffff cmp edi, [esi-a0]
004e04c6: 7244 jc 004e050c (VideoSourceAVI::nearestKey+6c)
004e04c8: 3b9e6cffffff cmp ebx, [esi-94]
004e04ce: 7f3c jg 004e050c (VideoSourceAVI::nearestKey+6c)
004e04d0: 7c08 jl 004e04da (VideoSourceAVI::nearestKey+3a)
004e04d2: 3bbe68ffffff cmp edi, [esi-98]
004e04d8: 7332 jnc 004e050c (VideoSourceAVI::nearestKey+6c)
004e04da: 8b8650ffffff mov eax, [esi-b0]
004e04e0: 8b5060 mov edx, [eax+60h]
004e04e3: 8d8e50ffffff lea ecx, [esi-b0]
004e04e9: 53 push ebx
004e04ea: 57 push edi
004e04eb: ffd2 call edx
004e04ed: 84c0 test al, al
004e04ef: 740a jz 004e04fb (VideoSourceAVI::nearestKey+5b)
004e04f1: 8bc7 mov eax, edi
004e04f3: 5f pop edi
004e04f4: 5e pop esi
004e04f5: 8bd3 mov edx, ebx
004e04f7: 5b pop ebx
004e04f8: c20800 ret 0008
004e04fb: 8b06 mov eax, [esi]
004e04fd: 8b5060 mov edx, [eax+60h]
Built on KOS-MOS on Sat Oct 13 18:58:26 2007 using compiler version 1400
Windows 5.1 (Windows XP x86 build 2600) [Service Pack 2]
EAX = 000175f9
EBX = 000175f9
ECX = 00bf6290
EDX = 00000000
EBP = 00000000
ESI = 00bf6668
EDI = 00000000
ESP = 0012f8fc
EIP = 004e0488
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff
Crash reason: Access Violation
Crash context:
An out-of-bounds memory access (access violation) occurred in module 'VirtualDub'...
...reading address 00000010.
Pointer dumps:
ECX 00bf6290: 00000000 003369d4 00bf6538 00f84e38 00030003 010c0155 00befdd8 00befde0
ESI 00bf6668: 005cf418 00000002 00bf5fc0 00000028 00000000 00000000 00039abc 00000000
ESP 0012f8f8: 00000000 000175f9 00000000 00000000 005cf418 0012fa14 000175f9 004dfd20
0012f918: 000175f9 00000000 00bf6718 004dfb37 000175f9 00000000 0012fc38 004ba178
0012f938: 0012fa14 00000000 004a1fd5 000175f9 00000000 0012fc38 004ba178 00000000
0012f958: 00000000 0012f9a0 00000000 00000000 00000001 0012f938 00bf6718 00bf6718
Thread call stack:
004e0488: VideoSourceAVI::_isKey()
004dfd20: VideoSource::isKey()
004dfb37: VideoSource::streamSetDesiredFrame()
004a1fd5: VDProject::DisplayFrame()
7e41881a: USER32!GetDC [7e410000+86b7+163]
7e41b4b0: USER32!DefWindowProcW [7e410000+b32c+184]
7e41b4bb: USER32!DefWindowProcW [7e410000+b32c+18f]
0044e477: VDPositionControlW32::SetPosition()
004ad837: VDProjectUI::UICurrentPositionUpdated()
004a452b: VDProject::MoveToFrame()
004aaed1: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e41b619: USER32!EndPaint [7e410000+b60d+c]
004509d2: VDPositionControlW32::OnPaint()
7e419478: USER32!GetWindowLongA [7e410000+944d+2b]
004aaac4: VDProjectUI::WndProc()
004ba421: VDUIFrame::StaticWndProc()
7e41b4fc: USER32!DefWindowProcW [7e410000+b32c+1d0]
7e418724: USER32!GetDC [7e410000+86b7+6d]
7e418806: USER32!GetDC [7e410000+86b7+14f]
7e41b88b: USER32!GetParent [7e410000+b71f+16c]
7e42f400: USER32!SendMessageA [7e410000+1f3b7+49]
00450e18: VDPositionControlW32::Notify()
0044f359: VDPositionControlW32::WndProc()
7e418724: USER32!GetDC [7e410000+86b7+6d]
7e419481: USER32!GetWindowLongA [7e410000+944d+34]
0044eb0f: VDPositionControlW32::StaticWndProc()
7e418724: USER32!GetDC [7e410000+86b7+6d]
7e418806: USER32!GetDC [7e410000+86b7+14f]
7e4189bd: USER32!GetWindowLongW [7e410000+8896+127]
7e41ca4b: USER32!PeekMessageA [7e410000+c950+fb]
7e41d8bb: USER32!GetAncestor [7e410000+d8af+c]
7e4196b7: USER32!DispatchMessageA [7e410000+96a8+f]
0048fb58: WinMain@16()
005928dc: __set_flsgetvalue()
00592a88: _getptd_noexit()
0059005a: __tmainCRTStartup()
7c816ff7: kernel32!RegisterWaitForInputIdle [7c800000+16fae+49]
-- End of report
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.