Re: [FFmpeg-user] ffmpeg HIGH CPU, http streaming with libmp3lame

2019-02-05 Thread Zoltan Kerenyi Nagy
, Lou Logan wrote: > On Tue, Feb 5, 2019, at 8:15 AM, Zoltan Kerenyi Nagy wrote: > > Hi, > > > > The CPU usage is still abobe 90% with libshine. Do you think that > something > > is buggy with my script? > > https://pastebin.com/dyHK6ATh > > > > Zoli &g

Re: [FFmpeg-user] ffmpeg HIGH CPU, http streaming with libmp3lame

2019-02-05 Thread Zoltan Kerenyi Nagy
Hi, The CPU usage is still abobe 90% with libshine. Do you think that something is buggy with my script? https://pastebin.com/dyHK6ATh Zoli On Tue, 5 Feb 2019 at 01:19, Lou Logan wrote: > On Mon, Feb 4, 2019, at 11:31 AM, Zoltan Kerenyi Nagy wrote: > > Hi All, > > > > Fo

[FFmpeg-user] ffmpeg HIGH CPU, http streaming with libmp3lame

2019-02-04 Thread Zoltan Kerenyi Nagy
Hi All, For some reason the CPU is insanely high, hitting almost all the time 100%, I run ffmpeg on an ARM7 4 core embedded device. This is the setup, how I do it: ffserver -d -f /etc/ffserver.conf ffmpeg -f alsa -i hw:0,0 http://localhost:/audio.ffm ## /etc/ffserver.conf : HTTPPort

Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread Zoltan Kerenyi Nagy
I did this and it works: ffmpeg -i rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov -y -f image2 -qscale 0 -frames 1 test.jpg On Wed, 30 Jan 2019 at 19:34, discarn8 wrote: > Thanks, Zoltan. I had not thought of that. I'll test it tonight and report > back. Thanks very much. >

Re: [FFmpeg-user] "showwaves has an unconnected output" when sending audio with waveform as video

2019-01-30 Thread Zoltan Kerenyi Nagy
Sorry Sir, I forgot: https://pastebin.com/vrAj7C3W On Wed, 30 Jan 2019 at 14:33, Moritz Barsnick wrote: > On Wed, Jan 30, 2019 at 11:39:42 +0100, Zoltan Kerenyi Nagy wrote: > > Neither does this work: > > That's not a very good error description. > > I asked this: >

Re: [FFmpeg-user] "showwaves has an unconnected output" when sending audio with waveform as video

2019-01-30 Thread Zoltan Kerenyi Nagy
Neither does this work: #OUTPUT=out.mp4 OUTPUT="http://localhost:5554/video.ffm; ffmpeg -f alsa -i hw:0,0 -filter_complex "[0:a]showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue[v]" -map "[v]" -map 0:a $OUTPUT On Wed, 30 Jan 2019 at 11:09, Zoltan Kereny

Re: [FFmpeg-user] "showwaves has an unconnected output" when sending audio with waveform as video

2019-01-30 Thread Zoltan Kerenyi Nagy
9 at 09:45, Moritz Barsnick wrote: > On Tue, Jan 29, 2019 at 23:04:23 +0100, Zoltan Kerenyi Nagy wrote: > > Slight modification does not work either: > > > > ffmpeg -f lavfi -i nullsrc -f alsa -i hw:0,0 -filter_complex > > "[0:a]showwaves=s=1280x720:mode=line:colors=Blu

Re: [FFmpeg-user] ffserver - send audio with filter complex as video

2019-01-30 Thread Zoltan Kerenyi Nagy
16 Conversion failed! On Wed, 30 Jan 2019 at 09:22, Zoltan Kerenyi Nagy < kerenyi.nagy.zol...@gmail.com> wrote: > Hi Guys, > > I'd like to send the audio with waveform overlay for both channels, I can > save it to file: > ffmpeg -f alsa -i hw:0,0 -filter_complex >

[FFmpeg-user] ffserver - send audio with filter complex as video

2019-01-30 Thread Zoltan Kerenyi Nagy
Hi Guys, I'd like to send the audio with waveform overlay for both channels, I can save it to file: ffmpeg -f alsa -i hw:0,0 -filter_complex "showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue" out.mp4 However with ffserver it fails: ffmpeg -f alsa -i hw:0,0 -filter_complex

Re: [FFmpeg-user] "showwaves has an unconnected output" when sending audio with waveform as video

2019-01-29 Thread Zoltan Kerenyi Nagy
graph description [0:a]showwaves=s=1280x720:mode=line:colors=Blue[v] matches no streams. On Tue, 29 Jan 2019 at 22:19, Zoltan Kerenyi Nagy < kerenyi.nagy.zol...@gmail.com> wrote: > Hi, > > I'd like to send the analog audio as video with waveform superimposed, I > did this so far: &g

[FFmpeg-user] "showwaves has an unconnected output" when sending audio with waveform as video

2019-01-29 Thread Zoltan Kerenyi Nagy
Hi, I'd like to send the analog audio as video with waveform superimposed, I did this so far: ffmpeg -f alsa -i hw:0,0 -f lavfi -i nullsrc -filter_complex "[0:a]showwaves=mode=line:s=hd480:colors=Red[v]" -map "[v]" -map 0:a -pix_fmt yuv420p -b:a 360k -r:a 44100 http://localhost:5554/video.ffm

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-29 Thread Zoltan Kerenyi Nagy
I tried your version without -y. I will try it later today thanks though. On 2019. Jan 29., Tue at 10:06, Moritz Barsnick wrote: > On Tue, Jan 29, 2019 at 07:18:21 +0100, Zoltan Kerenyi Nagy wrote: > > $ ... -f wav pipe:3 -f wav pipe:4 3>fifo1 4>fifo2 > > > > That's

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
mental application On Tue, 29 Jan 2019 at 01:33, Moritz Barsnick wrote: > On Mon, Jan 28, 2019 at 20:38:48 +0100, Zoltan Kerenyi Nagy wrote: > > Anyhow your solution only creates files, not named pipes (fifo). > > You can tell ffmpeg to "overwrite" them by using &q

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
fifo1 and fifo2 are not really pipes or fifo-s This way it asks me if I want to overwrite them: #!/bin/bash set -x mkfifo fifo1 2>/dev/null mkfifo fifo2 2>/dev/null ffmpeg -f alsa -i hw:0,0 -f wav fifo1 -f wav fifo2 exit 0 On Mon, 28 Jan 2019 at 19:20, Zoltan Kerenyi Nagy < kerenyi

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
If this tiny mistake is the root of the problem, than Ill buy you a beer :-) Im checking this out as soon as I got home On 2019. Jan 28., Mon at 19:11, Moritz Barsnick wrote: > On Mon, Jan 28, 2019 at 16:18:12 +0100, Zoltan Kerenyi Nagy wrote: > > This is how I create th

[FFmpeg-user] record to files and stream at same time

2019-01-28 Thread Zoltan Kerenyi Nagy
Hi, As for the documentation I should be able to produce more than 2 outputs at the same time. The streaming is ok, but the recordings never gets segmented if I pull this script every five minutes with cron. Here is my /etc/ffserver.conf file: https://pastebin.com/aSfRiCCf And here is my test

[FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
Hi All, I'd like to send my laptop's sound to 2 fifo-s at the same time in order to read from that fifos later. For some reason if I read from those fifos, nothing happens: ffmpeg -i fifo1 -s 0 -t 5 out1.wav ffmpeg -i fifo2 -s 0 -t 5 out2.wav This is how I create the 2 fifos: #!/bin/bash

Re: [FFmpeg-user] superimpose audio on stream

2018-04-02 Thread Zoltan Kerenyi Nagy
outfile.mp4 # audio volume ffmpeg -i $stream -filter_complex "[0:a]showvolume=f=1:b=3:w=240:h=20" audioVolume.mp4 On 2 April 2018 at 13:49, Moritz Barsnick <barsn...@gmx.net> wrote: > On Mon, Apr 02, 2018 at 09:39:18 +0200, Zoltan Kerenyi Nagy wrote: > > I'd like to o

[FFmpeg-user] superimpose audio on stream

2018-04-02 Thread Zoltan Kerenyi Nagy
Hello, I'd like to overlay the audio waveform coming from an axis camera's stream. I've started to read the documentation, but It's quiet complex. For testing I use that bunny stream. So far I managed to pad a bottom: #!/bin/bash stream="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov"