
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (66)
-
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 (11570)
-
PHP ffmpeg conversion error
6 mars 2016, par Enn FennI tried to convert some videos with ffmpeg and PHP.
When I execute the following command in PHP exec()
/usr/local/bin/ffmpeg -i /home/test/public_html/test.m4v -vcodec libx264 -acodec libmp3lame -r 30 -s 640x480 -b 100k /home/test/public_html/output_640x480_test.m4v
Output :
/usr/local/bin/ffmpeg: line 4: /var/log/ffmpeg.log: Permission denied
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 18 2012 05:19:10 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libtheora
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 1 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 10.00 (10/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/test/public_html/test.m4v':
Metadata:
major_brand : M4VP
minor_version : 1
compatible_brands: M4VPM4V M4A mp42isom
creation_time : 2013-03-14 10:08:25
encoder : Mac OS X v10.7.4 (CMA 891, CM 705.78, x86_64)
date : 2013-03-10T14:05:41+1100
Duration: 00:00:02.30, start: 0.000000, bitrate: 245 kb/s
Stream #0.0(und): Audio: aac, 32000 Hz, 2 channels (FC), s16, 31 kb/s
Metadata:
creation_time : 2013-03-14 10:08:25
Stream #0.1(und): Video: h264, yuv420p, 400x226 [PAR 1:1 DAR 200:113], 216 kb/s, 10.35 fps, 10 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2013-03-14 10:08:25
[buffer @ 0xf6093c0] w:400 h:226 pixfmt:yuv420p
[scale @ 0xf609790] w:400 h:226 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0xa0000004
[libx264 @ 0xf605cd0] broken ffmpeg default settings detected
[libx264 @ 0xf605cd0] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0xf605cd0] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0xf605cd0] speed presets are listed in x264 --help
[libx264 @ 0xf605cd0] profile is optional; x264 defaults to high
Output #0, ipod, to '/home/test/public_html/output_640x480_test.m4v':
Stream #0.0(und): Video: libx264, yuv420p, 640x480 [PAR 150:113 DAR 200:113], q=2-31, 800 kb/s, 90k tbn, 10 tbc
Metadata:
creation_time : 2013-03-14 10:08:25
Stream #0.1(und): Audio: libmp3lame, 32000 Hz, 2 channels, s16, 64 kb/s
Metadata:
creation_time : 2013-03-14 10:08:25
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
</profile></speed>The same conversion is working fine in another server. But not in our current server. What should I do to get rid of this error ?
-
After converting FLV to MP4 format using ffmpeg the MP4 file has 0 bytes [closed]
28 mars 2013, par user2138489Using
ffmpeg
I converted an FLV file to an MP4 file. But the MP4 file has 0 bytes. The command which i used to convert isffmpeg -i sample.flv -b 1104k -ab 122k sample.mp4
This is the output I got for the above ffmpeg command :
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jan 24 2013 18:01:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[flv @ 0x64f7a0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '/home/kirthiga/Desktop/videopine/test.flv':
Metadata:
creationdate : Thu Mar 28 12:46:29
Duration: 00:00:09.82, start: 0.000000, bitrate: N/A
Stream #0.0: Video: flv, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: nellymoser, 22050 Hz, mono, s16
[buffer @ 0x64f720] w:320 h:240 pixfmt:yuv420p
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it. -
ffmpeg set buf_len
2 avril 2013, par Jeetendra_Nath_JhaI have been taken input from the device file
/dev/video49
.using ffmpeg, following command writing from the terminal :
ffmpeg -f video4linux2 -i /dev/video49 -target ntsc-vcd -s 1920x1080 pixfmt:yuv420p -vstats -bufsize 225k -an -f mpegts -vcodec mpeg4 udp://127.0.0.1:10000?pkt_size=1316
but it gives an error given below :
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 20 2013 15:06:14 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration:
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
[video4linux2,v4l2 @ 0x95862a0] buf_len[0] = 1048576 < expected frame size 3110400
/dev/video49: Cannot allocate memoryI don't know how to set the buf_len here...
because in an error it says that the buf_len is need to be set.