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
Why the video file can't play on my android phone? #62
Comments
i can only see the black screen in the video plz help thankx |
Could you post the device name/sw version? |
I ran into the same problem: I can view video on PC only. Emulator shows only one rotated image of all sequence and closes video. |
Could you please attach a sample code, your input file and the output file? This would help me a lot to reproduce and fix the problem. Thanks in advance. |
SequenceEncoder sequenceEncoder = new SequenceEncoder(SDPathToFile("", "out2.mp4")); I use images from external directory as input files. |
here's my out put |
I also use this code and it gives the same result: try {
|
Can you help me figure out what went wrong?.. |
Sure, just couldn't get around to doing it earlier. Stan On Tuesday, January 19, 2016, Кристина notifications@github.com wrote:
|
I can see VLC is not playing the file even after the remuxing so I suspect I'll try to see if CABAC would fix this problem. On Tue, Jan 19, 2016 at 12:55 PM, Stanislav Vitvitskiy <
|
This library is great and easy. So I'm looking forward to see solution :) |
@svitvitskiy I'm sorry for bothering you, but I really need to know when you're planning to do this fix? |
Hi, Thank you so much for your patience. I will be looking at the problem next week. I'll let you know. Stan On Thu, Feb 25, 2016 at 9:28 PM, Кристина notifications@github.com wrote:
|
Your video has only 3 frames, so at 25fps this really does seem like it shows the first frame and then the player just closes. I conclude that this is the intended behavior. However I am guessing you might have a slideshow video in mind. In that case you would want your frames to stay on screen longer. If this is what you want, here's how you can make a slideshow video:
Here you are saying the duration of each frame will be 4 seconds or in other words fps would be 1/4 frames per second. To use this you'd have to use the latest jcodec from HEAD. |
Thank you, I'll try it and give you feedback :) I guess, I should fork your project? |
Well, you just clone it and build locally since the version 0.2.0 has not On Tue, Mar 8, 2016 at 5:47 AM, Кристина notifications@github.com wrote:
|
The same.. Maybe I do something wrong? I want one image to be shown per half a second, but there's only one image shows up and video closes. |
I noticed that it works only on Murshmallow..that is wierd. I mean, video makes on every version, plays only on Murshmallow, but not on another versions. |
Also videoPlays on 5.1.1 version, but not below.. |
I had created a Mp4 file by using SequenceEncoder.java, but it can't play on my android phone .It just can play on my computer.
The text was updated successfully, but these errors were encountered: