Recherche avancée

Médias (91)

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9102)

  • encoding with ffmpeg libx265 -pix_fmt gray gives unplayable vid

    9 juin 2017, par netjiro

    What am I missing ?
    I encode an old black and white film clip with ffmpeg libx265 passing -pix_fmt gray. The output is unplayable in both vlc and mplayer (linux), so I assume I’m missing something...

    encoding :

    ffmpeg -i clip.mkv \
       -c:v libx265 -preset slow -x265-params "crf=24" -pix_fmt gray \
       -c:a libopus -b:a 64k \
       -c:s copy \
       out.mkv

    vlc errors :

    [00007f8a3ddfe328] blend blend error: no matching alpha blending routine (chroma: RGBA -> GREY)
    [00007f8a3ddfe328] core blend error: blending RGBA to GREY failed
    ... repeated ...

    mplayer errors :

    Unexpected decoder output format Planar Y800
    ... repeated ...

    ffmpeg encoding output :

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.4 (Gentoo 4.9.4 p1.0, pie-0.6.4)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.2.4/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --enable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --enable-libv4l2 --disable-libpulse --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --disable-mmal --enable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --enable-libssh --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libebur128 --disable-libflite --disable-frei0r --disable-libfribidi --enable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-librubberband --disable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --enable-libsnappy --enable-libtheora --enable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    x265 [info]: HEVC encoder version 2.2
    x265 [info]: build info [Linux][GCC 4.9.4][64 bit] 8bit+10bit+12bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    x265 [info]: Unknown profile, Level-3.1 (Main tier)
    x265 [warning]: No thread pool allocated, --wpp disabled
    x265 [warning]: No thread pool allocated, --lookahead-slices disabled
    x265 [info]: Slices                              : 1
    x265 [info]: frame threads / pool features       : 3 / none
    x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
    x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
    x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 40 / 5.00
    x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
    x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
    x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
    x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
    x265 [info]: Rate Control / qCompress            : CRF-24.0 / 0.60
    x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
    x265 [info]: tools: rskip signhide tmvp strong-intra-smoothing deblock sao
    Output #0, matroska, to 'out.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Metadata:
       Stream #0:0(eng): Video: hevc (libx265), gray, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 23.98 tbc (default)
       Metadata:
         encoder         : Lavc57.64.101 libx265
       Stream #0:1(eng): Audio: opus (libopus) ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, stereo, flt, 64 kb/s (default)
       Metadata:
         encoder         : Lavc57.64.101 libopus
       Stream #0:2(eng): Subtitle: subrip (default)
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
     Stream #0:1 -> #0:1 (eac3 (native) -> opus (libopus))
     Stream #0:3 -> #0:2 (copy)
    Press [q] to stop, [?] for help
    frame= 1439 fps=7.0 q=-0.0 Lsize=    5356kB time=00:01:00.01 bitrate= 731.1kbits/s speed=0.294x    
    video:4940kB audio:382kB subtitle:1kB other streams:0kB global headers:2kB muxing overhead: 0.629434%
    x265 [info]: frame I:      9, Avg QP:22.27  kb/s: 6064.82
    x265 [info]: frame P:    340, Avg QP:23.62  kb/s: 1950.21
    x265 [info]: frame B:   1090, Avg QP:29.65  kb/s: 230.75  
    x265 [info]: Weighted P-Frames: Y:0.9% UV:0.0%
    x265 [info]: consecutive B-frames: 2.9% 0.3% 1.4% 72.5% 22.9%
  • FFMPeg stuck while processing a video

    15 juin 2017, par Muhammad Umar

    I am trying to add slow motion to an FFMPEG video in android

    On my terminal original query i use is

    ffmpeg -i soon.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4

    Here is my code in android,

       String cmd = "/data/data/PACKAGE_NAME/files/ffmpeg -i "+ videoFileName +" -filter_complex [0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a] -map [v] -map [a] " + file.getAbsolutePath();

    In Android , i have only removed quotation marks since ffmpeg is not recognising these.

    When i exceute FFMPEG,
    following happens

    configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --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/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --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=
    06-15 22:07:01.340 11866-11866/PACKAGE_NAME D/WRITING::   libavutil      55. 17.103 / 55. 17.103
    06-15 22:07:01.720 11866-11866/PACKAGE_NAME D/WRITING::   libavcodec     57. 24.102 / 57. 24.102
    06-15 22:07:02.100 11866-11866/PACKAGE_NAME D/WRITING::   libavformat    57. 25.100 / 57. 25.100
    06-15 22:07:02.510 11866-11866/PACKAGE_NAME D/WRITING::   libavdevice    57.  0.101 / 57.  0.101
    06-15 22:07:02.900 11866-11866/PACKAGE_NAME D/WRITING::   libavfilter     6. 31.100 /  6. 31.100
    06-15 22:07:03.290 11866-11866/PACKAGE_NAME D/WRITING::   libswscale      4.  0.100 /  4.  0.100
    06-15 22:07:03.620 11866-11866/PACKAGE_NAME D/WRITING::   libswresample   2.  0.101 /  2.  0.101
    06-15 22:07:03.980 11866-11866/PACKAGE_NAME D/WRITING::   libpostproc    54.  0.100 / 54.  0.100
    06-15 22:07:04.320 11866-11866/PACKAGE_NAME D/WRITING:: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/Camera/V_20170204_181009.mp4':
    06-15 22:07:04.720 11866-11866/PACKAGE_NAME D/WRITING::   Metadata:
    06-15 22:07:05.050 11866-11866/PACKAGE_NAME D/WRITING::     major_brand     : isom
    06-15 22:07:05.450 11866-11866/PACKAGE_NAME D/WRITING::     minor_version   : 0
    06-15 22:07:05.860 11866-11866/PACKAGE_NAME D/WRITING::     compatible_brands: isom3gp4
    06-15 22:07:05.870 230-230/? E/ia_watchdog: Refreshing Watchdog Timers
    06-15 22:07:06.240 11866-11866/PACKAGE_NAME D/WRITING::     creation_time   : 2017-02-04 13:10:13
    06-15 22:07:06.850 11866-11866/PACKAGE_NAME D/WRITING::   Duration: 00:00:02.82, start: 0.000000, bitrate: 12760 kb/s
    06-15 22:07:07.240 11866-11866/PACKAGE_NAME D/WRITING::     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 12344 kb/s, SAR 1:1 DAR 16:9, 24.19 fps, 23.92 tbr, 90k tbn, 60 tbc (default)
    06-15 22:07:07.620 11866-11866/PACKAGE_NAME D/WRITING::     Metadata:
    06-15 22:07:07.990 11866-11866/PACKAGE_NAME D/WRITING::       rotate          : 90
    06-15 22:07:08.400 11866-11866/PACKAGE_NAME D/WRITING::       creation_time   : 2017-02-04 13:10:13
    06-15 22:07:08.870 11866-11866/PACKAGE_NAME D/WRITING::       handler_name    : VideoHandle
    06-15 22:07:09.880 11866-11866/PACKAGE_NAME D/WRITING::     Side data:
    06-15 22:07:10.530 11866-11866/PACKAGE_NAME D/WRITING::       displaymatrix: rotation of -90.00 degrees
    06-15 22:07:11.000 11866-11866/PACKAGE_NAME D/WRITING::     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    06-15 22:07:11.530 11866-11866/PACKAGE_NAME D/WRITING::     Metadata:
    06-15 22:07:12.120 11866-11866/PACKAGE_NAME D/WRITING::       creation_time   : 2017-02-04 13:10:13
    06-15 22:07:12.620 11866-11866/PACKAGE_NAME D/WRITING::       handler_name    : SoundHandle

    After that nothing happens, FFMPEG seems like stuck in oblivion. Any ideas what could be wrong

  • ffmpeg null filter when configuring (no such filter 'eq')

    20 octobre 2017, par Diolor

    I configure ffmpeg to compile it an Android gcc (among others) like that :

    ./configure --disable-filters --enable-filter=atrim,trim,eq

    And this is the preview :

    Enabled filters:
    aformat          anull            atrim            format           null             trim

    Obviously the eq filter is missing and in it’s place it’s the null enabled filter. As expected the eq filter is also missing from the executable binary and if we try use the eq filter it will return :

    No such filter: 'eq', Error reinitializing filters!, Failed to inject frame into filter network:
    Invalid argument, Error while processing the decoded data for stream #0:0, Conversion failed!

    Full configuration :

    --prefix=/path/to/x86
    --enable-static --disable-shared
    --enable-small
    --enable-cross-compile
    --target-os=linux
    --arch=x86
    --sysroot=/path/to/sysroot
    --cross-prefix=/path/to/i686-linux-android-
    --enable-pic
    --disable-ffplay
    --disable-ffprobe
    --disable-ffserver
    --disable-doc
    --disable-filters
    --enable-filter=atrim,trim,eq
    --disable-asm
    --disable-debug
    --extra-cflags=-I/path/to/usr/include -O3 -Wno-deprecated-declarations -fpie -pie -Wl,-z,relro,-z,now -march=i686 -m32 -mtune=intel -mssse3 -mfpmath=sse
    --extra-ldflags=-L/path/to/usr/lib -fpie -pie