Timeline for A specific MP4 file is not playable with avfoundation in iOS
Current License: CC BY-SA 4.0
23 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jul 5, 2020 at 15:07 | history | bounty ended | CommunityBot | ||
S Jul 5, 2020 at 15:07 | history | notice removed | CommunityBot | ||
Jul 3, 2020 at 17:20 | comment | added | Rabel Ahmed | Basically, we've got this file from one of our users! | |
Jul 3, 2020 at 15:34 | comment | added | Gyan | How is original file generated? | |
Jul 3, 2020 at 15:18 | comment | added | Rabel Ahmed | @Gyan How can we ensure that the video stream is stored using MBAFF coding? Thank you. | |
Jul 3, 2020 at 5:02 | comment | added | Gyan | The H.264 video stream is stored using MBAFF coding, which is likely not supported in AVFoundation. You'll have to re-encode. | |
Jul 2, 2020 at 13:49 | comment | added | Rabel Ahmed | @Gyan The link should be accessible now. | |
Jul 2, 2020 at 9:51 | comment | added | Gyan | Link not accessible | |
Jul 2, 2020 at 4:33 | comment | added | Rabel Ahmed | @Gyan I've included originalFile.mp4 link in the question which file is not playable via iOS default video player or Avfoundation. Thanks. | |
Jul 2, 2020 at 4:30 | history | edited | Rabel Ahmed | CC BY-SA 4.0 |
added 118 characters in body
|
Jun 29, 2020 at 16:39 | comment | added | Rabel Ahmed |
@Gyan I've applied this command ffmpeg -i originalFile.mp4 -c copy -color_primaries bt709 -color_trc bt709 -colorspace bt709 -movflags write_colr outputFile.mp4 and still there is no difference between originalFile.mp4 and outputFile.mp4 information. Is it the appropriate command that you suggested to apply?
|
|
Jun 29, 2020 at 12:38 | comment | added | Gyan |
Since you're using 4.2.1, also add -write_colr 1 and check.
|
|
Jun 29, 2020 at 11:09 | comment | added | Rabel Ahmed | @Gyan I've applied your suggested command but nothing has changed in the outputFile's information and the video isn't playable on iOS either. Can you suggest any special reads on colorimetry, please? Thanks. | |
Jun 29, 2020 at 5:22 | comment | added | Gyan |
Only the colorimetry appears to be different. But that shouldn't stop playback. Nevertheless, try ffmpeg -i originalFile.mp4 -c copy -color_primaries bt709 -color_trc bt709 -colorspace bt709 -movflags +faststart outputFile.mp4
|
|
Jun 29, 2020 at 5:00 | comment | added | Rabel Ahmed | @Gyan I've modified the question and now you can get the outputs of ffprobe streams from there. Thanks. | |
Jun 29, 2020 at 4:58 | history | edited | Rabel Ahmed | CC BY-SA 4.0 |
added 84 characters in body
|
Jun 28, 2020 at 18:45 | comment | added | Gyan |
Share the full output of ffprobe -show_streams for both original file and outputfile.
|
|
Jun 28, 2020 at 4:33 | comment | added | Tahlil | NOTE: I can't comment to Jason Conrad so I am posting it as an answer and will delete it. How do we understand if a video is interlaced from the information FFMPEG provides us? In the above answer Jason Conrad mentions that "smpte170m/bt470bg/bt709." means its interlaced video. But this is just color space information. How does it mean interlace or progressive? Is it possible to share anymore details or URL to read further? Thanks very much for your answer. | |
Jun 27, 2020 at 18:34 | answer | added | Jason Conrad | timeline score: 1 | |
S Jun 27, 2020 at 13:51 | history | bounty started | Tahlil | ||
S Jun 27, 2020 at 13:51 | history | notice added | Tahlil | Draw attention | |
Jun 22, 2020 at 16:16 | review | First posts | |||
Jun 24, 2020 at 9:28 | |||||
Jun 22, 2020 at 16:13 | history | asked | Rabel Ahmed | CC BY-SA 4.0 |