Recherche avancée

Médias (91)

Autres articles (99)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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 (8533)

  • how to prevent FFMPEG from increasing the video size ?

    28 juin 2018, par drexdelta

    My aim is to compress the video and reduce its file size.

    ffmpeg -i input.mp4 -crf 28 output.mp4

    Now, this command, increases the size of the given input file. And on the otherside, quality of the video is same as earlier. So, it’s increasing the space for nothing.

    How can I stop this from happening .

    This is original video (size 9.5 MB) , and this is the compressed video (size 13.2 MB) .

    So, I want to know, if it is possible to detect using ffmpeg, whether the size of the final video will increase or not ?

    FYI : I am writing script. I am not planning to change the CRF factor. Because that will damage quality of other good videos.

    These are the details on my ffmpeg version :

    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100

    Found something here :

    "The only downside with this mode is that you don’t know what the resulting file size or the fluctuation of the bitrate will be." . checkout here

  • Raspberry pi live stream to youtube stopped working

    27 décembre 2023, par Gergely Maros

    I have a working setup for streaming a video to youtube with my raspberry pi 3.
It was work until yesterday. Nothing changed but I have an error when I try to start the stream.
Running the following command :

    



    raspivid -o - -t 0 -w 1280 -h 720 -p -hf -fps 25 -b 2560000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/my_key


    



    And get this error :

    



    ffmpeg version 3.2.10-1 deb9u1+rpt1 Copyright (c) 2000-2018 the FFmpeg
developers   built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516  
configuration : —prefix=/usr —extra-version='1 deb9u1+rpt1'
—toolchain=hardened —libdir=/usr/lib/arm-linux-gnueabihf —incdir=/usr/include/arm-linux-gnueabihf —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libebur128 —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx-rpi —enable-mmal —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared   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 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, s16le, from '/dev/zero' :   Duration : N/A, bitrate : 1411 kb/s
    Stream #0:0 : Audio : pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, h264, from 'pipe :' :   Duration : N/A, bitrate : N/A
    Stream #1:0 : Video : h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
rtmp ://a.rtmp.youtube.com/live2/my_key : Input/output error


    



    It worked more over a month, but now (I don't know why) stopped working.

    



    Can anyone help me ?

    



    Cheers,
Greg

    


  • Android FFmpeg Log showing “ File :// protocol not found”

    1er février 2021, par Kishore Jethava

    I'm trying to overlay Image on video but FFmpeg log showing

    



    


    File ://storage/emulated/0/whatsappCamera/wc1529921459336.jpg : Protocol not
 found

    


    



    I have also looked in below thread but it's not helped me
I'm stuck Please help me !!

    



    Android FFmpeg reports “file protocol not found”

    



    Here is command

    



    String[] commandImage =  new String[]{"-ss", "00:00:30.0", "-t", "00:00:10.0", "-i",path,
"i","File://storage/emulated/0/whatsappCamera/wc1529921459336.jpg", "-filter_complex",
"[0]crop=400:400:0:0[a];[a][1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2",
"-preset", "ultrafast", "-codec:a", "copy",folder.getAbsolutePath()+"/final_video.mp4"};


    



    Full log

    



     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/emulated/0/whatsappCamera/wc_vid_1529929340679.mp4':
 Metadata:
 major_brand     : mp42
 minor_version   : 0
 compatible_brands: isommp42
 creation_time   : 2018-06-25 12:22:26
 com.android.version: 6.0.1
 Duration: 00:00:05.02, start: 0.000000, bitrate: 17312 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 16947 kb/s, SAR 1:1 DAR 16:9, 30.07 fps, 30 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 rotate          : 90
 creation_time   : 2018-06-25 12:22:26
 handler_name    : VideoHandle
 encoder         : MOTO
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 creation_time   : 2018-06-25 12:22:26
 handler_name    : SoundHandle
 File://storage/emulated/0/whatsappCamera/wc1529921459336.jpg: Protocol not found