Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (69)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (7603)

  • FFmpeg watermark is using first frame of video instead of the provided .png

    22 décembre 2020, par SPorridge

    I am trying to use FFmpeg on Windows10 to add a watermark to an existing mp4 video. Using the following command :

    


    ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=10:10" output.mp4

    


    The expected result is the watermark.png image is added at position 10x10px throughout the video runtime. Instead, the first frame of input.mp4 is being added picture-in-picture style at that position instead.

    


    Looking through the documentation I am struggling to see how this is happening. When I remove watermark.png from the current directory, I get an error that it cannot be found, so it seems FFmpeg is at least recognising the existence of the .png when it is there.

    


    Thanks in advance for any advice !

    


  • Merge multiple videos to a split-screen video with FFMPEG

    23 mai 2020, par finnk

    I am new to ffmpeg, and I need some help :

    



    I am writing an App that merges multiple videos to a single split-screen video. The user can set the size and position of each video.
I implemented the merging by using a video.js stream merger. This works great on my notebook, but it won't work on older devices, so I decided to do the merging server-side with ffmpeg.
I am struggling to achieve this. I tried it using the xstack, but how can I set the position of each video ?`And how can i tell ffmpeg to enable the audio of each video ? Is it possible to use the xstack in ffmpeg.js ? It would be nice, because it is easier for me to deploy(as a firebase function)
By now i tried it with a fixed amount of input files :

    



    .\ffmpeg -i .\input0.webm -i input1.webm -i .\input2.webm -i .\input3.webm -filte
r_complex "[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]" -map "[v]"   -map 0:a -map 1:a  -map 2:a -
map 3:a output2.webm


    



    But I need to automate the call based on the user input. This works, but there is no audio, and I can't set the position of each video like I want to.

    



    Update :

    



    This is a snapshot of a possible user input
I just don't know how/If I can use the layout option to make something like this.

    


  • Using FFMpeg on Android to record to a RTMPS target

    4 mai 2017, par pbdev

    We’re building an Android app that streams video to a Wowza server. When using the RTMP protocol everything works but when we change the protocol to RTMPS (and the port number to 443) the recorder stops after a few frames. We tried both endpoints on a MacBook (streaming the build-in webcam) and that just works well so the endpoints are fine.

    rtmp://my.streamlock.net:1935/app/stream
    rtmps://my.streamlock.net:443/app/stream

    Here is some of the build.gradle file :

    configurations {
       all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
    }

    dependencies {
       compile group: 'org.bytedeco', name: 'javacv', version: '1.3.2'
       compile 'org.bytedeco.javacpp-presets:opencv:3.2.0-1.3.2:android-arm'
       compile 'org.bytedeco.javacpp-presets:opencv:3.2.0-1.3.2:android-x86'
    }

    The record method on the FFmpegFrameRecorder instance gets called 30 times per second. After 7 or 8 frames the record method freezes for a minute and then records another 7 or 8 frames. No exceptions are thrown, the app just does ’nothing’. Here are some debugging logs :

    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xcb480000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@63f04a2]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xcb480000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcb480000,deallocatorAddress=0xcdcce000]]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xe952f478,deallocatorAddress=0xcf750090]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xcb100000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@38a8533]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xcb100000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcb100000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xcad00000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@f0270f0]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xcad00000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcad00000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xcab00000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@c136669]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xcab00000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcab00000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xca900000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@bacc8ee]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xca900000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca900000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xca700000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@3de418f]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xca700000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca700000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xca500000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@135ac1c]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xca500000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca500000,deallocatorAddress=0xcdcce000]]
    D/Recorder: Record method done
    D/Recorder: Calling the record method
    I/System.out: Predeallocating org.bytedeco.javacpp.BytePointer[address=0xca300000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$2@7f30025]
    I/System.out: Registering org.bytedeco.javacpp.BytePointer[address=0xca300000,position=0,limit=921603,capacity=921603,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca300000,deallocatorAddress=0xcdcce000]]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcb100000,deallocatorAddress=0xcdcce000]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca500000,deallocatorAddress=0xcdcce000]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca700000,deallocatorAddress=0xcdcce000]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xca900000,deallocatorAddress=0xcdcce000]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcab00000,deallocatorAddress=0xcdcce000]
    I/System.out: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0xcad00000,deallocatorAddress=0xcdcce000]

    After the NativeDeallocator nothing happens for a minute and then the same repeats. Any help would be greatly appreciated !