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

iOS test #3

Closed
sunkai0205 opened this issue Jun 18, 2015 · 2 comments
Closed

iOS test #3

sunkai0205 opened this issue Jun 18, 2015 · 2 comments

Comments

@sunkai0205
Copy link

Test iOS why do I use a H264 file to replace your test file and can't decode it.

@sunkai0205
Copy link
Author

In the demo iOS I found out why only the test file in your demo can be decoded successfully, and can't be decoded by several H264 files downloaded from the Internet.,

@oneam
Copy link
Owner

oneam commented Jun 19, 2015

This library is designed to decode raw h264 (specifically the encoding described in ITU H.264 annex B). It's especially useful when you want to stream video with low latency (for live playback for example).

Most of the files you'd find on the internet are wrapped in MPEG, OGG or other formats which is why they won't work with this library.

If you would like to create a different test file, you could use the x264 command line tool. It will create files in the correct format. http://www.videolan.org/developers/x264.html

@oneam oneam closed this as completed Jun 19, 2015
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

2 participants