Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DecodeAndPlayVideo doesn't work with mp4 videos #140

Open
navy1978 opened this issue Jul 24, 2019 · 0 comments
Open

DecodeAndPlayVideo doesn't work with mp4 videos #140

navy1978 opened this issue Jul 24, 2019 · 0 comments

Comments

@navy1978
Copy link

navy1978 commented Jul 24, 2019

Hi,
I'm trying to use this libraries but I have some problems I see that mp4 files are not working:

http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
http://techslides.com/demos/sample-videos/small.mp4

On the other hand the following yes:
http://techslides.com/demos/sample-videos/small.3gp
http://www.engr.colostate.edu/me/facil/dynamics/files/drop.avi

using the class: DecodeAndPlayVideo provided within the project

Is there any reason? did I miss something?

I have also tried with a live stream:
http://62.210.141.18:1935/directo/lancelot.television/live.m3u8

And I get:

[main] ERROR io.humble.video.DemuxerStream - HumbleRuntimeError("could not find decoding codec"): could not find decoding codec (DemuxerStream.cpp:71)
Exception in thread "main" java.lang.RuntimeException: could not find decoding codec
	at io.humble.video.VideoJNI.DemuxerStream_getDecoder(Native Method)
	at io.humble.video.DemuxerStream.getDecoder(DemuxerStream.java:140)
	at com.example.test.DecodeAndPlayVideo.playVideo(DecodeAndPlayVideo.java:81)
	at com.example.test.DecodeAndPlayVideo.main(DecodeAndPlayVideo.java:266)

How can I add codecs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant