Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-13 Thread Verachten Bruno
As for the filename, I used a bash variable, and it worked. I should have thought about it earlier. I haven't found yet how to keep the bitrate and size, and still have to add delay for the sound. I tried to play back the file on another machine (Windows this time), and it doesn't work. It stays

Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-12 Thread Verachten Bruno
Thanks a lot Moritz, that did the trick. So I now have: ffmpeg -i "$SOURCE" -thread_queue_size 2048 -f pulse -i "$AUDIO_SOURCE" -c:v copy -map 0:v:0 -map 1:a:0 -c:a libmp3lame -f tee "[f=flv:onfail=ignore]$YOUTUBE_URL/$KEY|[f=flv:onfail=ignore]local_file.mkv" which gives Output #0, tee, to

Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-10 Thread Moritz Barsnick
On Tue, Sep 10, 2019 at 17:25:43 +0200, Verachten Bruno wrote: > ffmpeg -i rtmp://192.168.1.212:1935/live/stream1 -thread_queue_size > 2048 -f pulse -i > alsa_input.usb-Focusrite_Scarlett_2i4_USB-00.analog-stereo -c:v copy > -map 0:v:0 -map 1:a:0 -f tee "[f=flv:onfail=ignore]$YOUTUBE_URL/$KEY"

Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-10 Thread Verachten Bruno
First of all, I don't know if I should continue within this thread or create a new one. It's all about the same subject, streaming and recording locally RTMP streams. Please let me know. So, for the time being, I am able to stream the h.264 encoded stream with the audio changed thanks to: ffmpeg

Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-10 Thread Verachten Bruno
Thanks a lot, I am now able to stream two videos at the same time with the computer doing almost nothing. Now, I have to replace the audio of the streams with what is coming from the FocusRite Scarlett 2i4 2nd generation, and lots of other things. Best regards, Bruno Verachten

Re: [FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-09 Thread DopeLabs
> On Sep 9, 2019, at 5:59 28AM, Verachten Bruno wrote: > > Hi there, > > this is my first message on this list, so please bear with me. > I have access to a h.264 encoder that will supply a few rtmp streams > corresponding to the various HDMI inputs it has. It is supposed to use > ffmpeg by

[FFmpeg-user] ffmpeg to stream an already h.264 encoded stream

2019-09-09 Thread Verachten Bruno
Hi there, this is my first message on this list, so please bear with me. I have access to a h.264 encoder that will supply a few rtmp streams corresponding to the various HDMI inputs it has. It is supposed to use ffmpeg by the way (TBS2605). Anyway... I have a Linux machine, and my goal is to: -