Recherche avancée

Médias (3)

Mot : - Tags -/collection

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

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (5796)

  • How to get a online video's duration without downloading the full video ?

    8 février 2017, par David Zhuang

    To get a video’s duration and resolution, I’ve got this function :

    def getvideosize(url, verbose=False):
    try:
       if url.startswith('http:') or url.startswith('https:'):
           ffprobe_command = ['ffprobe', '-icy', '0', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', '-timeout', '60000000', '-user-agent', BILIGRAB_UA, url]
       else:
           ffprobe_command = ['ffprobe', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', url]
       logcommand(ffprobe_command)
       ffprobe_process = subprocess.Popen(ffprobe_command, stdout=subprocess.PIPE)
       try:
           ffprobe_output = json.loads(ffprobe_process.communicate()[0].decode('utf-8', 'replace'))
       except KeyboardInterrupt:
           logging.warning('Cancelling getting video size, press Ctrl-C again to terminate.')
           ffprobe_process.terminate()
           return 0, 0
       width, height, widthxheight, duration = 0, 0, 0, 0
       for stream in dict.get(ffprobe_output, 'streams') or []:
           if dict.get(stream, 'duration') > duration:
               duration = dict.get(stream, 'duration')
           if dict.get(stream, 'width')*dict.get(stream, 'height') > widthxheight:
               width, height = dict.get(stream, 'width'), dict.get(stream, 'height')
       if duration == 0:
           duration = 1800
       return [[int(width), int(height)], int(float(duration))+1]
    except Exception as e:
       logorraise(e)
       return [[0, 0], 0]

    But some online videos comes without duration tag. Can we do something to get its duration ?

  • Downloading a video with full capacity of my PC with FFMPEG [closed]

    25 juin 2020, par akamai

    I'm trying to download a M3U8 video with FFmpeg.
    
ffmpeg -i "www.example.com/video.mp4" -c copy -bsf:a aac_adtstoasc output.mp4

    


    FFmpeg downloads very slowly compared to a direct download. I'm on a 1 Gigabit network and it take around 1 hour to download the entire video.

    


    I read the documentation and they mentioned about CPU Flag
But I don't know if that will solve my problem.

    


  • CocoaPods could not find compatible versions for pod "mobile-ffmpeg-full" : In Podfile : ?

    17 juillet 2020, par iOS

    enter image description here

    


    I'm getting above error when I try to add ffmpeg framework.

    


    pod 'mobile-ffmpeg-full', ' > 4.3.2'

    


    (OR)

    


    pod 'mobile-ffmpeg-full', '4.3.2'

    


    Frame work Git link : https://github.com/tanersener/mobile-ffmpeg