Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (63)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (10801)

  • 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

    


  • What is the most suitable H265 setting converting from H264 on ffmpeg ?

    9 juin 2017, par minion007

    Currently, I was trying to convert my videos no matter personal videos or movies from H264 to H265. But that was much harder than what I expected.

    Firstly, it took me over 10 hours to build ffmpeg on Linux and I believe I’m still having some problems on dealing with this.

    Secondly, I notice there is degradation after converting by using the setting or parameters from Internet or ffmpeg official website. On the other hand, the video size would be the same or even bigger than the original video size if I use small crf like 23 or 28.

    For instance, sudo ffmpeg -i input.mp4 -c:v hevc -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv

    sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv

    the above two settings give me the very small video size (between 21% 23% of the original video) which is the main reason why I want to convert my videos to H265 but drawback would be the quality of converted video is worse than the original video (I would may be between 30% 35% degradation).

    Thirdly, the size of video would be much bigger than the original size of video if I use the lossless parameter.

    sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless=1 -preset medium -crf 30 -c:a copy output.mkv

    the above setting can keep the quality of the original video but size would be huge (above 200% of original video).

    Is there any suggestion ?