• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 29
FFmpeg version bump + XBMC add-on patches.
Running Raspbmc with this now and it works great!
Awesome job Rat, I gave up hope on this a while back but this thread lit up the hope again and have been following it.
Much appreciated!

P.S: For Rapsbmc I recommend that you install this via Raspbmc settings ("switch between versions..."), this way people are able to easily switch between versions if something should not work.
Reply
(2013-03-22, 11:53)Cranial Wrote: Is it not building for ATV2 or you just don't have the time? I can give it a go when I get a chance, but I won't bother if one of the gurus is already on it?
Just lack of time for the moment since I'm preparing (i.e. cleaning up) the fork for a pull request. You are more than welcome to give it a try! Nod It should work but if you find any problems please provide feedback so I can correct things...

If you like, run this build script from the source root:
Code:
#/bin/bash

# Be nice to others...
renice +20 $$

# Rederect loggin to both log file and console
logfile=${0%.*}.log
echo "Logging to: $logfile"
exec > >(tee -a "$logfile") 2>&1

start=$(date +%s)
echo "Started: $(date)"
echo "=========================================================="
set -x

(cd tools/depends && ./bootstrap && ./configure --host=arm-apple-darwin && make -j2)

(make -j2 -C tools/depends/target/xbmc && make -j2 xcode_depends && make -j2 -C lib/addons/script.module.pil)

(XBMC_HOME=$PWD xcodebuild -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=3 \
   -project XBMC-ATV2.xcodeproj \
   -target XBMC -configuration Release build ONLY_ACTIVE_ARCH=YES ARCHS=armv7 \
   VALID_ARCHS=armv7 IPHONEOS_DEPLOYMENT_TARGET=4.1 SDKROOT=iphoneos4.2  \
   CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO && \
   cd tools/darwin/packaging/xbmc-atv2 && ./mkdeb-xbmc-atv2.sh release)

set +x
end=$(date +%s)
echo "=========================================================="
echo "Finished: $(date)"
echo "Elapsed time: $(date -r $((end - start)) +%H:%M:%S)"
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
New binaries based on latest xbmc ffmpeg-n1.2 available:

1. A bunch of openelec builds thanks to Vicbitter! (uploading as we speak...)
2. A bunch of raspbmc builds thanks to Bberski!
3. An ATV2 build thanks to me! (Cranial, I was quicker than you this time Smile)
--
As usual, please provide feedback!

You wont hear anything from me until maybe sunday evening since I'm going skiing this weekend.
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
(2013-03-22, 19:31)flyingrat Wrote: New binaries based on latest xbmc ffmpeg-n1.2 available:

1. A bunch of openelec builds thanks to Vicbitter! (uploading as we speak...)
2. A bunch of raspbmc builds thanks to Bberski!
3. An ATV2 build thanks to me! (Cranial, I was quicker than you this time Smile)
--
As usual, please provide feedback!

You wont hear anything from me until maybe sunday evening since I'm going skiing this weekend.

Ha. Nice one. I've been at work since 0400hrs and still 12 hours to go. I'd say you beat me by a long way.

Thanks for your effort on this.

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
finally had a chance to give this another go. unfortunately it looks like it's still expanding material to 0-255 rather than leaving it as 16-235. as you can see from the pic below rather than being smooth the gradient is pronounced stepping
Image
log in case it should help: http://xbmclogs.com/show.php?id=6258
Reply
Donwloaded and tested on raspbmc.
Works great for me so far, thanks for the awsome work flyingrat!
Reply
(2013-03-22, 10:31)flyingrat Wrote:
(2013-03-22, 03:01)juggie Wrote: New windows version does not work for me, complains about a missing dll. MSVCR100D.dll previous versions worked fine. I tried uninstalling and reinstalling C++ redistributable to no avail.

Sorry, but you might have to wait a bit longer for the regular distro as this thread is for devs only. MSVCR100D.dll is a part of VS (C:\Program Files\Microsoft Visual Studio 10.0\VC\redist\Debug_NonRedist\x86\Microsoft.VC100.DebugCRT\msvcr100d.dll) hence "just dev snapshots, no regular distros" as stated below. /Regards, Lars.

Ah, you compiled with debug on gotcha Smile I dont have Visual Studio installed on any of my home pcs just at the office. A release build would be great when you are ready.
Reply
Okay, finally made it home and had a chance to test the ATV2 build.

Starts, gets to home screen, then crashes back to frontrow within a few seconds. Reproducible every time.

Build: org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-arm.deb

Crashreporter: https://dl.dropbox.com/u/318691/Logs/App...e-TV.plist

Syslog: https://dl.dropbox.com/u/318691/Logs/syslog

No debug log as debug isn't enabled and crashes too soon to enable it. If it's needed I can enable it via guisettings.xml I suppose?

*I noticed billy the buildbot hasn't thrown up an ATV2 build since the 13th March, so this issue may not be related to your branch?

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
billy is out of order for now - we are about to replace the complete buildbot platform. This has nothing to do with crashing - flyingrat already knows howto compile the code in current state (old billy doesn't).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
(2013-03-24, 22:08)Cranial Wrote: Okay, finally made it home and had a chance to test the ATV2 build.

Starts, gets to home screen, then crashes back to frontrow within a few seconds. Reproducible every time.

Build: org.xbmc.xbmc-atv2_13-ffmpeg-n1.2-arm.deb

Crashreporter: https://dl.dropbox.com/u/318691/Logs/App...e-TV.plist

Syslog: https://dl.dropbox.com/u/318691/Logs/syslog

No debug log as debug isn't enabled and crashes too soon to enable it. If it's needed I can enable it via guisettings.xml I suppose?

*I noticed billy the buildbot hasn't thrown up an ATV2 build since the 13th March, so this issue may not be related to your branch?

You can enable Debug Log through advancedsettings.xml
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
(2013-03-25, 01:05)Memphiz Wrote: billy is out of order for now - we are about to replace the complete buildbot platform. This has nothing to do with crashing - flyingrat already knows howto compile the code in current state (old billy doesn't).

Thanks Memphiz, I just wasn't sure. Thought I would mention it.

(2013-03-25, 01:08)Martijn Wrote: You can enable debug log through advancedsettings.xml

Thanks Martijn, when I'm home long enough again, I'll give it another run and throw up a debug log as well.

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
(2013-03-22, 20:58)furii Wrote: finally had a chance to give this another go. unfortunately it looks like it's still expanding material to 0-255 rather than leaving it as 16-235. as you can see from the pic below rather than being smooth the gradient is pronounced stepping
Image
log in case it should help: http://xbmclogs.com/show.php?id=6258
Thanks for the feedback! It's quite hard to tell where the problem originates from since I'm not a guru regarding the ffmpeg internals. Have you checked with the ffmpeg folks about this?

(2013-03-25, 07:30)Cranial Wrote:
(2013-03-25, 01:05)Memphiz Wrote: billy is out of order for now - we are about to replace the complete buildbot platform. This has nothing to do with crashing - flyingrat already knows howto compile the code in current state (old billy doesn't).

Thanks Memphiz, I just wasn't sure. Thought I would mention it.

(2013-03-25, 01:08)Martijn Wrote: You can enable debug log through advancedsettings.xml

Thanks Martijn, when I'm home long enough again, I'll give it another run and throw up a debug log as well.

Cranial, I'm afraid you're pretty alone on this one since I don't have access to an ATV2. But I'll do my best to locate the problem if you manage to produce a log file...
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
(2013-03-21, 22:43)flyingrat Wrote: Tested on ubuntu 12.10 as well, although one still need the workaround "LD_LIBRARY_PATH= /usr/local/lib/xbmc/system/players/dvdplayer" to load postproc-52-i486-linux.so. TODO: locate and fix problem! Big Grin

Fixed the problem that forced the use of LD_LIBRARY_PATH to load postproc-52 during video playback. This fix affects all linux based platforms that utilize dynamic linking with shared libraries. (Commit "5c31cf9688")

~/.xbmc/temp/xbmc.log:
Code:
DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-2-i486-linux.so)
DEBUG: Loading: /.../system/players/dvdplayer/avfilter-2-i486-linux.so
ERROR: Unable to load /.../system/players/dvdplayer/avfilter-2-i486-linux.so, reason: postproc-52-i486-linux.so: cannot open shared object file: No such file or directory
DEBUG: FactoryCodec - Video:  - Failed
ERROR: Unsupported video codec

LD_DEBUG=files
Code:
4138:     file=/usr/local/lib/xbmc/system/players/dvdplayer/avfilter-2-i486-linux.so [0];  dynamically loaded by /usr/local/lib/xbmc/xbmc.bin [0]
4138:     file=/usr/local/lib/xbmc/system/players/dvdplayer/avfilter-2-i486-linux.so [0];  generating link map
4138:       dynamic: 0xab9abea4  base: 0xab8ec000   size: 0x000c714c
4138:         entry: 0xab904780  phdr: 0xab8ec034  phnum:          7
4138:
4138:     file=postproc-52-i486-linux.so [0];  needed by /usr/local/lib/xbmc/system/players/dvdplayer/avfilter-2-i486-linux.so [0]
4138:
4138:     file=/usr/local/lib/xbmc/system/players/dvdplayer/avfilter-2-i486-linux.so [0];  destroying link map
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
(2013-03-25, 01:05)Memphiz Wrote: billy is out of order for now - we are about to replace the complete buildbot platform. This has nothing to do with crashing - flyingrat already knows howto compile the code in current state (old billy doesn't).

I've heard some rumors about Jenkins? If that is correct, that is probably a very good solution for "Continuous Integration & Delivery" IMPO ...
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
I've tried both OpenElec version by vicbitter and Raspbmc version by flyingrat and for streaming the new ffmpeg fixes the jerkiness but I still get the jerkiness when playing downloaded streams (ffmpeg -acodec copy -vcodec copy) on RPi.

On XBMCbuntu and XBMC Win32 the same downloaded streams plays without any jerkiness.

Do you know which commit fixed the jerkiness for streaming and if there are fixes for this in later ffmpeg?
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 29

Logout Mark Read Team Forum Stats Members Help
FFmpeg version bump + XBMC add-on patches.0