
Advanced search
Other articles (103)
-
Publier sur MédiaSpip
13 June 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 April 2011, byMediaSPIP 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 (...) -
Les formats acceptés
28 January 2010, byLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
On other websites (7629)
-
Trying to convert an MP4 to WEBP with ffmpeg with different lossless/compression settings, but getting the same result
10 November 2023, by corgrathI am trying to convert an MP4 video to WEBP.


I am trying different
-lossless
and-compression_level
settings (as described here), but all the output videos have identical disk size.

-lossless
can either be0
or1
and-compression_level
can be from0
to6


For example


ffmpeg -y -i input.mp4 -vcodec libwebp -lossless 1 -compression_level 6 \
 -loop 0 -preset default output_lossless1_comp6.webp



and


ffmpeg -y -i input.mp4 -vcodec libwebp -lossless 0 -compression_level 0 \
 -loop 0 -preset default output_lossless0_comp0.webp



What have I missed here?


-
ffmpeg best parameteres for fastest compression on FullHD mp4?
3 August 2021, by Mike AzatovI need to compress a bunch of FullHD(1920x1080, 3Gb, mp4) videos, each 2 hrs long. Some loss of quality is okay as is the lower resolution. I'm shooting for a 500Mb output video in 10 min processing time (2080TI Ryzen 9 3900X). It is important for the videos to be completely in sync, so frame x in the input video matches frame x in output. For this, I'm using
-vsync 0


My current working settings which get me to 500MB size in 20 minutes.


ffmpeg -i input_fullhd.mp4 -vcodec libx265 -crf 28 -vsync 0 -vf scale=800:-1 -preset medium output.mp4


I'd like it to be faster with potentially slightly better quality.


My concern is that I'm not utilizing my GPU at all and my CPU shows only 30% utilization. So feels like it should be possible to speed this up. I tried adding
-hwaccel cuda
but that made things a bit slower.

Are there any other settings I can try that I'm missing to either improve my conversion or utilize more resources for speed?


Thanks


-
Is it possible to compression and scaling in single command using ffmpeg?
30 July 2021, by Nikunj ChaklasiyaI used this command for Image compression:


"ffmpeg -hide_banner -i in.png -pix_fmt pal8 -vf dctdnoiz=4.5 -y out_2.png"



and this command for scaling:


"ffmpeg -i 1.png -vf scale=250:250 output_250x250.png"



I'm new to FFmpeg and I have tried my first and second command in FFmpeg.
I tried the below command.


ffmpeg -hide_banner -i in.png -pix_fmt pal8 -vf scale=250:250 dctdnoiz=4.5 -y out_2.png



But, It's not working and outputs this error:


[NULL @ 0x562190cf5140] Unable to find a suitable output format for 'dctdnoiz=4.5'
dctdnoiz=4.5: Invalid argument



How is it possible or how to get it to work or do I need to make two FFmpeg instance for doing this?