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

2019-09-12 Thread Verachten Bruno
guess it's because of the tee. Is there any way to put them back on? It was useful to check the streaming was going ok. On Tue, Sep 10, 2019 at 10:03 PM Moritz Barsnick wrote: > On Tue, Sep 10, 2019 at 17:25:43 +0200, Verachten Bruno wrote: > > ffmpeg -i rtmp://192.168.1.212:1935/live/stream1

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

[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: -

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

2019-09-10 Thread Verachten Bruno
ut as it was not working, I removed them. There must be something important that I missed in that tee format... Please let me know. Best wishes, Bruno Verachten On Tue, Sep 10, 2019 at 11:23 AM Verachten Bruno wrote: > > Thanks a lot, I am now able to stream two videos at the same time with >

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

2019-09-13 Thread Verachten Bruno
-20190912.182417486.mkv: error while seekingf=0/0 third-HDMI-input-20190912.182417486.mkv: error while seekingf=0/0 673.85 M-V: 0.000 fd= 225 aq=0KB vq=0KB sq=0B f=0/0 Bruno On Thu, Sep 12, 2019 at 10:31 AM Verachten Bruno wrote: > Thanks a lot Moritz, that did the trick. > So I no

Re: [FFmpeg-user] Listing the hardware accelerators

2019-09-27 Thread Verachten Bruno
Thanks a lot for your answers and new questions. When I run the -hwaccels, I get: ffmpeg -hwaccels ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1) configuration: --enable-gpl --enable-version3 --disable-static --enable-shared

[FFmpeg-user] Listing the hardware accelerators

2019-09-26 Thread Verachten Bruno
Hi List, I have different environments (X86, ARM, Jetson Nano) on which I'd like to use hardware encoders and decoders if available. I guess that I won't be able to use them if they have not been built in the ffmpeg dependencies if I install a "generic" version. Will the configure command

Re: [FFmpeg-user] Using h264_mmal decoder on Raspberry Pi 4

2019-11-01 Thread Verachten Bruno
Simon, there is a script there: https://www.raspberrypi.org/forums/viewtopic.php?t=199775 that could help you entering the right parameters to compile ffmpeg for the Raspberry Pi. Yes, it's a bit dated (ffmpeg 4.0.2 and Debian Stretch) but it worked for me. I did not say your parameters are not

[FFmpeg-user] H.264 and RockChip MPP

2019-11-14 Thread Verachten Bruno
Hi there, I compiled the RockChip fork of ffmpeg because I wanted to use hardware acceleration on one of their chips (RK3399). For the time being, it looks like only the hardware accelerated decoding is implemented. So I tried: ffmpeg -benchmark -loglevel 48 -vcodec h264_rkmpp -i

Re: [FFmpeg-user] Piping raw video from ffmpeg

2019-11-18 Thread Verachten Bruno
=(string)nv12, width=(int)1920, height=(int)1080, framerate=(fraction)30/1 Bruno On Mon, Nov 18, 2019 at 12:09 PM Carl Eugen Hoyos wrote: > > > > > Am 15.11.2019 um 18:29 schrieb Verachten Bruno : > > > > So far, I have tried ffmpeg -f v4l2 -pix_fmt nv12 -s 1920x1080 -r

[FFmpeg-user] Piping raw video from ffmpeg

2019-11-15 Thread Verachten Bruno
Hi List, as stated in my previous message, the rkmpp h264 encoder has not yet been finalized, so I'm stuck for the moment. http://ffmpeg.org/pipermail/ffmpeg-user/2019-November/045991.html gstreamer has the hardware encoding part, so I thought of piping the output of ffmpeg (grabing an HDMI-IN

[FFmpeg-user] Extracting information from ffmpeg logs when streaming

2019-12-05 Thread Verachten Bruno
Hi there, I'd like to extract the number of frames pushed when streaming with ffmpeg to a RTMP server. For the time being, I can see the number of frames in the console, and I read that the -report option could redirect that information to a file. I could then parse the file, and extract the

[FFmpeg-user] RTMP handshaking behind a proxy

2019-12-10 Thread Verachten Bruno
Hi there, I unfortunately have to stream from behind a proxy. It works on one of my machines thanks to redsocks. The RTMP handshake goes well, and I can stream to twitch or youtube. On another machine, with the same redsocks configuration, the handshake never finishes, be it with youtube or

[FFmpeg-user] Producing several quality video streams from one 1080p stream.

2019-11-20 Thread Verachten Bruno
Hi there, First of all, sorry for being vague, I don't have ffmpeg command line options yet, I'm just trying to know if I'm totally mistaken, or if my idea could be implemented quite safely/easily. I'm currently thinking of getting rid of YouTube for streaming within the company I work for

Re: [FFmpeg-user] Add soft subtitles to YouTube Stream Now?

2019-11-20 Thread Verachten Bruno
That's a very interesting subject (to me at least). I would like to embed automatic (or human generated, depending on the budget) subtitles to help hearing-impaired people grab most of the talk in our conference. I am producing H.264 and sending it (for the time being) to YouTube, so your request

Re: [FFmpeg-user] Extracting information from ffmpeg logs when streaming

2019-12-20 Thread Verachten Bruno
.8| 303|41.7|1.38x 325|41.8| 347|41.9|1.42x 369|41.9|1.44x 391|42.0|1.45x 413|42.0|1.47x 435|42.1|1.48x 457|42.1|1.49x 479|42.2| 501|42.2|1.51x 523|42.3|1.52x 545|42.3|1.53x 559|41.7|1.51x 581|41.8|1.52x 603|41.8|1.52x Thanks. Bruno Verachten On Thu, Dec 5, 2019 at 9:36 PM Verachten Bruno

Re: [FFmpeg-user] RTMP and proxy

2020-06-30 Thread Verachten Bruno
... and will go on with my redsocks2 experiments (it worked on one machine) with the CONNECT proxy command. Best regards, On Mon, Jun 29, 2020 at 10:26 PM Moritz Barsnick wrote: > > On Mon, Jun 29, 2020 at 19:23:25 +0200, Verachten Bruno wrote: > > I'm trying to get ffmpeg to use a

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-09 Thread Verachten Bruno
> Could this behaviour be considered as a bug? If so, I can file it. > What would you like to report where? > The fact that FFMpeg does not compile without this trick of exporting an empty CFLAGS variable on aarch64 there: https://trac.ffmpeg.org/ . If you consider this is not a bug, that's

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Verachten Bruno
On Tue, Jul 7, 2020 at 10:49 PM Carl Eugen Hoyos wrote: > Am Di., 7. Juli 2020 um 21:34 Uhr schrieb Verachten Bruno < > gount...@gmail.com>: > > > CFLAGS='-mfpu=neon' > > This is apparently not ignored (I thought it should be) and you are > therefore responsi

Re: [FFmpeg-user] Compiling on an aarch64 machine

2020-07-08 Thread Verachten Bruno
> > > CFLAGS='-mfpu=neon' > > > This is apparently not ignored (I thought it should be) and you are > > > therefore responsible not to set these variables. > > Thanks a lot. Unfortunately, These variables are not set on my machine... > > or am I mistaken? > I tested that if I don't export CFLAGS,

[FFmpeg-user] Compiling on an aarch64 machine

2020-07-07 Thread Verachten Bruno
Hi, I had already compiled ffmpeg on a 32bits OS for my aarch64 machine without too much trouble, but now that I have a 64bits OS, I'd like to compile ffmpeg too. The issue I have is that gcc is started with bad options (I'm not sure of that, that's what I think I understood): mktemp -u XX

[FFmpeg-user] How to terminate cleanly a recording on Windows

2020-06-19 Thread Verachten Bruno
Hi there, I'm trying to record lots of small wav files to give to PocketSphinx for adaptation. My command looks like this: ffmpeg.exe -f dshow -i audio="Microphone sur casque (2- Plant" -acodec pcm_s16le -ac 1 -ar 16000 1.wav I haven't tried this particular command under Linux, but usually

Re: [FFmpeg-user] RTMP handshaking behind a proxy

2020-06-25 Thread Verachten Bruno
SS (Operation now in progress) poll([{fd=5, events=POLLOUT}], 1, 100) = 1 ([{fd=5, revents=POLLOUT}]) getsockopt(5, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 write(2, "\33[0;39m[rtmp @ 0x1f512c0] \33[0m", 30[rtmp @ 0x1f512c0] ) = 30 write(2, "\33[0;32mHandshaking...\n\33[0m", 26Hands

[FFmpeg-user] RTMP and proxy

2020-06-29 Thread Verachten Bruno
Hi there, I'm trying to get ffmpeg to use a proxy. Here is my command: ffmpeg -http_proxy "http://192.168.0.217:3128/; -i sample.h264 -c:v copy -c:a copy -f flv "rtmp://live-cdg.twitch.tv/app/live_toto" -loglevel debug ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers built

Re: [FFmpeg-user] RTMP and proxy

2020-06-29 Thread Verachten Bruno
:29 PM Madovsky wrote: > > > On 6/29/2020 10:23 AM, Verachten Bruno wrote: > > Hi there, > > > > I'm trying to get ffmpeg to use a proxy. Here is my command: > > ffmpeg -http_proxy "http://192.168.0.217:3128/; -i sample.h264 -c:v > > copy -c:a copy -f

Re: [FFmpeg-user] How to terminate cleanly a recording on Windows

2020-06-22 Thread Verachten Bruno
Hz, mono, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le) Press [q] to stop, [?] for help size= 234kB time=00:00:07.51 bitrate= 255.6kbits/s video:0kB audio:234kB subtitle:0 global headers:0kB muxing overhead 0.08% Thanks a bunch. Bruno On Mon, Jun 22, 202

Re: [FFmpeg-user] How to terminate cleanly a recording on Windows

2020-06-22 Thread Verachten Bruno
Thanks for trying Matteo, I'm using Cygwin on Windows 7. I will give a try at cmd.exe. On Sat, Jun 20, 2020 at 11:28 AM Matteo Contrini wrote: > On Fri, 19 Jun 2020, at 12:05 PM, Verachten Bruno wrote: > > I haven't tried this particular command under Linux, but usually hitting >