
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (77)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6686)
-
How to use hardware acceleration for ffmpeg [closed]
11 mars 2024, par Kevin GilbertI am try to get hardware acceleration going on my Dell Inspiron AMD laptop. It appears that
vaapi
is installed but how to I use it inffmpeg
?

For testing, all I want is to accelerate


ffmpeg -i input.ts output.mp4



Currently, the unaccelerated command I am currently using is


ffmpeg -y -i input.ts -c:v libx264 -preset slower -tune film -filter_complex scale=1080:608 -sws_flags lanczos output.mp4



BTW : Environment is fully up-to-date Fedora 39 with stock
ffmpeg
.

-
Video Recording doesn't capture entire duration of a designated time
18 avril 2017, par Carl RoguesI am having an issue dealing with a video recording issue for security cameras. The cameras in question have been set to record 5 minute videos and then start on the next recording. However, I have noticed that the videos that I pull up only have a common file size of 28 MB. The quality of the videos starts off great, but immediately start declining to the point where a few seconds of motion in real life are stretched out to minutes of the recording (takes more than 20s to see the next frame), thus losing precious seconds.
I originally thought that bandwidth might be a problem, but I don’t have enough evidence to support this theory. However the problem only began recently and the video file sizes from the past were 150 MB on average. I am only starting out in this area, but here is some of the specifics I have gathered from the sh scripts running the cameras :
Livestreaming :
-
fps : 15
-
codec : libx264
-
resolution : 640x480
-
preset : superfast
-
pixel format : yuv420p
-
tune : zerolatency
Motion Detect :
-
fps : 24
-
resolution : 1280x720
-
format : mjpeg
Recording :
-
Duration : 5 minutes (300 seconds)
-
format : mjpeg
-
video codec : libx264
-
probesize : 32
-
analyzeduration : 0
-
preset : ultrafast
-
pixel format : yuvj420p
Here is the recording input and output :
ff_264opts="-c:v libx264 -preset ultrafast-pix_fmt yuvj420p"
ff_input="-y -probesize 32 -analyzeduration 0 -f mjpeg -re -use_wallclock_as_timestamps 1 -i http://localhost/${camera}_stream/?action=stream"
ffmpeg ${ff_input} ${ff_264opts} -t $duration $video_file > /dev/null 2> $ffmpeg_log_fileMy question is why am I having this issue ? Any help and/or advice would be greatly appreciated !
It should be noted that I am using 4 cameras that are connected to one system.
The cameras are 2.0MP usb cameras from ELP and do not come with built-in H.264 (Uses mjpeg).
-
-
FFMPEG Windows Batch - Recursive Convert based and settings based on Frame Height
3 avril 2017, par Vahid JamaliSo I’m trying to make a batch file to use FFMPEG to convert around 1000 MP4 video files.
I want to recursively go through these folders, possibly use ffprobe to discover the frame height, and then based on the frame height options (360, 480, 720, or 1080 frame height) give them individually different ffmpeg commands.
I’ve been reading up on various approaches to this just as far as batch processing goes.
So far I’m at this stage :
for %%a in ("*.*") do C:\ffinstall\local64\bin-video\ffmpeg -i "%%a" -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2 -filter_complex "[0:v][1:v]overlay=30:main_h-overlay_h-30,subtitles='D:\add.ass'" -c:a copy "encoded\%%~na.mp4"
pause
Code to discover the frame height :
ffprobe -v error -show_entries stream=height -of default=noprint_wrappers=1 inputfile.mp4
Trying to figure out conditionals and how their syntax is. Also I’m getting a Unable to parse option value "add.ass" as image size error. Which I believe is due to not being to see the subtitle file.
Any suggestions on where I can start ? Thanks for any help.