Kodi Community Forum
WMAPRO r22146 SVN Broken? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: WMAPRO r22146 SVN Broken? (/showthread.php?tid=56339)

Pages: 1 2 3 4 5 6 7


- JackieBrown - 2009-11-07

TREX6662k5 Wrote:AFAIK you will lose VDPAU when using external ffmpeg. (In case ya need it)

Edit: Turns out ./configure tests for the presence of VDPAU and will disable it as necessary.
I believe I am running VDPAU with external libs built. Not sure if that is what you meant on your edit. I know when I run configure, it detects it and enables it and I have it set as default in my settings.

I know the drill... debug log


- rodalpho - 2009-11-07

So I finally managed to get this to compile and run with external FFMPEG. I used the configure line from earlier in the thread, but had to install the following packages:

libavcodec-dev
libavformat-dev
libavutil-dev
libpostproc-dev
libswscale-dev
liba52-dev
libdts-dev
libmpeg2-4-dev
libwavepack-dev
ftgl-dev

I also had to force USE_FTGL=true by editing a couple of configure files. I'm sure there's an easier way to do it.

Anyway, interesting improvement here. With external FFMPEG libraries, WMV files that previously were partially seekable are now fully functional. Previously, I would start the file and XBMC would say it had a 30s duration. Then I would fastforward to the end and it would keep extending. This kinda worked. With the external FFMPEG, I see the full duration from the very beginning and these files work perfectly.

HOWEVER, WMV files that previously were totally unseekable remain totally unseekable. Symptomatic of these broken files is XBMC pausing on its own when you try to seek. These are totally unaffected and remain totally broken.

I did notice that the older release of XBMC tended to crash a lot more when hitting stop on these "paused" WMV files. The new SVN with external FFMPEG doesn't crash, but neither are these WMV files at all seekable.

So, not totally fixed, just a better experience for files that previously kinda worked and now totally work. But files that didn't work at all, are still borked.

Also, VDPAU works fine.


- JackieBrown - 2009-11-07

Did you try one of the ones TREX6662k5 linked? They are the only vc1 files I could test. I just assumed that xbmc couldn't play them so I always converted them to x264.

I had the same experience with the seek time only showing 30 seconds on my wmvs as well until I switched to external libs


- TREX6662k5 - 2009-11-07

I've just build ffmpeg r20469 and xbmc r24367
I was hoping this would have fixed wmv3 in vdpau however video is still corrupt. vc1 always worked for me (I never seeked) and it doesn't change here.


- rodalpho - 2009-11-08

The 1080p rules of attraction WMV trailer plays perfectly fine with external FFMPEG. I see the full duration and it is fully seekable, no problems. It even works with VDPAU, with between 10-20% of two CPUs being used. However there is no audio detected.


- JackieBrown - 2009-11-08

I had audio. I don't have (unfortuantely) and HDMI connection in case that makes a difference.


- rodalpho - 2009-11-08

I'm using optical audio myself. When I popped up the codec info screen in XBMC it didn't list an audio stream at all with the sample.


- erhnam - 2009-11-09

TREX6662k5 Wrote:I've just build ffmpeg r20469 and xbmc r24367
I was hoping this would have fixed wmv3 in vdpau however video is still corrupt. vc1 always worked for me (I never seeked) and it doesn't change here.

How do you build with external libraries? Is it just a matter of replacing the ffmpeg directory with the one from svn://svn.ffmpeg.org/ffmpeg/trunk and using the configure commandline just mentioned before?


- rodalpho - 2009-11-09

No, you install all the packages I listed then run his configure line. You may need to hard-code the FTGL stuff as I noted earlier.


- JackieBrown - 2009-11-10

If you use Debian, then you can just add the multimedia repos and then run apt-get build-dep xbmc.

The one in the multimedia repos is built using external libraries.


- TREX6662k5 - 2009-11-11

I followed this : http://ubuntuforums.org/showthread.php?t=786095 (assuming you run Ubuntu)

./configure --disable-static --disable-ipv6 --disable-debug --disable-muxers --disable-encoders --disable-decoder=mpeg_xvmc --disable-devices --disable-ffplay --disable-ffserver --enable-shared --enable-postproc --enable-gpl --enable-vdpau --enable-libfaad --enable-protocol=http --enable-pthreads

Thats copied from the xbmc configure file (for linux) with the exception that it also builds a ffmpeg binary. I found it allows make install to complete without errors.
Note: you may need to remove --enable-vdpau if you don't have a compatible graphics card.
It will also create a .dep and integrate it with apt (in the url above).

Then you build xbmc with --enable-external-ffmpeg with your build customisations (if any).

Edit: Oh btw, I only run xbmc and ePSXe/other emulators in a minimal install and since those configure settings built libraries for use with xbmc, you may run in to problems if other apps use ffmpeg.


- rodalpho - 2009-11-11

Are there any particular advantages to rolling your own SVN nightly versus just using karmic packages? The karmic packages are fairly recent, dated july 6th 2009, SVN release 19352.


- TREX6662k5 - 2009-11-11

Bleedin' emo edge.
I'd rather build my own builds than wait for the packages to update. Also since I'm on hardy I need to build my own anyway.


- erhnam - 2009-11-11

What about the sound? Is this working?


- erhnam - 2009-11-11

TREX6662k5 Wrote:I followed this : http://ubuntuforums.org/showthread.php?t=786095 (assuming you run Ubuntu)

./configure --disable-static --disable-ipv6 --disable-debug --disable-muxers --disable-encoders --disable-decoder=mpeg_xvmc --disable-devices --disable-ffplay --disable-ffserver --enable-shared --enable-postproc --enable-gpl --enable-vdpau --enable-libfaad --enable-protocol=http --enable-pthreads

Thats copied from the xbmc configure file (for linux) with the exception that it also builds a ffmpeg binary. I found it allows make install to complete without errors.
Note: you may need to remove --enable-vdpau if you don't have a compatible graphics card.
It will also create a .dep and integrate it with apt (in the url above).

Then you build xbmc with --enable-external-ffmpeg with your build customisations (if any).

Edit: Oh btw, I only run xbmc and ePSXe/other emulators in a minimal install and since those configure settings built libraries for use with xbmc, you may run in to problems if other apps use ffmpeg.

Wouldn't you get the same result when replacing the trunk/xbmc/cores/dvdplayer/Codecs/ffmpeg/ dir with the ffpmeg svn within the source of XBMC?