Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (26)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (4432)

  • FFMPEG : Error initializing complex filters. Invalid argument

    20 mai 2016, par user3345889

    i run following command to create animated slide show but i got error

    String path = Environment.getExternalStorageDirectory() + "/";

    -framerate 60 -loop 1 -t 1 -i "+path+"images_001.jpg -framerate 60 -loop 1 -t 1 -i "+path+"images_002.jpg -framerate 60 -loop 1 -t 1 -i "+path+"images_003.jpg -framerate 60 -loop 1 -t 1 -i "+path+"images_004.jpg -framerate 60 -loop 1 -t 1 -i "+path+"images_005.jpg -filter_complex [1:v][0:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b1v]; [2:v][1:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b2v]; [3:v][2:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b3v]; [4:v][3:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b4v]; [0:v][b1v][1:v][b2v][2:v][b3v][3:v][b4v][4:v]concat=n=9:v=1:a=0;format=yuv420p;scale=480:270[vx] -map [vx] -vsync 0 -c:v libx264 -crf 35 "+path+"preview_270p.mp4

    output :

    FAILED with output : 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
    [mjpeg @ 0xb86fe040] Changing bps to 8
    Input #0, image2, from '/storage/emulated/0/images_001.jpg':
     Duration: 00:00:00.02, start: 0.000000, bitrate: 542987 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1440x2560, 60 fps, 60 tbr, 60 tbn, 60 tbc
    [mjpeg @ 0xb8708360] Changing bps to 8
    Input #1, image2, from '/storage/emulated/0/images_002.jpg':
     Duration: 00:00:00.02, start: 0.000000, bitrate: 1011478 kb/s
       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2340x4160, 60 fps, 60 tbr, 60 tbn, 60 tbc
    [mjpeg @ 0xb870de00] Changing bps to 8
    Input #2, image2, from '/storage/emulated/0/images_003.jpg':
     Duration: 00:00:00.02, start: 0.000000, bitrate: 1022909 kb/s
       Stream #2:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2340x4160, 60 fps, 60 tbr, 60 tbn, 60 tbc
    [mjpeg @ 0xb870a170] Changing bps to 8
    Input #3, image2, from '/storage/emulated/0/images_004.jpg':
     Duration: 00:00:00.02, start: 0.000000, bitrate: 601309 kb/s
       Stream #3:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1440x2560, 60 fps, 60 tbr, 60 tbn, 60 tbc
    [mjpeg @ 0xb86ff290] Changing bps to 8
    Input #4, image2, from '/storage/emulated/0/images_005.jpg':
     Duration: 00:00:00.02, start: 0.000000, bitrate: 950450 kb/s
       Stream #4:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2340x4160, 60 fps, 60 tbr, 60 tbn, 60 tbc
    [AVFilterGraph @ 0xb8708bc0] No such filter: ''
    Error initializing complex filters.
    Invalid argument
  • ffmpeg Videos Won't Play Centos

    17 mai 2016, par Dan

    My exported videos from ffmpeg won’t play on anything. I am trying to create a simple slideshow type video from images. It will create the video, the video will add 5 seconds in duration for each image I add but it just doesn’t play on anything. It’s driving me crazy.

    /usr/local/bin/ffmpeg -y -f image2 -r 1/5 -i uploads/img%03d.jpg vid/video.mp4

    And here is the output :

    Array ( [0] => ffmpeg version n2.8.7 Copyright (c) 2000-2016 the FFmpeg developers [1] => built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16) [2] => configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame [3] => libavutil 54. 31.100 / 54. 31.100 [4] => libavcodec 56. 60.100 / 56. 60.100 [5] => libavformat 56. 40.101 / 56. 40.101 [6] => libavdevice 56. 4.100 / 56. 4.100 [7] => libavfilter 5. 40.101 / 5. 40.101 [8] => libswscale 3. 1.101 / 3. 1.101 [9] => libswresample 1. 2.101 / 1. 2.101 [10] => libpostproc 53. 3.100 / 53. 3.100 [11] => [mjpeg @ 0x4213ac0] Changeing bps to 8 [12] => Input #0, image2, from 'uploads/img%03d.jpg': [13] => Duration: 00:00:05.00, start: 0.000000, bitrate: N/A [14] => Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 2021x1117 [SAR 100:100 DAR 2021:1117], 0.20 tbr, 0.20 tbn, 0.20 tbc [15] => No pixel format specified, yuvj444p for H.264 encoding chosen. [16] => Use -pix_fmt yuv420p for compatibility with outdated media players. [17] => [libx264 @ 0x4214040] using SAR=1/1 [18] => [libx264 @ 0x4214040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [19] => [libx264 @ 0x4214040] profile High 4:4:4 Predictive, level 5.0, 4:4:4 8-bit [20] => [libx264 @ 0x4214040] 264 - core 148 r2694 3b70645 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [21] => Output #0, mp4, to 'vid/video.mp4': [22] => Metadata: [23] => encoder : Lavf56.40.101 [24] => Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj444p(pc), 2021x1117 [SAR 100:100 DAR 2021:1117], q=-1--1, 0.20 fps, 16384 tbn, 0.20 tbc [25] => Metadata: [26] => encoder : Lavc56.60.100 libx264 [27] => Stream mapping: [28] => Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) [29] => Press [q] to stop, [?] for help [30] => frame= 1 fps=0.0 q=17.0 Lsize= 85kB time=00:00:05.00 bitrate= 139.4kbits/s [31] => video:84kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.931709% [32] => [libx264 @ 0x4214040] frame I:1 Avg QP:10.98 size: 85605 [33] => [libx264 @ 0x4214040] mb I I16..4: 25.7% 55.1% 19.2% [34] => [libx264 @ 0x4214040] 8x8 transform intra:55.1% [35] => [libx264 @ 0x4214040] coded y,u,v intra: 28.2% 25.3% 21.6% [36] => [libx264 @ 0x4214040] i16 v,h,dc,p: 20% 54% 11% 15% [37] => [libx264 @ 0x4214040] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 27% 24% 3% 4% 1% 3% 1% 2% [38] => [libx264 @ 0x4214040] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 31% 12% 3% 4% 2% 3% 2% 3% [39] => [libx264 @ 0x4214040] kb/s:136.97 )

    I’ve read that adding -pix_fmt yuv420p might help but when I do that I get errors.

    Array ( [0] => ffmpeg version n2.8.7 Copyright (c) 2000-2016 the FFmpeg developers [1] => built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16) [2] => configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame [3] => libavutil 54. 31.100 / 54. 31.100 [4] => libavcodec 56. 60.100 / 56. 60.100 [5] => libavformat 56. 40.101 / 56. 40.101 [6] => libavdevice 56. 4.100 / 56. 4.100 [7] => libavfilter 5. 40.101 / 5. 40.101 [8] => libswscale 3. 1.101 / 3. 1.101 [9] => libswresample 1. 2.101 / 1. 2.101 [10] => libpostproc 53. 3.100 / 53. 3.100 [11] => [mjpeg @ 0x27f9ae0] Changeing bps to 8 [12] => Input #0, image2, from 'uploads/img%03d.jpg': [13] => Duration: 00:00:05.00, start: 0.000000, bitrate: N/A [14] => Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 2021x1117 [SAR 100:100 DAR 2021:1117], 0.20 tbr, 0.20 tbn, 0.20 tbc [15] => [swscaler @ 0x28097c0] deprecated pixel format used, make sure you did set range correctly [16] => [libx264 @ 0x27fa060] width not divisible by 2 (2021x1117) [17] => Output #0, mp4, to 'vid/video.mp4': [18] => Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 0.20 fps [19] => Metadata: [20] => encoder : Lavc56.60.100 libx264 [21] => Stream mapping: [22] => Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) [23] => Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height )

    Blockquote

    Any help is much appreciated.

  • FFMPEG .mov to .mp4 convertion failure [solved]

    24 mai 2016, par Pasha Rumkin

    I’m converting .mov and .mp4 to .mp4 with FFMPEG to play them on iOS and Android devices. Mp4 from Android is converting properly and playing on both devices iPhone and Android. But iPhone’s .mov result is strange. It’s playing on iPhone and Android 4. But when I’m trying to open this video with Photo app (Android 5, 6) it outputs unsupported video message.

    FFMPEG command :

    ffmpeg -i app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63 \
          -y -b:a 128k -ac 2 -acodec libfdk_aac -b:v 300k -vcodec libx264 \
          -filter:v scale=w=320:h=trunc(ow/a/2)*2 -vprofile baseline \
          -movflags faststart -f mp4 \
          app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63.mp4

    ffprobe with output file :

    ffprobe version N-80026-g936751b Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --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-libfreetype --enable-gnutls --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-libvidstab
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 42.100 / 57. 42.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '68fa392b-df25-4622-93ab-cf9bf1253f63.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.36.100
     Duration: 00:00:00.65, start: 0.000000, bitrate: 297 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x568, 178 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler