FFmpeg cabac DLL files - Please test on multi-core CPU
#1
I've uploaded ffmpeg dlls with the cabac patch applied:
http://sourceforge.net/project/showfiles..._id=585323

This should improve decoding performance of h264 on multi core processor.
However I've noticed I slight decrease (1-2fps) on my AMD X2 3800 so
maybe elupus has used some more optimizations on the svn one.
Anyway play with it an decide which one to use. Feedback is of course appreciated.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#2
I tried them wiso and it dosn't seem to have the same effect that the linux ones do I can see both cores being used but one core is used much more than the other still and the video I tried still has the same effect as before linux had cabac patch
Reply
#3
I can see that 2nd core is at 50-60% utilization (mkv, 720p) while 1st core is at 10-20. Video quality didn't change at all. It looks exactly as before. Seems that all those DLLs do is put all the workload on the 2nd core. My test machine is DELL Latitude D820. I don't observe workload balance.

DP
Reply
#4
I see a slightly difference that one of the cores raises from 5% to 30% but this is all. What a pity but worth a try.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
Sorry for my ignoranse but under which player does these belong?
Reply
#6
dvdplayer, only one that is used now on linux/win32 port

DP
Reply
#7
Anyway the new dlls don't show the performance boost I would like to see Cool
Unfortunately I don't get newer ffmpegs compiled (configure runs through but make tells no target). I read that they did some cool stuff for multi cores in the last weeks.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
Thumbs Up 
.mkv play between 1-3 % q6600 Final.Fantasy.VII.Advent.Children.720p.AC3.mkv
.ts play between 30-50 % Das fünfte Element Blue-Ray 1080p.ts


und alles funzt besser spulen springen start und stop einfach genial
Reply
#9
damn i found a little bug

play 1080i

22:50:44 T:2152 M:1549979648 NOTICE: CDVDPlayerVideo::~CDVDPlayerVideo - uninitting video device
22:50:46 T:2152 M:1566597120 DEBUG: CApplication::OnKey: 61480 pressed, action is 4
22:50:47 T:2152 M:1566941184 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
22:50:47 T:2152 M:1566953472 DEBUG: CPlayerCoreFactor::GetPlayers(l:\system\HD-filme\King.Kong.DL.H264.1080i.ts)
22:50:47 T:2152 M:1566949376 NOTICE: DVDPlayer: Opening: l:\system\HD-filme\King.Kong.DL.H264.1080i.ts
22:50:47 T:2152 M:1566945280 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
22:50:47 T:1552 M:1566945280 DEBUG: thread start, auto delete: 1
22:50:47 T:1512 M:1566920704 DEBUG: thread start, auto delete: 0
22:50:47 T:1512 M:1566916608 NOTICE: Creating InputStream
22:50:47 T:1512 M:1566912512 NOTICE: Creating Demuxer
22:50:47 T:1512 M:1566306304 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] no frame!
Reply
#10
[quote=gorgone]damn i found a little bug

play 1080i

22:50:47 T:2152 M:1566953472 DEBUG: CPlayerCoreFactor::GetPlayers(l:\system\HD-filme\King.Kong.DL.H264.1080i.ts)
22:50:47 T:2152 M:1566949376 NOTICE: DVDPlayer: Opening: l:\system\HD-filme\King.Kong.DL.H264.1080i.ts
22:50:47 T:2152 M:1566945280 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
22:50:47 T:1552 M:1566945280 DEBUG: thread start, auto delete: 1
22:50:47 T:1512 M:1566920704 DEBUG: thread start, auto delete: 0
22:50:47 T:1512 M:1566916608 NOTICE: Creating InputStream
22:50:47 T:1512 M:1566912512 NOTICE: Creating Demuxer
22:50:47 T:1512 M:1566306304 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] non existing PPS referenced
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] no frame!
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] no frame!
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] B picture before any references, skipping
22:50:47 T:1512 M:1565884416 ERROR: ffmpeg: [h264] decode_slice_header error
22:50:47 T:1512 M:1565880320 ERROR: ffmpeg: [h264] no frame!
22:50:47 T:1512 M:1564667904 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Input #0, mpegts, from 'l:\system\HD-filme\King.Kong.DL.H264.1080i.ts':
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Duration: 02:58:01.2, start: 36966.837400, bitrate: 19342 kb/s
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Program 129
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Stream #0.0[0x2ff]: Video: h264, yuv420p, 1920x1088 [PAR 1:1 DAR 30:17], 25.00 tb®
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Stream #0.1[0x303](ger): Audio: ac3, 48000 Hz, 5:1, 448 kb/s
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Stream #0.2[0x304](eng): Audio: ac3, 48000 Hz, stereo, 448 kb/s
22:50:47 T:1512 M:1564667904 INFO: ffmpeg: Program 130
22:50:47 T:1512 M:1564667904 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
22:50:47 T:1512 M:1564667904 DEBUG: CUtil::CacheSubtitles: START
22:50:47 T:1512 M:1564606464 DEBUG: CUtil::CacheSubtitles: Checking for common subirs...
22:50:47 T:1512 M:1564602368 DEBUG: CUtil::CacheSubtitles: Done (time: 3 ms)
22:50:47 T:1512 M:1564602368 DEBUG: CUtil::CacheSubtitles: Searching for subtitles...
22:50:47 T:1512 M:1564647424 DEBUG: CUtil::CacheSubtitles: Done (time: 1 ms)
22:50:47 T:1512 M:1564647424 DEBUG: CUtil::CacheSubtitles: END (total time: 4 ms)
22:50:47 T:1512 M:1564647424 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
22:50:47 T:1512 M:1564647424 NOTICE: Opening video stream: 0 source: 256
22:50:47 T:1512 M:1564647424 NOTICE: Creating video codec with codec id: 28
22:50:47 T:1512 M:1564647424 INFO: CDVDFactoryCodec - High video resolution detected 1920x1088, trying half resolution decoding
22:50:47 T:1512 M:1564647424 DEBUG: FactoryCodec - Video: FFmpeg - Opening
22:50:47 T:1512 M:1564647424 DEBUG: FactoryCodec - Video: FFmpeg - Opened
22:50:47 T:1512 M:1564647424 NOTICE: Creating video thread
22:50:47 T:1512 M:1564643328 NOTICE: Opening audio stream: 1 source: 256
22:50:47 T:1512 M:1564639232 NOTICE: Finding audio codec for: 86020
22:50:47 T:1052 M:1564639232 DEBUG: thread start, auto delete: 0
22:50:47 T:1512 M:1564639232 DEBUG: FactoryCodec - Audio: passthrough - Opening
22:50:47 T:1052 M:1564635136 NOTICE: running thread: video_thread
22:50:47 T:1512 M:1564635136 DEBUG: FactoryCodec - Audio: passthrough - Opened
22:50:47 T:1512 M:1564635136 NOTICE: Creating audio thread
22:50:47 T:1512 M:1564626944 DEBUG: Playback has started
22:50:47 T:3720 M:1564622848 DEBUG: thread start, auto delete: 0
22:50:47 T:3720 M:1564594176 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
22:50:47 T:2152 M:1564397568 DEBUG: Alloc resources: 1.89ms (0.00 ms skin load, 0.15 ms preload)
22:50:47 T:2152 M:1564266496 INFO: Loading skin file: VideoOverlay.xml
22:50:47 T:2152 M:1564295168 DEBUG: Load VideoOverlay.xml: 2.08ms (0.91 ms xml load)
22:50:47 T:2152 M:1564229632 DEBUG: Alloc resources: 2.14ms (2.14 ms skin load, 0.00 ms preload)
22:50:47 T:2152 M:1564405760 DEBUG: CGUIInfoManager::SetCurrentMovie(l:\system\HD-filme\King.Kong.DL.H264.1080i.ts)
22:50:47 T:2152 M:1564143616 DEBUG: CVideoDatabase::GetMovieInfo (l:\system\HD-filme\King.Kong.DL.H264.1080i.ts), query = select idMovie from movie where idFile=3
22:50:47 T:2152 M:1564131328 DEBUG: CVideoDatabase::GetEpisodeInfo (l:\system\HD-filme\King.Kong.DL.H264.1080i.ts), query = select idEpisode from episode where idFile=3
22:50:47 T:2152 M:1564307456 DEBUG: CVideoDatabase::GetMusicVideoInfo (l:\system\HD-filme\King.Kong.DL.H264.1080i.ts), query = select idMVideo from musicvideo where idFile=3
22:50:47 T:2152 M:1564160000 DEBUG: Error: Requested setting (system.ledenableonpaused) was not found. It must be case-sensitive
22:50:47 T:2152 M:1564094464 DEBUG: Error: Requested setting (lcd.enableonpaused) was not found. It must be case-sensitive
22:50:50 T:1552 M:1565708288 DEBUG: Alloc resources: 16.39ms (0.00 ms skin load, 0.16 ms preload)
22:50:51 T:2152 M:1565556736 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
22:50:52 T:2152 M:1565736960 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:53 T:2152 M:1565863936 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:53 T:2152 M:1565401088 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:58 T:2152 M:1565974528 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:58 T:2152 M:1566281728 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:59 T:2152 M:1565917184 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:50:59 T:2152 M:1566162944 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:51:01 T:2152 M:1566494720 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:51:01 T:2152 M:1565999104 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:51:01 T:2152 M:1566298112 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:51:03 T:2152 M:1568440320 DEBUG: CApplication::OnKey: 61467 pressed, action is 10
22:51:06 T:2152 M:1568739328 DEBUG: SDLKeyboard found something unknown (unicode <> printable ASCII): scancode: 29, sym: 306, unicode: 0, modifier: 4096
22:51:06 T:2152 M:1568280576 DEBUG: CApplication::OnKey: 61602 pressed, action is 0
22:51:07 T:2152 M:1568989184 DEBUG: CApplication::OnKey: 61531 pressed, action is 0
Reply
#11
don't fill our database with these long logs - use pastebin
Reply
#12
spiff Wrote:don't fill our database with these long logs - use pastebin

ok sorry next time ...
Reply

Logout Mark Read Team Forum Stats Members Help
FFmpeg cabac DLL files - Please test on multi-core CPU0