Few questions. Glitchy video, unable to set HW acceleration, build previous versions

This forum is about all development around libVLC.
Yourname
New Cone
New Cone
Posts: 6
Joined: 15 Oct 2016 00:42

Few questions. Glitchy video, unable to set HW acceleration, build previous versions

Postby Yourname » 24 Oct 2016 22:15

Hi, I have few problems:
1. I develop libVLC-based application for Android. I built latest libVLC from github and it does not play some videos correctly (video looks like broken file, audio is OK) on Huawei M310 box and not found HW acceleration (no messages about available hw codecs in logcat). Native video player works correctly, app on another devices works correctly too. How to make libVLC work correctly?
2. Probably I found a bugs: when libVLC attached to non-fullscreen surface, there is a bugs like short interpolated 8-pixel white lines on video. May be I'll attach screenshot later because my development PC is unexpectedly blocked on forum to login (spamers on subnet?). VLC sometimes crashes on start:

Code: Select all

java.lang.NoSuchMethodError: android.support.v17.leanback.app.BrowseFragment.getChildFragmentManager at android.support.v17.leanback.app.BrowseFragment.onCreateView(BrowseFragment.java:586) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:807) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1013) at android.app.FragmentManagerImpl.addFragment(FragmentManager.java:1112) at android.app.Activity.onCreateView(Activity.java:4664) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:292) at android.app.Activity.setContentView(Activity.java:1867) at org.videolan.vlc.gui.tv.MainTvActivity.onCreate(MainTvActivity.java:134) at android.app.Activity.performCreate(Activity.java:5008) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2095) at android.app.ActivityThread.access$600(ActivityThread.java:134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1203) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4823) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554) at dalvik.system.NativeStart.main(Native Method) at Android.MODEL(M310) at Android.VERSION(4.1.2) at Android.FINGERPRINT(Huawei/SingleBox/hwsingleboxm310w:4.1.2/HuaweiMediaQ/V1R1C200B002:user/release-keys)
Previous versions crashes on start too, but plays video correctly when open video file with VLC.
3. I have errors when I build vlc-android-1.7.x (latest strings):

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-androideabi checking for arm-linux-androideabi-gcc... clang checking whether the C compiler works... no configure: error: in `/home/user/vlc/vlc-android-1.7.x-58181046e79112450a3362df7195cc35dd332096/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec': configure: error: C compiler cannot create executables See `config.log' for more details ../../contrib/src/a52/rules.mak:26: recipe for target '.a52' failed make: *** [.a52] Error 77 contribs: make failed
How to fix?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Few questions. Glitchy video, unable to set HW acceleration, build previous versions

Postby Jean-Baptiste Kempf » 07 Dec 2016 00:35

Sorry, but you should read the doc.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests