Can ffmpeg wait until new input? - ffmpeg

I use ffmpeg for video streaming, but I have images and images convert to video then streaming. I want encoder wait the image but ffmpeg starts and makes all image then close.

Related

change setting delay audio while stream video by ffmpeg?

I have 2 rtmp, one of them for audio playback and one for streaming video. I mix all of them using ffmpeg, but I want to change the delay between audio and video while running ffmpeg. How can I do that?

Livestreaming webinars from rtmp to DASH

I need to live-stream RTMP based video to the webpage, and the end result should be dynamic and adaptive (DASH).
Below FFMPEG command works with single stream but it's not adaptive/no low-high selection options.
ffmpeg -i rtmp://source.mysite.com/live/9 temp/manifest.mpd
I need something like 1080p RTMP input and 240p, 360p, 480, 720p and 1080p output in single DASH manifest.
Can somebody guide how can I have a stable/tamed, multi-bitrate adaptive result here?

ffmpeg picture slideshow with audio

I'm trying to make a batch of videos for uploading to youtube. My emphasis is on the audio (mostly MP3, with some WMA). I have several image files that need to be picked up at random to go with the audio (ie) display an image for 5 seconds before showing the next. I want the video to stop when the audio stream ends. How should I use ffmpeg to achieve this ?
Ref:
http://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

Embed Image into video - FFMPEG or JW player?

So I thought to embed the image as part of video content while converting the m4a to mp4. The output file has the image as video content and it plays as expected in VLC but when the same was streamed from my CDN using JW player, I do not see the image as video content, still it is black and audio is heard. Not sure what is the issue with embeding. I used the FFMPEG to embed image as video content.
On the other hand is there any posibility with JW player to overlay an image as video content while audio can be heard in back end?
You need
to loop
the image
ffmpeg -loop 1 -r 1 -i img.png -i audio.m4a -shortest -filter:v \
'crop=trunc(iw/2)*2:trunc(ih/2)*2' out.mp4
repeat image over and over
once per second
stop video when audio stops
cut image to even dimensions if necessary

FFmpeg Images to Video and Streaming

I've a C# program generating JPEG images in realtime, i need to (continuously) generate a video from the images and stream it (also in realtime).
I've used ffmpeg to transcode an input video source and stream it, doesn't ffmpeg have an option to get the input as a set of images(always being generated) and make the video out of it ?
Cheers
Actually I used VLC for the streaming....
Actually I just found at that I could:
ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg
But i need to tell ffmpeg to keep doing it, I mean, if it doesn't find another image ffmpeg should wait for another one to be generated... is this possible ?

Resources