Recherche avancée

Médias (91)

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6681)

  • what is the correct command using gstreamer to convert mp4 to 264 file ?

    25 mars 2020, par hilow

    My english is pool, i am sorry !

    I use ffmpeg and gstreamer convert mp4 file to 264 format, but the output file is different.
    The question is :

    • 1.Why they are different file ?

    • 2.What is the level mean in gst-discoverer-1.0 ?

      Use ffmpeg it is Codec:     video/x-h264, ...... level=(string)1.2.

      Use gstreamer it is Codec:     video/x-h264, ...... level=(string)3.

    • 3.How to use gstreamer to convert the correct 264 file ?

    The original video file is come from https://github.com/notedit/media-server-go-demo/blob/master/video-mixer/public/big_buck_bunny.mp4 .

    command :

    gst-launch-1.0 filesrc location=big_buck_bunny.mp4 ! \
       qtdemux name=demux \
         demux.video_0 ! queue ! \
         decodebin ! \
         videoconvert ! \
         videoscale ! \
         videorate ! \
         video/x-raw,width=320,height=240,framerate=15/1,pixel-aspect-ratio=1/1,level=1.2 ! \
         x264enc bframes=0 byte-stream=true bitrate=9000 ! \
         filesink location=videogst.264

    ffmpeg -i big_buck_bunny.mp4 -f h264 -vcodec libx264 -s 320x240 -bf 0 -r 15 videoffmpeg.264

    output file :

    -rw-r--r-- 1 xxx staff 1.9M 3 25 13:39 videoffmpeg.264
    -rw-r--r-- 1 xxx staff 17M 3 25 13:40 videogst.264

    video codec :

    xxx@xxxs-MacBook-Pro resource %  gst-discoverer-1.0 videoffmpeg.264 -v
    Analyzing file:///Users/xxx/tool/resource/videoffmpeg.264
    Done discovering file:///Users/xxx/tool/resource/videoffmpeg.264

    Topology:
     video: video/x-h264, width=(int)320, height=(int)240, framerate=(fraction)15/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)1.2, codec_data=(buffer)0164000cffe100176764000cacb20283f420000003002000000303c1e2854901000668ebc3cb22c0
       Tags:
         视频编码: H.264 (High Profile)

       Codec:
         video/x-h264, width=(int)320, height=(int)240, framerate=(fraction)15/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)1.2, codec_data=(buffer)0164000cffe100176764000cacb20283f420000003002000000303c1e2854901000668ebc3cb22c0
       Additional info:
         None
       Stream ID: 349989c8845fcc23360fb0ab02ea7510051b926669bf8f3862879823fbab6daf
       Width: 320
       Height: 240
       Depth: 24
       Frame rate: 15/1
       Pixel aspect ratio: 1/1
       Interlaced: false
       Bitrate: 0
       Max bitrate: 0

    Properties:
     Duration: 0:01:32.995000000
     Seekable: yes
     Live: no
     Tags:
         视频编码: H.264 (High Profile)


    xxx@xxxs-MacBook-Pro resource % gst-discoverer-1.0 videogst.264 -v
    Analyzing file:///Users/xxx/tool/resource/videogst.264
    Done discovering file:///Users/xxx/tool/resource/videogst.264

    Topology:
     video: video/x-h264, pixel-aspect-ratio=(fraction)1/1, width=(int)320, height=(int)240, framerate=(fraction)15/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)3, codec_data=(buffer)0164001effe1001d6764001eacb20283f602d4180416940000030004000003007a3c58b92001000568ebccb22c
       Tags:
         视频编码: H.264 (High Profile)

       Codec:
         video/x-h264, pixel-aspect-ratio=(fraction)1/1, width=(int)320, height=(int)240, framerate=(fraction)15/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string)3, codec_data=(buffer)0164001effe1001d6764001eacb20283f602d4180416940000030004000003007a3c58b92001000568ebccb22c
       Additional info:
         None
       Stream ID: fb99f4104b347e5682d52c0bd65bcee91b765e42f89ce2e3553be5d6d743a666
       Width: 320
       Height: 240
       Depth: 24
       Frame rate: 15/1
       Pixel aspect ratio: 1/1
       Interlaced: false
       Bitrate: 0
       Max bitrate: 0

    Properties:
     Duration: 0:01:45.505000000
     Seekable: yes
     Live: no
     Tags:
         视频编码: H.264 (High Profile)
  • Revision 29926 : On branche spip_piwik

    17 juillet 2009, par kent1@… — Log

    On branche spip_piwik

  • Unable find an ffmpeg binary for your Android system

    22 juillet 2024, par Ayush Thakur

    Working on a project where I need to use FFmpeg library in Kotlin to work on some audio files. However I'm unable to initialize the ffmpeg library itself.

    


    this is the error I'm getting

    


    Could not find an ffmpeg binary for your Android system. Did you forget calling: 'new AndroidFFMPEGLocator(this);' ?
2024-07-22 18:48:33.910 11800-11800 PipeDecoder             com.example.sangeet                  E  Tried to unpack a statically compiled ffmpeg binary for your architecture to: /data/user/0/com.example.sangeet/cache/ffmpeg
2024-07-22 18:48:33.923 11800-11800 AndroidRuntime          com.example.sangeet                  E  FATAL EXCEPTION: main (Ask Gemini)
                                                                                                    Process: com.example.sangeet, PID: 11800
                                                                                                    java.lang.Error: Decoding via a pipe will not work: Could not find an ffmpeg binary for your system


    


    @HiltAndroidApp
class Sangeet: Application(){
    override fun onCreate() {
        super.onCreate()
        provideFirebaseApp(this)
        FFmpegKitConfig.setLogLevel(Level.AV_LOG_INFO)
        FFmpegKitConfig.enableLogCallback { Log.d("ffmpeg",it.message) }
        initializeFFmpegKit()
    }
    private fun initializeFFmpegKit() {
        // This method should be sufficient to ensure FFmpegKit is ready to use
        val ffmpegSession = FFmpegKit.execute("ffmpeg -version")
        if (ReturnCode.isSuccess(ffmpegSession.returnCode)) {
            Log.d("FFmpeg", "FFmpeg is ready to use.")
        } else {
            Log.e("FFmpeg", "Failed to initialize FFmpeg: ${ffmpegSession.failStackTrace}")
            initializeFFmpegBinary()
        }
    }
    private fun initializeFFmpegBinary() {
        val ffmpegBinaryPath = filesDir.absolutePath + "/ffmpeg"
        val binaryFile = File(ffmpegBinaryPath)
        if (!binaryFile.exists()) {
            Log.e("FFmpeg", "FFmpeg binary not found at $ffmpegBinaryPath")
            // Copy or download the FFmpeg binary to this path
        } else {
            Log.d("FFmpeg", "FFmpeg binary found at $ffmpegBinaryPath")
        }
    }
}


    


    Tried using AndroidFFMPEGLocator(this) ; as suggested by the compiler in my code but unknown reference error is coming for the above line of code.

    


    Also tried using FFmpegKit.init(this) function but init is also not being recognised by the compiler