
Recherche avancée
Autres articles (54)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (7400)
-
I need assistance of making a automated script for ffmpeg [closed]
18 décembre 2024, par user2614404Currently i use this script that GPT generated :


ffmpeg -c:v av1_qsv -b:v 0 -global_quality 20 -preset veryslow -look_ahead 64 -c:a copy -c:s copy G:\1ARC-movies\A-View-to-a-kill.mkv -i Y:\media\Movies\A_VIEW_TO_A_KILL_t05.mkv


But sadly GPT being gpt, it hallucinates answers, and none of it's deeper automation code scripts were working when it made the scripts for a .ps1 script file.


And as i find most of the docs quite overwhelming, i need help to simplify what i need. As i learn best when i get explained what i currently try to do, and not every variable ffmpeg can do.


what i want the script to do is :


1 : convert movies with AV1_QSV with "veryslow", as that's apparently from what i've read up being the best it can do


2 : Global quality as close to 50 as possible (smaller, the better), as 20-6 gave the same range of percentage of 97% VMAF score, 22 gave 95%, so 20 is the largest number i can go, as VMAF via NMKODER reported any higher number was sub 97%.


3 : Give it a main folder for movies and shows to scan, and convert all the media in there to their respective subfolders to a designated output folder.


2 : Automatic crop detection, as some crops it to a 21:9 ratio, others has very small letterboxes. As GPT's code for that attempt for some reason used cpu instead of arc's quicksync.


As this will be ran from powershell, and it's to replace my plex library, by transcoding all movies and shows, starting with the least watched ones/shows that my family has seen, as then those will be unavailable for them until unraid 7 is out of beta to read intel arc for av1.


-
ffmpeg - two very similar webm files, two very different conversion speeds to mp4
28 juin 2018, par NuthinkingI generate webm files in two different ways. One using Chrome WebRTC MediaRecorder, the other one is using a js library which generates the webm video frame by frame (webm-writer-js). The file size of the videos generated is not that different, the fast one is 60% of the slow one but the difference in speed is 1000%
Using the basic ffmpeg syntax
-i input.webm output.mp4
the files created with Chrome’s media recorder take in fact almost 10x time to be converted. The conversion logs differ slightly but overall look very similar to my novice eyes. On the left the fast conversion and on the right the slow one.The fast one throws a little error but the conversion seems successful. In the slow conversion you can see many frames processed, in the fast one as if there was only one (very fast). Using
-preset veryfast
cuts the speed time by half to both but the loss of quality is visible.Any idea how I could speed up the conversion for the videos generated by Chrome without compromising much in quality ? Thanks a lot !
-
FFMPEG Stream video and capture frames every x minutes
12 octobre 2018, par guitarultimateI’m trying to use ffmpeg on a raspberry pi zero with a camera to stream live video and capture images every x minutes at the same time.
I am able to do either style output (stream or save image) by itself, but when trying to split the output the stream feed always cuts out when it tries to save the image.
I am using a command like :
raspivid -o - -t 0 -w 1280 -h 720 -fps 30 -b 8000000 -g 30 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le \
-f s16le -ac 2 -i /dev/zero \
-f h264 -i pipe:0 -c:v copy -c:a aac \
-ab 128k -g 30 -strict experimental \
-f flv -r 30 rtmp://a.rtmp.youtube.com/live2/{secret} \
-f image2 -vf fps=1/60 img%03d.jpgand receive an error message like :
av_interleaved_write_frame(): Broken pipe
Last message repeated 1 times
[flv @ 0x3766930] Failed to update header with correct duration.
[flv @ 0x3766930] Failed to update header with correct filesize.
Error writing trailer of rtmp://a.rtmp.youtube.com/live2/{secret}: Broken pipe
frame= 253 fps=6.0 q=-1.0 Lq=0.0 size= 7kB time=00:00:10.12 bitrate= 6.0kbits/s speed=0.242x
video:1508kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownRunning either output on it’s own with the same inputs executes perfectly fine.
Any help on how to acheive this ?