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

ffprobe movflags +faststart check #362

Open
gailingmic opened this issue May 10, 2017 · 8 comments
Open

ffprobe movflags +faststart check #362

gailingmic opened this issue May 10, 2017 · 8 comments
Labels

Comments

@gailingmic
Copy link

Q A
Bug? no
New Feature? no

Good Day everyone,

is there a way to check with \FFMpeg\FFProbe if -movflag +faststart is set on a Video, If the Metadata is at the front of the file?

Greetings,
Michell

@rsnitsch
Copy link

rsnitsch commented Jun 19, 2018

Yes, this would be a very useful feature. Any news on this?

By the way. A few alternatives are elaborated here:
https://superuser.com/questions/559372/using-ffmpeg-to-locate-moov-atom

@jens1o
Copy link
Member

jens1o commented Jun 19, 2018

Could somebody explain what this means?

@rsnitsch
Copy link

rsnitsch commented Jun 19, 2018

@jens1o When processing videos with ffmpeg you have the option to use -movflags +faststart as a commandline switch. This moves an important part of the resulting video file (the MOOV atom) to the beginning of that file, such that the video can be streamed directly, typically from a webserver. Without this, the video must be downloaded completely before the playback can start.

I don't think that \FFMpeg\FFProbe can implement such a MOOV location check, because the ffprobe tool itself lacks such a feature. This feature should be requested upstream (i.e. at ffmpeg).

@jens1o
Copy link
Member

jens1o commented Jun 19, 2018

This feature should be requested upstream (i.e. at ffmpeg).

Good point, could you request it there, please?

@gailingmic
Copy link
Author

you can check it with fprobe already!

@jens1o
Copy link
Member

jens1o commented Jun 19, 2018

@gailingmic Could you show a way how?

@guanyutao92
Copy link

ffprobe -v trace -i xx.mp4 2>&1 |grep -e type:\'mdat\' -e type:\'moov\'

@nsmithdev
Copy link

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

No branches or pull requests

5 participants