Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (72)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (8819)

  • FFmpeg Time Lapse from Sources with Long Frozen Tail End

    5 juillet 2019, par Rich_F

    My source for inputs into FFmpeg is either one AVI file or a concat of many of them. Either way my resulting timelapse file has a long tail of frames that are a repeat of a single frame. It’s like a very long freeze frame is resulting on the end of my output file.

    I’m on an older Mac Pro so I can’t update my FFmpeg. I have a laptop that has a newer version and I get the same there as well. I’m not sure if it’s because my source files are AVI or not.

    ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers
       built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
       configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags=-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
       libavutil      56. 22.100 / 56. 22.100
       libavcodec     58. 35.100 / 58. 35.100
       libavformat    58. 20.100 / 58. 20.100
       libavdevice    58.  5.100 / 58.  5.100
       libavfilter     7. 40.101 /  7. 40.101
       libavresample   4.  0.  0 /  4.  0.  0
       libswscale      5.  3.100 /  5.  3.100
       libswresample   3.  3.100 /  3.  3.100
       libpostproc    55.  3.100 / 55.  3.100
    [avi @ 0x7fa82080c800] sample size (1) != block align (2)
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, avi, from 'concat:16460001.AVI|16460002.AVI|16460003.AVI|16460004.AVI|16460005.AVI|16460006.AVI|16460007.AVI|16460008.AVI|16460009.AVI|16460010.AVI|16460011.AVI|16460012.AVI|16460013.AVI|16460014.AVI|16460015.AVI|16460016.AVI|16460017.AVI|16460018.AVI|16460019.AVI|16460020.AVI|16460021.AVI':
       Duration: 00:10:02.00, start: 0.000000, bitrate: 365923 kb/s
           Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 30 fps, 30 tbr, 30 tbn, 30 tbc
           Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 32000 Hz, mono, s16, 512 kb/s
    Stream mapping:
       Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
       Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x7fa82082cc00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
    [libx264 @ 0x7fa82082cc00] profile High, level 3.1
    [libx264 @ 0x7fa82082cc00] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=-2 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=16 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
    Output #0, mp4, to 'out.mp4':
       Metadata:
           encoder         : Lavf58.20.100
           Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc, progressive), 1280x720, q=-1--1, 16 fps, 16384 tbn, 16 tbc
           Metadata:
               encoder         : Lavc58.35.100 libx264
           Side data:
               cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
           Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 69 kb/s
           Metadata:
               encoder         : Lavc58.35.100 aac
    frame= 1962 fps=1.2 q=-1.0 Lsize=  136725kB time=03:24:07.00 bitrate=  91.5kbits/s dup=0 drop=365448 speed=7.41x
    video:31548kB audio:103624kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.149437%
    [libx264 @ 0x7fa82082cc00] frame I:10    Avg QP:18.74  size: 62176
    [libx264 @ 0x7fa82082cc00] frame P:514   Avg QP:21.24  size: 30528
    [libx264 @ 0x7fa82082cc00] frame B:1438  Avg QP:22.74  size: 11121
    [libx264 @ 0x7fa82082cc00] consecutive B-frames:  1.4%  2.0%  2.0% 94.6%
    [libx264 @ 0x7fa82082cc00] mb I  I16..4:  2.1% 97.2%  0.7%
    [libx264 @ 0x7fa82082cc00] mb P  I16..4:  2.0% 33.3%  0.1%  P16..4: 37.7% 12.0% 10.4%  0.0%  0.0%    skip: 4.5%
    [libx264 @ 0x7fa82082cc00] mb B  I16..4:  0.7% 11.5%  0.0%  B16..8: 29.1%  4.8%  1.3%  direct:12.0%  skip:40.6%  L0:47.5% L1:42.9% BI: 9.6%
    [libx264 @ 0x7fa82082cc00] 8x8 transform intra:94.3% inter:83.0%
    [libx264 @ 0x7fa82082cc00] coded y,uvDC,uvAC intra: 73.4% 66.7% 8.5% inter: 25.9% 46.8% 2.2%
    [libx264 @ 0x7fa82082cc00] i16 v,h,dc,p: 17% 33% 26% 24%
    [libx264 @ 0x7fa82082cc00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 23% 51%  1%  2%  1%  4%  1%  2%
    [libx264 @ 0x7fa82082cc00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 21% 19%  5%  8%  7% 13%  5%  5%
    [libx264 @ 0x7fa82082cc00] i8c dc,h,v,p: 46% 29% 23%  2%
    [libx264 @ 0x7fa82082cc00] Weighted P-Frames: Y:47.5% UV:19.3%
    [libx264 @ 0x7fa82082cc00] ref P L0: 45.0% 13.8% 20.6% 15.7%  5.0%
    [libx264 @ 0x7fa82082cc00] ref B L0: 61.1% 30.4%  8.5%
    [libx264 @ 0x7fa82082cc00] ref B L1: 85.8% 14.2%
    [libx264 @ 0x7fa82082cc00] kb/s:2107.54
    [aac @ 0x7fa82081ea00] Qavg: 130.084

    I’ve read this thread and tried to follow it :

    Create time lapse video from other video

    Here are some trials I’ve attempted before, all with the same output :

    # ffmpeg -y -i $mov -vf framestep=10,setpts=N/FRAME_RATE/TB,fps=2 -r 30 $out
    # ffmpeg -y -i $mov -vf framestep=10,setpts=.01*PTS -r 30 $out
    # ffmpeg -y -i $mov -vf framestep=10,setpts=.1*PTS -r 30 $out
    # ffmpeg -y -i "concat:16460001.AVI|16460002.AVI|16460003.AVI|16460004.AVI|16460005.AVI|16460006.AVI|16460007.AVI|16460008.AVI|16460009.AVI|16460010.AVI|16460011.AVI|16460012.AVI|16460013.AVI|16460014.AVI|16460015.AVI|16460016.AVI|16460017.AVI|16460018.AVI|16460019.AVI|16460020.AVI|16460021.AVI" -vf framestep=10,setpts=.05*PTS -r 30 $out
    ffmpeg -y -i "concat:16460001.AVI|16460002.AVI|16460003.AVI|16460004.AVI|16460005.AVI|16460006.AVI|16460007.AVI|16460008.AVI|16460009.AVI|16460010.AVI|16460011.AVI|16460012.AVI|16460013.AVI|16460014.AVI|16460015.AVI|16460016.AVI|16460017.AVI|16460018.AVI|16460019.AVI|16460020.AVI|16460021.AVI" -r 16 -filter:v "setpts=0.01*PTS" out.mp4

    Am I overlooking something ? I’m trying to speed up the inputs into a single file to quickly review incoming security footage. How can I do this without the super long useless tail at the end ?

  • ffmpeg how to do the "earrape" sound effect

    20 avril 2020, par Shalin Shah

    I was wondering how to do the earrape effect using ffmpeg where the audio just sounds completely destroyed. Here's an example :
https://www.youtube.com/watch?v=KiCmvQiAC8Q

    



    I've tried a bunch of combinations of different commands on ffmpeg and the closest I've gotten is the following (where I use the superequalizer and then make the volume super high) :

    



    import ffmpeg
(
    ffmpeg
    .input('shark.wav')
    .filter("superequalizer", 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20)
    .filter("volume", 10)
    .output('output_earrape.wav')
    .run()
)


    



    I'm using a python wrapper but here's the command line equivalent :

    



    ffmpeg -i shark.wav -af "superequalizer=1b=20:2b=20:3b=20:4b=20:5b=20:6b=20:7b=20:8b=20:9b=20:10b=20:11b=20:12b=20:13b=20:14b=20:15b=20:16b=20:17b=20:18b=20,volume=10" output_earrape.wav


    



    The problem with the above is that it doesn't do anything for files that aren't already super loud (such as recorded audio) and most of the time the audio actually just ends up clipping and then being super soft.

    



    Does anyone have suggestions on how to do this effect ? Thanks !

    


  • Can not get frames from youtube video using FFmpegMediaMetadataRetriever

    27 juin 2019, par Ahasan Ratul

    I have been trying to extract a frame from a youtube video using FFmpegMediaMetadataRetriever in my android studio project. whenever I use the youtube url inside setDataSource, the app crashes. I am totally new in android studio and haven’t worked with FFmpeg before. I would appreciate if anyone can help me out. Also, I am sorry if I have asked a really silly/easy question.

    import wseemann.media.FFmpegMediaMetadataRetriever;
    .....

    private BaseLoaderCallback mLoaderCallback = new BaseLoaderCallback(this) {
       @Override
       public void onManagerConnected(int status) {
           switch (status) {
               case LoaderCallbackInterface.SUCCESS: {
                   Log.i(TAG, "OpenCV loaded successfully");
                   mOpenCvCameraView.enableView();
                   try {
                       initializeOpenCVDependencies();
                   } catch (IOException e) {
                       e.printStackTrace();
                   }
               }
               break;
               default: {
                   super.onManagerConnected(status);
               }
               break;
           }
       }
    };


    private void initializeOpenCVDependencies() throws IOException {

       tick =0;
      //extract frame at 2 second using FFmpegMediaMetadataRetriever
       FFmpegMediaMetadataRetriever mmr = new FFmpegMediaMetadataRetriever();
       mmr.setDataSource("https://youtu.be/f-ehTcWC6dc");
       Bitmap b = mmr.getFrameAtTime(2000000, FFmpegMediaMetadataRetriever.OPTION_CLOSEST);
       mmr.release();

       objMat = new MatOfPoint2f();
       sceneMat = new MatOfPoint2f();
       obj_corners = new Mat(4, 1, CvType.CV_32FC2);
       img = new Mat();
       img2 = new Mat();
    }

    in the build.gradle, I have added the following dependencies

    dependencies {

          //FFmpegMediaMetadataRetriever dependencies
          implementation 'com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.14'

          implementation project(path: ':openCVLibrary340dev')
    }

    error that I get is :

    E/AndroidRuntime : FATAL EXCEPTION : main
    Process : com.example.jeverfun, PID : 8877
    java.lang.RuntimeException : Unable to resume activity com.example.jeverfun/com.example.jeverfun.jevercamera : java.lang.IllegalArgumentException : setDataSource failed : status = 0xFFFFFFFF
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3581)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
    Caused by : java.lang.IllegalArgumentException : setDataSource failed : status = 0xFFFFFFFF
    at wseemann.media.FFmpegMediaMetadataRetriever.setDataSource(Native Method)
    at com.example.jeverfun.jevercamera.initializeOpenCVDependencies(jevercamera.java:373)
    at com.example.jeverfun.jevercamera.access$100(jevercamera.java:59)
    at com.example.jeverfun.jevercamera$1.onManagerConnected(jevercamera.java:347)
    at com.example.jeverfun.jevercamera.onResume(jevercamera.java:469)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
    at android.app.Activity.performResume(Activity.java:7117)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621) 
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862) 
    at android.app.ActivityThread.-wrap11(Unknown Source:0) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589) 
    at android.os.Handler.dispatchMessage(Handler.java:106) 
    at android.os.Looper.loop(Looper.java:164) 
    at android.app.ActivityThread.main(ActivityThread.java:6494) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 
    I/MediaMetadataRetrieverJNI : release
    Application terminated.