
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (111)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
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) (...)
Sur d’autres sites (11307)
-
ffmpeg , copy 1st video "codec info" into 2nd video (change 2nd video codec)
12 juillet 2016, par TomerI’m having 2 videos.
1st video is the master, it’s codec info needs to be encoded on the 2nd video.
Means, 2nd video codec will be same as the 1st one.I’m having 15 "1st videos" for "Master" codec info and one file that needs to be converted to the various codecs that each file contain.
Folder contains those files "1st video" :
2CIF.h264 , 4CIF.h264 , 5MP.h264 , CIF.H264 , CUSTOM.h264 , CUSTOM2.h264 ,
D1.h264 , HD1080.h264 , HD720.h264 , QVGA.h264 , QXGA.h264 , S5020_HD720_15FPS_1Min.mp4 ,
SVGA.h264 , UXGA.h264 , VGA.h264and the "2nd video" that needs to be converted is : TOM.MP4
An output of HD720.h264 for example is :
Input #0, h264, from 'HD720.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbcAn output of TOM.MP4 is :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TOM.mp4':
Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x
720, 14013 kb/s, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)what will be the right way to convert those files ?
I need to verify those settings ( got them through MediaInfo )
-
How to get video format from video URL (Any type, not just AVPlayer compatible)
18 novembre 2022, par Bruno PantaleãoI want to get the format from a video URL (mp4, m3u8, mpeg etc...) to decided which player to use in my app (AVPlayer or third party).


One option is to check if AVAsset(...).isPlayable, Im using this right now, but I want to improve my logic for when the AVPlayer can't be used.


When I can't use AVPlayer then I encode the video using ffmpeg, if I could have the format of the video (and maybe even more information) I could improve the encode done by ffmpeg.


-
Creating mpd files of multiple video resolutions for a video streaming platform
19 novembre 2022, par WebDivaI am creating a video streaming platform. Users can upload videos and multiple resolutions of that video are created during upload. Finally an mpd file is generated using these resolutions. I want to find the most quick and efficient way to do this. Currently, I am using ffmpeg and MP4box for the task.


After hours of research, this is what I am doing currently :


- 

- Strip the audio from video using ffmpeg :




ffmpeg -i video.mp4 -c:a aac -ac 2 -ab 128k -vn video-audio.mp4



- 

- Create multiple resolutions of the vide using ffmpeg :




ffmpeg -i video.mp4 -an -c:v libx264 -x264opts keyint=33:min-keyint=33:no-scenecut -b:v 5300k -maxrate 5300k -bufsize 2650k -vf scale=trunc1080:(oh*a/2)*1 video-1080.mp4

ffmpeg -i video.mp4 -an -c:v libx264 -x264opts keyint=33:min-keyint=33:no-scenecut -b:v 2400k -maxrate 2400k -bufsize 1200k -vf scale=trunc(oh*a/2)*1:720 video-720.mp4

ffmpeg -i video.mp4 -an -c:v libx264 -x264opts keyint=33:min-keyint=33:no-scenecut -b:v 1060k -maxrate 1060k -bufsize 530k -vf scale=trunc(oh*a/2)*1:478 video-480.mp4

 ffmpeg -i video.mp4 -an -c:v libx264 -x264opts keyint=33:min-keyint=33:no-scenecut -b:v 600k -maxrate 600k -bufsize 300k -vf scale=trunc(oh*a/2)*1:360 video-360.mp4

ffmpeg -i video.mp4 -an -c:v libx264 -x264opts keyint=33:min-keyint=33:no-scenecut -b:v 260k -maxrate 260k -bufsize 130k -vf scale=trunc(oh*a/2)*1:242 video-240.mp4



- 

- Finally, generate the dash manifest using MP4Box :




MP4Box -dash 1000 -rap -frag-rap -profile onDemand -out video.mpd video-1080.mp4 video-720.mp4 video-480.mp4 video-360.mp4 video-240.mp4 video-audio.mp4



As you can see this is a lot of code and I am not really sure this would work well in production.
So, Is there are a more quick and optimal way of doing exactly the same thing that I am doing right now without this much code ? And will all this be possible just using ffmpeg and not mp4box ? And If multiple users are uploading video at a given time, will these cause any overhead on the server ? Regards.