Hi experts, please I have a scrip for stream a video in youtube (ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://adminrueba123@xxx.xxx.xx.xx:554/Streaming/Channels/102 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx) and need enter image jpg in the video, I read that is possible put various imputs in command ffmpeg, how anybody help me whit this issue.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
(Concatenate streams in real time? I have no clue, post deleted)
Last edited by raffriff42; 6th Jan 2018 at 22:32.
-
Turn off smiley parsing or provide your current command line in code frame (all available from advanced forum editor) currently i don't understand your problem and can't even try to help.
Perhaps you can describe your problem with more details. Not sure if you already have encoded audio with video and you just trying to add overlay with logo on already existing video (transcode usage case) or perhaps you have only audio and you need to create video from jpg and combine with audio.Last edited by pandy; 7th Jan 2018 at 09:49.
-
HI, my problem is that I dont know how I can put image and video in the same streaming, the same as TV channel, for example in this video (https://www.youtube.com/watch?v=VNYcIK_omKA) in the botton corner have a jpg in the video, this but various jpg. The actual command is (ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://yyyyy:zzzzzzxxxxxxxxxxx:554/Streaming/Channels/102 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx)
Thanks a lot -
You need to use overlay filter and overlay your image on top of video. Of you picture to overlay on video in rectangular then it will be good if your image format support alpha channel (for example PNG support alpha channel i.e. transparency).
https://ffmpeg.org/ffmpeg-filters.html#overlay-1
However examples in documentation forcing you to use -filter_complex - instead filter_complex you can provide your image as another video within regular video filter -vf by using 'movie' https://ffmpeg.org/ffmpeg-filters.html#movie-1
I use something like bellow (simplified for this thread):
Code:ffmpeg -y -i "video_in" -vf "scale=iw:ih[xxx];movie=image.png[yyy];[xxx] [yyy] overlay=W-w-16:H-h-64" -c:v libx264 "video_out"
Similar Threads
-
Stream image and video in youtube with ffmpeg
By jonaszo in forum ffmpegX general discussionReplies: 1Last Post: 6th Jan 2018, 16:45 -
Youtube-dl streaming errors ?
By PowerFalcon in forum Video Streaming DownloadingReplies: 2Last Post: 24th May 2016, 08:46 -
[Avisynth] How to concatenate multiple audio/video files?
By marcorocchini in forum Newbie / General discussionsReplies: 6Last Post: 12th Mar 2016, 14:07 -
Youtube Streaming with a projector
By bazingaaaa in forum Video Streaming DownloadingReplies: 1Last Post: 28th Aug 2014, 17:10 -
Government to make streaming video's on youtube A FELONY
By mannybbh in forum Latest Video NewsReplies: 2Last Post: 6th Sep 2013, 01:56