
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 (78)
-
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9386)
-
Can't get FFMPEG to convert Samsung Motion Photos from .jpg to .mp4 [closed]
27 août 2024, par welbeebeeI pulled a bunch of Samsung Galaxy S21 Ultra motion photos to my PC (Windows 11) for video editing, but they were in .jpg, and for some reason Microsoft Clipchamp couldn't convert them to video. But, I knew the motion photos were intact, bc Microsoft Photos was showing the MOTION option and playing the videos just fine.
So, I'm in FFMPEG just throwing everything at the wall, but can only get still MP4's out of it, with none of the video.


Here's the breakdown of what I'm looking at for :

ffmpeg -i input.jpg


Input #0, image2, from '20240623_233601.jpg':
 Duration: 00:00:00.04, start: 0.000000, bitrate: 874324 kb/s
 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 2944x2208 [SAR 59:59 DAR 4:3], 25 fps, 25 tbr, 25 tbn



So to get the whole folder converted, I'm trying :

for %i in (*.jpg) do ffmpeg -i "%i" -c:v libx264 -map 0:0 -preset veryslow -crf 18 "%~ni.mp4"


But this just results in a bunch of those still MP4's I mentioned.


I'm assuming the problem starts with that odd duration of 00:00:00.04, with a bitrate of 874324 kb/s, but I'm not sure. I don't understand this mjpeg video format very well at all.


I been trying to work through this with copilot to no success, and so I'm turning to stackoverflow in case anyone can help me out.
Or am I going about this all the wrong way ? Let me know.


-
ffmpeg filter dev get_video_buffer function usage
19 juin 2018, par Michael.MaI’m writing a mosaic ffmpeg filter.
copy code from vf_vflip.c, I register a callback function get_video_buffer
and implement it as follows :static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h)
{
MosaicContext *s = link->dst->priv;
AVFrame *frame;
int i;
int j,k;
frame = ff_get_video_buffer(link->dst->outputs[0], w, h);
if (!frame)
return NULL;
if (s->w == 0 || s->h == 0)
return frame;
for (i = 0; i < 3; i ++) {
// some trick code
}
return frame;
}
static const AVFilterPad avfilter_vf_mosaic_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
//.get_video_buffer = get_video_buffer,
.filter_frame = filter_frame,
.config_props = config_input,
},
{ NULL }
};But after read some filter dev guide, I found that only a few filter implement get_video_buffer funcition.The default function is f_default_get_video_buffer()
I make some log find that ffmpeg call function likeget_video_buffer
filter_frame
get_video_buffer
filter_frame
get_video_buffer
filter_frame
...I’m confused about get_video_buffer do what job.
Only know that some filter will hold frame cache.
Can I juse comment out the get_video_buffer hook ?I see flip job both in get_video_buffer() and filter_frame() in vf_vflip.c
Is it a waste of time ?static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h)
{
FlipContext *flip = link->dst->priv;
AVFrame *frame;
int i;
frame = ff_get_video_buffer(link->dst->outputs[0], w, h);
if (!frame)
return NULL;
for (i = 0; i < 4; i ++) {
int vsub = i == 1 || i == 2 ? flip->vsub : 0;
int height = AV_CEIL_RSHIFT(h, vsub);
if (frame->data[i]) {
frame->data[i] += (height - 1) * frame->linesize[i];
frame->linesize[i] = -frame->linesize[i];
}
}
return frame;
}
static int filter_frame(AVFilterLink *link, AVFrame *frame)
{
FlipContext *flip = link->dst->priv;
int i;
for (i = 0; i < 4; i ++) {
int vsub = i == 1 || i == 2 ? flip->vsub : 0;
int height = AV_CEIL_RSHIFT(link->h, vsub);
if (frame->data[i]) {
frame->data[i] += (height - 1) * frame->linesize[i];
frame->linesize[i] = -frame->linesize[i];
}
}
return ff_filter_frame(link->dst->outputs[0], frame);
} -
FFMPEG exported video is all black
5 mars 2024, par KartikeyI am trying to generate a video wall of 4 videos using ffmpeg like the given image




I am exceuting this below script to get the desired result


def merge_videos(output_file):
 command = [
 'path_to_ffmpeg/ffmpeg.exe',
 '-i', 'path/playblasts/front.mp4',
 '-i', 'path/playblasts/side.mp4',
 '-i', 'path/playblasts/persp1.mp4',
 '-i', 'path/playblasts/persp2.mp4',
 '-filter_complex', '[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]',
 '-map', '[v]',
 output_file
 ]
 subprocess.run(command)



where as passing output file path as argument, but I am getting below result




Any help would be appreciated.
Thanks & Best Regards