Recherche avancée

Médias (91)

Autres articles (35)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4127)

  • Fail to get the statistics of https video using ffprobe

    23 janvier 2017, par amith

    I want to collect the statistics of a video stream backed by https url.

    on executing
    ffprobe https://www.youtube.com/watch?v=YbYjtSFa5Fs

    I get the following output

    vagrant@kaybus:/vagrant/kaybus$ ffprobe https://www.youtube.com/watch?v=YbYjtSFa5Fs
    ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    [tls @ 0x3547140] A TLS packet with unexpected length was received.
    https://www.youtube.com/watch?v=YbYjtSFa5Fs: Input/output error

    [tls @ 0x3547140] A TLS packet with unexpected length was received.
    How to fix the above error ?

    https is listed in ffprobe’s supported input and output protocols.

    ffprobe -version

    vagrant@kaybus:/vagrant/kaybus$ ffprobe -version
    ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

    Thanks

  • appending a string constant selectively within a while loop in bash

    29 janvier 2017, par Maxwell Chandler

    I have a script called automateutube that I edit in VIM and execute in the terminal with sh ./automateutube.sh This script pulls youtube links from a file called songs.txt and downloads the video from youtube then extracts the audio.

    The songs.txt file looks like this

    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI

    It is just a bunch of links, one per line.

    The script looks like this

    #!/bin/bash

    while read p; do    

    x=/tmp/.youtube-dl-$(date +%y.%m.%d_%H.%M.%S)-$RANDOM.flv

    youtube-dl --audio-quality 160k --output=$x --format=18 "$p"

    ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    rm $x

    done code>

    Now the first part executes. It downloads the video and starts to unpack it.

    It is the second part that fails. ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    This is because "$p" is supposed to be in format "filename.mp3" However as it is p takes the value of a youtube link, without ".mp3" appended.

    This works for the first line

    youtube-dl --audio-quality 160k --output=$x --format=18 "$p"

    because "$p" is supposed to be in the form of a link there.

    Now I have tried adding three lines in

    a="$.mp3"
    b="$p"
    c=$b$a

    and making ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    into ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$c"

    but I am still getting an error. Any ideas ?

    parse error, at least 3 arguments were expected, only 1 given in string ’om/watch ?v=sOAHOxbMOJY’

  • Adobe connect video : FLV to MP4 (export, convert)

    8 février 2017, par Guillaume Chevalier

    I would like to convert an adobe connect video from .flv in the downloaded zip to .mp4. I have already done the steps explained in this question and answer, however I get .flv files organised like this inside the .zip :

    enter image description here

    Moreover, I know that ffmpeg can merge video and sound files together as well as concatenating resulting clips directly from the command-line which could be quite useful : https://www.labnol.org/internet/useful-ffmpeg-commands/28490/

    I can’t ask the owner of the video to make it available as an .mp4 from within the adobe connect admin interface. Briefly, I would like to listen to those videos in x2 speed in VLC (just like what I do when listening to random math classes on YouTube - I put ON the x2 speed). The amount of time I would gain to watch adobe connect videos in x2 speed is MASSIVE.

    I think I am not the only one that would like to do this. There are a lot of questions on forums about downloading adobe connect videos, but the .flv format mixed with some .xml is generally a killer when the host does not make the videos properly available in .mp4.

    Dealing with the order of the .flv files is a puzzle. At least, I would not care to flush the chat away and leave some details like that behind, that would help to reconstruct the videos. Any scripts to automate the process would be useful.