New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rfc] ppaplayer: handle .opus extension #4994
Conversation
Thanks, will take a look at adding it to unified deps. |
see wsnipex@308222b There is another rather annoying issue: ARM cpu optimizations need perl, which we don't have in our build env. I'm not going to mess with adding perl just for opus. Maybe someone can do a configure run and figure out some defines to stick into config.h |
thanks @wsnipex EDIT: http://sprunge.us/VJOU |
it will probably be dead slow without optims on low power devices like rpi and atv2 |
We're distributing the sources anyway. Run the perl before packaging and |
ok. perl is required for celt/arm/arm2gnu.pl to convert arm asm to gnu as format. I believe using host perl should be OK (just like java for codegenerators) however, according to configure.ac, for using asm optimizations it is required to build WITHOUT floating point support (./configure --enable-fixed-point), this will need special handling for arm, anyway. @t-nelson unfortunately we can't ship celt_pitch_xcorr_arm-gnu.S / armopts-gnu.S as it's up to configure to decide whether to set OPUS_ARM_MAY_HAVE_EDSP/MEDIA/NEON. hint ./celt/arm/armopts.s.in so here are our options:
|
host perl should do. I'm already working on it. |
@wsoltys or @Montellese could you take a look at the win32 part? there is already a VS project included in opus. jenkins build this please |
meh, jenkins issues again.. |
On vacation until end of the week - but i saw Opus here in the town - it was a store for crappy Clothes :D |
Can't help atm as I'm deep buried in other projects currently. |
note that the upcoming ffmpeg 2.3 has a native opus decoder. waiting for/backporting that might be a good idea. |
Ha - if we could agree on that one i could skip looking into libopus for now? |
We need to decide if we want to bump ffmpeg 2.2.x to 2.3 for helix release. I did not look into API breaks yet. Last time vdpau needed a minor rework. If we decide to bump, I can add 2.3-preX release to our ffmpeg fork done from master with our patches rebased on top. |
ffmpeg 2.3 has not been forked yet and we plan August merge window to be the last for Helix. |
seems to be around the corner though, ref http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-July/159611.html |
already on it - this pr already works for osx - need to check for ios and do a pr against the op ... |
rebased after 7318eaa |
args why? grrr please hold on until i come up with a pr for osx and ios - so i don't need to rebase my changes on top of yours again and again... |
oh. because it does not compile on current master (anymore) ;( |
@stefansaraev cherry-pick top 4 commits of https://github.com/Memphiz/xbmc/tree/opus - can't do a pull request to your repo (maybe you are private on github or something). @popcornmix @koying - might wanna check opus compilation out - it might be a bitch with this handcoded asm in there ... tested with an opus sample file on osx and ios - needs testing on atv2 (maybe tomorrow when i am back in town). needs #5036 to go in first ... (won't compile for osx/ios without it). |
jenkins build this please |
Concerning ffmpeg 2.3, here we go: https://github.com/FFmpeg/FFmpeg/commits/release/2.3 |
nice, so lets bump ffmpeg instead? |
I'd vote for bumping ffmpeg. |
now with correct account: yes, lets bump it. |
There were some code changes, our custom patches don't apply cleanly. I will be offline most of the time until July 28th (business trip) 2014-07-16 17:51 GMT+02:00 Rainer Hochecker notifications@github.com:
Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B |
Even if i am a bit late - and somehow the timing for this decision was a bit murphy (cause i could have saved some time instead of "playing" with fscking libopus) - just fyi - this PR also works on the atv2 :p |
our ffmpeg 2.3 sha for testing until I create a tag "d028c907004e8a3c0f5161ce595331e4cc57c86c" to be used in https://github.com/xbmc/xbmc/blob/master/tools/depends/target/ffmpeg/FFMPEG-VERSION |
that ffmpeg hash + fc50ab8 works on osx and ios (needs gas-preprocessor bumped for ios else ffmpeg won't compile ...) |
jenkins build this please |
ppaplayer: handle .opus extension
this was requested in irc.
so far I have build-tested for linux (ubuntu and openelec) only. the linux part is quite trivial, but since I am not much familiar with xbmc's own buildsystem - this needs some love from osx/android/rbpi platform devs (opus in tools/depends/target), and (maybe) changes to jenkins
/cc @wsnipex @FernetMenta to check for stupids.