
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (59)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6844)
-
FFmpeg works on command line but not working on PHP script [on hold]
6 août 2014, par burakcakirelHere is the screenshot to compare the results of command line output and PHP script output.
http://screencast.com/t/e8Cdmr6aQ
It works when ffmpeg command runs on command line, but it doesn’t work when using
exec()
command in php script. Any solution ?Also, the following screenshot shows that all about ffmpeg on the server :
http://screencast.com/t/N9TnOORJkx
I’ve tried
/opt/mct/bin/ffmpeg and /usr/local/bin/ffmpeg.
Nothing works on php script.safe_mode => OFF
FFmpeg paths => 755EDIT : FFmpeg command already exists in the screenshot. Anyway here are the commands which none of them don’t work :
/root/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1
/opt/mct/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1
/usr/local/bin/ffmpeg -y -i Intro1.mp4 -strict -2 -s 640x480 Intro1_mp4.mp4 2>&1 -
file.mov : No such file or directory (Converting .mov to mp4)
10 août 2014, par DenaI am trying to convert .mov files over to mp4 using ffmpeg however, I keep getting the error below within my terminal. Any ideas why ? I am new to rails so any help is appreciated. Thanks.
Error
Denas-MacBook-Pro:desktop Dena$ ffmpeg -i file.mov newfile.mp4
**ffmpeg version 2.3.1** Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 7 2014 16:08:43 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
file.mov: No such file or directoryPath
Denas-MacBook-Pro:desktop Dena$ which ffmpeg
/usr/local/bin/ffmpegVersion
Denas-MacBook-Pro:desktop Dena$ ffmpeg -version
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 7 2014 16:08:43 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100 -
ffmpeg adding 6 secs of black frames in the beginning of a file
7 août 2014, par user3842039Trying to convert a .mov file (h264 and pcm) generated in Mpegstreamclip (MacOS) and the result is strangely out of sync with around 6 seconds of black frames at the beginning. I have tried many differente audio and video codec and the result is the same even with a -vcodec copy and -acodec copy. Below the return of ffmpeg (git version compiled today - 06/08/2014) :
ffmpeg -i /media/dados/x/PGM-970.mov -vcodec copy -acodec copy /media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov
ffmpeg version 2.3.git-1ace957 Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 26 2014 20:25:06 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 49.100 / 55. 49.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ddac20] multiple edit list entries, a/v desync might occur, patch welcome
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ddac20] Concatenated H.264 or H.265 might not play correctly.
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/dados/x/PGM-970.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-08-01 16:50:24
Duration: 00:24:56.30, start: 0.000000, bitrate: 8350 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte1File '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov' already exists. Overwrite ? [y/N] y
70m), 720x480, 5258 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
encoder : H.264
timecode : 01:00:00;00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-08-01 16:50:24
File '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov' already exists. Overwrite ? [y/N] yhandler_name : Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
Stream #0:5(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2014-08-01 16:51:16
handler_name : Apple Alias Data Handler
timecode : 01:00:00;00
Output #0, mov, to '/media/dados/convertidos/PGM-970-converted-ffmpeg-compilado.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf55.49.100
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x480, q=2-31, 5258 kb/s, 29.97 fps, 11988 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
encoder : H.264
timecode : 01:00:00;00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 768 kb/s (default)
Metadata:
creation_time : 2014-08-01 16:50:24
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for helpEven ignoring the audio stream with "-an" ffmpeg persists to add the frames and alter the output duration.
Any help is very much appreciated ! thanks in advance