
Recherche avancée
Autres articles (34)
-
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (4979)
-
Converting any video to iPhone - transcoding logic/algorithm ?
28 septembre 2012, par cajwineI have many-many video files in different formats (mostly avi). For example, some relevant lines from
ffprobe
:Duration: 02:27:14.70, start: 0.000000, bitrate: 664 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 608x256 [PAR 1:1 DAR 19:8], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
Duration: 00:20:51.84, start: 0.000000, bitrate: 3286 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Duration: 01:26:01.84, start: 0.000000, bitrate: 845 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 704x544 [PAR 1:1 DAR 22:17], 25 fps, 25 tbr, 25 tbn, 30k tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
Duration: 01:42:25.68, start: 0.000000, bitrate: 952 kb/s
Stream #0.0: Video: h264 (High), yuv420p, 600x244 [PAR 1:1 DAR 150:61], 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 112 kb/sAs you can see, the bitrates, video-sizes, codecs are vary. Want write a script (bash, perl) what will convert them for iPhone with
ffmpeg
.With googling i found many different ffmpeg profiles, but all profiles are "static", e.g. converts video to same resolution and this is probably not the right way, because i have many different video resolutions with many different bitrates. (this applies for the audio too).
I'm able write the script - but need help with one basic question.
I need help with the algorithm how to calculate the values for
ffmpeg
arguments from the aboveffprobe
results. E.g. when have video 704x544 and 845kb/s and another video with smaller size 640x480 but 3200kb/s bitrate - how to calculate the "right values" forffmpeg
in the script ?What is right algorithm/logic for transcoding video for the desired device ? (in my case iPhone)
If someone care, I have ffmpeg recompiled with "nonfree" codecs, and have mencoder (from mplayer package) too.
Second : In the avi containers are many videos already in the mpeg4 format. How to determine the "fastest" converting profile ? Mean a profile, where
ffmpeg
will only do the less-possible calculations, so probably will leave as-is : the format mpeg4, the size, the bitrate and "only" will change the container format. Is this possible ?I was read many
ffmpeg
SO questions, but not find answers - maybe I missed something. Can somebody point me to some good documents ? -
how to play H264 mpegts in iphone
26 décembre 2012, par jAckOdEMy server encode video files (h264/acc, mpegts based format) by ffmpeg, and send to a client in a iPhonse. The default mediaplayer of ios sdk can not play those videos. How to play H264/mpegts in Ios ? Is there any opensource player for ios that can play h264/mpeg-ts file.
Thanks.
-
video playing sample on iPhone using libffmpeg
6 mai 2014, par deimuscan someone please provide a reference or an example on usage of libffmpeg library for playing video files not supported by apple.
Let consider mkv file.
I suppose the library decodes and passes the raw media data to AVFoundation objects to play it on device. Am I right ?