Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (20)

  • 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

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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (5765)

  • Android NDK - ffmpeg header files not found by compiler

    7 septembre 2015, par markt

    I am trying to use the ffmpeg libraries with Android NDK in the experimental plugin.

    I am attempting to compile this example :
    https://github.com/roman10/android-ffmpeg-tutorial/blob/master/android-ffmpeg-tutorial01/jni/tutorial01.c

    My problem is that the header files are not being found by the compiler :

    Error:(13, 32) libavcodec/avcodec.h: No such file or directory

    I added flags to build.grade :

    cppFlags += "-ilibavcodec -ilibavutil -ilibavformat -ilibswscale"
    ldFlags += "-llibavcodec -llibavutil -llibavformat -llibswscale"

    Which seems to keep lint happy, but not the compiler. (Not sure if I have done this right ?)

    I Have added the header files to the /jni folder :
    Project folder structure

    And build.grade looks like this :

    apply plugin: 'com.android.model.application'
    model {
       android {
           compileSdkVersion = 23
           buildToolsVersion = "23.0.1"

           defaultConfig.with {
               applicationId = "roman10.tutorial.android_ffmpeg_tutorial01"
               minSdkVersion.apiLevel = 10
               targetSdkVersion.apiLevel = 23

           }
       }

       compileOptions.with {
           sourceCompatibility = JavaVersion.VERSION_1_7
           targetCompatibility = JavaVersion.VERSION_1_7
       }

       android.buildTypes {
           release {
               minifyEnabled = false
               proguardFiles += file('proguard-rules.pro')
           }
       }


       android.ndk {
           moduleName = "tutorial01"
           ldLibs += ["android","log","jnigraphics","z"]
           cppFlags += "-ilibavcodec -ilibavutil -ilibavformat -ilibswscale"
           ldFlags += "-llibavcodec -llibavutil -llibavformat -llibswscale"
       }
    }

    dependencies {
       compile fileTree(dir: 'libs', include: ['*.jar'])
       compile 'com.android.support:support-v4:23.0.1'
    }

    Thanks.

  • How to extract a video snippet from a video file that is being written in by ffmpeg in realtime

    31 juillet 2020, par alex.b

    At the moment i am recording a LIVE stream video from youtube with youtube-dl (https://github.com/rg3/youtube-dl)

    



    The command i use for this :

    



    youtube-dl --id -f 92 https://www.youtube.com/watch?v=VYlQJbsVs48


    



    92 is a format code that i got after executing a command to get the formats, that gave me this list :

    



    format code  extension  resolution note
140          m4a        audio only DASH audio  144k , m4a_dash container, aac  @128k (48000Hz)
141          m4a        audio only DASH audio  272k , m4a_dash container, aac  @256k (48000Hz)
160          mp4        256x144    DASH video  124k , 15fps, video only
133          mp4        426x240    DASH video  258k , 30fps, video only
134          mp4        640x360    DASH video  616k , 30fps, video only
135          mp4        854x480    DASH video 1116k , 30fps, video only
136          mp4        1280x720   DASH video 2216k , 30fps, video only
137          mp4        1920x1080  DASH video 4141k , 30fps, video only
151          mp4        72p        HLS
132          mp4        240p       HLS
92           mp4        240p       HLS
93           mp4        360p       HLS
94           mp4        480p       HLS
95           mp4        720p       HLS
96           mp4        1080p      HLS  (best)


    



    This is creating a file called VYlQJbsVs48.mp4.part that gets bigger and bigger of course.

    



    Is there a way to extract a video snippet from that live stream or form the part file ? Or maybe there is a better way of doing this ?

    



    What i have noticed is that if i force quit iTerm2 while youtube-dl is running the .part file it creates wont contain any index information (something to do with an moov atom not being present in the mp4 file - which is the information about the number of frames and other things - metadata i think), so it makes me think i cannot extract from the file.

    



    Maybe if there would be a way that youtube-dl can write the index information at all times or maybe another way that i can record the live stream and get video snippets while its recording.

    



    I forgot to mention i am doing this on OSX Yosemite. I have FFMPEG installed with homebrew and youtoube-dl

    



    I am more than happy to try stuff on UBUNTU if there is a solution.

    



    Any help would be greatly appreciated.

    



    Thank you.

    



    Alex

    


  • How to extract a video snippet from a video file that is being written in by ffmpeg in realtime

    26 février 2015, par alex.b

    At the moment i am recording a LIVE stream video from youtube with youtube-dl (https://github.com/rg3/youtube-dl)

    The command i use for this :

    youtube-dl --id -f 92 https://www.youtube.com/watch?v=VYlQJbsVs48

    92 is a format code that i got after executing a command to get the formats, that gave me this list :

    format code  extension  resolution note
    140          m4a        audio only DASH audio  144k , m4a_dash container, aac  @128k (48000Hz)
    141          m4a        audio only DASH audio  272k , m4a_dash container, aac  @256k (48000Hz)
    160          mp4        256x144    DASH video  124k , 15fps, video only
    133          mp4        426x240    DASH video  258k , 30fps, video only
    134          mp4        640x360    DASH video  616k , 30fps, video only
    135          mp4        854x480    DASH video 1116k , 30fps, video only
    136          mp4        1280x720   DASH video 2216k , 30fps, video only
    137          mp4        1920x1080  DASH video 4141k , 30fps, video only
    151          mp4        72p        HLS
    132          mp4        240p       HLS
    92           mp4        240p       HLS
    93           mp4        360p       HLS
    94           mp4        480p       HLS
    95           mp4        720p       HLS
    96           mp4        1080p      HLS  (best)

    This is creating a file called VYlQJbsVs48.mp4.part that gets bigger and bigger of course.

    Is there a way to extract a video snippet from that live stream or form the part file ? Or maybe there is a better way of doing this ?

    What i have noticed is that if i force quit iTerm2 while youtube-dl is running the .part file it creates wont contain any index information (something to do with an moov atom not being present in the mp4 file - which is the information about the number of frames and other things - metadata i think), so it makes me think i cannot extract from the file.

    Maybe if there would be a way that youtube-dl can write the index information at all times or maybe another way that i can record the live stream and get video snippets while its recording.

    I forgot to mention i am doing this on OSX Yosemite. I have FFMPEG installed with homebrew and youtoube-dl

    I am more than happy to try stuff on UBUNTU if there is a solution.

    Any help would be greatly appreciated.

    Thank you.

    Alex