Recherche avancée

Médias (91)

Autres articles (75)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7068)

  • modify code of ffmpeg [closed]

    12 juillet 2012, par toutou0091

    Possible Duplicate :
    ffmpeg code changes

    To install FFmpeg, I followed the instructions in this web site http://buildall.wordpress.com/2011/05/09/how-to-compile-and-install-ffmpeg-in-ubuntu-11-04/ and it works well. In the file "mpegvideo_enc.c" there is a variable called "qp". I added in this file in the istruction printf to display this varaible. I redid after : ". / configure" and "make" and it works as well. The Result of this compilation gives no executable file. I would like to know why the printf that I added in the code is not displayed ?

  • Modify code so each snippets start from begin instead end

    13 décembre 2022, par Ohiowizard

    source : https://davidwalsh.name/video-preview#comment-515168
    
the part of code that trim videos into snippets :

    


     # Loop and generate video snippets
    mkdir $tempdir
    interval=$(($length/$desiredsnippets-$starttimeseconds))
    for i in $(seq 1 $desiredsnippets)
    do
        # Format the second marks into hh:mm:ss format
        start=$(($(($i*$interval))+$starttimeseconds))
        formattedstart=$(printf "%02d:%02d:%02d\n" $(($start/3600)) $(($start%3600/60)) $(($start%60)))
        echo 'Generating preview part ' $i $formattedstart
        # Generate the snippet at calculated time
        ffmpeg -i $sourcefile -vf scale=$dimensions -preset fast -qmin 1 -qmax 1 -ss $formattedstart -t $snippetlengthinseconds -threads $(nproc) $tempdir/$i.mp4
    done


    


    `

    


    Video length is 3600 (60mins)
    
Desired snippets = 30, that mean 2mins each
    
It always start at 0:02:00 to 0:04:00 -> and so on
    
but i want it start at 0:00:00 (1st snippet) -> 0:02:00 (2nd snippet) -> (this put in code because it said invalid code format)

    


      

    • I want to make it trim from start of each snippets instead end of each snippets.
    • 


    • This code trim video into multiple parts(snippets) that set by user, and then merged all snippets into one video.
    • 


    


  • How to debug ffmpeg c code used in IJKmediaplayer ?

    15 août 2015, par Daniyal Yasin

    I am trying to use the libstagefright codec of ffmpeg to decode an mp4 file using IJKmediaplayer on android. IJKmediaplayer is sort of a wrapper enabling the use of ffmpeg on Android.

    This is the link giving basic info about ijkmediaplayer : https://github.com/Bilibili/ijkplayer

    The link also describes the build process for ijkmediaplayer. First ffmpeg is built then the shared libraries are copied to appropriate places and then I have to import the project in eclipse.

    I use the ijkmediaplayer android project in eclipse as a library project in another android application. The structure is like this :

    |-ijkmediaplayer
    | |-jni
    |   |-ffmpeg (this folder doesn't have the complete source just headers)
    |   |-ijkmedia (some c source files of ijkmediaplayer)
    |
    |-my_project

    So my question is how do I debug libstagefright.cpp from my application ?

    Libstagefright.cpp is contained in the ffmpeg source not visible in the android ijkmediaplayer project. But used when building the ijkmediaplayer android project as described in the link.

    The debugger easily reaches the code of the ijkmediaplayer android project. But does not proceed to the native code automatically if I press f5.