Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (71)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (2825)

  • fftools/ffmpeg_demux : only call filter_codec_opts() when we have a decoder

    22 mars 2024, par Anton Khirnov
    fftools/ffmpeg_demux : only call filter_codec_opts() when we have a decoder
    

    It is pointless otherwise, as decoder options will not be used.

    • [DH] fftools/ffmpeg_demux.c
  • Subprocess call invalid argument or option not found

    14 septembre 2018, par NickB

    I’m trying to call ffmpeg command using subprocess.call() on linux, but I’m unable to get the arguments right. Before hand, I used os.system and it worked, but this method is not recommended.

    Using arguments with a dash such as "-i" gets me this error

    Unrecognized option 'i "rtsp://192.168.0.253:554/user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream"'.
    Error splitting the argument list: Option not found

    Using arguments without dash like "i" gets me this error

    [NULL @ 0x7680a8b0] Unable to find a suitable output format for 'i rtsp://192.168.0.253:554/user=admin&password=&channel=0&stream=0.sdp?real_stream'
    i rtsp://192.168.0.253:554/user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream: Invalid argument

    Here’s the code

    class IPCamera(Camera):
    """
       IP Camera implementation
    """
    def __init__(self,
                path='\"rtsp://192.168.0.253:554/'
                     'user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream\"'):

       """
           Constructor
       """
       self.path = path

    def __ffmpeg(self, nb_frames=1, filename='capture%003.jpg'):
       """
       """

       ffm_input = "-i " + self.path
       ffm_rate = "-r 5"
       ffm_nb_frames = "-vframes " + str(nb_frames)
       ffm_filename = filename

       if platform.system() == 'Linux':
           ffm_path = 'ffmpeg'
           ffm_format = '-f v4l2'

       else:
           ffm_path = 'C:/Program Files/iSpy/ffmpeg.exe'
           ffm_format = '-f image2'

       command = [ffm_path, ffm_input, ffm_rate, ffm_format, ffm_nb_frames, ffm_filename]
       subprocess.call(command)

       print(command)

    BTW, I’m running this command on a MT7688.

    Thanks

  • lavc/hevcdec : call export_stream_params_from_sei() before ff_get_buffer()

    25 juin 2024, par Anton Khirnov
    lavc/hevcdec : call export_stream_params_from_sei() before ff_get_buffer()
    

    So that correct values of color_trc are set on the allocated frame.

    • [DH] libavcodec/hevc/hevcdec.c