
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (74)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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 ;
-
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 (8568)
-
installing and using ffmpeg-php in my wamp apache
6 mars 2016, par sonam Sharmahey there i am developing a video sharing site and i need to change the video format and get its thumbnail etc i know this can be done by ffmpeg-php library.
but i have never used any php lib before .
i have successfully installed ffmpeg to my system (laptop) i can check it by typing library ffmpeg -version to my comand prompt it says something like thisMicrosoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>ffmpeg -version
ffmpeg version N-73818-g9ebe041 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads -- enable-avis
ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable
-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --en
able-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-lib
ilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable
-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enab
le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enabl
e-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc -
-enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enabl
e-decklink --enable-zlib
libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 49.101 / 56. 49.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 25.100 / 5. 25.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100but i am having problem with accessing the library by my php code i think i have’t installed it to my php module
here is what my wamp shows me
Server Configuration
Apache Version :
2.4.9 - Documentation
PHP Version :
5.5.12 - Documentation
Server Software:
Apache/2.4.9 (Win64) PHP/5.5.12
Loaded Extensions :
apache2handlerbcmathbz2calendarcom_dotnetCorectypecurlda
tedomeregexiffileinfofil[![enter image description here][1]][1]terftpgdgettextgmphashiconvimapjsonlib
xmlmbstringmcryptmhashmysqlmysqlimysqlndod
bcopensslpcrePDOpdo_mysqlpdo_sqlitePharReflectio
nsessionshmopSimpleXMLsoapsocket sSPLsqlite3standardtokenizerwddxxdebugxmlxmlreaderxmlrpcxmlwriterxslzipzlib
MySQL Version :
5.6.17 - Documentationif possible please tell me the next step so that i can access the ffmpeg lib from my php code .
a little help is also appreciated.
1.please tell me any link availabe to get the ffmpeg-php module and how to installl it
2.how to access the module/lib from my code justa small code example.THANK YOU.
-
Node.js ffmetadata incorrect codec parameters
21 juillet 2015, par Ahmed HamdyI’m making a song downloader app in Node.js. I managed to get everything to work, the app downloads the song and downloads its artwork (image). So I have the mp3 file and jpg file. The only problem is attaching the jpg file to the mp3 file.
I’m using the ffmetadata node.js module. I downloaded and installed its dependency "ffmpeg" cli.
Now when I try to write the metadata to the mp3 file and attach the artwork it spits this error :
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
My code :
ffmetadata.write('test.mp3', {}, {attachments: ['test.jpg']}, function(err) {
if (err) console.error(err);
});The error :
[Error: ffmpeg version N-73872-g6b96c70 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 50.101 / 56. 50.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 25.100 / 5. 25.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'songs/Irresistible - Fall Out Boy (Lyrics).mp3':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
creation_time : 2015-04-03 10:45:25
Duration: 00:03:26.94, start: 0.000000, bitrate: 128 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2015-04-03 10:45:25
handler_name : SoundHandler
Input #1, image2, from 'songs/albumart/Irresistible - Fall Out Boy (Lyrics).jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 24578 kb/s
Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 640x640 [SAR 300:300 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
[mp3 @ 0000000004865d80] Invalid audio stream. Exactly one MP3 audio stream is required.
Output #0, mp3, to 'songs\Irresistible - Fall Out Boy (Lyrics).ffmetadata.mp3':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
dryRun : true
encoder : Lavf56.40.101
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 125 kb/s (default)
Metadata:
creation_time : 2015-04-03 10:45:25
handler_name : SoundHandler
Stream #0:1: Video: mjpeg, yuvj444p, 640x640 [SAR 300:300 DAR 1:1], q=2-31, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
] -
Transcoding video using ffmpeg from the internet or over http
19 juillet 2015, par RobinI have a project for transcoding videos. Right now I am passing the absolute path of the video as the input variable, as such :
inputfile = str(MEDIA_ROOT)+'/'+str(video.original_video)
Here the MEDIA_ROOT is /home/user/code/Project/Viu/static/media
And then
subprocess.call(
'ffmpeg -i '+ inputfile +' -codec:v libx264 -crf 23 -preset faster -codec:a libfdk_aac -vbr 4 \-movflags faststart -vf scale="720:trunc(ow/a/2)*2",format=yuv420p '+ outputfile,
shell=True
)This is ok for now. But I will be keeping those videos on different location from the server, how can I convert videos from that location over the internet or http?
I tried this :
inputfile = 'http://localhost:8000/media/'+str(video.original_video)
But I get this error :
[2015-07-19 13:27:14,933: INFO/MainProcess] Received task: vids.tasks.convert_video[41e36bc6-0d6a-4756-99fb-cb8005a4fbe3]
[2015-07-19 13:27:14,944: INFO/Worker-2] running
ffmpeg version N-73632-g39a04eb Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 47.100 / 56. 47.100
libavformat 56. 40.100 / 56. 40.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 21.100 / 5. 21.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[h264 @ 0x9d46060] AVC: nal size 371788
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -530775991
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1666002647
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1986130888
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -710433401
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -723464079
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 378679291
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1766542096
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -470898291
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -402699497
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 64441658
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1892506351
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1362707160
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1845744002
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -327264949
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -14647022
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 332446592
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -673972274
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 2091272674
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1219100086
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1117890504
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1221891828
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1674360084
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size 1114909540
[h264 @ 0x9d46060] no frame!
[h264 @ 0x9d46060] AVC: nal size -1619615275
[h264 @ 0x9d46060] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9d43be0] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9d43be0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(bt470bg/bt709/bt709), 1920x1080, 43842 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://localhost:8000/media/uploaded_files/1437312433_3_test1.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2014-07-25 22:11:02
Duration: 00:00:48.68, start: 0.000000, bitrate: 8611 kb/s
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), none(bt470bg/bt709/bt709), 1920x1080, 43842 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
Metadata:
creation_time : 2014-07-25 22:11:02
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2014-07-25 22:11:02
[buffer @ 0x9d47c40] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 0x9d47c40] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0x9de4d00] Error applying options to the filter.
Error opening filters!I will really appreciate your help and guidance. Thank you.