Sorry, this video is not valid for streaming to this device in Http streaming android

后端 未结 1 673
傲寒
傲寒 2020-12-06 03:34

I can stream some videos from URL (server) successfully,

But the others (my video up to my server) is not.

You can see bot

相关标签:
1条回答
  • 2020-12-06 04:10

    This is the issue that many people met, ensure you understand following content to fix the issue.

    Through my experience and the answer in this Sorry, this video cannot be played - streaming mp4 to android

    Finally, I found the reason and the solution:

    - Reason : Almost the *.mp4 file was produced for developing focus on iOS, and have the encoding : H264 Main. While Android side can only stream & play the files have the encoding : H264 Baseline.

    - Solution : We need convert from the encoding H264 Main to H264 Baseline (guaranteed enabled Web Optimized (move -moov atom before -mdat) feature)

    - Bugs :

    • Sorry this video is not valid for streaming to this device.

    • Sorry, this video can not be played.

    HandBrake tool is the easiest and cheapest way to complete it.

    Thanks,

    p/s : But if you use this method, you need upload your video to the server for testing.

    0 讨论(0)
提交回复
热议问题