Kodi Community Forum
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)

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


RE: FFmpeg version bump + XBMC add-on patches. - spiff - 2013-05-15

yes, there is no native opus support in ffmpeg yet.


RE: FFmpeg version bump + XBMC add-on patches. - Robotica - 2013-05-15

(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/a7tsbe6o80rrv2a/V_w4FpSsfE/ffmpeg_head_with_speex_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/a7tsbe6o80rrv2a/V_w4FpSsfE/ffmpeg_head_with_speex_and_opus

yours looks too old


RE: FFmpeg version bump + XBMC add-on patches. - flyingrat - 2013-05-15

(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...


RE: FFmpeg version bump + XBMC add-on patches. - Ace - 2013-05-15

I guess I was too inattentive, sorry. Will try your script...


RE: FFmpeg version bump + XBMC add-on patches. - flyingrat - 2013-05-15

(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=156303&pid=1414391#pid1414391


RE: FFmpeg version bump + XBMC add-on patches. - sialivi - 2013-05-15

(2013-05-15, 15:02)Robotica Wrote: I think you have to use those builds: https://www.dropbox.com/sh/a7tsbe6o80rrv2a/V_w4FpSsfE/ffmpeg_head_with_speex_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


RE: FFmpeg version bump + XBMC add-on patches. - Ace - 2013-05-15

(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=156303&pid=1414391#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/a7tsbe6o80rrv2a/V_w4FpSsfE/ffmpeg_head_with_speex_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.



RE: FFmpeg version bump + XBMC add-on patches. - Skixbmc - 2013-05-16

(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=156303&pid=1414391#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/a7tsbe6o80rrv2a/V_w4FpSsfE/ffmpeg_head_with_speex_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


RE: FFmpeg version bump + XBMC add-on patches. - Ace - 2013-05-16

(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.


RE: FFmpeg version bump + XBMC add-on patches. - rbej - 2013-05-19

Do you planing updated FFmpeg to 1.2.1 version??


RE: FFmpeg version bump + XBMC add-on patches. - flyingrat - 2013-05-19

(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?


RE: FFmpeg version bump + XBMC add-on patches. - rbej - 2013-05-20

Im looking fixed http://trac.xbmc.org/ticket/14319


RE: FFmpeg version bump + XBMC add-on patches. - flyingrat - 2013-05-20

(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?


RE: FFmpeg version bump + XBMC add-on patches. - vicbitter - 2013-05-20

(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?


RE: FFmpeg version bump + XBMC add-on patches. - rbej - 2013-05-20

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.