
Recherche avancée
Autres articles (40)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8672)
-
FFMPEG : Add a offset in the Scene Change Detection
17 mai 2019, par stephI am trying to add a frame offset(o) in ffmpeg scene detection filter :
For example :
...filter:v "select='gt(scene,X)
generates frame 10, 34, 300.I looking for a new construction with
o=10
generates frame 20, 44, 310...Thank you for help !
-
ffmpeg extract keyframes at scene change or at least every n seconds
17 février 2020, par LauraI’m trying to extract key frames from an mp4 video file using ffmpeg. I need to extract a keyframe when a scene change is detected and, if no scene change is detecetd for ’n’ seconds a I need to extract a frame as well.
I was able to extract scenes change (plus the first frame) using the following parameters :
-vf scale='iw/8:ih/8' -deinterlace -ss 00:00:00.000 -vframes 1 $$UNIQUE_FILE_NAME$$_000.jpg -deinterlace -vf select='gt(scene\,0.4),scale=iw/8:ih/8',showinfo,metadata=print:file=frames-timestamps.txt -vsync vfr -frame_pts 1 $$UNIQUE_FILE_NAME$$_%d.jpg.
I know how to extract periodic keyframes (https://www.bogotobogo.com/FFMpeg/ffmpeg_thumbnails_select_scene_iframe.php)
ffmpeg -i yosemiteA.mp4 -f image2 -vf fps=fps=1/10 ythumb%3d.png
Can anyone help me writing a unique command line that merges the two behaviours ?
Thanks,
Laura -
Transcoding and capturing scene change with ffmpeg
17 juin 2020, par anaVC94I want to perform a transcodification on GPU of a video while capturing key frames from it. To capture key frames I am capturing the ones which have more than 50% of changes compared to the previous scene.



To transcode I am using :

ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc output.mp4



To capture scene changes I am using :

ffmpeg -i input.mp4 -vf "select=gt(scene\,0.5), scale=1280:720" -vsync vfr .\thumbnails\thumb%03d.jpg



Both commands work, but I want to execute them together. I want something like :



ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc output.mp4 -vf "select=gt(scene\,0.5), scale=1280:720" -vsync vfr .\thumbnails\thumb%03d.jpg



but it doesn't work. The error is :



Impossible to convert between the formats supported by the filter 'graph 1 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0 




Any help ?



Thanks in advance