Search found 27 matches

Go to advanced search

by gregoiregentil
19 Oct 2013 08:02
Forum: VLC for Android and Chrome OS
Topic: croppadd filter on Android VLC
Replies: 2
Views: 468

croppadd filter on Android VLC

Based on the discussion in this thread: https://forum.videolan.org/viewtopic.php?f=35&t=112020&sid=9bb1a59c483a166564981cd9a0f7a9e4 I have applied that patch: http://comments.gmane.org/gmane.comp.video.videolan.vlc.devel/81357 and added to libvlcjni.c: libvlc_media_player_t *mp = getMediaPla...
by gregoiregentil
03 Aug 2013 01:22
Forum: VLC for Android and Chrome OS
Topic: Force hardware decoding
Replies: 6
Views: 896

Re: Force hardware decoding

After investigations, hardware decoding works on my device and iomx is the right thing but it seems that hardware decoding is NOT selected when it's a RTSP stream. If I dump the stream with VLC and plays it after, it decodes with hardware. So, why hardware decoding is disabled when receiving a strea...
by gregoiregentil
02 Aug 2013 22:00
Forum: VLC for Android and Chrome OS
Topic: Force hardware decoding
Replies: 6
Views: 896

Force hardware decoding

Hello, I would like to force hardware decoding for an h264 stream. Question #1: which hardware is currently supported for hardware decoding? Question #2: I guess that the following log is software decoding. Correct? :-( D/VLC ( 9437): main input: Creating an input for 'rtsp://192.168.10.4:8554/strea...
by gregoiregentil
13 Jul 2013 18:02
Forum: VLC for Android and Chrome OS
Topic: Adding duplicate sout option to libvlc_instance on Android
Replies: 8
Views: 1300

Re: Adding duplicate sout option to libvlc_instance on Andro

1) Yes. I don't know.
2) I don't. That's not the scope of the thread here. Just find a place you can write to file.
3) Just the magic string that works for me.
Check all your log first...
by gregoiregentil
09 Jul 2013 07:31
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

Patch is working. I was doing bad things....
by gregoiregentil
08 Jul 2013 08:40
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

I might be further than I was expecting and hoping! I saw two problems: - first, sharpen module is not integrated into libvlcjni.so when it's compiled through Eclipse. When I run ./compile.sh, it is integrated. I have the same Android.mk in both cases and they are using the same compilation folder.....
by gregoiregentil
06 Jul 2013 05:10
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

Correction: I have added libvlc_set_video_filter(mp, "sharpen", 1); to libvlcjni.c. I think that I'm not that far. I just need to force the plugin to be present in libvlcjni.so. How can I achieve that?
by gregoiregentil
06 Jul 2013 05:04
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

I have removed "sharpen" from find_modules.sh blacklist. I have applied that patch: http://comments.gmane.org/gmane.comp.video.videolan.vlc.devel/81357 I have added libvlc_set_video_filters_string(mp, "video-filter", "sharpen"); to libvlcjni.c Nevertheless, a specific s...
by gregoiregentil
06 Jul 2013 01:01
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

It's like you just give me small pieces of advice... I'm thinking that if something compiles, it's integrated into the binaries. Your answer seems to imply that it's not. But, then I have carefully inspected configure and there is no video_filter option. I'm confused? Can you please elaborate?
by gregoiregentil
05 Jul 2013 05:40
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

Well, if I introduce a typo in sharpen.c, the build stops ;-)
by gregoiregentil
05 Jul 2013 02:24
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

To achieve my goal, as a proof of concept, I have modified one of the video filters. It works on my x86 PC and it cross-compiles fine for Android. In libvlcjni.c, I have then tried to add in "libvlc_media_t *new_media(...)": libvlc_media_add_option(p_md, ":video-filter=sharpen");...
by gregoiregentil
03 Jul 2013 06:12
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Re: Video frame notification in Android application

Thank you Jean-Baptiste. But I'm not sure to understand. Can you be more precise? Do you mean in libvlcjni.c or below?
by gregoiregentil
02 Jul 2013 16:09
Forum: VLC for Android and Chrome OS
Topic: Video frame notification in Android application
Replies: 15
Views: 1119

Video frame notification in Android application

Hello, I would like to get a notification when a new frame has been decoded and is rendered by the Android application. Is there anything in libvlcjni.c that knows about frame? Or perhaps there is a callback possible with the surface about rendering? Any advice would be appreciated. Many thanks in a...
by gregoiregentil
27 Mar 2013 06:25
Forum: VLC for Android and Chrome OS
Topic: Very simple example of a VLC Android application
Replies: 24
Views: 6475

Re: Very simple example of a VLC Android application

I definitely agree and I think that it would be very valuable as I said in my post dated "Fri Feb 01, 2013 9:07 am" above. I think that "many" people would love to leverage libVLC for media playback within whatever they are doing in Android. Also, it might be a good idea if such ...
by gregoiregentil
26 Mar 2013 19:14
Forum: VLC for Android and Chrome OS
Topic: Very simple example of a VLC Android application
Replies: 24
Views: 6475

Re: Very simple example of a VLC Android application

My version: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) VLC_SRC_DIR := ../res-src/vlc/vlc VLC_BUILD_DIR := ../res-src/vlc/vlc/android ANDROID_SYS_HEADERS_GINGERBREAD := ../res-src/vlc/android-headers-gingerbread ANDROID_SYS_HEADERS_HC := ../res-src/vlc/android-headers-hc ANDROID_SYS_HEADERS_I...
by gregoiregentil
19 Mar 2013 07:18
Forum: VLC for Android and Chrome OS
Topic: Adding duplicate sout option to libvlc_instance on Android
Replies: 8
Views: 1300

Re: Adding duplicate sout option to libvlc_instance on Andro

If anyone has the same problem, after enabling sout, the magic line in the jni code turned out to be: libvlc_media_add_option(p_md, ":sout=#stream_out_duplicate{dst=display,dst=std{access=file,mux=ts,dst=/sdcard/go.mpg}}");
by gregoiregentil
15 Mar 2013 09:02
Forum: VLC for Android and Chrome OS
Topic: Adding duplicate sout option to libvlc_instance on Android
Replies: 8
Views: 1300

Re: Adding duplicate sout option to libvlc_instance on Andro

Unfortunately, there is nothing in logcat about the added sout. No error message. My modification is taken into account as I tested another command line option in libvlc_instance and it was working. I do understand that it's totally unsupported but any other recommendation? Thanks in advance.
by gregoiregentil
14 Mar 2013 07:47
Forum: VLC for Android and Chrome OS
Topic: Adding duplicate sout option to libvlc_instance on Android
Replies: 8
Views: 1300

Re: Adding duplicate sout option to libvlc_instance on Andro

I'm so disappointed! :-( Note that I'm not really trying to transcode here, I just want to dump the rtsp stream that is received an played by libVLC. Is there another option (that would be supported by libVLC) which could help me? Otherwise, could you point where in the vlc tree I could simply patch...
by gregoiregentil
14 Mar 2013 07:18
Forum: VLC for Android and Chrome OS
Topic: Mini VLC preview in apps
Replies: 13
Views: 1187

Re: Mini VLC preview in apps

Do what I have done: viewtopic.php?t=108078. Integrate the library andthe jni without any modification, do small modif in java code...
by gregoiregentil
13 Mar 2013 00:59
Forum: VLC for Android and Chrome OS
Topic: Adding duplicate sout option to libvlc_instance on Android
Replies: 8
Views: 1300

Adding duplicate sout option to libvlc_instance on Android

The following option: --sout=#duplicate{dst=display,dst=standard{access=file,mux=ts,dst=go.mpg}}" is working wel on Linux when reading an rtsp file. The stream is shown on screen and dumped on file. I would like to do the same on Android with libvlc. I have added the same option to "libvlc...
by gregoiregentil
02 Feb 2013 18:33
Forum: VLC for Android and Chrome OS
Topic: Very simple example of a VLC Android application
Replies: 24
Views: 6475

Re: Very simple example of a VLC Android application

To be complete, here is the full source code that we wrote: package org.videolan.vlc; import org.videolan.vlc.LibVLC; import org.videolan.vlc.LibVlcException; import android.app.Activity; import android.graphics.PixelFormat; import android.os.Bundle; import android.os.Handler; import android.os.Mess...
by gregoiregentil
01 Feb 2013 18:07
Forum: VLC for Android and Chrome OS
Topic: Very simple example of a VLC Android application
Replies: 24
Views: 6475

Re: Very simple example of a VLC Android application

OK! I found the problem. I was missing setSurfaceSize in the java code. So I have video on screen now. If I may suggest, it might be a good idea to put an example in the application of what I'm doing (bare minimum video output) and to tweak the two java files I had to patch so that the bare minimum ...
by gregoiregentil
01 Feb 2013 04:05
Forum: VLC for Android and Chrome OS
Topic: Very simple example of a VLC Android application
Replies: 24
Views: 6475

Re: Very simple example of a VLC Android application

I have also built my application with the script like it's done in the wiki page and I'm getting the same error. Therefore, I don't think that it's jni problem. In the trace, I see an error more or less related to setSurfaceSize. Perhaps, I'm missing a surface initialization or something like that...

Go to advanced search