[FFmpeg-user] filter_complex
DopeLabs
dopelabs at dubstep.fm
Thu Nov 15 13:32:32 EET 2018
fyi...
- is a hyphen
' single quote
" double quote
cheers =]
> On Nov 15, 2018, at 1:20 27AM, Mettavihari D <tv.lists at gmail.com> wrote:
>
> Greetings all,
>
> The Problem is solved.
> It was only a problem of the correct hyphens around the object
>
> '0:a’ should be '0:a'
>
> ffmpeg -y -threads 16 -i video.mp4 -i logo.png -filter_complex
> "[1:v]scale=100:-1[logo];[0:v]scale=720:576[vid];[vid][logo]overlay=590:40[out]"
> -map '[out]' -map '0:a' -preset slower -profile:v main -level 3.1 -c:v
> libx264 -g 24 -bf 3 -b_strategy 2 -coder 1 -r 25000/1000 -b:v 1650k
> -maxrate:v 1650k -minrate:v 1650k -bufsize:v 330k -flags +ilme+ildct
> -x264opts bff=1 -color_primaries 1 -color_trc 1 -colorspace 1 -c:a mp2
> -b:a 128k -nal-hrd cbr -muxrate 1900k -f mpegts output-10.ts &>
> output-10.log &
>
>
> On 11/15/18, Mettavihari D <tv.lists at gmail.com> wrote:
>> Greetings Joel
>>
>>
>> -or alternately paste this into the terminal:
>>
>> ffmpeg -y -threads 16 -i $FILE1.mp4 -i vidasa11.png -filter_complex \
>> [1:v]scale=100:-1[logo]; "[0:v]scale=720:576[vid];" \
>> [vid][logo]overlay=590:40[out] -map [out] -map 0:a -preset slower \
>> -profile:v main -level 3.1 -c:v libx264 -g 24 -bf 3 -b_strategy 2 \
>> -coder 1 -r 25000/1000 -b:v 1650k -maxrate:v 1650k -minrate:v 1650k \
>> -bufsize:v 330k -flags +ilme+ildct -x264opts bff=1 -color_primaries 1 \
>> -color_trc 1 -colorspace 1 -c:a mp2 -b:a 128k -nal-hrd cbr -muxrate \
>> 1900k -f mpegts $FILE1.ts &> output.log &
>>
>> ok?
>>
>> My script is on one line BUT one never knows :-)
>> Just to make sure I copied your part into my script file and got the same
>> result
>>
>> Input #1, png_pipe, from 'vidasa11.png':
>> Duration: N/A, bitrate: N/A
>> Stream #1:0: Video: png, rgba(pc), 360x270, 25 tbr, 25 tbn, 25 tbc
>> Filter scale has a unconnected output
>>
>> It looks like it is at the "filter scale"
>>
>> But I am not so sure about it.
>> I tried one of the simplest commands
>>
>> ffmpeg –i video.mp4 -i logo.png -filter_complex "overlay=10:10"
>> top_left.mp4
>>
>> and got this error.
>>
>> Input #0, png_pipe, from 'logo.png':
>> Duration: N/A, bitrate: N/A
>> Stream #0:0: Video: png, rgba(pc), 360x270, 25 tbr, 25 tbn, 25 tbc
>> Cannot find a matching stream for unlabeled input pad 1 on filter
>> Parsed_overlay_0
>> editor at Mettavihari:~/compress$
>>
>> Thank you for your time.
>>
>> with metta
>> Mettavihari
>>
>
>
> --
> Streaming video from http://learntv.lk
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list