
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (71)
-
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (8578)
-
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
-
Screen Recording issue using FFMPEG in Android
12 décembre 2014, par flightWe are trying to record Android screen using the below commands.
ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 320x480 -i /dev/graphics/fb0 /sdcard/output.mp4
And
ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 320x480 -f fbdev /sdcard/output.mp4
The Logcat output is given below :
12-12 10:52:04.722: I/ffmpeg4android(27954): ===============Running command from thread path: /sdcard/videokit
12-12 10:52:04.722: I/ffmpeg4android(27954): =======ProgressBackgroundRemote doInBackground=========
12-12 10:52:04.722: I/ffmpeg4android(27954): videokitLibPath: /data/data/com.unscriptd.videoapp/lib/libvideokit.so
12-12 10:52:04.722: I/ffmpeg4android(27954): ffmpeg4android_isComplex: true
12-12 10:52:04.732: I/Videokit(27954): dlopen libvideokit from path: /data/data/com.unscriptd.videoapp/lib/libvideokit.so
12-12 10:52:04.762: W/linker(27954): libvideokit.so has text relocations. This is wasting memory and is a security risk. Please fix.
12-12 10:52:04.892: I/GAV2(27800): Thread[GAThread,5,main]: No campaign data found.
12-12 10:52:04.912: I/Videokit(27954): libvideokit.so loaded
12-12 10:52:04.912: I/Videokit(27954): args is not NULL
12-12 10:52:04.912: I/Videokit(27954): more then one arg
12-12 10:52:04.912: I/Videokit(27954): function symbol found
12-12 10:52:04.912: D/Videokit(27954): Calling videokit run via loader
12-12 10:52:04.912: I/Videokit(27954): vk ffmpeg sdcardPath: /sdcard/videokit
12-12 10:52:04.912: D/Videokit(27954): call licenseCheckComplex
12-12 10:52:04.912: I/Videokit(27954): licenseCheck in path: /sdcard/videokit
12-12 10:52:04.912: I/Videokit(27954): isLicExistsComplex...
12-12 10:52:04.912: I/Videokit(27954): trying to open /sdcard/videokit/ffmpeglicense.lic
12-12 10:52:04.912: I/Videokit(27954): license file found...
12-12 10:52:04.912: I/Videokit(27954): Permanent license validated.
12-12 10:52:04.912: D/Videokit(27954): license check rc: 1
12-12 10:52:04.912: D/Videokit(27954): run() called
12-12 10:52:05.062: D/Videokit(27954): videokit call finished, calling dlclose
12-12 10:52:05.062: I/ffmpeg4android(27954): RemoteService: FFMPEG finished.
12-12 10:52:05.062: I/ffmpeg4android(27954): RemoteService: removing notification.
12-12 10:52:05.062: I/ffmpeg4android(27954): Cancel notification: 5326
12-12 10:52:08.822: D/ffmpeg4android(27873): dur: null
12-12 10:52:08.822: I/ffmpeg4android(27873): dur is not good, not setting
12-12 10:52:08.822: I/ffmpeg4android(27873): _durationOfCurrentWaitIndex is equal to: 6 reseting.
12-12 10:52:08.822: I/ffmpeg4android(27873): setting fake Prefs.durationOfCurrent
12-12 10:52:08.822: W/ffmpeg4android(27873): setting fake Prefs.durationOfCurrent (Cant get from file): 00:03:00.00
12-12 10:52:08.822: W/ffmpeg4android(27873): /sdcard/videokit/ffmpeg4android.log: open failed: ENOENT (No such file or directory)
12-12 10:52:08.822: I/ffmpeg4android(27873): ==== getting currentVkLogSize from FFmpeg4Android log
12-12 10:52:08.822: W/ffmpeg4android(27873): Looks like Vk log is not increasing in size
12-12 10:52:08.822: I/ffmpeg4android(27873): No ffmpeg4android_log file, using vk log
12-12 10:52:08.822: I/line(27873): eg_parse_options
12-12 10:52:08.822: I/line(27873): ffmpeg4android: ffmpeg_parse_options not passed
12-12 10:52:08.822: I/line(27873): exit_program: 1
12-12 10:52:08.822: I/line(27873): ffmpeg4android: 1
12-12 10:52:08.822: W/ffmpeg4android(27873): error line: ffmpeg4android: 1
12-12 10:52:08.822: W/ffmpeg4android(27873): Looks like error in the log
12-12 10:52:08.822: D/ffmpeg4android(27873): currentTimeStr: error
12-12 10:52:08.822: D/ffmpeg4android(27873): ============Found error in the log============
12-12 10:52:08.822: I/ffmpeg4android(27873): onProgressUpdate: 100
12-12 10:52:08.822: D/ffmpeg4android(27873): Releasing wake lock
12-12 10:52:08.822: D/ffmpeg4android(27873): TranscodeBackground onPostExecute
12-12 10:52:08.822: D/ffmpeg4android(27954): set transcodingProgress: 100
12-12 10:52:08.832: D/ffmpeg4android(27873): nullnull length in bytes: 0
12-12 10:52:08.832: D/ffmpeg4android(27873): showNotifications
12-12 10:52:08.832: I/ffmpeg4android(27873): ============ Transcoding Failed, caling fexist -
5 Key Benefits of Using a Tag Manager
12 décembre 2021, par erin — Analytics Tips, Marketing