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] V360 filter

2019-09-10 Thread Michael Koch
Am 06.09.2019 um 15:14 schrieb Michael Koch: Hi all, I see the progress on the V360 filter... that's very good! A few suggestions for improvement: -- (Single-)Fisheye as input and output format, with a selectable field of view up to 360° (little planet). -- A "color" option for filling those ar

Re: [FFmpeg-user] Video output distortion on ffpmeg live stream

2019-09-10 Thread Moritz Barsnick
Hi Ben, On Tue, Sep 10, 2019 at 06:09:30 +0100, Ben Houghton wrote: > I am helping build a node server that runs ffmpeg to stream a live > WebRTC input to HLS and MPEGDASH. Often when the encoding starts it > produces a corrupted video output that looks something like this > (viewed using VLC): A

Re: [FFmpeg-user] Video output distortion on ffpmeg live stream

2019-09-10 Thread Ben Houghton
Hi Moritz, Many thanks for the detailed response. >> I am helping build a node server that runs ffmpeg to stream a live >> WebRTC input to HLS and MPEGDASH. Often when the encoding starts it >> produces a corrupted video output that looks something like this >> (viewed using VLC): > > Are you sa

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] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/6/19, Michael Koch wrote: > Hi all, > > I see the progress on the V360 filter... that's very good! > A few suggestions for improvement: > -- (Single-)Fisheye as input and output format, with a selectable field > of view up to 360° (little planet). Stereographic projection aka little planet a

[FFmpeg-user] STOP RTSP STREAM IF CONNECTION FAILS

2019-09-10 Thread Alejandro Escudero
Hi! I am trying to Stop an RTSP STREAMING if connection to IP Camera fails (example if camera goes offline) I tried these command with -timeout 3 (to exit after 3 seconds if connection fails, but it never exists), how this should be done correctly? ffmpeg -rtsp_transport tcp -i "rtsp://ad

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
Paul, Stereographic projection aka little planet added as both input and output. Single fisheye is little different. v_fov is limited to 90°, that's not enough for little planet. -- I think the d_flip parameter needs some more documentation. What's an "in-depth" flip? It swaps back with f

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> Stereographic projection aka little planet added as both input and output. >> Single fisheye is little different. > > v_fov is limited to 90°, that's not enough for little planet. I increased it. > >> >>> -- I think the d_flip parameter needs some mor

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
Paul, v_fov is limited to 90°, that's not enough for little planet. I increased it. ok, I will test it as soon as it's available at Zeranoe. I think the field of view isn't correct in the stereographic output. Here is a script for making really nice test images, for measuring field of vi

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] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making re

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
ffmpeg -i %IN% -i %IN% -lavfi "[0]transpose=1[left];[1]transpose=2,geq=r='255-r(X,Y)':g='255-g(X,Y)':b='255-b(X,Y)'[right];[left][right]hstack" -y %OUT% Cant you use here negate filter instead of geq? oops, yes that would be better. I did search for "invert" and didn't find it... Michael _

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making re

[FFmpeg-user] Question regarding ffmpeg source code

2019-09-10 Thread Cihan Topal via ffmpeg-user
Hi Everybody, I am working on some project involving video streaming using ffmpeg library source codes. Although I searched the web, I could not find a proper answer for lossless encoding with H264. I have two questions: 1- Constant Rate Factor (crf), preset and map are some of the parameters

Re: [FFmpeg-user] Question regarding ffmpeg source code

2019-09-10 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 01:12 Uhr schrieb Cihan Topal via ffmpeg-user : > I am working on some project involving video streaming using ffmpeg library > source codes. > Although I searched the web, I could not find a proper answer for lossless > encoding with H264. > > I have two questions: > 1

Re: [FFmpeg-user] Question regarding ffmpeg source code

2019-09-10 Thread Cihan Topal via ffmpeg-user
Hi Carl, Thank you for your quick reply. I am using the source code to develop my own application. There are command line examples to use with ffmpeg process involving parameters for crf and map options; but in the source codes I couldn't find these attributes in avformat or any other structure.

Re: [FFmpeg-user] Question regarding ffmpeg source code

2019-09-10 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 01:42 Uhr schrieb Cihan Topal via ffmpeg-user : > > Hi Carl, > > Thank you for your quick reply. > I am using the source code to develop my own application. Then you may want to ask your question on the right mailing list: http://ffmpeg.org/contact.html#MailingLists This