
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (30)
-
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
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 (2986)
-
FFmpeg - Turn a 1280x720 video into 720x1280 video and add blur
6 janvier 2021, par offishI've searched around and found multiple solutions. I've found one that works well, but the final video ends up being too big which makes the rendering slow.


I'm giving it a 1280x720 video and want it to turn out like shown here with 720x1280 as the resolution.


-lavfi "[0:v]scale=256/81*iw:256/81*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=iw*81/256"



This video ends up being 1280x2274 instead of 720x1280, everything else is fine except the speed and resolution.


-lavfi [0:v]scale=16/9*iw:16/9*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=720:h=1280



This cuts the original video, but ends up being 720x1280, faster than the first solution.


-lavfi "[0:v]scale=256/81*iw:256/81*ih,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=w=iw*81/256,scale=720:1280"



This is the same as the first one, but it gets scaled again. It has the correct resolution, but is way to slow for my liking (only about 3.6 it/s, when I've tried other solutions which fluctuates around 35 it/s).


I guess my scaling is wrong, but I don't understand what I should multiply and divide by, to get the result I'm looking for.


Thanks.


-
FFMPEG - Apple 720p30 Surround MP4 H.264 AAC stereo ; Dolby Digital
10 décembre 2020, par Dean Van Greuneni would like the FFmpeg cli settings which will match this (this is a handbrake preset)




Here is the presetting file, I dont understand what these would be for ffmpeg.


{
 "AlignAVStart": false,
 "AudioCopyMask": [
 "copy:aac",
 "copy:ac3",
 "copy:dtshd",
 "copy:dts",
 "copy:mp3",
 "copy:truehd",
 "copy:flac",
 "copy:eac3"
 ],
 "AudioEncoderFallback": "ac3",
 "AudioLanguageList": [],
 "AudioList": [
 {
 "AudioBitrate": 160,
 "AudioCompressionLevel": 0.0,
 "AudioDitherMethod": null,
 "AudioEncoder": "av_aac",
 "AudioMixdown": "stereo",
 "AudioNormalizeMixLevel": false,
 "AudioSamplerate": "auto",
 "AudioTrackQualityEnable": false,
 "AudioTrackQuality": -1.0,
 "AudioTrackGainSlider": 0.0,
 "AudioTrackDRCSlider": 0.0
 },
 {
 "AudioBitrate": 640,
 "AudioCompressionLevel": 0.0,
 "AudioDitherMethod": null,
 "AudioEncoder": "copy:ac3",
 "AudioMixdown": "none",
 "AudioNormalizeMixLevel": false,
 "AudioSamplerate": "auto",
 "AudioTrackQualityEnable": false,
 "AudioTrackQuality": -1.0,
 "AudioTrackGainSlider": 0.0,
 "AudioTrackDRCSlider": 0.0
 }
 ],
 "AudioSecondaryEncoderMode": true,
 "AudioTrackSelectionBehavior": "first",
 "ChapterMarkers": true,
 "ChildrenArray": [],
 "Default": false,
 "FileFormat": "av_mp4",
 "Folder": false,
 "FolderOpen": false,
 "Mp4HttpOptimize": false,
 "Mp4iPodCompatible": false,
 "PictureAutoCrop": true,
 "PictureBottomCrop": 0,
 "PictureLeftCrop": 0,
 "PictureRightCrop": 0,
 "PictureTopCrop": 0,
 "PictureDARWidth": 0,
 "PictureDeblockPreset": "off",
 "PictureDeblockTune": "medium",
 "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
 "PictureDeinterlaceFilter": "decomb",
 "PictureCombDetectPreset": "default",
 "PictureCombDetectCustom": "",
 "PictureDeinterlacePreset": "default",
 "PictureDeinterlaceCustom": "",
 "PictureDenoiseCustom": "",
 "PictureDenoiseFilter": "off",
 "PictureDenoisePreset": "light",
 "PictureDenoiseTune": "none",
 "PictureSharpenCustom": "",
 "PictureSharpenFilter": "off",
 "PictureSharpenPreset": "medium",
 "PictureSharpenTune": "none",
 "PictureDetelecine": "off",
 "PictureDetelecineCustom": "",
 "PictureItuPAR": false,
 "PictureKeepRatio": true,
 "PictureLooseCrop": false,
 "PictureModulus": 2,
 "PicturePAR": "auto",
 "PicturePARWidth": 0,
 "PicturePARHeight": 0,
 "PictureRotate": null,
 "PictureWidth": 1280,
 "PictureHeight": 720,
 "PictureForceHeight": 0,
 "PictureForceWidth": 0,
 "PresetDescription": "H.264 video (up to 720p30), AAC stereo audio, and Dolby Digital (AC-3) surround audio, in an MP4 container. Compatible with Apple iPhone 4, 4S, and later; iPod touch 4th, 5th Generation and later; iPad 1st Generation, iPad 2, and later; Apple TV 2nd Generation and later.",
 "PresetName": "Apple 720p30 Surround",
 "Type": 0,
 "UsesPictureFilters": true,
 "UsesPictureSettings": 1,
 "SubtitleAddCC": false,
 "SubtitleAddForeignAudioSearch": true,
 "SubtitleAddForeignAudioSubtitle": false,
 "SubtitleBurnBehavior": "foreign",
 "SubtitleBurnBDSub": false,
 "SubtitleBurnDVDSub": false,
 "SubtitleLanguageList": [],
 "SubtitleTrackSelectionBehavior": "none",
 "VideoAvgBitrate": 3000,
 "VideoColorMatrixCode": 0,
 "VideoEncoder": "x264",
 "VideoFramerate": "30",
 "VideoFramerateMode": "pfr",
 "VideoGrayScale": false,
 "VideoScaler": "swscale",
 "VideoPreset": "medium",
 "VideoTune": "",
 "VideoProfile": "high",
 "VideoLevel": "3.1",
 "VideoOptionExtra": "",
 "VideoQualityType": 2,
 "VideoQualitySlider": 21.0,
 "VideoQSVDecode": false,
 "VideoQSVAsyncDepth": 4,
 "VideoTwoPass": true,
 "VideoTurboTwoPass": false,
 "x264Option": null,
 "x264UseAdvancedOptions": false
 },



-
convert multivideos from 1080p to 720p and add watermarks with subtitles ?
20 novembre 2020, par shady melad0


i will ask again i have many videos like series (dark - la casa de papel - game of thrones ) all of them without any subtitle or watermark first i burn subtitles with handbrake sec i use ffmpeg to burn watermark with videos by this code


for %i in ("C :\Users\shady\Downloads\convert\01*.mp4") do ffmpeg -i "%i" -i C :\Users\fady\Downloads\convert\shady.png -filter_complex "overlay=main_w-overlay_w-10:10" -codec:a copy "C :\Users\shady\Downloads\convert\new01% ni.mp4"


then i convert it to 720p with this code


for %i in (C :\Users\shady\Downloads\convert\01*.mp4) do ffmpeg -i "%i" -c:a copy -s hd720 "C :\Users\shady\Downloads\convert\new01% ni.mp4"


my question now if i want to burn subtitle for series dark all seasons with my watermark and the final file get out with 720p with subtitle with watermark on top at right


can i do that ?


watermark png subtitle srt movies come with mkv not mp4 ( i want the final file come with mp4 )