Recherche avancée

Médias (91)

Autres articles (1)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (502)

  • How to connect ffmpeg to broadcasted rtsp live camera link feeds to users browser ??? These camera link are dynamic so it cannot be defined initially

    9 décembre 2016, par vibhor Gupta

    The following rtsp link gives me feed :
    rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams

    The following ffmpeg command helps gets me these feed and i can store it on my server :
    ffmpeg -i rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams -vcodec copy -acodec copy -f mpegts video.mp4

    But when i use the following command broadcast starts but no streaming is received :
    ffmpeg -i rtsp ://user:11111@192...***/MPEG-4ch1/main/avstreams -vcodec copy -acodec copy -f mpegts udp ://127.0.0.1:7000

    I even checked on the server for 7000 port but nothing is running so i am cannot understand what is going.

    To Check I used vlc and in the network stream option i placed udp ://192.168.1.105:7000 as the network url. but it is not working

    So friends i would like to know where i am going and if possible what can be a better solution for this problem ??

    Thank You

  • Input link in1:v0 parameters (size XXX, SAR XXX) do not match the corresponding output link in0:v0 parameters (XXX, SAR 1:1) [duplicate]

    1er mars 2020, par theapache64

    I’ve two files, a mp4 and a mp3 file. I want to add a 3 seconds intro screen with title Welcome and black background to the head of the video with the mp3 as background. So here’s what I wrote.

    ffmpeg \
       -i input.mp4 \
       -i bgm.mp3 \
       -f lavfi -i color=c=black:s="1280"x"544":d=3.0 \
       -filter_complex \
           "[2:v]
     drawtext=
       fontsize=30
       :fontcolor=white
       :x=(w-text_w)/2
       :y=(h-text_h)/2
       :text='WELCOME',
       geq=0:128:128
    [introVideo];

    [1:a]
       atrim=0.0:3.0
    [introAudio];

    [introVideo][introAudio][0:v][0:a]concat=n=2:v=1:a=1" -preset superfast output.mp4

    but am getting below error when I try to execute the command

    [Parsed_concat_3 @ 0x55c02756fa00] Input link in1:v0 parameters (size 1280x544, SAR 1299:1280) do not match the corresponding output link in0:v0 parameters (1280x544, SAR 1:1)
    [Parsed_concat_3 @ 0x55c02756fa00] Failed to configure output pad on Parsed_concat_3
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:1
    Conversion failed!

    Any help will be highly appreciated.

    PS : I am a beginner in video processing and ffmpeg.

  • Input link in1:v0 parameters do not match the corresponding output link in0:v0 parameters (ffmpeg SAR error) [duplicate]

    4 décembre 2018, par this.lau_

    This question is an exact duplicate of :

    I’m getting an SAR error when using complex filters in ffmpeg and I can’t quite make sense of it. The input command is as follow (spread over multiple lines for clarity) :

    ffmpeg \
    -i '698cc30d2dc966eaf4dc4f6f3571df8d.mp4' \
    -i '76a2ffdd0d7e82d31731c6e2c0c6f4c9.mp4' \
    -filter_complex "\
       [0:v] setsar=sar=1,setpts=PTS-STARTPTS,scale=1080x1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2 [0v]; \
       [1:v] setsar=sar=1,setpts=PTS-STARTPTS,scale=1080x1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2 [1v]; \
       [0v][0:a][1v][1:a]concat=n=2:v=1:a=1[v][a]" \
    -map "[v]" -map "[a]" \
    -max_muxing_queue_size 500 \
    -strict -2 \
    out.mp4

    And I’m getting the following error :

    [Parsed_concat_8 @ 0x7fe35a70b100] Input link in1:v0 parameters (size 1080x1920, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1080x1920, SAR 1216:1215)

    [Parsed_concat_8 @ 0x7fe35a70b100] Failed to configure output pad on Parsed_concat_8

    Error reinitializing filters !

    Failed to inject frame into filter network : Invalid argument

    Error while processing the decoded data for stream #1:0

    The complex filters basically scale the videos to the required dimensions (1080x1920) and add black borders below and above, or on the side to make it fit within the rectangle. It worked with some videos but not in this case for some reason and I can’t make sense of the error message.

    Any idea what it means and how to fix it ?