
Advanced search
Other articles (17)
-
Publier sur MédiaSpip
13 June 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Configuration spécifique pour PHP5
4 February 2011, byPHP5 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 (...) -
La sauvegarde automatique de canaux SPIP
1 April 2010, byDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
On other websites (6130)
-
Converting any video to iPhone - transcoding logic/algorithm?
28 September 2012, by 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 December 2012, by 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 May 2014, by 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 ?