Skip to content

Exporting a frame to JPEG#1

Open
davidsteinsland wants to merge 6 commits into
jpauli:masterfrom
davidsteinsland:master
Open

Exporting a frame to JPEG#1
davidsteinsland wants to merge 6 commits into
jpauli:masterfrom
davidsteinsland:master

Conversation

@davidsteinsland

Copy link
Copy Markdown

No description provided.

@jpauli

jpauli commented Mar 17, 2016

Copy link
Copy Markdown
Owner

Interesting start ! thanks.
I'll have a look shortly

Will need to refactor some code as I (we) add new features

@davidsteinsland

Copy link
Copy Markdown
Author

Yeah. Would be nice to provide a clean way of exposing more metadata methods of ffmpeg. The actual conversions should in my opinion be done via the ffmpeg cli tool, but I think it would be useful to have a handful of features such as this.

@jpauli

jpauli commented Mar 18, 2016

Copy link
Copy Markdown
Owner

I've planned to add a full support of libav to PHP , so conversions & all

@davidsteinsland

Copy link
Copy Markdown
Author

Hmm, ok.. Sounds interesting, but having some experiences with video encoders I find it's best to do the actual encoding using ffmpeg. This is because of the optimisations that are in place, using SIMD, graphics card, or what ever. Perhaps you'll manage to incorporate this in PHP, but my bet is that it will be slow.. :) Good luck!

@jpauli

jpauli commented Mar 18, 2016

Copy link
Copy Markdown
Owner

Doesn't libav populate such an API ?
ffmpeg should be just another wrapper over it, publishing some CLI facilities.
It should all depend on how libav's got compiled, with which optimizations etc... PHP will just use it as-is, from the OS

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

Successfully merging this pull request may close these issues.

2 participants