
Recherche avancée
Autres articles (57)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4265)
-
Video streaming with ipCamera in iphone
6 juillet 2013, par user1120998I am developing app for the connecting ip camera and get stream. I don't know how to convert stream into video. I have analysed, and then i tried FFMPEG library. But i did not get correct url for ios with FFMPEG. Can you suggest the guide for implementation.
Now i am integrating ffmpeg, when i integrated i got the error when opening avformat_find_stream_info() function. I used the increase or less the value of pFormatCtx->max_analyze_duration. But no solution for this.
[mjpeg @ 0x8b85000] max_analyze_duration 1000 reached at 40000
[mjpeg @ 0x8b85000] Estimating duration from bitrate, this may be inaccuratePls help how to solve this.
-
FFmpeg with PHP causes Internal Server Error
19 novembre 2015, par Scott HeathI have a PHP script that calls exec() to convert video files using ffmpeg. The script works fine with smaller files, but larger files, usually around 20MB, produce a 500 Internal Server Error after the conversion has run for about 45 seconds.
The max_execution_time is set to 600 seconds (10 minutes) and the max post and upload sizes are set to 1000 MB. The server is Unix based and is not running in safe mode.
Although the issue only happens with larger sizes, I’m not even sure it’s a file size issue. The script will pass with a 12.6MB MOV file but will fail with an 11MB MP4 file.
Below is the exec() line from my script :
exec('ffmpeg -y -i '.escapeshellarg($uploadFile).' -vcodec libx264 -ab 128k -ac 2 -b 640k -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 '.$convertFile);
Thanks !
-
FFmpeg not encoding with libx264 library
29 octobre 2011, par bOkeifusHey people of StackOverflow. I have been having a strange issue that I'm not exactly sure what's going on. I am using FFmpeg to convert any incoming video files to h264 mp4 files using the libx264. This is the log that I get from running this line of code :
ffmpeg -y -i vdoname.flv -acodec libfaac -vcodec libx264 -sameq vid.mp4
This is the log output after running the line :
FFmpeg version SVN-r13428, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-liba52 --enable-liba52bin --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-network --disable-ipv6 --disable-ffserver --disable-ffplay
libavutil version: 49.6.0
libavcodec version: 51.57.0
libavformat version: 52.14.0
libavdevice version: 52.0.0
built on Feb 17 2009 09:01:13, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
Input #0, flv, from '/html/video/937.flv':
Duration: 00:00:10.08, start: 0.000000, bitrate: 48 kb/s
Stream #0.0: Video: flv, yuv420p, 720x480, 49.92 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 48 kb/s
Output #0, h264, to '/html/flvideo/new_937.mp4':
Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, 200 kb/s, 49.92 tb(c)
Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[libx264 @ 0x11d58b0]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
Press [q] to stop encodingCan someone please help me out and tell me what to do to get this to work ? I guessed that the libx264 external library is not installed but it doesn't exactly say that in the log file and it looks as if it does find it but then doesn't actually encode the video.
Any and all help is greatly appreciated.