Advanced search

Medias (3)

Tag: - Tags -/pdf

Other articles (46)

  • Les formats acceptés

    28 January 2010, by

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

  • Ajouter notes et légendes aux images

    7 February 2011, by

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Websites made ​​with MediaSPIP

    2 May 2011, by

    This page lists some websites based on MediaSPIP.

On other websites (9050)

  • How to broadcast a livestream from YouTube to Telegram using vlc from the command-line?

    22 February 2024, by shackra

    I want to re-transmit a live stream from YouTube (with streamlink) and broadcast it on a Telegram channel using VLC on the command-line. I think VLC is my best option for getting data from the source and sending it to the new destination.

    


    The thing is, I don't know how to configure the output correctly for the Telegram channel, nor how to put the transmission key.

    


    I was reading this answer https://stackoverflow.com/a/40461349/2020214 and using it as a guide unsuccessfully (Telegram does not detect any livestream)

    


  • Stream to youtube from xvfb using ffmpeg and x11grab

    13 December 2017, by Ivan Sergeev

    I want to make stream from virtual display to youtube via ffmpeg.
    I’m using this code:

    #! /bin/bash

    BITRATE="2500k"                                    
    FPS="30"                                      

    YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  
    YOUTUBE_KEY="..."                                    

    SOURCE="./test.mp4"

    export DISPLAY=44
    sudo xvfb-run -a -n 44 -l -s "-screen 0, 1280x720x24" google-chrome -start-maximized https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif --no-sandbox >/dev/null &

    ffmpeg -threads 0 -y -v verbose -re \
    -f x11grab -video_size 1280x720 -i :44 \
    -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r $FPS -g $(($FPS * 2)) -b:v $BITRATE -bufsize 512k \
    -acodec libmp3lame -ar 44100 -threads 0 -crf 25 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$YOUTUBE_KEY"

    And I don’t receive any errors, but youtube cannot start stream(

    In my log:

    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=    4 fps=0.0 q=17.0 size=      72kB time=00:00:00.50 bitrate=1186.9kbits/s
    frame=    6 fps=5.9 q=17.0 size=     106kB time=00:00:00.93 bitrate= 931.2kbits
    frame=    8 fps=5.3 q=17.0 size=     141kB time=00:00:01.36 bitrate= 846.4kbits/s
    frame=   11 fps=5.4 q=16.0 size=     188kB time=00:00:02.00 bitrate= 771.9kbits/s
    frame=   13 fps=5.2 q=15.0 size=     217kB time=00:00:02.43 bitrate= 730.5kbits/s
    frame=   15 fps=5.0 q=14.0 size=     241kB time=00:00:02.86 bitrate= 687.2kbits/s
    frame=   18 fps=5.1 q=14.0 size=     270kB time=00:00:03.53 bitrate= 625.2kbits/s
    frame=   20 fps=4.9 q=15.0 size=     294kB time=00:00:03.96 bitrate= 608.3kbits/s

    etc.

    However, if I do stream from file, but not x11grab stream is starting normal.

    What I’m doing wrong?
    Any ideas, guys, please)

  • ffmpeg and Youtube upload - can't merge existing audio track with external one

    9 April 2012, by Aleksy Goroszko

    I am realizing campaign, where idea is that users are creating TV ad. The process looks as following:

    • User watches ad (youtube video)
    • User selects video (mp4 file played in Flash Player)
    • User records his own voice using webcam/mic for the selected video
    • User's voice is uploaded to server
    • User's voice is merged with selected video (video+music) and saved as mp4 file
    • User's video is uploaded to youtube

    When realizing audio-video merging I found some suprises:

    When I was using command

    ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 - video's music was replaced by user's voice.

    So I used option -newaudio:

    ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 -newaudio - I can hear that output video has both music and user's voice. So - that's what I wanted to reach. But...

    The surprize is that if I upload this video to Youtube, after it's processing I can watch it and hear only music. User's voice disappears!

    So, how to keep both voice and music?

    Any idea, gurus? :)