Recherche avancée

Médias (91)

Autres articles (98)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10841)

  • How do I actually use ffmpeg on Android ?

    14 mars 2021, par slhck

    I have a very basic question regarding Android and ffmpeg. I obtained ffmpeg from http://bambuser.com/opensource and was able to compile it for ARM.

    



    The results are the binaries (ffmpeg) as well as several libsomething.so files.

    



    My question is : Is this enough to decode videos ? How do I actually use ffmpeg then ?

    



    To load the library I have :

    



    static {
    System.load("/data/data/com.package/lib/libavcodec.so");
 }


    



    It loads fine. But what then ?

    



    
More explanation : I saw other projects where people had their ffmpeg source in a JNI directory in the project. They also created some Android.mk files and some C code along with it. Would I need this as well ? Why would I create the .so files first and then copy the ffmpeg source code again ?


    



    
I know the NDK and how it should work but I've never seen an example of how one would actually call ffmpeg functions using it, because people seem to be hiding their implementations (which is sort of understandable) but not even giving useful pointers or examples.


    



    
Let's just say I wanted to decode a video file. Which kind of native methods would I need to implement ? How do I run the project ? Which data types need to be passed ? etc. There are certainly a few people here who have at least done that, I know this from searching for hours and hours.


    


  • ffmpeg - invalid duration

    22 septembre 2016, par OmidAntiLong

    For a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)

    00:00:08,1
    00:00:49,2
    00:01:30,3
    00:02:38,4
    00:03:46,5
    00:04:08,6
    00:04:26,7
    00:04:37,8
    00:04:49,9
    00:05:29,10
    00:05:52,11
    00:06:00,12
    00:06:44,13
    00:07:49,14
    00:08:32,15
    00:09:28,16
    00:10:17,17
    00:10:44,18
    00:11:48,19
    00:12:07,20

    I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.

    The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).

    This is my loop code :

    while read code a
    do
     echo $code
     f="$(printf "%03d" $i)"

     ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg

     ((i++))
    done < $INPUT

    I’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.

    Terminal output

    Does anyone have any ideas ? I’m scratching my head.

    Cheers

  • Convert HLS stream to mp4 with Java [closed]

    18 avril 2017, par Wessel Oosthuizen

    I have a requirement to convert a HLS (m3u8) stream to something I can download from a web browser, with Java. Currently I play video clips via a remote HLS stream in the browser using video.js. But I can’t take that URL and grab the bytes for the end user to download it, like I can if it was a mp4 stream.

    I found the question below, which makes it seem possible using ffmpeg command line. I am familiar with the javacv library and FrameGrabber, etc... But I can’t figure out how to apply that library to this case.

    Converting an HLS (m3u8) to MP4

    Any ideas ?

    Thanks