
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (74)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (12815)
-
ffmpeg transcoding move to mp4
16 août 2022, par PaulI currently use windows free software called : AnyVideoConverter to convert my iPhone huge MOV files to MP4s that can be played on other devices via my plex server.
I want to automate that process so it runs in the background on one of my linux machines.
However I am struggling to get it working. Here is what I have so far.


Original file details :
Duration : 00:00:13.53
Original Video : 40MB
Video details : Stream #0:0(und) : Video : hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 3840x2160, 23453 kb/s, 30 fps, 30 tbr, 600 tbn, 600 tbc (default)


AnyVideoConverted file :
File Size : 5MB
Video Details : Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 3840x2160, 2870 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)


This format works great on all my devices


So far the closes I managed to get to that is this ffmpeg command :


ffmpeg -i original.mov -c:v libx264 -profile:v baseline -maxrate 3M -bufsize 3M -c:a aac -b:a 128k x264.mp4


File size:5MB
Video details : Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 2160x3840, 3063 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)


problem is that when I try to play it via plex I get :


Playback Error : This server is not powerful enough to convert video


What am I doing wrong here ?


My knowledge of ffmpeg or video encoding/transcoding is zero. Can someone advise me how to get my mov files converted to mp4 so they can be played via plex without additional transcoding by plex and without reducing the resolution size of the converted video.


Any pointers ?
Thanks


-
ffmpeg - frames to video using reference timecodes
20 août 2020, par TuxaI have a video with variable framerate that I decode into single frames using
-vsync passthrough
to avoid duplicate/lost frames. After processing those frames with another application I want to encode them again into an mp4 video that has the exact same timestamps as the original video.

My idea is to input the frames plus the original video and use the timecodes of the latter. Is this possible ?


This is my current approach :


ffmpeg -i input/%d.jpg -vsync 0 -i input.mov \
 -filter_complex '[0]setpts=PTS[vid1];[vid1]pad=iw*2:ih[vid2];[vid2][1:v]overlay=W/2:0[vid3]' \
 -map [vid3] -map 1:a \
 -y result.mp4



I do a concatenation of both videos side-by-side to see if they are in sync which they are not...


setpts=PTS
uses the timecodes of the frames so this can not work. However, is there a way of usingPTS
from the second video ? Something like[0]setpts=PTS{1:v:0}
?

-
FFMPEG changes color when adding an image as first frame
24 septembre 2024, par hendrikschneiderI am using ffmpeg to add an image as a first frame. This one works but the issue is that the colors are being faded. My attempt was to check the color encoding of the input video and apply it to the output video but still the issue is there.


What I found out is that this issue does not happen when I use a frame from the video, so it somehow related to using an image.


This is my command to add an image as thumbnail :


ffmpeg -loop 1 -framerate 30 -t 0.5 -i thumbnail.png -f lavfi -t 0.5 -i aevalsrc=0 -i input_video.mp4 -filter_complex "[0:v][1:a][2:v][2:a] concat=n=2:v=1:a=1" -shortest -color_primaries bt2020 -color_trc bt709 -colorspace bt709 output_test1.mp4



Screenshot of the original and the output video. Left is the original with brighter colors compared to the output on the right.