Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (63)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9620)

  • FFmpeg is using more threads than I expect when using -threads

    7 décembre 2016, par Tom Peters

    The number of actual threads used by FFmpeg do not line up with the number I pass using the -threads argument.

    I’ve run tests on both my MacBook Air, which has 4 cores, and a VM I have which has 2 cores. The number of threads used are consistent across both machines.

    Using a single thread returns what I would expect : 1 thread is used.

    $ ffmpeg -threads 1 -i clip.mp4 -threads 1 -acodec libfdk_aac -vcodec libx264 -b:v 200k -vf scale=200:-2 -y clip-200.mp4

    $ cat /proc/$(pgrep ffmpeg)/status | grep Threads
    Threads:        1

    If I set the -threads option on the input, it increase the number of threads used to 3. This somewhat makes sense to me since the input would use 2 threads and the output would use a single thread.

    $ ffmpeg -threads 2 -i clip.mp4 -threads 1 -acodec libfdk_aac -vcodec libx264 -b:v 200k -vf scale=200:-2 -y clip-200.mp4

    $ cat /proc/$(pgrep ffmpeg)/status | grep Threads
    Threads:        3

    This is where I start to get confused. If instead, I leave the input -threads at 1 and set the output -threads to 2, it uses 8 threads (not 3 like I would expect).

    $ ffmpeg -threads 1 -i clip.mp4 -threads 2 -acodec libfdk_aac -vcodec libx264 -b:v 200k -vf scale=200:-2 -y clip-200.mp4

    cat /proc/$(pgrep ffmpeg)/status | grep Threads
    Threads:        8

    If I add a second output with -threads 1, it does not increase the number of threads used.

    $ ffmpeg -threads 1 -i clip.mp4 -threads 2 -acodec libfdk_aac -vcodec libx264 -b:v 200k -vf scale=200:-2 -y clip-200.mp4 \
                                   -threads 1 -acodec libfdk_aac -vcodec libx264 -b:v 250k -vf scale=250:-2 -y clip-250.mp4

    cat /proc/$(pgrep ffmpeg)/status | grep Threads
    Threads:        8

    However, if the second output also specifies two threads, the thread count jumps to 15.

    $ ffmpeg -threads 1 -i clip.mp4 -threads 2 -acodec libfdk_aac -vcodec libx264 -b:v 200k -vf scale=200:-2 -y clip-200.mp4 \
                                   -threads 2 -acodec libfdk_aac -vcodec libx264 -b:v 250k -vf scale=250:-2 -y clip-250.mp4

    cat /proc/$(pgrep ffmpeg)/status | grep Threads
    Threads:        15

    Every incremental bump beyond -threads 2 will use an additional 3 threads (e.g. threads 2 uses 8, threads 3 uses 11, threads 4 uses 14.

    So it seems like anytime you use -threads 2 the formula is something like :

    1 + [ (1 + (3 * output_n_threads)) + ... ]

    Ultimately my question is why do the number of actual threads used wildly differ from the options I’m specifying.

    Thanks.

  • using ffmpeg from macOS terminal for uploading youtube short from android just do nothing

    25 juin 2023, par Yogi Arif Widodo

    my component / recording is using blachole plugin on macOS.

    


    engine : 13" Macbook Pro M1 ( macOS 13.2 / Ventura )

    


    step to reproduce

    


      

    1. my output is screenRecordingAudio ( this name is custom name ).
    2. 


    


    // screenRecordingAudio in audioMidi : 
BlackHole 16ch [mark as checked on use]
External Headphones [mark as checked on use]


    


    


    screenRecordingAudio is using on by click on right top of bar UI, click sound, click screenRecordingAudio.

    


    


    OR

    


    


    screenRecordingAudio is using on Settings ➡️ Sounds ➡️ Output ➡️ then choose screenRecordingAudio

    


    


      

    1. my input is quickTimeInput ( this name is custom name ).
    2. 


    


    // quickTimeInput in audioMidi : 
BlackHole 16ch [mark as checked on use]


    


      

    1. then using + shift + 5 , on option i use quickTimeInput
    2. 


    3. i use these command to convert into mp4 and also purpose to get more small size video
    4. 


    


    #!/bin/bash

# greet the user
function yoVideo() {
  ffmpeg -i $1.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k -movflags +faststart $1.mp4
}


    


    OR

    


    ffmpeg -i yogiarifwidodo.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k -movflags +faststart yogiarifwidodo.mp4


    


      

    1. then i move the video into my phone android.
    2. 


    3. then when i tried to upload on youtube as short, its cannot be process to upload ( its just do nothing ) but when i upload on facebook reels its work also on instagram story its still working also for whatsapp story.
    4. 


    


    when i didnt convert into mp4 its also happend and in any other case for example whatsapp story , its lagging to review video before upload . its happend to on instagram .
but when i force upload , the result video is good and smooth . then i re download my video its still best video and when try to upload my download video , there is no lagging in any condition.

    


    how to get ffmpeg perform into mp4 and also no lagging on editing while uploading at whatsapp story or instagram story or facebook , etc ?
by the way i dont know command ffmpeg , the code is copied from stackoverflow and i forgot where is it.

    


  • RN 0.74.7 can't find repo for ffmpeg-kit-react-native 6.0.2

    9 mai, par user938363

    My React Native 0.74.7 (on MacOS) app has hard time to find the ffmpeg-kit-react-native repo when run-android. It constantly complains no repo found on maven. Here is the error when react-native run-android :

    


    * What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.arthenica:ffmpeg-kit-full-gpl:6.0.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/arthenica/ffmpeg-kit-full-gpl/6.0/ffmpeg-kit-full-gpl-6.0.pom
       - https://repo.maven.apache.org/maven2/com/arthenica/ffmpeg-kit-full-gpl/6.0/ffmpeg-kit-full-gpl-6.0.pom
       - file:/Users/macbook/Documents/code/js/VmonFront/node_modules/jsc-android/dist/com/arthenica/ffmpeg-kit-full-gpl/6.0/ffmpeg-kit-full-gpl-6.0.pom
       - https://dl.google.com/dl/android/maven2/com/arthenica/ffmpeg-kit-full-gpl/6.0/ffmpeg-kit-full-gpl-6.0.pom
       - https://www.jitpack.io/com/arthenica/ffmpeg-kit-full-gpl/6.0/ffmpeg-kit-full-gpl-6.0.pom
     Required by:
         project :app > project :ffmpeg-kit-react-native


    


    In android/build.gradle, the repo was specified :

    


    buildscript {
    ext {
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"

        ffmpegKitPackage = "full-gpl"
    }

    repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" }
        // You can comment out the below line if it causes issues:
        maven { url 'https://maven.arthenica.com/public/' } //<<<===repo here
    }

    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
    }
}


apply plugin: "com.facebook.react.rootproject"


    


    Also the following code is added to android/app/build.gradle :

    


    // 🔥 Add this block to override the wrong version in ffmpeg's gradle.properties
configurations.all {
    resolutionStrategy {
        force "com.arthenica:ffmpeg-kit-https:6.0". //<<<===6.0.2 or 6 didn't work
        force "com.arthenica:ffmpeg-kit-full-gpl:6.0" // Include if using other packages
    }
}


    


    The problem seems to be with RN 0.74.7 only, as my RN 0.78.0 with ffmpeg-kit-react-native installed was able to download full-gpl version and installed successfully. What is missing here to install ffmpeg-kit on RN 0.74.7 ?