
Recherche avancée
Autres articles (46)
-
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 -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6659)
-
ffmpeg I have 4 .png images on an alpha video the images do not appear ?
29 novembre 2022, par mod Npng images on an alpha video the images do not appear ? on the alpha zone if I remove "colorchannelmixer=aa=0.01" it appears on the video
if you want i can send you the video
if a nice person could help me i'm a taker


ffmpeg/ffmpeg

-i agence_montage_video/6382315603f21_test_neutreb_VF.mp4

-i agence_quatre_img/"1669476945.png"

-i agence_quatre_img/"1669476908.png"

-i agence_quatre_img/"1669476891.png"

-i agence_quatre_img/"1669476831.png"

-filter_complex

"[1:v]format=rgba,scale=1080:1080,colorchannelmixer=aa=0.01 [logo] ;

[2:v]format=rgba,scale=1080:1080,colorchannelmixer=aa=0.01 [logo2] ;

[3:v]format=rgba,scale=1080:1080 ,colorchannelmixer=aa=0.01[logo3] ;

[4:v]format=rgba,scale=1080:1080 ,colorchannelmixer=aa=0.01[logo4] ;

[0:v][logo]overlay=(W-w)/2 :(H-h)/2:enable='between(t,0,6)':format=auto,format=yuv420p [f0] ;

[f0][logo2]overlay=(W-w)/2 :(H-h)/2:enable='between(t,6,8)':format=auto,format=yuv420p [f1] ;

[f1][logo3]overlay=(W-w)/2 :(H-h)/2:enable='between(t,8,10)':format=auto,format=yuv420p [f2] ;

[f2][logo4]overlay=(W-w)/2 :(H-h)/2:enable='between(t,10,"13")' [out]"

-map "[out]" agence_quatre_img/"19"_.mov



-
Using FFmpeg, How to convert an frame image sequence to video(video codec : dvvideo) ?
25 mai 2022, par rupingI'm working on an image processing project.


The project proceeds as follows :


Input Video -> frame Sequence -> (Processing) -> Output Video


I want to create the output video with the same specifications as the input video.


The specs of the input video we use are :


- Size : 1280x1080, Codec : dvvideo, pixel_fmt : yuv422



But I am struggling with the following error :


Duration: 00:00:03.20, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: png, rgb24(pc), 1280x1080 [SAR 3:2 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (png (native) -> dvvideo (native))
Press [q] to stop, [?] for help
[dvvideo @ 0x55b965b745c0] DVCPRO HD encoding is not supported.
[dvvideo @ 0x55b965451780] ff_frame_thread_encoder_init failed
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!



The code is below. (subprocess in python)


ffmpeg -y -f image2 -r "{fps}" -i {input_img_root} -s 1280:1080 -b:v {bit_rate} -vcodec dvvideo -pix_fmt yuv422p "{output}"



(fps and bitrate are taken from the input video. and input_img_root and output are paths.)


I've been trying for several days, but it doesn't work.


If you know any way to make a new video while maintaining the video specifications (Especially dvvideo codec)(not using ffmpeg), it would be nice to share it.


-
Drawtext and overlay video in one round with FFmpeg
11 janvier 2019, par ChiliI have two working solutions (Thanks to the internet and the community !), but I can’t merge them in one pass.
1st the text :
How can I determine the position of the text ? The textdraw working nice, encoding the filename to the video, but the positioning doesn’t work, I change the x,y values in vain.
for i in *.mp4; do ffmpeg -i "$i" \
-c:v libx264 -profile:v main -level:v 3.1 -pix_fmt yuv420p -an \
-filter_complex "[0]split[base][text]; \
[text]drawtext=fontfile=font.ttf: fontsize=50: fontcolor=white: \
shadowcolor=black@0.6: shadowx=4: shadowy=2: \
text='${i%*_v*.*}': \
box=1: boxcolor=a60000@0.4: boxborderw=6: \
x=(w-text_w)/2:y=(h-text_h)/2,format=yuva444p,fade=t=in:st=0:d=1:alpha=1,fade=t=out:st=6:d=1:alpha=1[subtitles]; \
[base][subtitles]overlay" \
-f mp4 -y "${i%.*}.mp4";
done
2nd text with overlay. I have one trasnparent overlay video file and try to use it with text file, the order is the next ;
- On top - the text (from the 1st problem)
- Between the source and text overlay video
- Bottom - source video
If I try to encode overlay with the source video, it working good.
ffmpeg -i sourcefile.mp4 -i overlayvideo.mov \
-filter_complex "[0:v]setpts=PTS-STARTPTS[v0];[1:v]setpts=PTS-STARTPTS[v1];[v0][v1]overlay=eof_action=pass[out1]" \
-map [out1] \
-f mp4 -y output.mp4How can I use it with a previous text command in one pass ? I want to use it in batch script file on macOS.
Thank you for your ideas and advice.