Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (38)

  • 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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6285)

  • avfilter/f_ebur128 : add all sample rates support

    4 mars 2021, par Paul B Mahol
    avfilter/f_ebur128 : add all sample rates support
    

    The magic constants come from the unofficial "ITU-R BS.1770-1 filter
    specifications"¹ by Raiden (libebur128) which relies on "Parameter
    Quantization in Direct-Form Recursive Audio Filters"² by Brian
    Neunaber.

    The constants seem to include a quantization bias, for example :
    - Vb is supposed to be exactly √Vh in a high shelf filter
    - the Pre-filter Gain should likely be 4dB
    - Pre Q and RLB Q are respectively very close to √½ and ½

    Those are not adjusted to prevent the values from drifting away from
    the official specifications.

    An alternative to this approach would be to requantize on the fly as
    proposed by pbelkner³, where the 48kHz code path would use the exact
    specifications constants while derivating constants for other
    frequencies.

    [1] : https://www.scribd.com/document/49991813/ITU-R-BS-1770-1-filters
    [2] : https://www.scribd.com/document/6531763/Direct-Form-Filter-Parameter-Quantization
    [3] : https://hydrogenaud.io/index.php?topic=86116.msg740092#msg740092

    • [DH] libavfilter/f_ebur128.c
  • MobileFFMPEG Output file #0 does not contain any stream

    30 septembre 2020, par Alhaj

    I am using implementation 'com.arthenica:mobile-ffmpeg-full:4.4'

    


    I just want o crop audio file to 10 second to 20 second

    


    '''
fun cropAudio(input :String)

    


        val newFileName = UUID.randomUUID().toString()

    val location: String = getBatchDirectoryName()!!

    val output: String = location + "/" + newFileName + ".mp3"

    val temp=" -i $input -ss 60 -to 70 $output"

    Log.e("alhaj", " a $s")

    FFmpeg.execute(temp, object : ExecuteCallback {

        fun onSuccess(message: String?) {
            uploadOnFirebase(output, title)
            mediaPlayer.stop()
            Log.e("alhaj", message!!)
        }

        override fun apply(executionId: kotlin.Long, returnCode: Int) {
            if (returnCode == RETURN_CODE_SUCCESS) {
                Log.i("alhaj", "Async command execution completed successfully.");
            } else if (returnCode == RETURN_CODE_CANCEL) {
                Log.i("alhaj", "Async command execution cancelled by user.");
            } else {
                Log.i("alhaj", String.format("Async command execution failed with rc=%d.", returnCode));
            }
        }
    }.toString())
}


    


    '''

    


    but i am getting error

    


    '''

    


    2020-09-30 03:13:41.079 10300-10410/com.example.touchmeadmin I/mobile-ffmpeg : Output #0, mp3, to ' -i /storage/emulated/0/AJ backup/songs/Maroon 5 - Memories (Official Video) ( 256kbps cbr ).mp3 -ss 60 -to 70 /storage/emulated/0/Android/data/com.example.touchmeadmin/files/Music/830350fd-5218-4ee0-bd99-0dd50b802930.mp3' :
2020-09-30 03:13:41.079 10300-10410/com.example.touchmeadmin E/mobile-ffmpeg : Output file #0 does not contain any stream

    


    '''

    


  • OpenFaas. Write python function with FFmpeg using

    11 août 2021, par Валентин Никин

    I need to write OpenFaas function which can accept binary file as parameter. This function will extract some data from that binary file. Based on that data function will generate ffmpeg command. And finally function must be call ffmpeg to process generated command and return file as output.

    


    Function language must be python, because I need to use some python modules to process input binary file.

    


    The main questions :

    


      

    1. Can I accept binary a file as function parameter (in python function) ?
    2. 


    3. Can I call ffmpeg from python function, and return binary file as output ?
    4. 


    


    I have already met with alexellis official example (https://github.com/alexellis/openfaas-streaming-templates) but that example used bash language.

    


    I have one idea, but I don't know is it correct.
Maybe I can use example with bash, to accept binary file as parameter, then I call python script, after that I call ffmpeg, and return file as output as described in the example.
But I need some python modules available with pip. So, I don't know how I can got this.

    


    I'm newest in OpenFaas, so any idea would be appriciated