[FFmpeg-user] Ip camera stream problem with insert logo

Free1video admin at free1video.com
Sun Jul 14 19:04:39 EEST 2019


Hello I have raspberry pi and ffmpeg but I not can insert logo in coman
line I have this error -->
Streamcopy requested for output stream 0:0, which is fed from a complex
filtergraph. Filtering and streamcopy cannot be used together.

This is my comand line

#!/bin/bash

SERVICE="ffmpeg"
RTSP_URL="rtsp://admin:password@ip:554/1/h264major"


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

COMMAND="sudo ffmpeg -f lavfi -i anullsrc -thread_queue_size 2048 -re -r 30
use_wallclock_as_timestamps 1  -rtsp_transport tcp -i ${RTSP_URL} -i
/home/pi/logo.png -filter_complex overlay -tune zerolatency -vcodec libx264
-t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv
${YOUTUBE_URL}/${YOUTUBE_KEY}"

if sudo /usr/bin/pgrep $SERVICE > /dev/null
then
        echo "${SERVICE} is already running."
else
        echo "${SERVICE} is NOT running! Starting now..."
        $COMMAND
fi
Please for  Help

Best Regards From Free1video.com LTD
https://www.youtube.com/channel/UCTaWaFjf5ZBIHiEWHkos5cQ


More information about the ffmpeg-user mailing list