PHP-FFMpeg/PHP-FFMpeg
how to extract frames without save a video?
Aberta
#514 aberto em 9 de abr. de 2018
Featurehelp wanted
Métricas do repositório
- Stars
- (4.641 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
the document for extractMultipleFrames is not clear, since we add the folder to method extractMultipleFrames, why we need to add another path to save method? the folder is the place to save all frames, but specify it there doesn't work as expect, we have to extract frames when transcode a video into another format, this is not what we need.
$video
->filters()
->extractMultipleFrames(FFMpeg\Filters\Video\ExtractMultipleFramesFilter::FRAMERATE_EVERY_10SEC, '/path/to/destination/folder/')
->synchronize();
$video
->save(new FFMpeg\Format\Video\X264(), '/path/to/new/file');