
Recherche avancée
Autres articles (50)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4044)
-
ffmpeg Video on top on other video
15 mai 2022, par HarinderI am trying to add a video on top of another video. Code tried :


ffmpeg -i 10sec.mp4 -i 1.mp4 \
 -filter_complex "overlay=main_w-overlay_w-5:5" \
 -codec:a copy output2.mp4



if overtake old video as both video sizes are the same I don't know how to scale 2nd video down.


-
ffmpeg transcoding one input video stream and multiple output video streams in the same file
28 janvier 2020, par user2165262I am trying to transcode a single video file with 1 video stream and several audio streams to the file having same video stream in different bitrates/sizes with correct padding at the same time.
the command I use is :
ffmpeg -y -ss 600 -t 600 -i "INPUT.mkv" -map_chapters -1 -map 0:0 -c:v libx264 -keyint_min 48 -g 96 -bufsize 350k -b:v 350k -minrate 300k -maxrate 400k -profile:v baseline -level 3.0 -preset slow -vf "scale=iw*min(480/iw\,272/ih):ih*min(480/iw\,272/ih),pad=480:272 :(480-iw)/2 :(272-ih)/2" -map 0:0 -c:v libx264 -keyint_min 48 -g 96 -bufsize 650k -b:v 650k -minrate 500k -maxrate 800k -profile:v baseline -level 3.1 -preset slow -vf "scale=iw*min(640/iw\,360/ih):ih*min(640/iw\,360/ih),pad=640:360 :(640-iw)/2 :(360-ih)/2" -map 0:1 -c:a libfaac -b:a 32k -ar 44100 -f mpegts OUTPUT.m2ts
ffmpeg creates two video streams, however the bitrate and resolution for all of them are taken from the last video arguments - i.e. both streams are 640x360 :
Output #0, mpegts, to ’OUTPUT.m2ts’ : Stream #0:0(eng) : Video : h264, yuv420p, 640x360 [SAR 559:560 DAR 559:315], q=-1—1, 650 kb/s, Stream #0:1(eng) : Video : h264, yuv420p, 640x360 [SAR 559:560 DAR 559:315], q=-1—1, 650 kb/s, 90k tbn, 23.98 tbc (default) Stream #0:2(rus) : Audio : aac, 44100 Hz, 5.1, s16, 32 kb/s (default) Stream mapping : Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:0 -> #0:1 (h264 -> libx264) Stream #0:1 -> #0:2 (aac -> libfaac) Press [q] to stop, [?] for help
Is it practically possible to make transcoding to several bitrates to the same file ?
-
How to get better video quality using Accord.Video.FFMPEG.DLL
31 juillet 2023, par HighwayRobI have developed a Visual Studio Winapp that produces a video file utilizing Accord.Video.FFMPEG.DLL.


The quality the video is less than the original images.
Here is the code and then a sample original image and snapshot of the resulting video.


What can I change to improve the video image ?


VideoFileWriter writer = new VideoFileWriter();
 writer.Open(outfile, width, height, 1, VideoCodec.Mpeg4);
 for (int i = firstrow; i <= testframes; i++)
 {
 Bitmap bitmap = new Bitmap(ffiles[i, 0].ToString());
 writer.WriteVideoFrame(bitmap);
 bitmap.Dispose();
 }



I tried Bitmap image = new Bitmap(width, height, PixelFormat.Format64bppArgb) ;