Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (80)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (5489)

  • ffmpeg missing blend filter

    13 mars 2014, par user2927954

    I am working on android project using ffmpeg library. I followed instruction from : https://github.com/guardianproject/android-ffmpeg to build ffmpeg library for android. All are OK.

    Now, i am testing filters that corresponding to video filter of this library such as : drawtext, scale, pad, ... Most of them worked fine, but i have problem with "blend" filter.

    I try with commands : ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex blend=all_expr='if(eq(mod(X,2),mod(Y,2)),A,B)' -y out.mp4 and recieve error : no such blend filter.

    Do you know how i configure to enable this filter ?

    Here is the output result :

    ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
     built on Feb 27 2014 05:23:20 with gcc 4.6 20120106 (prerelease)
     configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/admin/workspace/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- --sysroot=/home/admin/workspace/android-ndk-r9c/platforms/android-3/arch-arm --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon' --extra-ldflags=-L../x264 --enable-version3 --enable-gpl --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --enable-libfreetype --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib --enable-muxer=md5
     libavutil      51. 54.100 / 51. 54.100
     libavcodec     54. 23.100 / 54. 23.100
     libavformat    54.  6.100 / 54.  6.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     2. 77.100 /  2. 77.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/videokit/in.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 2014-03-04 08:53:01
     Duration: 00:00:15.10, start: 0.000000, bitrate: 7055 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 6935 kb/s, SAR 65536:65536 DAR 16:9, 17.18 fps, 34.42 tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2014-03-04 08:53:01
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 2014-03-04 08:53:01
         handler_name    : SoundHandle
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/videokit/7.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.12.0
       comment         : Courtesy of National Geographic.  Used by Permission.
     Duration: 00:00:04.20, start: 0.000000, bitrate: 1601 kb/s
       Stream #1:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 1472 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
       Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
    No such filter: 'blend'
    Error configuring filters.

    Thanks

  • ffmpeg can not dump RTSP streaming but ffmplay can play

    12 mars 2014, par poc

    I want to dump the RTSP streaming into a file.

    ffmpeg -y-i rtsp://172.19.12.37/live.sdp -acodec copy -vcodec copy tmp.mp4

    But I got errors,

    [mp4 @ 0x7fe98400dc00] track 1: could not find tag, codec not currently supported in container

    Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

    However, I can play the RTSP streaming by any media player, what was wrong with my ffmpeg command ?

    Is there any options can dump any stream and dump it into identical video format.

    ffplay log

    $ ffplay rtsp://172.19.12.37/live.sdp
    ffplay version 2.1.4 Copyright (c) 2003-2014 the FFmpeg developers
     built on Mar 12 2014 14:37:48 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-openssl --enable-libopus --enable-frei0r --enable-libcaca --enable-libquvi --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
     libavutil      52. 48.101 / 52. 48.101
     libavcodec     55. 39.101 / 55. 39.101
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libavresample   1.  1.  0 /  1.  1.  0
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [h264 @ 0x7fb966001c00] RTP: missed 13 packets0KB sq=    0B f=0/0
    [h264 @ 0x7fb966001c00] left block unavailable for requested intra mode at 0 86
    [h264 @ 0x7fb966001c00] error while decoding MB 0 86, bytestream (347)
    [h264 @ 0x7fb966001c00] concealing 5489 DC, 5489 AC, 5489 MV errors in I frame
    Input #0, rtsp, from 'rtsp://172.19.12.37/live.sdp':=    0B f=0/0
     Metadata:
       title           : RTSP server
     Duration: N/A, start: 0.000000, bitrate: 64 kb/s
       Stream #0:0: Video: h264 (Main), yuv420p, 2560x1920, 13.33 tbr, 90k tbn, 180k tbc
       Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
    [h264 @ 0x7fb966888400] left block unavailable for requested intra mode at 0 86
    [h264 @ 0x7fb966888400] error while decoding MB 0 86, bytestream (347)
    [h264 @ 0x7fb966888400] concealing 5489 DC, 5489 AC, 5489 MV errors in I frame
      5.08 A-V:    nan fd=   2 aq=    0KB vq=    0KB sq=    0B f=1/1

    ffmpeg log

    ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar 12 2014 14:37:48 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-openssl --enable-libopus --enable-frei0r --enable-libcaca --enable-libquvi --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
     libavutil      52. 48.101 / 52. 48.101
     libavcodec     55. 39.101 / 55. 39.101
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libavresample   1.  1.  0 /  1.  1.  0
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, rtsp, from 'rtsp://172.19.12.37/live.sdp':
     Metadata:
       title           : RTSP server
     Duration: N/A, start: 0.000000, bitrate: 64 kb/s
       Stream #0:0: Video: h264 (Main), yuv420p, 2560x1920, 13.33 tbr, 90k tbn, 180k tbc
       Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    [mp4 @ 0x7fe98400dc00] track 1: could not find tag, codec not currently supported in container
    Output #0, mp4, to 'tmp.mp4':
     Metadata:
       title           : RTSP server
       encoder         : Lavf55.19.104
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 2560x1920, q=2-31, 90k tbn, 90k tbc
       Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
  • find in bash to convert files with ffmpeg - paths being changed

    20 avril 2017, par J V

    Trying to convert a bunch of files with ffmpeg and find.

    find -name "*.mkv" | while read f
    do ffmpeg -i "$f" -c copy -y "${f%.*}.mp4"
    done

    This should work right ? It results in :

    + read f
    + ffmpeg -i '/file.mkv' -c copy -y '/file.mp4'
    ffmpeg version N-61155-g61ff043 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar  7 2014 19:17:59 with gcc 4.8 (Debian 4.8.2-16)
    /file.mkv: No such file or directory

    So I naturally try sticking the missing dot in front of the variable :

    find -name "*.mkv" | while read f
    do ffmpeg -i ".$f" -c copy -y ".${f%.*}.mp4"
    done

    The result :

    + read f
    + ffmpeg -i '../file.mkv' -c copy -y '../file.mp4'
    ffmpeg version N-61155-g61ff043 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar  7 2014 19:17:59 with gcc 4.8 (Debian 4.8.2-16)
    ../file.mkv: No such file or directory

    It’s specifically removing the dot at the worst possible time. Any idea what’s causing this and how to fix it ?

    PS : -print0 in find has the same problem, and none of the files have newlines etc.

    Edit : As requested, the echo. The echo works as expected :

    find -name "*.mkv" | while read f
    do echo ffmpeg -i "$f" -c copy -y "${f%.*}.mp4"
    done

    + read f
    + echo ffmpeg -i './file.mkv' -c copy -y './file.mp4'
    ffmpeg -i ./file.mkv -c copy -y ./file.mp4

    Edit2 : With a file with a space and one without, the filename without is changed. If I rm the one with a space the one without works fine.

    $ ls
    + ls
    file.mkv  file two.mkv
    $ find -name "*.mkv" | while read f; do ffmpeg -i "$f" -c copy -y "${f%.*}.mp4"; done
    + find -name '*.mkv'
    + read f
    + ffmpeg -i './file two.mkv' -c copy -y './file two.mp4'
    ffmpeg version N-61155-g61ff043 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar  7 2014 19:17:59 with gcc 4.8 (Debian 4.8.2-16)
     configuration: --arch=amd64 --enable-pthreads --enable-libopencv --enable-librtmp --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-vaapi --enable-runtime-cpudetect --enable-libvorbis --enable-zlib --enable-swscale --enable-libcdio --enable-bzlib --enable-libdc1394 --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-libpulse --enable-vdpau --enable-libvpx --enable-gpl --enable-x11grab --enable-libx264 --enable-filters
     libavutil      52. 66.101 / 52. 66.101
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.101 / 55. 33.101
     libavdevice    55. 11.100 / 55. 11.100
     libavfilter     4.  3.100 /  4.  3.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, matroska,webm, from './file two.mkv':
     Metadata:
       COMPATIBLE_BRANDS: isommp42
       MAJOR_BRAND     : mp42
       MINOR_VERSION   : 0
       ENCODER         : Lavf55.33.101
     Duration: 00:08:15.54, start: 0.000000, bitrate: 194 kb/s
       Stream #0:0(und): Audio: aac, 44100 Hz, stereo, fltp (default)
       Metadata:
         CREATION_TIME   : 2014-03-07 04:33:17
         LANGUAGE        : und
         HANDLER_NAME    : IsoMedia File Produced by Google, 5-11-2011
    Output #0, mp4, to './file two.mp4':
     Metadata:
       COMPATIBLE_BRANDS: isommp42
       MAJOR_BRAND     : mp42
       MINOR_VERSION   : 0
       encoder         : Lavf55.33.101
       Stream #0:0(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo (default)
       Metadata:
         CREATION_TIME   : 2014-03-07 04:33:17
         LANGUAGE        : und
         HANDLER_NAME    : IsoMedia File Produced by Google, 5-11-2011
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=   11698kB time=00:08:15.53 bitrate= 193.4kbits/s    
    video:0kB audio:11614kB subtitle:0 data:0 global headers:0kB muxing overhead 0.724668%
    + read f
    + ffmpeg -i /file.mkv -c copy -y /file.mp4
    ffmpeg version N-61155-g61ff043 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar  7 2014 19:17:59 with gcc 4.8 (Debian 4.8.2-16)
     configuration: --arch=amd64 --enable-pthreads --enable-libopencv --enable-librtmp --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-vaapi --enable-runtime-cpudetect --enable-libvorbis --enable-zlib --enable-swscale --enable-libcdio --enable-bzlib --enable-libdc1394 --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-libpulse --enable-vdpau --enable-libvpx --enable-gpl --enable-x11grab --enable-libx264 --enable-filters
     libavutil      52. 66.101 / 52. 66.101
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.101 / 55. 33.101
     libavdevice    55. 11.100 / 55. 11.100
     libavfilter     4.  3.100 /  4.  3.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    /file.mkv: No such file or directory
    + read f