Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (68)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (12032)

  • FFmpeg "Could not open file" error message when processing with PHP

    26 octobre 2015, par FlyingCat

    I am using ffmpeg to get the image from several video files. I got my ffmpeg codes ready but I got the following error when I exec my codes.

    ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
    built on Apr  2 2013 17:02: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.
    //files info...
    //files info...
    Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
    //file info...
    [buffer @ 0x1513c40] Buffering several frames is not supported. Please consume all available frames before adding a new one.
    Last message repeated 75 times
    [image2 @ 0x1513460] Could not open file : /test/project
    av_interleaved_write_frame(): Input/output error

    I only show the error messages that have color highlighted.
    My code :

    $ffmpeg ="/usr/bin/ffmpeg";

    $image_source_path = '/test/project/test.mp4';
    $ALL_PLACE_WIDTH = 300;
    $ALL_PLACE_HEIGHT = 300;

    $image_cmd = " -r 1 -ss 00:00:10 -t 00:00:01 -s ".$ALL_PLACE_WIDTH."x".$ALL_PLACE_HEIGHT."   -f image2 " ;

    $dest_image_path = '/test/project';

    $str_command= $ffmpeg  ." -i " . $image_source_path . $image_cmd .$dest_image_path;
    shell_exec($str_command);

    It seems my Linux wants to me to switch to avconv. I am not sure how to fix these errors. Can someone give me a hint about it ?

  • Issue creating video with FFmpeg from Gource output

    16 avril 2013, par user1832408

    I'm trying to create a video with FFmpeg from Gource output but FFmpeg fails for some reason. I have no idea why as the error message is quite general. Does anyone have any ideas ? Is the Gource output perhaps invalid ?

    set GOURCE=C:\Program Files\Gource\0.39
    set FFMPEG=C:\Program Files\FFmpeg\20130412-git-694fa00-win32-static\bin
    set SOURCE=src

    "%GOURCE%\gource.exe" -1280x720 -o gource.ppm %SOURCE%
    "%FFMPEG%\ffmpeg.exe" -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 -v verbose gource.x264.avi

    FFmpeg output

    ffmpeg version N-52045-g694fa00 Copyright (c) 2000-2013 the FFmpeg developers
      built on Apr 12 2013 16:54:51 with gcc 4.8.0 (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-libcaca —enable-libfreetype —enable-libgsm —enable-libilbc —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-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libxavs —enable-libxvid —enable-zlib
      libavutil      52. 26.100 / 52. 26.100
      libavcodec     55.  2.100 / 55.  2.100
      libavformat    55.  2.100 / 55.  2.100
      libavdevice    55.  0.100 / 55.  0.100
      libavfilter     3. 53.101 /  3. 53.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  3.100 / 52.  3.100
    [image2pipe @ 003bade0] Stream #0 : not enough frames to estimate rate ; consider increasing probesize
    Input #0, image2pipe, from 'gource.ppm' :
      Duration : N/A, bitrate : N/A
        Stream #0:0 : Video : ppm, rgb24, 1280x720, 60 tbr, 60 tbn, 60 tbc
    [graph 0 input from stream 0:0 @ 003bbb60] w:1280 h:720 pixfmt:rgb24 tb:1/60 fr:60/1 sar:0/1 sws_param:flags=2
    [auto-inserted scaler 0 @ 003bbaa0] w:0 h:0 flags :'0x4' interl:0
    [format @ 003bb4e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
    [graph 0 input from stream 0:0 @ 003bbb60] TB:0.016667 FRAME_RATE:60.000000 SAMPLE_RATE:nan
    [auto-inserted scaler 0 @ 003bbaa0] w:1280 h:720 fmt:rgb24 sar:0/1 -> w:1280 h:720 fmt:yuv444p sar:0/1 flags:0x4
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 003bc980] using cpu capabilities : MMX2 SSE2Fast LZCNT
    [libx264 @ 003bc980] profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
    Output #0, avi, to 'gource.x264.avi' :
      Metadata :
        ISFT : Lavf55.2.100
        Stream #0:0 : Video : h264 (H264 / 0x34363248), yuv444p, 1280x720, q=-1—1, 60 tbn, 60 tbc
    Stream mapping :
      Stream #0:0 -> #0:0 (ppm -> libx264)
    Press [q] to stop, [?] for help
    frame=   17 fps=0.0 q=0.0 size=      43kB time=00:00:00.21 bitrate=1614.1kbits/s    
    frame=   33 fps= 32 q=0.0 size=     164kB time=00:00:00.48 bitrate=2777.5kbits/s    
    frame=   48 fps= 31 q=0.0 size=     277kB time=00:00:00.73 bitrate=3093.0kbits/s    
    gource.ppm : Input/output error
    No more output streams to write to, finishing.
    frame=   48 fps= 30 q=2358879.0 Lsize=     324kB time=00:00:00.80 bitrate=3313.9kbits/s
    

    video:317kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.112279%
    [libx264 @ 003bc980] frame I:1 Avg QP : 0.00 size : 10560
    [libx264 @ 003bc980] frame P:47 Avg QP : 0.00 size : 6680
    [libx264 @ 003bc980] mb I I16..4 : 100.0% 0.0% 0.0%
    [libx264 @ 003bc980] mb P I16..4 : 0.5% 0.0% 0.0% P16..4 : 1.9% 0.0% 0.0% 0.0% 0.0% skip:97.5%
    [libx264 @ 003bc980] coded y,u,v intra : 3.7% 1.1% 1.2% inter : 1.4% 0.5% 0.6%
    [libx264 @ 003bc980] i16 v,h,dc,p : 93% 4% 2% 0%
    [libx264 @ 003bc980] kb/s:3245.31

  • i use vitamio-ffmpeg achieve filters function,who can help me to see [on hold]

    30 décembre 2015, par 陈腾明

    my cmd is :
    ffmpeg -y -i /storage/emulated/0/Foream/a.mp4 -i /storage/emulated/0/Foream/q.jpg -filter_complex [0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out] -map [out] -map 0:a -codec:a copy /storage/test.mp4

    • ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers

      built on Dec 30 2015 17:40:40 with gcc 4.8 (GCC)
      configuration: --arch=arm --disable-runtime-cpudetect    --target-os=linux --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-version3 --enable-optimizations --enable-shared --disable-fast-unaligned --disable-static --disable-symver --disable-programs --disable-doc --disable-avdevice --disable-postproc --disable-encoders --disable-muxers --enable-muxer=mp4 --disable-devices --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --disable-decoder=svq3 --disable-debug --enable-network --enable-asm --prefix=/var/vitamio/FFmpeg-Vitamio-vitamio/build/android/armv6 --extra-cflags='-mthumb -std=c99 -O3 -Wall -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -Wno-psabi -Wa,--noexecstack -fdiagnostics-color=always -DANDROID -DNDEBUG -I/var/openssl/OpenSSL-Vitamio-master/include -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -march=armv6 -msoft-float' --extra-ldflags='-lm -lz -Wl,--no-undefined -Wl,-z,no   WARNING: library configuration mismatch
      avutil      configuration: --arch=arm --disable-runtime-cpudetect    --target-os=linux --cross-prefix=arm-linux-androideabi- --enable-cross-compile --enable-version3 --enable-shared --disable-static --disable-symver --disable-programs --disable-doc --disable-avdevice --disable-encoders --disable-muxers --disable-devices --disable-everything --disable-protocols --disable-demuxers --disable-decoders --disable-bsfs --disable-debug --enable-optimizations --enable-filters --enable-parsers --disable-parser=hevc --enable-swscale --enable-network --enable-protocol=file --enable-protocol=http --enable-protocol=rtmp --enable-protocol=rtp --enable-protocol=mmst --enable-protocol=mmsh --enable-protocol=crypto --enable-protocol=hls --enable-demuxer=hls --enable-demuxer=mpegts --enable-demuxer=mpegtsraw --enable-demuxer=mpegvideo --enable-demuxer=concat --enable-demuxer=mov --enable-demuxer=flv --enable-demuxer=rtsp --enable-demuxer=mp3 --enable-demuxer=matroska --enable-decoder=mpeg4 --enable-decoder=mpegvideo --enable-de   avcodec     configuration: --arch=arm --disable-runtime-cpudetect

      —target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de avformat configuration : —arch=arm —disable-runtime-cpudetect
      — target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de avfilter configuration : —arch=arm —disable-runtime-cpudetect
      — target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de swscale configuration : —arch=arm —disable-runtime-cpudetect
      — target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de swresample configuration : —arch=arm —disable-runtime-cpudetect
      — target-os=linux —cross-prefix=arm-linux-androideabi- —enable-cross-compile —enable-version3 —enable-shared —disable-static —disable-symver —disable-programs —disable-doc —disable-avdevice —disable-encoders —disable-muxers —disable-devices —disable-everything —disable-protocols —disable-demuxers —disable-decoders —disable-bsfs —disable-debug —enable-optimizations —enable-filters —enable-parsers —disable-parser=hevc —enable-swscale —enable-network —enable-protocol=file —enable-protocol=http —enable-protocol=rtmp —enable-protocol=rtp —enable-protocol=mmst —enable-protocol=mmsh —enable-protocol=crypto —enable-protocol=hls —enable-demuxer=hls —enable-demuxer=mpegts —enable-demuxer=mpegtsraw —enable-demuxer=mpegvideo —enable-demuxer=concat —enable-demuxer=mov —enable-demuxer=flv —enable-demuxer=rtsp —enable-demuxer=mp3 —enable-demuxer=matroska —enable-decoder=mpeg4 —enable-decoder=mpegvideo —enable-de libavutil 52. 48.100 / 52. 48.100
      libavcodec 55. 39.100 / 55. 39.100
      libavformat 55. 19.104 / 55. 19.104
      libavfilter 3. 90.100 / 3. 90.100
      libswscale 2. 5.101 / 2. 5.101
      libswresample 0. 17.104 / 0. 17.104
      Splitting the commandline.
      Reading option ’-y’ ... matched as option ’y’ (overwrite output files) with argument ’1’.
      Reading option ’-i’ ... matched as input file with argument ’/storage/emulated/0/Foream/a.mp4’.
      Reading option ’-i’ ... matched as input file with argument ’/storage/emulated/0/Foream/q.jpg’.
      Reading option ’-filter_complex’ ... matched as option ’filter_complex’ (create a complex filtergraph) with argument
      ’[0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]’.
      Reading option ’-map’ ... matched as option ’map’ (set input stream mapping) with argument ’[out]’.
      Reading option ’-map’ ... matched as option ’map’ (set input stream mapping) with argument ’0:a’.
      Reading option ’-codec:a’ ... matched as option ’codec’ (codec name) with argument ’copy’.
      Reading option ’/storage/emulated/0/Foream/test.mp4’ ... matched as output file.
      Finished splitting the commandline.
      Parsing a group of options : global .
      Applying option y (overwrite output files) with argument 1.
      Applying option filter_complex (create a complex filtergraph) with argument
      [0:v][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10[out].
      Successfully parsed a group of options.
      Parsing a group of options : input file /storage/emulated/0/Foream/a.mp4.
      Successfully parsed a group of options.
      Opening an input file : /storage/emulated/0/Foream/a.mp4.
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] ISO : File Type Major Brand : mp42
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] File position before avformat_find_stream_info() is 810040
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] All info found
      rfps : 29.416667 0.016512
      rfps : 29.416667 0.016512
      rfps : 29.500000 0.012847
      rfps : 29.500000 0.012847
      rfps : 29.583333 0.009693
      rfps : 29.666667 0.007050
      rfps : 29.750000 0.004918
      rfps : 29.833333 0.003298
      rfps : 29.916667 0.002188
      rfps : 30.000000 0.001590
      rfps : 30.083333 0.001503
      rfps : 30.166667 0.001928
      rfps : 30.250000 0.002863
      rfps : 30.333333 0.004310
      rfps : 30.333333 0.004310
      rfps : 30.416667 0.006268
      rfps : 30.416667 0.006268
      rfps : 30.500000 0.008737
      rfps : 30.500000 0.008737
      rfps : 30.583333 0.011717
      rfps : 30.583333 0.011717
      rfps : 30.666667 0.015208
      rfps : 30.666667 0.015208
      rfps : 30.750000 0.019211
      rfps : 30.750000 0.019211
      rfps : 59.500000 0.019673
      rfps : 59.583333 0.016176
      rfps : 59.666667 0.013191
      rfps : 59.750000 0.010716
      rfps : 59.833333 0.008753
      rfps : 59.916667 0.007302
      rfps : 60.000000 0.006361
      rfps : 29.970030 0.001747
      rfps : 59.940060 0.006986
      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb9270990] File position after avformat_find_stream_info() is 1684954
      Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Foream/a.mp4’ :
      Metadata :
      major_brand : mp42

       minor_version   :  0

       compatible_brands:  isommp42

       creation_time   :  2015-11-07 12:30:11

       location        :     +22.5935+113.8685/

       location-eng    :     +22.5935+113.8685/

      Duration:  00:00:17.24 , start:

      0.000000 , bitrate : 9934 kb/s

       Stream #0:0 (eng) , 21, 1/90000 : Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 9488 kb/s , SAR  

      65536:65536 DAR 16:9 , 29.61 fps , 30.08 tbr , 90k tbn , 50 tbc
      (default)

       Metadata:

      rotate          :  90


      creation_time   :  2015-11-07 12:30:11


      handler_name    :  VideoHandle

       Stream #0:1 (eng) , 49, 1/48000 : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s  (default)

       Metadata:

      creation_time   :  2015-11-07 12:30:11


      handler_name    :  SoundHandle

       Successfully opened the file.
       Parsing a group of options: input file    /storage/emulated/0/Foream/q.jpg.
       Successfully parsed a group of options.
       Opening an input file: /storage/emulated/0/Foream/q.jpg.
       [mp3 @ 0xb924f040] Format mp3 detected only with low score of 1,    misdetection possible!
       [mp3 @ 0xb924f040] File position before avformat_find_stream_info()    is 0
       [mp3 @ 0xb9216ef0] Header missing
       [mp3 @ 0xb9216ef0] Header missing
       [mp3 @ 0xb9216ef0] Header missing
       [mp3 @ 0xb924f040] decoding for stream 0 failed
       [mp3 @ 0xb924f040] Could not find codec parameters for stream 0    (Audio: mp1, 0 channels, s16p): unspecified frame size Consider

      increasing the value for the ’analyzeduration’ and ’probesize’
      options
      [mp3 @ 0xb924f040] File position after avformat_find_stream_info() is 9590
      /storage/emulated/0/Foream/q.jpg : could not find codec parameters
      [AVIOContext @ 0xb9251990] Statistics : 9590 bytes read, 0 seeks
      [AVIOContext @ 0xb923e090] Statistics : 907698 bytes read, 1 seeks