Giter Club home page Giter Club logo

giraffeplayer2's People

Contributors

szymanskip avatar tcking avatar yunusmete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

giraffeplayer2's Issues

RTSP Support?

Hello!
When I try to load star a RTSP url the log says "Protocol not found"
There is any way to make this work or Giraffe does not support RTSP at all ?
Thanks!

dash .mpd not supported

i wanna know if you will add the dash files to be supported or not
and if you will how long it will take ?

I have problems with ijkmediaplayer error (-10000,0)

I have added the compile 'com.github.tcking: ijkplayer-x86: 0.8.4' but I can not play the file on the x86 cpu.But another cpu can play normally.

I do not know what caused the problem ijkmediaplayer error (-10000,0).

Please help,Thank You

Replay not working

I'm playing RTMP URL, after the video completion, when I click re-play button, the player is not replaying the video.

关于ijkplayer的封装

我之前也是在使用GiraffePlayer1,看了GiraffePlayer2 的源码后觉得在结构和代码上都精简了好多,
想问下作者有没有博客地址或者其他,能不能写一篇关于GiraffePlayer2对ijkplayer的封装呀,在工作中,对视频播放器相关开发知识断断续续也学习过不少,按需求完成过一些定制化开发,但感觉还是没有成体系的学习过:grin:

App Crash

If i change the url dynamicaly ,app getting crash , log is mentioned below . Help me thanks

AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.siti7.customisedgiraffeplayer, PID: 6705
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:915)
at tcking.github.com.giraffeplayer2.PlayerManager.releaseByFingerprint(PlayerManager.java:187)
at tcking.github.com.giraffeplayer2.VideoInfo.setUri(VideoInfo.java:237)
at tcking.github.com.giraffeplayer2.VideoView.setVideoPath(VideoView.java:99)
at com.example.siti7.customisedgiraffeplayer.MainActivity$1.onClick(MainActivity.java:34)
at android.view.View.performClick(View.java:5637)
at android.view.View$PerformClick.run(View.java:22429)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Android Nougat Support

I'm having "No Implementation found" Error in my Logcat as...

E/zygote: No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_finalize() (tried Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1finalize and Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1finalize__) 09-22 15:40:57.387 19999-20012/com.live.streamnow E/System: Uncaught exception thrown by finalizer 09-22 15:40:57.389 19999-20012/com.live.streamnow E/System: java.lang.UnsatisfiedLinkError: No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_finalize() (tried Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1finalize and Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1finalize__) at tv.danmaku.ijk.media.player.IjkMediaPlayer.native_finalize(Native Method) at tv.danmaku.ijk.media.player.IjkMediaPlayer.finalize(IjkMediaPlayer.java:962) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:250) at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:237) at java.lang.Daemons$Daemon.run(Daemons.java:103) at java.lang.Thread.run(Thread.java:764)

what should I do? Need help..!!!

Full screen view having issue of Stretch

When I toggle my fullscreen without starting the video the full-screen view has a half video screen and a half control screen (in your demo app also you can see). How to fix this? And after completion of the video when I touch the seek bar it was showing in the middle (got stuck there) can I fix this? Maybe disabling the control after completion of the video also nice. Thank you in advance for creating such a wonderful library.!!

Portrait view

Portrait recorded video shows landscape into VideoView. How can i show video which is recorded to portrait mode.

No thumbnail option

Hey firstly thanks a ton for providing such a wonderful library.
I would like to know whether it supports thumbnail of video in list.
Please do share your thoughts

videoview title

Cannot set title on embedded player in layout using videoview

On Track change the video is running fast forword

Hello
I am using your sample app code to play MKV formatted video. The video content two audio track for different languages when playing local video its working fine but when I have loaded the video from my server ( Url ) and change the audio track the speed of video will increase and the track video and audio will different. can you help me how to solve this?

Remove the bottom bar?

Hello!
I dig through the VideoView but could not find a way to remove the bottom bar/MediaController (the one with the play/stop button and seekbar).
There is any way to do that I am missing?

TLS/SSL Session problem

I have problem in reading https streaming, i have this problem "Unable to negotiate TLS/SSL session " . Any suggestion please. thanks

DEMO 中设置播放器为AndroidMediaPlayer会报错

第一步,设置播放器为AndroidMediaPlayer
videoView.getVideoInfo().setPlayerImpl(VideoInfo.PLAYER_IMPL_SYSTEM);

第二步,开始播放后会收到onError回调(在GiraffePlayer类中)
mediaPlayer.setOnErrorListener(new IMediaPlayer.OnErrorListener() {
@OverRide
public boolean onError(IMediaPlayer iMediaPlayer, int what, int extra) {

        }
    });

onError参数为 what:-38, extra:0

如果采用默认实现即IjkMediaPlayer则没有问题,请问这个问题是什么原因,怎么解决

Scale Gesture ( pinch zoom video feature )

Hi
I tried to implement ScaleGesture Detector in video view but with video, other views are also zooming.
As media controller is attached with videoView and I'm unable to extract the video view part (where video actually plays) so that I can zoom in and zoom out the only video without changing the size of other views (seekbar and button etc).
Sorry for my bad explanation: all I want is to implement zoom in and zoom out like other gestures.
Please tell me how can I do that? Thank you

Hide mediacontroller?

Hi,
I don't want display mediacontroller but i can't find the right way.
Can you help me?

When use your player in P2PTunnel, I have some problem.

I think your player is the best and I am making a player with your code.
But I have a significant problem now.
when i play the hls video in common situation, it has no problem.
But my app have a playing function in p2ptunnel. at that time, your player cannot play the video and show the errors as follows.

09-20 19:10:59.756 17084-17808/com.garapon.tvapp E/IJKMEDIA: http://127.0.0.1:63080/gapi/v4/Program/?gtvsession=fb199b1aebc77463131c019a1caf79e9&service_type=1&starttime=1505750340&endtime=1505752140&action=m3u8&tsid10=32738: End of file
09-20 19:10:59.756 17084-17808/com.garapon.tvapp I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [17808]
09-20 19:10:59.777 17084-17084/com.garapon.tvapp E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)

Would you tell me the reason why "End of file" error happens?
Of course, p2p tunnel communication is a little slower than common http.
Can i set the delay time for loading?

I'll appreciate your help.

how to Disable player Buttons ?

First, of all thank you so much for this great player. It's working great.
I just want to disable all buttons, seekbar even fullscreen option, can you please tell if it is possible?

Scroll in RecyclerView

Hi there,
I use VideoView in one item of RecyclerView,
and when I call notifyDataSetChanged() method of Adapter,
RecyclerView is scrolling to it item that has VideoView.
please help me.

: FATAL EXCEPTION: GiraffePlayerInternal:Handler

Please help i am getting the following error
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.ekantipur.ktv-1/base.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.ekantipur.ktv-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.ekantipur.ktv-1/lib/arm64, /data/app/com.ekantipur.ktv-1/base.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.ekantipur.ktv-1/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libijkffmpeg.so"

How to hide the controls

I don't need the control layout, I'm implementing a full-screen video view. I'm hiding the app_bottom_box visibility to GONE, but onTouchListener is activating the layout to be visible. How can I hide the control layout? Thanks in Advance.

Proguard Configuration

Hi tcking, I just did a quick research to handle this projects' proguard configuration:

-dontwarn tv.danmaku.ijk.media.player.**
-keep class tv.danmaku.ijk.media.player.** { *; }
-keep interface tv.danmaku.ijk.media.player.* { *; }

If possible to place this on your read me would be helpful for others. Keep up the good work!

thumbnail video

Hi,
I'd like to know after finished downloading video file then how to firstly display the thumbnail. This is because the videoview looks nothing and black before playing the video.

recycleview中,视频切换播放,封面显示bug

发现了3个bug

  1. recyclerview中切换前面几个播放的视频,其他的视频封面也变成了暂停的状态

2018-01-14 22 13 29

  1. 切换暂停后的视频,有时候封面没有center crop,有时候是对的,我用的glide centerCropTransform
videoPlayer = (VideoPlayer) itemView.findViewById(R.id.videoPlayer);
videoPlayer.getVideoInfo().setAspectRatio(VideoInfo.AR_ASPECT_FILL_PARENT);

wechatimg819
3. 切换的过程中,有时候不显示封面,分两种情况(1. 有列表滚动,出现的概率大些 2.没有列表滚动,有时候会出现)

关于播放屏幕不能常亮的问题

1:我在GiraffePlayer类的构造方法里面的handler中设置videoView.setKeepScreenOn(true);方法,但是播放完毕之后再重新播放会出现线程Exception
2:在activity中调用mVideoView.setVideoPath(url).getPlayer().start();,GiraffePlayer的start方法和handler会重复调用好几遍,也不知道是什么情况

android 7.1.1 锁屏后再点亮出现黑屏

一,android 版本7.1.1
条件:视频播放中,锁屏后再点亮
现象:黑屏
二,android 版本5.1.1
无上述黑屏现象

请问这个问题是什么原因,怎么解决?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.