
Recherche avancée
Autres articles (86)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7154)
-
Android and iPhone compatible mp4 format using ffmpeg
23 mai 2015, par Muhammad UmarI have two video files, their metatdata and details are as below
ANDROID
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Duration: 00:00:04.74, start: 0.046440, bitrate: 696 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x480, 665 kb/s, 15 fps, 15 tbr, 15360 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
IPHONE
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
creation_time : 2015-05-23 05:59:42
Duration: 00:00:02.10, start: 0.000000, bitrate: 1109 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709), 320x320, 1053 kb/s, 24.19 fps, 30 tbr, 30 tbn, 60 tbc (default)
Metadata:
creation_time : 2015-05-23 05:59:42
handler_name : Core Media Video
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 61 kb/s (default)
Metadata:
creation_time : 2015-05-23 05:59:42
handler_name : Core Media AudioThe iPhone version is NOT running in android VideoView. Which settings should i change to make it compatible with Android VideoView
-
Unable to upload video from iPhone with paperclip-ffmpeg in Ruby on Rails
13 mai 2015, par sankWhen I upload a video from an iPhone, I’m getting the following error :
Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
[paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
(0.6ms) ROLLBACK
Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)(This works perfectly when I upload the same video from desktop.)
I used gems
"paperclip", "~> 4.1"
and"paperclip-ffmpeg"
.In my video model :
validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/
also tried out
validates_attachment_content_type :student_video, :content_type => ['video/x-
# msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
# wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
# flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']But I’m getting the same error.
-
FFMPEG : Videos converted from FLV to MP4 does not play in iPod but works in iPhone
22 juin, par Shakti SinghI used below command to convert videos from FLV,M4V to MP4.




ffmpeg -y -i video_1336406262.flv -vcodec libx264 -vpre slow -vpre
ipod640 -b 250k -bt 50k -acodec libfaac -ac 2 -ar 48000 -ab 64k -s
480x320 video_1336406262.mp4




The videos converted from M4V to MP4 are playing very well in both iPhone and iPod but the videos converted from FLV to MP4 does not work in iPod but does in iPhone.


In the video area of HTML5 page iPod even does not show the play symbol.


I am using the same command to convert from both FLV and M4V to MP4.