Comments (17)
You can use io.vov.vitamio.MediaMetadataRetriever ? is it satisfy you ?
from vitamiobundle.
Oh does this work with icy/shoutcast streams?
from vitamiobundle.
streams? what you wanna do ?
from vitamiobundle.
Basically I'm streaming audio with your media player. It is working very well but I'd like to retrieve the metadata as well. This is usually described in the headers of the stream (Icy-MetaData and icy-metaint). See the Shoutcast metadata protocol description for more details.
from vitamiobundle.
Anyway, the app is crashing on this line in an activity:
MediaMetadataRetriever retriever = new MediaMetadataRetriever(this);
from vitamiobundle.
error log? you wanna get Titles?
from vitamiobundle.
Yeah I wanna get the stream titles.
I'm not sure what line to give you from the error log. Maybe that will help: https://gist.github.com/RomainPiel/5047214
from vitamiobundle.
Apparently I'm missing that class:
java.lang.NoClassDefFoundError: io/vov/vitamio/MediaScanner
from vitamiobundle.
It's a bug...
from vitamiobundle.
Ok, no problem.
One thing, it would be good to have some kind of listener instead of the extractMetadata way. A live stream can update its metadata constantly and we wouldn't know when to check whereas the listener would notify when a metadata has be found.
from vitamiobundle.
But you can try add /src/io/vov/vitamio/MediaScanner.java to VitamioBundle ?
from vitamiobundle.
Ok, where do I find this class?
Oh, do you mean an empty file?
from vitamiobundle.
ok. empty file , you can try? I not sure if get title?
from vitamiobundle.
Ok if I use an empty file it doesn't crash but I've got an exception after when running extractMetadata:
Native method not found: io.vov.vitamio.MediaMetadataRetriever.extractMetadata:(I)Ljava/lang/String;
from vitamiobundle.
I've faced similar issue when trying to generate Thumbnail for video file:
Bitmap thumb = ThumbnailUtils.createVideoThumbnail(this,f.getAbsolutePath(),ThumbnailUtils.MINI_KIND);
When i'm trying it without empty MediaScanner class, following error appearing:
05-14 13:13:53.205: ERROR/dalvikvm(10499): ERROR: couldn't find native method
05-14 13:13:53.205: ASSERT/libc(10499): Fatal signal 11 (SIGSEGV) at 0x00000018 (code=1)
I've created the empty MediaScanner.java class in io.vov.vitamio package, then i get following errors:
05-14 13:17:14.454: ERROR/dalvikvm(10657): ERROR: couldn't find native method
05-14 13:17:14.454: ERROR/dalvikvm(10657): Requested: Lio/vov/vitamio/MediaScanner;.processDirectory:(Ljava/lang/String;Ljava/lang/String;)V
05-14 13:17:14.464: ERROR/Vitamio[Player](10657): UNLOAD FFMPEG Symbol not found:
05-14 13:17:18.514: ERROR/Vitamio[Scanner](10657): avformat_open_input: Is a directory : -21
Could you please suggest any workaround for this?
from vitamiobundle.
Sorry, i've noticed from the faq this is not supported in vitamio.
http://www.vitamio.org/en/docs/FAQ/2013/0509/11.html
from vitamiobundle.
Checkout Vitamio 4.0 https://github.com/yixia/VitamioBundle/tree/v4.
from vitamiobundle.
Related Issues (20)
- demo自带的mp3播放都报错,不能播放音频了??
- Vitamio[Scanner]: avformat_open_input: Transport endpoint is not connected : -107
- When frame size changed then video play blur in live stream playing using RTMP url
- Black Stripe on Bottom
- Vitamio.jar HOT 1
- 本地m3u8文件首次黑屏,第二次正常,求解决
- 在线播放M3u8格式视频,卡顿怎么办?已经设置了512*1024的缓存。
- How can I modify the shape and rotation angle of the video frames?
- x86_64 support HOT 3
- f********k
- Native libs libvvo.7.so not exists!
- Unable to stop activity ava.lang.IndexOutOfBoundsException: Index: 2, Size: 2 HOT 3
- A lot of minor issues on 4.2.2
- linker: "/data/data/test.com.livetest/libs/libffmpeg.so" has text relocations
- 一切都整好了为什么会出现这样的问题? HOT 1
- h265协议视频播放只有音频没有画面 HOT 1
- Is this project dead? Not updated for so many years?
- Is g711a format audio supported?
- 不支持arm64-v8a
- vs导入vitamio后找不到io.vov.vitamio.BuildConfig类
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitamiobundle.