Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (44)

Sur d’autres sites (6228)

  • No Audio when streaming to Youtube from ffmpeg

    11 février 2019, par 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.

  • Use Ffmpeg to re-stream rtsp [closed]

    27 février 2024, par Wissam Elias

    I am trying to re-stream an rtsp connection using this command :

    


    ffmpeg -rtsp_transport tcp -i "rtsp://admin:admin@192.168.1.13:1935" -rtsp_transport tcp -c:v copy -f rtsp rtsp://192.168.1.10:1935


    


    i am sure that this rtsp connection is working : "rtsp ://admin:admin@192.168.1.13:1935".

    


    I have then tried, for testing purposes, using FFplay to watch the stream from localhost as follows :

    


    ffplay rtsp://192.168.1.10:1935


    


    but no it is not working -_-

    


    ffmpeg command result

    


  • FFMPEG bash > folder processing > AI upscale - script ERROR ">" [closed]

    13 novembre 2022, par Jason Paul Michaels

    Trying to port a single file manual command from Topaz AI so I can run it as a part of a simple script allowing me to run multiple sessions from terminal. I am running MacOS with BASH 5.2 and when I run the script I get dumped to ">" instead of command prompt and no error message is displayed.

    


    This is my command -

    


    for f in *.mp4; do
  /Applications/Topaz\ Video\ AI.app/Contents/MacOS/ffmpeg \
    -hide_banner \
    -nostdin \
    -y \
    -nostats \
    -i “$f” \
    -vsync 0 \
    -avoid_negative_ts 1 \
    -sws_flags spline+accurate_rnd+full_chroma_int \
    -color_trc 1 \
    -colorspace 1 \
    -color_primaries 1 \
    -filter_complex veai_up=model=prob-3:scale=0:w=1920:h=1080:preblur=0:noise=0:details=0:halo=0:blur=0:compression=0:estimate=20:device=0:vram=1:instances=1,scale=w=1920:h=1080:flags=lanczos:threads=0,scale=out_color_matrix=bt709 \
    -c:v prores_videotoolbox \
    -profile:v lt \
    -pix_fmt p210le \
    -allow_sw 1 \
    -map_metadata 0 \
    -movflags frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr \
    -map_metadata:s:v 0:s:v \
    -map_metadata:s:a 0:s:a \
    -c:a aac \
    "encoded/${f%.*}.mp4”;
done


    


    I have a feeling it's something really simple I'm missing but I've gone through it a dozen times and can't seem to modify in any way to success.

    


    Thank you !

    


    Getting dumped back to ">" terminal prompt.