Advanced search

Medias (91)

Other articles (62)

  • La sauvegarde automatique de canaux SPIP

    1 April 2010, by

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 April 2011, by

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 April 2011, by

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

On other websites (5224)

  • No Audio when streaming to Youtube from ffmpeg

    11 February 2019, by Sindre Svendby

    So I’m not able to get sound to youtube when streaming with ffmpeg.

    The command I try to run;

    ffmpeg \
    -f v4l2 \
    -vcodec h264 \
    -video_size 864x480 \
    -r 24 \
    -i /dev/video1 \
    -f alsa \
    -thread_queue_size 1024 \
    -ac 2 \
    -i plughw:CARD=C920,DEV=0 \
    -c:a aac \
    -filter:a "volume=1.5" \
    -b:a 128k \
    -ar 44100 \
    -vcodec copy \
    -b:v 2000k  \
    -r 24 \
    -g 48 \
    -x264opts no-scenecut \
    -bufsize 4096k \
    -maxrate 2048k \
    -f flv \
    rtmp://a.rtmp.youtube.com/live2/STREAM_KODE

    if I switch out the rmtp stream, with a file, like test.flv.
    And then I try to watch this with VLC I do get sound.

    If I check the audio codec in VLC I do see that the codec is aac.
    And as far as I can see from their help pages it is aac that is the correct audio codec to send in.

    I’m not sure how to continue debug this issue, and ideas on this would be great.

  • garbled audio when streaming to youtube using ffmpeg

    27 May 2022, by skavish

    I am having some weird audio issues streaming to youtube using ffmpeg.

    


    The same stream on facebook and twitch is fine, but on youtube it has some garbling audio issues.

    


    Here is one of those streams: https://www.youtube.com/watch?v=zat4fhwFGUI

    


    Here is ffmpeg command which was used to stream this video. I removed input, output key and inserted newlines for readability.

    


    This command is streaming to youtube (last tee), to hls (first) and to mp4 (second). hls and mp4 do not have this audio issue. Also no issues if we add another tee to stream say to facebook as well.

    


    It happens only with youtube.

    


    I would appreciate any help or ideas on what is going on there. Thank you!

    


    ffmpeg -i XXXXXXXXXX -r 30 -preset ultrafast -tune zerolatency -threads 0 -vsync 1 -map 0:v -c:v libx264 -crf 23 -g 60.0 -sc_threshold 0 -keyint_min 60.0
-pix_fmt yuv420p -map 1:a:0 -c:a:0 aac -b:a:0 128k -ac 2 -ar 44100 -aq 0 -flags +global_header
-f tee
[f=hls:var_stream_map='v:0,a:0':select='v:0,a:0':hls_time=2.0:hls_playlist_type=event:
hls_flags=independent_segments+temp_file:master_pl_publish_rate=1:hls_segment_type=mpegts:hls_segment_filename=/tmp/10311326958150343888/stream_%v_%02d.ts:
master_pl_name=master.m3u8]/tmp/10311326958150343888/stream_%v.m3u8|

/tmp/10311326958150343888/stream.mp4|

[f=fifo:fifo_format=flv:recover_any_error=0:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1:max_recovery_attempts=100:
onfail=ignore:format_opts=flvflags=no_duration_filesize]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx


    


  • How to eliminate the distortion in live streaming Nodejs + ffmpeg

    16 August 2015, by hackmith

    I tried Live video Streaming with NodeJS and ffmpeg encoder. It works with a lag of around 2sec and with a distortion as well. Lag does not matter as there is always. But I need to eliminate the video distortion as much as possible. So what would be the suitable bit rates and is there a better encoder to do this? In ffmpeg, it encodes to mpegts so is there a more preferable format than mpegts ? plz help

    my encoding code was

    ffmpeg -s 640x480 -f dshow -i video="HP HD Webcam":audio="Microphone (Realtek High Definition Audio)" -preset ultrafast -qp 0 -f mpegts -v:b 800 -r 100 http://localhost:8082/abc/640/480/