Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (97)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

  • Anomalie #3055 (Nouveau) : Autorisation sur les listes d’objets

    13 septembre 2013, par Maïeul Rouquette

    Sous SPIP 3 il y a dans inc/autoriser.php

    function autoriser_auteurs_menu_dist($faire, $type, $id, $qui, $opt){return true;}
    function autoriser_articles_menu_dist($faire, $type, $id, $qui, $opt){return true;}
    function autoriser_rubriques_menu_dist($faire, $type, $id, $qui, $opt){return true;}

    ce qui permet de dire qu’on autorise pas à voir le menu menant à la liste des auteurs / des articles / des rubriques.

    Mais ! si on se rend sur (par exemple) ?exec=auteurs il n’y a aucune manière de ne pas autoriser à voir cette page.

    Je vois trois solutions
    a) dans prive/squelettes/contenu/auteurs.html mettre un test #AUTORISATIONauteurs,menu (ou équivalent, je ne me rappel plus la syntaxe exactes) et ainsi de suite sur toute les pages.
    b) la même chose, mais avec #AUTORISATIONvoir,auteurs. Le pb c’est qu’on arrive sur autoriser_auteur_voir ... ce qui entraîne confusion entre voir les auteurs et voir UN auteurs particulier
    c) considérer que pour chaque page ?exec on teste automatiquemnt l’autorisation sur le menu correspondant.

    Ps : ceci fait suite à ce message http://comments.gmane.org/gmane.comp.web.spip.user/184403 et ma tentative d’intégrer le besoin d’en autorité

  • How we can capture entire screen screenshot using android application via programming

    18 novembre 2022, par Krunal Indrodiya

    Can anyone having idea how we can capture entire screen screenshot including other application overlay menu and toast using android application programming not for adb commands and manual button press.

    


    I have went through some of the code which is taking screenshot excluding toast and other application overlay displayed on my screen.

    


    Below code is only capturing activity view screenshot not capturing any other app overrlay menu and toast. Mostly because of val v1: View = window.decorView this line.

    


    val mPath: String = context.cacheDir.absolutePath + "/temp_${System.currentTimeMillis()}" + ".png"
// create bitmap screenshot
val v1: View = window.decorView
v1.isDrawingCacheEnabled = true
val bitmap = Bitmap.createBitmap(v1.drawingCache)
v1.isDrawingCacheEnabled = false
val imageFile = File(mPath)
val outputStream = FileOutputStream(imageFile)
val quality = 100
bitmap.compress(Bitmap.CompressFormat.PNG, quality, outputStream)
outputStream.flush()
outputStream.close()


    


    Also try to execute command to capture screenshot via app programming but not get succeed,

    


    val process = Runtime.getRuntime().exec("su")
val os = DataOutputStream(process.outputStream)
val cmd= "exec-out screencap"
os.writeBytes(cmd)
os.close()


    


    Requirement

    


      

    • Listener to identify if any other app displaying overlay menu.
    • 


    • I would like to capture screenshot when any other application overlay is displayed on my screen and screenshot must contains other application overlay.
    • 


    


    Please let me know how can i archive this. I really appreciate for your single reply or answer. Thanks in advance.

    


  • ffmpeg : Missing subtitles on iPod

    7 septembre 2016, par forthrin

    I generating a playable video on a 3rd generation iPod Nano using the following command line, but I’m having certain challenges related to subtitles, stability and metadata.

    ffmpeg -y -i in.mkv -i in.srt -profile:v baseline -level 3 -refs 6 -ar 44100 -ac 2 -ab 128k
    -vf "scale=640:-1,pad=iw:480:0:(oh-ih)/2" -map 0:0 -map 0:1 -map 1:0 -map_metadata -1
    -movflags +faststart -scodec mov_text -metadata:s:s:0 language=eng out.mp4
    1. Subtitles won’t show. I tried both iPod settings "Subtitles On" and "Captions On". iPod software is latest 1.1.3. Subtitles show with OS X QuickTime after I change from "Auto" to "English" in the subtitle menu. Is there an ffmpeg flag to make subtitles display on the iPod ?

    2. The video player exits after 11-12 minutes for many of the converted videos. Restricting the bitrate -b:v 600k -bufsize 600k did not help. Any advice how to circumvent this ?

    3. Lastly, how can I make the video show under the "TV show" menu on the iPod ? Couldn’t find any help searching for "ffmpeg metadata tv". Or is this an internal iTunes feature ?