
Recherche avancée
Autres articles (70)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (8037)
-
Android FFMPEG + SDL2 Full screen issue (Video)
15 janvier 2018, par byungkyuI make video player, use ffmpeg, SDL2.
when I compile ffmpeg, I add —disable-filters, and I scale video using SDL.VideoPicture *vp;
vp = &is->pictq[is->pictq_windex];
Uint32 flags(SDL_GetWindowFlags(vp->screen));
flags ^= SDL_WINDOW_FULLSCREEN_DESKTOP;
SDL_SetWindowFullscreen(vp->screen, flags);
int w = 640, h = 480; // TODO: UPDATE ME! ;)
if ((flags & SDL_WINDOW_FULLSCREEN_DESKTOP) != 0)
{
LOGI("toggleFullscreen 1189");
SDL_SetHint(SDL_HINT_RENDER_LOGICAL_SIZE_MODE, "overscan");
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
SDL_RenderSetLogicalSize(vp->renderer, w, h);
}
else
{
LOGI("toggleFullscreen 1195");
SDL_SetWindowSize(vp->screen, w, h);
}but this code show black bar, upper side and down side.
how to make full screen, no black, and expand video height ? -
Make a video file with the song cover for each song in a folder [closed]
19 novembre 2024, par Nathan KaufmannI have a folder full of wav audio files, and I would want, using ffmpeg in a batch file, to output as many video files as there is songs, with a still image of the cover, with the highest possible audio quality as permitted by ffmpeg. Additionally I would want the metadata (title, artist, album and year) to be copied to the corresponding video file.


For now I have the command :

ffmpeg -f lavfi -i color=c=black:s=640x480 -i song.wav -c:v libx264 -tune stillimage -pix_fmt yuv420p -shortest -c:a aac -ar 96000 -b:a -metadata title="My title" 1000000000k output.mp4


But it only makes a black video with the song, with the highest quality sound I could set, and it changes the title but I couldn't find how to change it to the song's title. Also for now I don't know how to automate it for a whole folder.


-
ffmpeg text overlay both ${frame_num} and :timecode values ?
2 novembre 2022, par WhomeText overlay does not work if
framenum 1..n
andtimecode hh:mm:ss:frame
attributes are used together, how do overlay both running values ?

Does not work, only timecode is incrementing and framenum is a as a text:
ffmpeg.exe -hide_banner -nostats ^
 -i "video_25fps.mp4" -threads 4 -preset fast ^
 -c:v libx264 -profile:v main -level 4.0 -s:v 640x360 -b:v 512k -pix_fmt yuv420p ^
 -refs 3 -bf 3 -g 50 -keyint_min 25 -b_strategy 1 -flags +cgop -sc_threshold 0 ^
 -movflags "negative_cts_offsets+faststart" ^
 -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ frame\: %{frame_num}\ ':start_number=1:timecode=00\\:00\\:00\\:00:rate=25" ^
 -an -sn -t 30 -y output.mp4

Works if framenum only:
 -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ frame\: %{frame_num}':start_number=1"

Works if timecode only:
 -vf "drawtext=fontfile=/fonts/Roboto-Regular.ttf:fontcolor=White:fontsize=38:box=1:boxcolor=black:x=(w-text_w)/2:y=text_h-line_h+60:text='H264\ 640x360\ 512k\ ':timecode='00\:00\:00\:00':rate=25"