
Recherche avancée
Autres articles (54)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (5954)
-
creating a video using ffmpeg command with image name pattern [duplicate]
21 mars 2018, par Junaid FarooqThis question already has an answer here :
I am coming from this question
https://askubuntu.com/questions/610903/how-can-i-create-a-video-file-from-a-set-of-jpg-imagesEverything is working fine and I can create a video, I am only struggling with the image name pattern. Each time, I had to rename all files first to a specific pattern.
Can we create a video using the same command written below but with this kind of image name pattern ?
2018-01-19-11-55-00.jpg 2018-01-19-17-00-00.jpg 2018-01-22-10-10-00.jpg 2018-01-22-13-25-00.jpg 2018-01-22-16-40-00.jpg
2018-01-19-12-00-00.jpg 2018-01-19-17-05-00.jpg 2018-01-22-10-15-00.jpg 2018-01-22-13-30-00.jpg 2018-01-22-16-45-00.jpgI want to use this command
ffmpeg -framerate 25 -i image-%04d.jpg -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
but this one using
image-2000.jpg image-2400.jpg image-2800.jpg
above image pattern.
Is there any possibility to use the above pattern of files which are being named as a date. also, all these images are in a folder. Can FFMPEG address them ?
-
Concat different video file types with different fps and resolutions using FFmpeg
10 juillet 2018, par 1234567This is the command I am using :
{"-y", "-i", file1.toString(), "-i", file2.toString(), "-strict", "experimental", "-filter_complex",
"[0:v]scale=480x640,setsar=1:1[v0];[1:v]scale=480x640,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1",
"-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "480x640", "-vcodec", "libx264","-crf","27","-q","4","-preset", "ultrafast", rootPath + "/output.mp4"};When file types are similar, in my case
mp4
, and with samefps 30
and same resolution,720 x 980
, they do merge properly. But when I try different file types, say AVI, 3gp, mp4, then all with different fps and resolution and the AVI file with no audio, I get following error :ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/tyry/Videos/1.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-03-14 16:22:27
Duration: 00:01:06.07, start: 0.000000, bitrate: 10775 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540, 10757 kb/s, SAR 1:1 DAR 16:9, 47.06 fps, 90k tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-03-14 16:22:27
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 12 kb/s (default)
Metadata:
creation_time : 2018-03-14 16:22:27
handler_name : SoundHandle
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/sdcard0/tyry/Videos/2018-03-17-11-33-07.mp4.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-03-17 11:33:15
Duration: 00:00:06.63, start: 0.000000, bitrate: 1030 kb/s
Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240, 1013 kb/s, SAR 1:1 DAR 71:40, 33.65 fps, 90k tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-03-17 11:33:15
handler_name : VideoHandle
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 12 kb/s (default)
Metadata:
creation_time : 2018-03-17 11:33:15
handler_name : SoundHandle
[Parsed_concat_0 @ 0xacb60d40] Input link in1:v0 parameters (size 426x240, SAR 1:1) do not match the corresponding output link in0:v0 parameters (960x540, SAR 1:1)
[Parsed_concat_0 @ 0xacb60d40] Failed to configure output pad on Parsed_concat_0
Error configuring complex filters.
Invalid argumentWhat is the proper command to concat different file types, with different fps, and different resolution and map audio properly to a set fps and resolution, output being mp4 file ?
-
video thumbnail using FFMPEG on lambda (spawn error)
21 mars 2018, par sitara hussaini am following the tutorial given on
https://concrete5.co.jp/blog/creating-video-thumbnails-aws-lambda-your-s3-bucket
all setup is done according to the given instruction. but after deployment i am having following error on2018-03-21T14:59:27.202Z 73134e6f-2d18-11e8-a66f-5d8b49ac5731 { Error: spawn EACCES
at exports._errnoException (util.js:1018:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at Object.exports.spawn (child_process.js:378:9)
at createThumbnail (/var/task/index.js:66:36)
at nextTask (/var/task/node_modules/async/dist/async.js:5310:14)
at next (/var/task/node_modules/async/dist/async.js:5317:9)
at /var/task/node_modules/async/dist/async.js:958:16
at /var/task/index.js:55:9
at process._tickDomainCallback (internal/process/next_tick.js:135:7) code: 'EACCES', errno: 'EACCES', syscall: 'spawn' }