
Recherche avancée
Autres articles (108)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12306)
-
ffmpeg output + issues
3 octobre 2014, par FordI am trying to get ffmpeg to work using PHP, in its most basic format, just as a test before i develop my code further.
However i can not get it to work and get no error messages or indications to what is wrong :-(
i am trying :
echo exec("/usr/bin/ffmpeg -y -i /home/xxxxxx/public_html/videos/1746/0765916.avi /home/xxxxxx/public_html/videos/1746/test.mp4");
this is creating a 0kb file, but nothing else :-(
i get no error message (or anything else !)(i have error_reporting turned ON and nothing is displayed in browser or server logs)
if i add the below to get the codecs available :
echo exec("ffmpeg -formats");
this just outputs "worse."
I do not have access to command line, as i am using a shared hosting server.
I have had the host run the above from command line, and they say it says "codec not found" or words to the effect.
is there any way i can get any error output into my php file so i can see what is happening.
Also how do i go about installing codecs, if this is the problem (the host will install them, but have mentioned they have never installed a codec on a Linux box, so would be grateful if i could point them to any install info too)
Thanks in advance !
EDIT :
after adding in the code that @stewe suggests, this is the output when trying to convert to mp4
(i can convert to to other formats fine )
FFmpeg version SVN-r0.5.10-4:0.5.10-1, Copyright (c) 2000-2009 Fabrice
Bellard, et al. configuration: --extra-version=4:0.5.10-1
--prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 1 / 52.20. 1 libavformat 52.31. 0 /
52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on
Feb 16 2013 10:07:01, gcc: 4.4.5 Input #0, avi, from
'/home/xxxxx/public_html/videos/1746/0765916.avi':
Duration: 00:01:37.56, start: 0.000000, bitrate: 868 kb/s Stream #0.0:
Video: mpeg4, yuv420p, 480x272 [PAR 1:1 DAR 30:17], 25 tbr, 25 tbn, 25
tbc Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s Output
#0, mp4, to '/home/xxxxx/public_html/videos/1746/test.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 480x272 [PAR 1:1 DAR 30:17],
q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: 0x0000, 48000
Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream
#0.1 -> #0.1 [mpeg4 @ 0x9fb7880]removing common factors from framerate Unsupported codec for output stream #0.1If anyone can help as to how to fix this issue, as i would ideally like to convert to mp4
-
Multivariate Testing vs A/B Testing (Quick-Start Guide)
7 mars 2024, par Erin -
What is last click attribution ? A beginner’s guide
10 mars 2024, par Erin