Kodi Community Forum

Full Version: FFmpeg version bump + XBMC add-on patches.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
yes, there is no native opus support in ffmpeg yet.
(2013-05-15, 13:14)ace20022 Wrote: [ -> ]Maybe it is necessary to configure ffmpeg with "--enable-libopus" ?

For testing opus and speex, flyingrat made some osX and win32 builds: https://www.dropbox.com/sh/a7tsbe6o80rrv...x_and_opus

(2013-05-14, 22:27)sialivi Wrote: [ -> ]
(2013-05-14, 21:47)flyingrat Wrote: [ -> ]Hard to tell if that was from any of my old binaries or not. I'll check which versions are online...

It was with XBMCSetup-20130419-c01c97d-dx.exe

I think you have to use those builds: https://www.dropbox.com/sh/a7tsbe6o80rrv...x_and_opus

yours looks too old
(2013-05-15, 13:14)ace20022 Wrote: [ -> ]Maybe it is necessary to configure ffmpeg with "--enable-libopus" ?

Yeah and you also need "--enable-speex" and both libraries must be installed beforehand since ffmpeg configure has some header files dependencies that is being used during config otherwise you get "configure: lib not found LIBOPUS" (or similar). I think there is a helper script in that branch named "re-config-with-speex-and-opus.sh" in lib/ffmpeg that performs some of that stuff for you...
I guess I was too inattentive, sorry. Will try your script...
(2013-05-15, 18:07)ace20022 Wrote: [ -> ]I guess I was too inattentive, sorry. Will try your script...

Well, it's quite easy to miss since it's not very well documented Tongue Btw, i'm not sure i've updated the script to work with win32 but here are some hints thanks to Skixbmc: http://forum.xbmc.org/showthread.php?tid...pid1414391
(2013-05-15, 15:02)Robotica Wrote: [ -> ]I think you have to use those builds: https://www.dropbox.com/sh/a7tsbe6o80rrv...x_and_opus

yours looks too old

My mistake; that is actually the build I was using, as can be seen in the log I posted: 13.0-ALPHA3 Git:20130429-0caabba
(2013-05-15, 18:40)flyingrat Wrote: [ -> ]
(2013-05-15, 18:07)ace20022 Wrote: [ -> ]I guess I was too inattentive, sorry. Will try your script...

Well, it's quite easy to miss since it's not very well documented Tongue Btw, i'm not sure i've updated the script to work with win32 but here are some hints thanks to Skixbmc: http://forum.xbmc.org/showthread.php?tid...pid1414391

I had a brief look and gave up, I'm developing under windows; this msys stuff is no fun, at least for me Big Grin
Then I tried to misuse the dlls from your build, but just got:
Code:
CDVDAudioCodecFFmpeg::Open() Unable to find codec 1330664787
from
Code:
line 71: pCodec = m_dllAvCodec.avcodec_find_decoder(hints.codec); # hints.codec = AV_CODEC_ID_OPUS
(2013-05-15, 15:02)Robotica Wrote: [ -> ]
(2013-05-15, 13:14)ace20022 Wrote: [ -> ]Maybe it is necessary to configure ffmpeg with "--enable-libopus" ?

For testing opus and speex, flyingrat made some osX and win32 builds: https://www.dropbox.com/sh/a7tsbe6o80rrv...x_and_opus

Strange, but I can't play any media with this build:
Code:
ERROR: Win32DllLoader::Load: Failed to load ***\XBMC\system\players\dvdplayer\avcodec.dll with error 126:Das angegebene Modul wurde nicht gefunden.
(2013-05-15, 23:49)ace20022 Wrote: [ -> ]
(2013-05-15, 18:40)flyingrat Wrote: [ -> ]
(2013-05-15, 18:07)ace20022 Wrote: [ -> ]I guess I was too inattentive, sorry. Will try your script...

Well, it's quite easy to miss since it's not very well documented Tongue Btw, i'm not sure i've updated the script to work with win32 but here are some hints thanks to Skixbmc: http://forum.xbmc.org/showthread.php?tid...pid1414391

I had a brief look and gave up, I'm developing under windows; this msys stuff is no fun, at least for me Big Grin
Then I tried to misuse the dlls from your build, but just got:
Code:
CDVDAudioCodecFFmpeg::Open() Unable to find codec 1330664787
from
Code:
line 71: pCodec = m_dllAvCodec.avcodec_find_decoder(hints.codec); # hints.codec = AV_CODEC_ID_OPUS
(2013-05-15, 15:02)Robotica Wrote: [ -> ]
(2013-05-15, 13:14)ace20022 Wrote: [ -> ]Maybe it is necessary to configure ffmpeg with "--enable-libopus" ?

For testing opus and speex, flyingrat made some osX and win32 builds: https://www.dropbox.com/sh/a7tsbe6o80rrv...x_and_opus

Strange, but I can't play any media with this build:
Code:
ERROR: Win32DllLoader::Load: Failed to load ***\XBMC\system\players\dvdplayer\avcodec.dll with error 126:Das angegebene Modul wurde nicht gefunden.


If you compile ffmepg, you also have to compile the libs you needed and install them with "make install", otherwise ffmpeg won't find them.

Reg.
Fred
(2013-05-16, 07:31)Skixbmc Wrote: [ -> ]If you compile ffmepg, you also have to compile the libs you needed and install them with "make install", otherwise ffmpeg won't find them.

Reg.
Fred

Sure, I tried to avoid changing the msys environment shipped with xbmc first. Now I have done it the way you proposed and "installed" pkg-config and opus.
The test files play fine with these dlls Big Grin i can upload them, if anyone is interested.
Do you planing updated FFmpeg to 1.2.1 version??
(2013-05-19, 18:36)rbej Wrote: [ -> ]Do you planing updated FFmpeg to 1.2.1 version??

As always, it depends on the needs. Any particular in 1.2.1 you're looking for?
(2013-05-20, 09:19)rbej Wrote: [ -> ]Im looking fixed http://trac.xbmc.org/ticket/14319

Ok, that seems like a reasonable argument! Tongue Btw, do you get the same result with ffplay on rpi?
(2013-05-20, 09:19)rbej Wrote: [ -> ]Im looking fixed http://trac.xbmc.org/ticket/14319

Are you sure ffmpeg 1.2.1 fixes the issue?
Not fixes. I compile two hours ago Xbmc with 1.2.1 and bug still exist. I try 0.10.7 (04.10.2013) and everything is ok.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29