FFmpeg version bump + XBMC add-on patches. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: FFmpeg version bump + XBMC add-on patches. (/showthread.php?tid=156303) |
RE: FFmpeg v1.1.x + XBMC add-on patches. - flyingrat - 2013-03-27 (2013-03-27, 20:18)bjober Wrote:(2013-03-27, 00:00)flyingrat Wrote: A new ATV2 binary "org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-20130326-arm.deb" that is built from a newly rebased master is now uploaded. I noticed that the new binary was considerably bigger than the old one thus something may be missing from the first built that caused the crashes. If you are a ATV2 owner, please test and provide some feedback. Thanks in advance! Great, thanks! You can clearly see that it's the player thread that is causing the crash: Code: Thread 26 name: CDVDPlayer (2013-03-27, 20:18)bjober Wrote:(2013-03-27, 00:00)flyingrat Wrote: A new ATV2 binary "org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-20130326-arm.deb" that is built from a newly rebased master is now uploaded. I noticed that the new binary was considerably bigger than the old one thus something may be missing from the first built that caused the crashes. If you are a ATV2 owner, please test and provide some feedback. Thanks in advance! Yeah, I noticed the same problem with the latest ios builds as well. It seems something screwed up the dylib load path to the VideoToolbox framework... RE: FFmpeg v1.1.x + XBMC add-on patches. - flyingrat - 2013-03-27 (2013-03-27, 10:10)Hersan Wrote: Hi Hi, please try to play the files with ffplay (which is the stand alone player tool that is bundled with ffmpeg) and report back. /Thanks, Lars. RE: FFmpeg v1.1.x + XBMC add-on patches. - Memphiz - 2013-03-28 (2013-03-27, 20:18)bjober Wrote:(2013-03-27, 00:00)flyingrat Wrote: A new ATV2 binary "org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-20130326-arm.deb" that is built from a newly rebased master is now uploaded. I noticed that the new binary was considerably bigger than the old one thus something may be missing from the first built that caused the crashes. If you are a ATV2 owner, please test and provide some feedback. Thanks in advance! you have installed the ios build before ... thats why the update to the atv2 build fails ... you screwed it up dude... RE: FFmpeg v1.1.x + XBMC add-on patches. - bjober - 2013-03-28 (2013-03-28, 00:25)Memphiz Wrote:(2013-03-27, 20:18)bjober Wrote:(2013-03-27, 00:00)flyingrat Wrote: A new ATV2 binary "org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-20130326-arm.deb" that is built from a newly rebased master is now uploaded. I noticed that the new binary was considerably bigger than the old one thus something may be missing from the first built that caused the crashes. If you are a ATV2 owner, please test and provide some feedback. Thanks in advance! I've only installed flyingrats builds and the official 12.1. Could it not be flyingrats second build that is wrong? Perhaps thats why it is so different in size? /Björn RE: FFmpeg v1.1.x + XBMC add-on patches. - Memphiz - 2013-03-28 Code: apt-get --purge remove org.xbmc.xbmc-ios RE: FFmpeg v1.1.x + XBMC add-on patches. - flyingrat - 2013-03-28 1. Installation issues (2013-03-27, 20:18)bjober Wrote: The new build fail to install, see http://xbmclogs.com/show.php?id=7420. (2013-03-28, 00:57)bjober Wrote: I've only installed flyingrats builds and the official 12.1. Could it not be flyingrats second build that is wrong? Perhaps thats why it is so different in size?@bjober: probably my fault as I managed to f*k up packing and uploading, and for a while there were some erroneous files online. Sorry about that! 2. VideoToolbox.framework dylib path name problems (2013-03-27, 22:29)flyingrat Wrote: Yeah, I noticed the same problem with the latest ios builds as well. It seems something screwed up the dylib load path to the VideoToolbox framework...Problem located and solved. This started a day or two back after I upgraded xcode to v4.6 which also lifted the sdk to 6.1. The reason I've upgraded xcode is that I had a lot of problems with the compiler that froze during compilation of Mime.cpp. Sadly, the xcode upgrade didn't fix the compiler problem but the result was that the following section of the build phase "copy framework" didn't trigger since the SDK_NAME was now set to "iphoneos6.1: Org XBMC-IOS.xcodeproj -> Build phases -> "copy framework" check that failes when SDK_NAME="iphoneos6.1": Code: if [ "$SDK_NAME" = "iphoneos6.0" ] ; then An updated XBMC-IOS.xcodeproj -> Build phases -> "copy framework" that works with xcode 4.6: Code: echo "Checking VideoToolbox dylib name (SDK_NAME=$SDK_NAME)" 3. ATV and IOS crashes during video playback (stream or file) with the new ffmpeg n1.2 libraries. It seems we have the same problem on ATV as on the iDevices which unfortunately seems to be directly related to the new ffmpeg libraries. Xbmc will crash if you try to playback a video stream or if you browse a directory with video files that have missing thumb nails. Background: The crash occurs during calls to the ffmpeg assmebler function ff_pred8x8_128_dc_neon which originates upstreams from CDVDDemuxFFmpeg::Open(CDVDInputStream*). This function is called from both thread CDVDPlayer and Jobworker (ThumbExtractor). I've started the work to solve this problem but I've got a feeling it will be a bit tricky this time... Thread 18 - CDVDPlayer Code: #0 0x01197c18 in ff_pred8x8_128_dc_neon at xbmc-ffmpeg-v1.1-bump/lib/ffmpeg/libavcodec/arm/h264pred_neon.S:405 Thread 14 Jobworker - VideoThumbloader.cpp->CThumbExtractor:oWork()->CDVDFileInfo::ExtractThumb Code: #0 0x01197c18 in ff_pred8x8_128_dc_neon at xbmc-ffmpeg-v1.1-bump/lib/ffmpeg/libavcodec/arm/h264pred_neon.S:405 The problem originates from lib/ffmpeg/libavcodec/h264_mb_template.c Code: 160: if (SIMPLE || !CONFIG_GRAY || !(h->flags & CODEC_FLAG_GRAY)) { The code above calls the assembler function ff_pred8x8_128_dc_neon in lib/ffmpeg/libavcodec/arm/h264pred_neon.S which causes the crash. Code: function ff_pred8x8_128_dc_neon, export=1 FFmpeg v1.1.x + XBMC add-on patches. - Memphiz - 2013-03-29 This assembler problem is something for mans rullgard (libav arm asm guru). You could try to make him aware of the problem by adding a bug report in libav bugtracker with the stacktrace and the register dump. Though ffmpeg and libav are a bit against each other - the arm asm stuff is mostly done by mans and shared between both. RE: FFmpeg v1.1.x + XBMC add-on patches. - flyingrat - 2013-03-29 (2013-03-29, 01:35)Memphiz Wrote: This assembler problem is something for mans rullgard (libav arm asm guru). You could try to make him aware of the problem by adding a bug report in libav bugtracker with the stacktrace and the register dump. Though ffmpeg and libav are a bit against each other - the arm asm stuff is mostly done by mans and shared between both. Yeah, good suggestion thanks, I'll do that! This particular issue felt a bit over my head... FFmpeg v1.1.x + XBMC add-on patches. - Memphiz - 2013-03-29 Yeah we can't solve such stuff on our own - its just too special. You can ref my nickname on the report for making it sound familiar ;o). Thx a bunch for doing all this. RE: FFmpeg v1.1.x + XBMC add-on patches. - sialivi - 2013-03-31 Just gave the win32 build a test run and was very happy to see that every single video file that I've been forced to play with DXVA2 disabled in Frodo due to video corruption now plays back perfectly with DXVA2 enabled. Good work guys, much appreciated! RE: FFmpeg v1.1.x + XBMC add-on patches. - welph - 2013-04-01 This file for the raspberry makes it restart for no reason. xbmc-ffmpeg-n1.2-rbp-20130322.tar.gz XBMC feels more sluggish aswell. Doesn't occur with the first release. I noticed this because the TV changes channel to the raspberry everytime it restarts. It even wakes it up. So in the morning the TV is on again with a faded screen of the XBMC. Is it possible to make some changes in the preferences in the XBMC-menu to remove the ability to send that signal through the HDMI-cable which makes the TV change channel/wake up?? RE: FFmpeg v1.1.x + XBMC add-on patches. - bibi - 2013-04-01 Dont know if it helps but here is an adress with hundred of different video/audio files. Could be a good help to test your work. http://samples.libav.org/archive/all/ ++ RE: FFmpeg v1.1.x + XBMC add-on patches. - Wanilton - 2013-04-02 @flyingrat, any chance update version 1.2 to more recently changes in gotham master. RE: FFmpeg v1.1.x + XBMC add-on patches. - rodrigocoelho - 2013-04-02 (2013-04-02, 04:55)Wanilton Wrote: @flyingrat, any chance update version 1.2 to more recently changes in gotham master. Hi Wanilton. Is this one the unstable version you told me? RE: FFmpeg v1.1.x + XBMC add-on patches. - flyingrat - 2013-04-06 (2013-04-02, 04:55)Wanilton Wrote: @flyingrat, any chance update version 1.2 to more recently changes in gotham master. Sorry for the late reply, I've been working with the IOS/ATV problem this week which by the way is now solved! I'll issue a PR quite soon but it's the xbmc-team that decides. (2013-04-01, 22:13)bibi Wrote: Dont know if it helps but here is an adress with hundred of different video/audio files. Those files were quite handy to have during testing, thank you! |