Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (105)

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

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

Sur d’autres sites (11128)

  • While loop in bash to read a file skips first 2 characters of THIRD Line

    9 juillet 2018, par Yaser Sakkaf
    #bin/bash
    INPUT_DIR="$1"
    INPUT_VIDEO="$2"
    OUTPUT_PATH="$3"
    SOURCE="$4"
    DATE="$5"

    INPUT="$INPUT_DIR/sorted_result.txt"
    COUNT=1
    initial=00:00:00
    while IFS= read -r line; do
     OUT_DIR=$OUTPUT_PATH/$COUNT
     mkdir "$OUT_DIR"
     ffmpeg -nostdin -i $INPUT_VIDEO -vcodec h264 -vf fps=25 -ss $initial -to $line $OUT_DIR/$COUNT.avi
     ffmpeg -i $OUT_DIR/$COUNT.avi -acodec pcm_s16le -ar 16000 -ac 1 $OUT_DIR/$COUNT.wav
     python3.6 /home/Video_Audio_Chunks_1.py $OUT_DIR/$COUNT.wav
     python /home/transcribe.py  --decoder beam --cuda --source $SOURCE --date $DATE --video $OUT_DIR/$COUNT.avi --out_dir "$OUT_DIR"
     COUNT=$((COUNT + 1))
     echo "--------------------------------------------------"
     echo $initial
     echo $line
     echo "--------------------------------------------------"
     initial=$line
    done < "$INPUT"

    This is the code I am working on.
    The contents of file sorted_results.txt are as follows :

    00:6:59
    00:7:55
    00:8:39
    00:19:17
    00:27:48
    00:43:27

    While reading the file it skips first two characters of the third line i.e. it takes it as :8:39 which results in the ffmpeg error and the script stops.

    However when I only print the variables $INITIAL and $LINE, commenting the ffmpeg command the values are printed correctly i.e. same as the file contents.

    I think the ffmpeg command is somehow affecting the file reading process or the variable value. BUT I CAN’T UNDERSTAND HOW ?

    PLEASE HELP.

  • Create RTMP stream from website via Linux command line

    13 octobre 2020, par Chris P. Bacon

    I have a webpage with video and audio that I would like to relay through an RTMP stream. This would preferably happen via command line on a Linux machine.

    


    I know FFMPEG can be used to create RTMP streams and I know it can be used to capture the screen, but I don't know if it has all the features I want.

    


    Is it even possible to capture a webpage with audio from the command line ?
If so, how should I output this to RTMP ?

    


    Thanks !

    


  • What does last line console output of ffplay mean

    18 juillet 2019, par Ankur

    I am playing a mp4 video using ffplay. While the video is playing the last line of console keeps updating some info

    ffplay version N-80219-g153ab83 on Windows10 machine.

    Below is the sample output

    "22.08 A-V : -0.036 fd= 8 aq= 11KB vq= 19KB sq= 0B f=0/0"