Search found 9 matches

Go to advanced search

by liutingdu
05 Dec 2014 12:02
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Hi Edward,
Finally I got it working by cloning the project again, make changes before the first compile, then the changes got compiled in.
Thank you so much for all your kindly help!
Liuting
by liutingdu
04 Dec 2014 22:46
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Yes I deleted -disable-sout from configure.sh.

And in android/vlc/contrib/src/ffmpeg/rules.mak, I changed 'FFMPEGCONF += --disable-encoders --disable-muxers' to 'FFMPEGCONF += --disable-encoders --enable-encoder=png --disable-muxers'.
by liutingdu
04 Dec 2014 14:19
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Hi Edward, after I cleaned /vlc and re-run ./compile.sh, but the error is still there ..

Is there anything else that could be wrong?
by liutingdu
04 Dec 2014 11:23
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Hi Edward, sorry I am new to this. What command should I use to clean rebuild vlc/ ?

Thanks for your detailed guidance.
by liutingdu
04 Dec 2014 10:35
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Hi Edward, Thanks for your help, after I did 'touch vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg/' and run 'sh compile.sh' again, here are pieces of the compiling log: Enabled decoders: aac cdxl jpegls aac_latm cinepak jv aasc cljr kgv1 ac3 cllc kmvc adpcm_4xm comfortnoise lagarith adpcm...
by liutingdu
03 Dec 2014 21:52
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

Re: LibVLC for Android - libvlc.getThumbnail() returns null

Hi Edward, Many thanks for your reply. Now I've enable the sout module in configure.sh and also add 'enable-encoder=png' in rules.mak, after compiling with no error, when running in Android it give me this error: core video output: Encoding support not compiled-in! Seems the ffmpeg change didn't get...
by liutingdu
30 Nov 2014 18:12
Forum: Development around libVLC
Topic: LibVLC for Android - libvlc.getThumbnail() returns null
Replies: 12
Views: 2607

LibVLC for Android - libvlc.getThumbnail() returns null

Hi, I am using LibVLC in Android(version 0.9.9) to play RTSP streams, and I want to take a snapshot from the stream that is currently playing. I tried to use this method: libvlc.getThumbnail(mrl, i_width, i_height) but it always return null. According to this: https://forum.videolan.org/viewtopic.ph...
by liutingdu
23 Sep 2014 10:51
Forum: Development around libVLC
Topic: LibVLC for Android - JNI Error
Replies: 2
Views: 1399

Re: LibVLC for Android - JNI Error

I was able to stop this same crash by removing these two lines from the releasePlayer() method.

libvlc.destroy();
libvlc = null;
Thanks it's working!
by liutingdu
22 Sep 2014 19:07
Forum: Development around libVLC
Topic: LibVLC for Android - JNI Error
Replies: 2
Views: 1399

LibVLC for Android - JNI Error

Hi, I am working on an Android application that embedded LibVLC to play RTSP streams. I compiled LibVLC for Android(version 0.9.9) and imported the compiled code into my Android project. I am following this sample https://bitbucket.org/edwardcw/libvlc-android-sample/src/82c9ee5714d129e15c27f5e0a9ea7...

Go to advanced search