
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (103)
-
Publier sur MédiaSpip
13 juin 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 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 (...) -
Les formats acceptés
28 janvier 2010, parLes 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 (...)
Sur d’autres sites (8341)
-
compression android video trimmer ffmpeg Exoplayer2 [closed]
6 mars 2024, par andrew cumminsI'm trying to compress the video trimmed android video


I have some android code from github that I've been working on. The code is a video trimmer in enter image description hereAndroid. However I'm trying to compress the video after the video is trimmed. Here's the source code


https://github.com/a914-gowtham/android-video-trimmer


I was able to modify the timeline that's generated with a set duration minimum similar to a whatsapp status, with a set max at 10 sec and max 90 seconds


// TrimType.MIN_MAX_DURATION TrimVideo.activity(videoUri) .setTrimType(TrimType.MIN_MAX_DURATION) .setMinToMax(10, 90) //seconds .start(this,startForResult);


Now all is is working fine but I'm trying to compress the file after the video is trimmed and add an overlay.


Any ideas would be helpful


-
How to process float32 arrays by video compression tools and get back float32 values ? Video and image formats which natively supports float32 values
7 février 2024, par VojtaKI have multiple arrays of float32 values, which might be interpreted as images. They go in the sequence. They are one channel only and they don't restrict itself to [0,1] range.


I would like to process them by
ffmpeg
and create compressed video out of them. Then I want to decompress them to the sequence of images, or possibly also raw array of float values.

Let's say I have
RAWARRAYSFILE
of float32 of frames with given dimensions and I want to convert it to the video. In ffmpeg there is apix_fmt gray32le
and I can convert my raw files into the video using e.g.

DIMX=3250
DIMY=2132
dd if=$RAWARRAYSFILE | ffmpeg -y -framerate 30 -f rawvideo -s "${DIMX}x${DIMY}" -pix_fmt grayf32le -i - vid.mp4



Now to get the sequence of the images back, I can


ffmpeg -i vid.mp4 -pix_fmt grayf32le out/processed%05d.tif



However not the
vid.mp4
video norout/processed%05d.tif
will be float32. Are there a formats supported byffmpeg
which would support float32 natively ?

Are you aware of any image format, which would natively support float32 values ?
Are you aware of any video format, which would natively support float32 values ?


-
As part of my program that I am writing I am using ffmpeg. I am debugging. Why would ffmpeg run slower on a GPU than a CPU when doing mp4 compression ? [closed]
6 mai 2023, par user875234I'm running it on modern equipment with latest drivers. I use it to compress video files, like so :


ffmpeg -i 20230502_200913.mp4 -vcodec libx265 -crf 28 -vf "scale=trunc(iw/10)*2:trunc(ih/10)*2" output.mp4



that command runs in 160 seconds on the CPU. but if I use the GPU, like so :


ffmpeg -hwaccel cuda -i 20230502_200913.mp4 -vcodec libx265 -crf 28 -vf "scale=trunc(iw/10)*2:trunc(ih/10)*2" output.mp4



it actually takes 280 seconds. And again, these are same era CPU and GPU. I can see it uses 100% of the GPU when running on the GPU but only 50% of the CPU when running on the CPU. I expected it to run much faster on the GPU than the CPU.


Am I missing something ?