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

2019-01-30 Thread discarn8
Zoltan - the only problem with this, that I just realized is this:

As I mentioned before, the cameras intermittently lose connection. 
Supposing that I send the ffmpeg test command while the camera connection is
good, and then the camera stream input to ffplay drops.  Ffplay will
continue displaying the last frame it received.  Now, if the camera
connection is restored a minute or two later, and I send the ffmpeg command
again - I would never know that ffplay has "stopped working".  I may not
ever know, unless I specifically test the camera when the connection has
dropped and it is currently down.  My results would most likely be
hit-or-miss.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread discarn8
Zoltan:

Ok, I tested this and you are correct - it works.  Thank you, very much.

I unplugged the camera and ran the ffmpeg command, you suggested and I
promptly received a:

"Connection to tcp://192.168.0.2 failed: Connection refused
http://192.168.0.2: Connection refused"

I can work with this.  Scripting a loop of ffmpeg tests for each one of the
cameras, every 5 minutes should suffice.  I'll admit, however - it feels
like a bit of overkill to accomplish such a (seemingly) simple task.  Like
I'm using a forklift to move a kleenex tissue.

How does one go about submitting a feature request for ffplay - to include a
loss of input stream detection?



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Non-English (Chinese) file and filepath names in FFmpeg Command Line

2019-01-30 Thread Wayne
Any way to do this in C#?  I have resorted to temporarily renaming those 
file names/filepaths to English and then renaming back to the original 
language once rendering is completed.


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Zwanzig

On 1/30/2019 12:23 PM, Carl Eugen Hoyos wrote:

 this is not about the "signal" that is of
course interlaced for analog PAL but the content that
may of may not be interlaced (and the idet filter only
looks at the content and nothing in FFmpeg is able to
look at an analog video signal).


Agreed. I mention it simply because AFAIK DVD recorders converting from 
analog will almost always produce interlaced files. However, more important 
is that the entire process of converting analog tapes to digital is full of 
pits and perils, and the conversion artifacts will play hob with any 
processing (like de-interlacing).


The best route, of course, is to capture into a lossless format and process 
from there. May not help the OP.


Later,

z!
who has some U-Matic tapes to ingest sometime Really Soon Now
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread Carl Zwanzig

On 1/30/2019 4:08 PM, Carl Eugen Hoyos wrote:


well, if there is no backwards compatibility, the documentation
referring to obsolete options should also disappear.

Didn't it?


Having just checked, ffm is not listed in the formats page 
(https://ffmpeg.org/ffmpeg-formats.html).



OTOH, the ffserver doc page itself doesn't say that the program has been 
removed (https://www.ffmpeg.org/ffserver.html), nor does the main doc page 
(https://www.ffmpeg.org/documentation.html). ffm also appears in the 
ffserver sample config page, which google finds quite easily.


The removal is mentioned part way down the main page under April 20, 2018 
and on the wiki page (https://trac.ffmpeg.org/wiki/ffserver).


This might be considered an incomplete job of removing ffserver as searches 
will still find it and it's options. Adding a few more "no longer available" 
messages to the various doc pages should take care of that. (I'd offer to 
add them, but have no idea how or where.)


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread Carl Eugen Hoyos
2019-01-31 1:03 GMT+01:00, juan carlos :
>
>
> El 30/01/19 a las 21:24, Carl Eugen Hoyos escribió:
>> 2019-01-30 22:11 GMT+01:00, juan carlos :
>>>
>>> El 30/01/19 a las 20:51, Carl Eugen Hoyos escribió:
 2019-01-30 21:39 GMT+01:00, juan carlos :
> hello moritz, sorry for taking a long time to answer, I have not had
> time to do it, I write to comment that the command you mention does not
> work, says -filter: v "volumedetect" invalid argument, this command is
> not the only one that has stopped work since version 4.0 has been
> released, the worst is that the documentation does not indicate it as
> obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a
> server ffserver 3, it could not be done either, since it would indicate
> to me an invalid argument, for example, if I wanted to broadcast a
> pre-recorded source:
>
> ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument
 The ffm format does not exist anymore because ffserver was
 removed (the format was only relevant for ffserver).
 This is not related to the volumedetect filter.
>>> Yes, I know that ffserver disappeared, but backward compatibility
>>> should follow, right?
>> Unfortunately not.

> well, if there is no backwards compatibility, the documentation
> referring to obsolete options should also disappear.

Didn't it?

Please cut the mailing list footer when replying, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread juan carlos



El 30/01/19 a las 21:24, Carl Eugen Hoyos escribió:

2019-01-30 22:11 GMT+01:00, juan carlos :


El 30/01/19 a las 20:51, Carl Eugen Hoyos escribió:

2019-01-30 21:39 GMT+01:00, juan carlos :

hello moritz, sorry for taking a long time to answer, I have not had
time to do it, I write to comment that the command you mention does not
work, says -filter: v "volumedetect" invalid argument, this command is
not the only one that has stopped work since version 4.0 has been
released, the worst is that the documentation does not indicate it as
obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a
server ffserver 3, it could not be done either, since it would indicate
to me an invalid argument, for example, if I wanted to broadcast a
pre-recorded source:

ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument

The ffm format does not exist anymore because ffserver was
removed (the format was only relevant for ffserver).
This is not related to the volumedetect filter.

Yes, I know that ffserver disappeared, but backward compatibility
should follow, right?

Unfortunately not.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
well, if there is no backwards compatibility, the documentation 
referring to obsolete options should also disappear.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Correct way to use FFmpeg filters in a real time context

2019-01-30 Thread Ronak
Hi all,

I'm trying to embed some ffmpeg filters, such as loudnorm and silenceremove in 
a real time context: meaning I have an audio speaker connected at the end of it.

I saw that loudnorm supports single pass mode; where it doesn't require me to 
pass all the audio in the file through it, before it can start normalizing to a 
given LUFS value.
I also saw silenceremove is also similar.

However, what I can't seem to figure out is that if I just plug in those 
filters into my filter chain during playback, I hear a bunch of silence, audio 
artifacts and random noise, rather than my audio.

I'm thinking this might be an issue due to how I'm inputting data into those 
filters perhaps?

Here's the code I use to push data into my filter chain. This is code in the 
Swift language on iOS. Would someone be able to help look over this code and 
give me any pointers on what I'm doing wrong?

Thanks,

Ronak

private func filterBuffer(_ inputBufferList: 
UnsafeMutableAudioBufferListPointer, frameCount: UInt32, outputBufferList: 
UnsafeMutableAudioBufferListPointer) throws -> UInt32 {
guard let inputAudioFrame = inputAudioFrame, let outputAudioFrame = 
outputAudioFrame else { throw PlayerError.filterFailure([:]) }

// copy the pointers to the audio buffer into the frame for manipulation

// each buffer represents the audio per channel. copy data from the 
inputBuffer into the input frame.
for index in 0..= 0 {

// copy the pointers to the filtered audio into the output buffers
for index in 0...allocate(capacity: 64)
av_make_error_string(rawErrorString, 64, pullResult)

ARCLogError("Failed to read audio out of the filter due to error code: 
\(pullResult): \(String(cString: rawErrorString))")

// the audio couldn't be filtered properly, throw an error
throw PlayerError.filterFailure([:])
  }
} else {
  let rawErrorString = UnsafeMutablePointer.allocate(capacity: 64)
  av_make_error_string(rawErrorString, 64, writeResult)

  ARCLogError("Failed to write audio into the filter due to error code: 
\(writeResult): \(String(cString: rawErrorString))")

  // the audio couldn't be filtered properly, throw an error
  throw PlayerError.filterFailure([:])
}

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-31 0:20 GMT+01:00, Lou Logan :
> On Mon, Jan 28, 2019, at 6:58 PM, Carl Eugen Hoyos wrote:
>>
>> (So apparently the next sentence is wrong and Lou
>> does offer release support - but unfortunately only
>> to you because he closed ticket #7697 this week
>> explaining there is no release support...)
>
> I don't quite follow your paragraph, but I never
> said "I offer release support".

I know but that's how Ulf interpreted your message:
https://trac.ffmpeg.org/ticket/7623#comment:5

(Sorry: When I answered I didn't bother to check,
I simply trusted his interpretation.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-31 0:18 GMT+01:00, Carl Eugen Hoyos :
> 2019-01-30 23:55 GMT+01:00, Ulf Zibis :
>
>> here you find the rip from dvd::rip and the result from ffmpeg:
>> https://c.1und1.de/@519472591769967166/-XGssZrBRCiT0J4xQUU1LA
>
> This masterpiece (make sure you don't miss the  imdb comment)
> was most likely made with a film camera that knew nothing about
> interlacing.
> The artefacts you see are afaict the result of the VHS drums not

more likely: "VHS heads"

> being able to keep 100% synchronization, filters that increase the
> quality likely exist but this is definitely not my area.
> I guess you should search for a specific AviSynth filter.
>
> Please avoid top-posting here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Lou Logan
On Mon, Jan 28, 2019, at 6:58 PM, Carl Eugen Hoyos wrote:
>
> (So apparently the next sentence is wrong and Lou
> does offer release support - but unfortunately only
> to you because he closed ticket #7697 this week
> explaining there is no release support...)

I don't quite follow your paragraph, but I never said "I offer release support".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-30 23:55 GMT+01:00, Ulf Zibis :

> here you find the rip from dvd::rip and the result from ffmpeg:
> https://c.1und1.de/@519472591769967166/-XGssZrBRCiT0J4xQUU1LA

This masterpiece (make sure you don't miss the  imdb comment)
was most likely made with a film camera that knew nothing about
interlacing.
The artefacts you see are afaict the result of the VHS drums not
being able to keep 100% synchronization, filters that increase the
quality likely exist but this is definitely not my area.
I guess you should search for a specific AviSynth filter.

Please avoid top-posting here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Ulf Zibis
Hi,

here you find the rip from dvd::rip and the result from ffmpeg:
https://c.1und1.de/@519472591769967166/-XGssZrBRCiT0J4xQUU1LA

I'm curious, what you find out,

Ulf

Am 29.01.19 um 21:47 schrieb Carl Eugen Hoyos:
> 2019-01-29 20:50 GMT+01:00, Ulf Zibis :
>> If you want I could upload a 6 min. chunk with 300 MB.
> Just post a link, there are issues with 10G samples
> (that could not easily be made smaller).
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What exactly is an "amplitude ratio"?

2019-01-30 Thread Carl Eugen Hoyos
2019-01-28 17:30 GMT+01:00, Josh McNeill :

> I'm using the silencedetect filter for a project, and I've been using an
> amplitude ratio for the threshold (i.e., n=), but I'm not sure what this
> actually refers to. My guess is that it's a percentage of the peak
> amplitude in the file (e.g., 0.01 is 1% of the highest amplitude)

Not the peak amplitude in the file but the maximum possible
amplitude afaict.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread Carl Eugen Hoyos
2019-01-30 22:11 GMT+01:00, juan carlos :
>
>
> El 30/01/19 a las 20:51, Carl Eugen Hoyos escribió:
>> 2019-01-30 21:39 GMT+01:00, juan carlos :
>>> hello moritz, sorry for taking a long time to answer, I have not had
>>> time to do it, I write to comment that the command you mention does not
>>> work, says -filter: v "volumedetect" invalid argument, this command is
>>> not the only one that has stopped work since version 4.0 has been
>>> released, the worst is that the documentation does not indicate it as
>>> obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a
>>> server ffserver 3, it could not be done either, since it would indicate
>>> to me an invalid argument, for example, if I wanted to broadcast a
>>> pre-recorded source:
>>>
>>> ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument
>> The ffm format does not exist anymore because ffserver was
>> removed (the format was only relevant for ffserver).
>> This is not related to the volumedetect filter.

> Yes, I know that ffserver disappeared, but backward compatibility
> should follow, right?

Unfortunately not.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread juan carlos



El 30/01/19 a las 20:51, Carl Eugen Hoyos escribió:

2019-01-30 21:39 GMT+01:00, juan carlos :

hello moritz, sorry for taking a long time to answer, I have not had
time to do it, I write to comment that the command you mention does not
work, says -filter: v "volumedetect" invalid argument, this command is
not the only one that has stopped work since version 4.0 has been
released, the worst is that the documentation does not indicate it as
obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a
server ffserver 3, it could not be done either, since it would indicate
to me an invalid argument, for example, if I wanted to broadcast a
pre-recorded source:

ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument

The ffm format does not exist anymore because ffserver was
removed (the format was only relevant for ffserver).
This is not related to the volumedetect filter.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Yes, I know that ffserver disappeared, but backward compatibility should 
follow, right?

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] volume detect

2019-01-30 Thread Carl Eugen Hoyos
2019-01-30 21:39 GMT+01:00, juan carlos :
> hello moritz, sorry for taking a long time to answer, I have not had
> time to do it, I write to comment that the command you mention does not
> work, says -filter: v "volumedetect" invalid argument, this command is
> not the only one that has stopped work since version 4.0 has been
> released, the worst is that the documentation does not indicate it as
> obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a
> server ffserver 3, it could not be done either, since it would indicate
> to me an invalid argument, for example, if I wanted to broadcast a
> pre-recorded source:
>
> ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument

The ffm format does not exist anymore because ffserver was
removed (the format was only relevant for ffserver).
This is not related to the volumedetect filter.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] volume detect

2019-01-30 Thread juan carlos
hello moritz, sorry for taking a long time to answer, I have not had 
time to do it, I write to comment that the command you mention does not 
work, says -filter: v "volumedetect" invalid argument, this command is 
not the only one that has stopped work since version 4.0 has been 
released, the worst is that the documentation does not indicate it as 
obsolete. for example, if I wanted to transmit using ffmpeg 4.1 to a 
server ffserver 3, it could not be done either, since it would indicate 
to me an invalid argument, for example, if I wanted to broadcast a 
pre-recorded source:


ffmpeg -imput.mp4 http://ip:8090/feed1.ffm say invalid argument

but the documentation keeps saying that this can be done in that way, 
although it is not true since version 4 of ffmpeg, I have already found 
4 things that do not work as they should in version 4


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-30 18:27 GMT+01:00, Carl Zwanzig :
> On 1/30/2019 6:12 AM, Carl Eugen Hoyos wrote:
>> You may have forgotten that while the vertical resolution is kept,
>> horizontal resolution is reduced significantly for VHS, likely
>> confusing the algorithm for detection of interlaced content.
>
> Exactly, VHS only has bandwidth of ~3MHz, so a horizontal
> resolution of ~240 TV lines (not pixels). There can also be
> a -lot- of variable horizontal smearing (plus other artifacts).

> AFAIK all VHS players produce an interlaced signal

Of course (and what you write is correct to the best of
my knowledge) but please note that - at least as far as
I am concerned - this is not about the "signal" that is of
course interlaced for analog PAL but the content that
may of may not be interlaced (and the idet filter only
looks at the content and nothing in FFmpeg is able to
look at an analog video signal).

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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.
>
>
>
> --
> Sent from: http://www.ffmpeg-archive.org/
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread discarn8
Thanks, Zoltan. I had not thought of that. I'll test it tonight and report
back.  Thanks very much.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread discarn8
I'm using multiple instances of ffplay, on a linux distro, to play multiple
rtsp streams from multiple security cameras.  However, due to the crowded
wifi environment I'm in and the 2.4ghz limitations of the cameras, I
occasionally drop / lose connection to one or more cameras, and thus lose
the rtsp stream.  Other than watching for motion or staring at the time
display in the stream, to see if it's still "ticking", I have no way to know
if the stream is active or not.  Barring switching to a UDP rtsp stream
(which provides for horrible video quality), is there a known, existing
error message or process flag that I can filter on, to be made aware of the
stream loss?  I've seemingly tried every warning level, but I don't see a
message alerting me to the stream drop.  ffplay just keeps on ticking.

Currently, I am stuck with scripting a shutdown and restart of ffplay every
1/2 hour, for the most common "offenders", but I'm thinking that someone
else must have crossed this bridge before, and resolved the issue.  

Anyone?



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Zwanzig

On 1/30/2019 6:12 AM, Carl Eugen Hoyos wrote:

You may have forgotten that while the vertical resolution is kept,
horizontal resolution is reduced significantly for VHS, likely
confusing the algorithm for detection of interlaced content.


Exactly, VHS only has bandwidth of ~3MHz, so a horizontal resolution of ~240 
TV lines (not pixels). There can also be a -lot- of variable horizontal 
smearing (plus other artifacts).


AFAIK all VHS players produce an interlaced signal, composite and optionally 
S-video; the concept of "progressive scan" does not apply to an analog video 
signal.


There are many pages about capturing analog recordings- going from one lossy 
format (analog VHS) to another (DVD/mpeg) will not generally yield good results.


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 24h timecode max

2019-01-30 Thread Christian Johannesen
On Wed, Jan 30, 2019 at 9:37 AM Gyan  wrote:

>
> On 30-01-2019 04:31 AM, Christian Johannesen wrote:
> > I saw in timecode.c there is AV_TIMECODE_FLAG_24HOURSMAX, but i'm not
> sure
> > how I could utilize it. It only seems that the Drawtext filter has an
> > option for to limit the value.
> >
> > Let me know if there is anything I can do to achieve this result.
> Not implemented at present. Will send patch soon.
>
> Gyan
>

Thank you, I definitely appreciate it!

Chris
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 24h timecode max

2019-01-30 Thread Phil Rhodes
 I remember this was discussed some while ago - is it intended that this be 
default behaviour? In my view it should be.
P
On Wednesday, 30 January 2019, 14:37:49 GMT, Gyan  wrote: 
 
 
 

On 30-01-2019 04:31 AM, Christian Johannesen wrote:
> I saw in timecode.c there is AV_TIMECODE_FLAG_24HOURSMAX, but i'm not sure
> how I could utilize it. It only seems that the Drawtext filter has an
> option for to limit the value.
>
> Let me know if there is anything I can do to achieve this result.
Not implemented at present. Will send patch soon.

Gyan
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".  
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] 24h timecode max

2019-01-30 Thread Gyan



On 30-01-2019 04:31 AM, Christian Johannesen wrote:

I saw in timecode.c there is AV_TIMECODE_FLAG_24HOURSMAX, but i'm not sure
how I could utilize it. It only seems that the Drawtext filter has an
option for to limit the value.

Let me know if there is anything I can do to achieve this result.

Not implemented at present. Will send patch soon.

Gyan
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-29 20:50 GMT+01:00, Ulf Zibis :

> My understanding is, that a VHS cassette player always
> provides a fully interlaced analogue stream (50 half-frames
> per sec. for PAL).

You may have forgotten that while the vertical resolution is kept,
horizontal resolution is reduced significantly for VHS, likely
confusing the algorithm for detection of interlaced content.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-30 Thread Carl Eugen Hoyos
2019-01-30 1:26 GMT+01:00, Ulf Zibis :

> In my POV deinterlacing ("classic") is to buffer and optionally somehow
> interpolate the content of the "before half-frame" and add it to the
> current half-frame, so the display content only changes *25 times per
> sec.*. But with the method I outlined, the display content (partly, only
> each 2nd line) would change *50 times per sec.*. The deinterlacing
> then happens in the viewers eye.

Without interpolation, this is what all video players do if you disable
all de-interlacing.
The problem is what kind of "interpolation" you use, this is called
de-interlacing, an endless number of algorithms exist.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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:
>
> > >> This is why you should always show us the *complete* uncut console
> > >> output. You are hiding interesting info otherwise.
>
> Sorry, can't help you without so little info. Others may feel free to
> jump in.
>
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-30 Thread Moritz Barsnick
On Wed, Jan 30, 2019 at 13:25:26 +0100, frhun wrote:
> if -c:v copy then not working drawtext!

Of course not! What I asked was "how does this performance change if you omit 
all the
filters" - and you are *not* supposed to use "-c:v copy", so we can see
approximately how much of your CPU performance is used by the encoding
process, and how much by the filter.

> so the drawtext re encoding do high cpu usage, I use the notebook ( 
> thinkpad i5 3 generations) gpu is no to perfect :)

That's not true. The filter *implies* not being able to do "-c:v copy",
but it may not be the actual filter using all the compute power, but
the CPU-based encoding. And if so, we might be able to help you by
recommending other encoding parameters or use of a GPU based encoder.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread Moritz Barsnick
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:

> >> This is why you should always show us the *complete* uncut console
> >> output. You are hiding interesting info otherwise.

Sorry, can't help you without so little info. Others may feel free to
jump in.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to re encode broken mp4s

2019-01-30 Thread andrei ka
> Sorry for posting without testing the head version, usually I do it!
>
>
actually your crazy stuff was kinda fun to read :-P
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-30 Thread frhun

if -c:v copy then not working drawtext!

only -c:v copy using the cpu usage 2-3% , it is working long ago
but now need use draw text on the video stream

so the drawtext re encoding do high cpu usage, I use the notebook ( 
thinkpad i5 3 generations) gpu is no to perfect :)


Robert

2019. 01. 30. 11:05 keltezéssel, Moritz Barsnick írta:

On Wed, Jan 30, 2019 at 07:47:24 +0100, frhun wrote:

so I try lot of ffmpeg switch

ffmpeg -r 25 -rtsp_transport tcp -i
rtsp://admin:1234@192.168.2.25/Streaming/Channels/1 -c:v libx264 -b:v 2M
-c:a copy -vf "[in]drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\k\\v\\T_A\\P.txt': x=180: y=30: reload=1:
fontcolor=black: fontsize=50: box=1: boxborderw=5: boxcolor=red@0.8 ,
drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\k\\v\\T_A\\F.txt': x=180: y=75: reload=1:
fontcolor=black: fontsize=50: box=1: boxborderw=5: boxcolor=white@0.8 ,
drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\k\\v\\T_A\\O.txt': x=30: y=30: reload=1: fontcolor=black:
fontsize=60: box=1: boxborderw=5: boxcolor=aqua@0.8 ,
drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\k\\v\\T_A\\M.txt': x=30: y=80: reload=1: fontcolor=black:
fontsize=47: box=1: boxborderw=5: boxcolor=yellow@0.8[out]" -preset
ultrafast -f flv rtmp://a.rtmp.youtube.com/live2/x-x-x-x

I fixed the rate, and the output bitrate , and -preset utltrafast set

cpu usage 50% down to 20% it is better but not enough
because i using 4 cameras, processor usage ~80% , I cooked my notebook...
How to go below cpu usage


How does this performance change if you omit all the filters, i.e. just
RTSP demuxing/decoding and re-encoding to YouTube? (In other words: Do
the filters "cook" your CPU, or is it the encoding?) Not with "-c:v
copy, as in your original e-mail.

If the encoding is the bottleneck, you should try using your GPU for
that.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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 Kerenyi Nagy <
kerenyi.nagy.zol...@gmail.com> wrote:

> Thanks your're right!
>
> Unfortunately it still doesnt work:
> ffmpeg -f alsa -i hw:0,0 -f lavfi -i nullsrc -filter_complex
> "[0]showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue" -c:v
> libx264 -preset fast -crf 23 -c:a copy http://localhost:5554/video.ffm
>
> On Wed, 30 Jan 2019 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=Blue[v]" -map "[v]" -map 0:a
>> > -c:v libx264 -r 15 http://localhost:5554/video.ffm
>> >
>> > error:
>> >
>> > Stream specifier ':a' in filtergraph description
>> > [0:a]showwaves=s=1280x720:mode=line:colors=Blue[v] matches no streams.
>>
>> This is why you should always show us the *complete* uncut console
>> output. You are hiding interesting info otherwise.
>>
>> Your first input (0) is nullsrc, a video source. So "[0:a]" does not
>> specify a valid stream. You are not even using nullsrc, so you should
>> probably omit "-f lavfi -i nullsrc", then the rest should work.
>>
>> Moritz
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread Zoltan Kerenyi Nagy
Thanks your're right!

Unfortunately it still doesnt work:
ffmpeg -f alsa -i hw:0,0 -f lavfi -i nullsrc -filter_complex
"[0]showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue" -c:v
libx264 -preset fast -crf 23 -c:a copy http://localhost:5554/video.ffm

On Wed, 30 Jan 2019 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=Blue[v]" -map "[v]" -map 0:a
> > -c:v libx264 -r 15 http://localhost:5554/video.ffm
> >
> > error:
> >
> > Stream specifier ':a' in filtergraph description
> > [0:a]showwaves=s=1280x720:mode=line:colors=Blue[v] matches no streams.
>
> This is why you should always show us the *complete* uncut console
> output. You are hiding interesting info otherwise.
>
> Your first input (0) is nullsrc, a video source. So "[0:a]" does not
> specify a valid stream. You are not even using nullsrc, so you should
> probably omit "-f lavfi -i nullsrc", then the rest should work.
>
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-30 Thread Moritz Barsnick
On Wed, Jan 30, 2019 at 07:47:24 +0100, frhun wrote:
> so I try lot of ffmpeg switch
> 
> ffmpeg -r 25 -rtsp_transport tcp -i 
> rtsp://admin:1234@192.168.2.25/Streaming/Channels/1 -c:v libx264 -b:v 2M 
> -c:a copy -vf "[in]drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
> textfile='Z\:\\k\\v\\T_A\\P.txt': x=180: y=30: reload=1: 
> fontcolor=black: fontsize=50: box=1: boxborderw=5: boxcolor=red@0.8 , 
> drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
> textfile='Z\:\\k\\v\\T_A\\F.txt': x=180: y=75: reload=1: 
> fontcolor=black: fontsize=50: box=1: boxborderw=5: boxcolor=white@0.8 , 
> drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
> textfile='Z\:\\k\\v\\T_A\\O.txt': x=30: y=30: reload=1: fontcolor=black: 
> fontsize=60: box=1: boxborderw=5: boxcolor=aqua@0.8 , 
> drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
> textfile='Z\:\\k\\v\\T_A\\M.txt': x=30: y=80: reload=1: fontcolor=black: 
> fontsize=47: box=1: boxborderw=5: boxcolor=yellow@0.8[out]" -preset 
> ultrafast -f flv rtmp://a.rtmp.youtube.com/live2/x-x-x-x
> 
> I fixed the rate, and the output bitrate , and -preset utltrafast set
> 
> cpu usage 50% down to 20% it is better but not enough
> because i using 4 cameras, processor usage ~80% , I cooked my notebook...
> How to go below cpu usage

How does this performance change if you omit all the filters, i.e. just
RTSP demuxing/decoding and re-encoding to YouTube? (In other words: Do
the filters "cook" your CPU, or is it the encoding?) Not with "-c:v
copy, as in your original e-mail.

If the encoding is the bottleneck, you should try using your GPU for
that.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] SD channels to HD

2019-01-30 Thread Moritz Barsnick
On Wed, Jan 30, 2019 at 08:04:29 +0545, Matthew Reus wrote:
> but quality is highly degraded , interlaced how can we manage on this case

You should show us your actually used ffmpeg command line and its
complete, uncut console output, so we can understand what your are
doing. This will also show us some details about your input material
and what you are trying to achieve. E.g. we don't even know which
encoder you are trying to use...

(Eventually, you should also read up on the docs, which tell you how to
change the quality of your encoding, and how to deinterlace.)

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread Moritz Barsnick
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=Blue[v]" -map "[v]" -map 0:a
> -c:v libx264 -r 15 http://localhost:5554/video.ffm
> 
> error:
> 
> Stream specifier ':a' in filtergraph description
> [0:a]showwaves=s=1280x720:mode=line:colors=Blue[v] matches no streams.

This is why you should always show us the *complete* uncut console
output. You are hiding interesting info otherwise.

Your first input (0) is nullsrc, a video source. So "[0:a]" does not
specify a valid stream. You are not even using nullsrc, so you should
probably omit "-f lavfi -i nullsrc", then the rest should work.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-01-30 Thread Zoltan Kerenyi Nagy
it doesnt work either if I modify like this:

ffmpeg -f alsa -i hw:0,0 -f lavfi -i nullsrc -filter_complex
"[0]showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue"
http://localhost:5554/video.ffm

OUTPUT:
Wed Jan 30 09:27:12 2019 127.0.0.1 - - [POST] "/video.ffm HTTP/1.1" 200 4096
Past duration 0.75 too large
[alsa @ 0x55d011719ca0] Thread message queue blocking; consider raising the
thread_queue_size option (current value: 8)
av_interleaved_write_frame(): Connection reset by peer
Last message repeated 2 times
Error writing trailer of http://localhost:5554/video.ffm: Connection reset
by peer
frame=   88 fps=0.0 q=2.0 Lq=27.0 size=  12kB time=00:00:03.44
bitrate=  28.6kbits/s dup=0 drop=33 speed=7.08x
video:15kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
[aac @ 0x55d0117812c0] Qavg: 171.867
[libx264 @ 0x55d011782e60] frame I:1 Avg QP: 7.00  size:   223
[libx264 @ 0x55d011782e60] frame P:14Avg QP: 7.71  size:46
[libx264 @ 0x55d011782e60] frame B:40Avg QP:11.35  size:38
[libx264 @ 0x55d011782e60] consecutive B-frames:  1.8%  3.6%  0.0% 94.5%
[libx264 @ 0x55d011782e60] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x55d011782e60] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%
0.0%  0.0%  0.0%  0.0%skip:100.0%
[libx264 @ 0x55d011782e60] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%
0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 0x55d011782e60] 8x8 transform intra:0.0%
[libx264 @ 0x55d011782e60] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x55d011782e60] i16 v,h,dc,p: 98%  0%  2%  0%
[libx264 @ 0x55d011782e60] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x55d011782e60] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55d011782e60] kb/s:5.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
> "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
> "showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue"
> http://localhost:5554/video.ffm
>
> OUTPUT:
> Wed Jan 30 09:06:00 2019 127.0.0.1 - - New connection: GET /video.ffm
> Missing video stream which is required by this ffm
> Wed Jan 30 09:06:00 2019 127.0.0.1 - - [GET] "/video.ffm HTTP/1.1" 200 4175
>
> Here is the config file:
>
> HTTPPort 5554
> HTTPBindAddress 0.0.0.0
> MaxHTTPConnections 4
> MaxClients 4
> MaxBandwidth 1024
> CustomLog -
>
> 
> File /tmp/video.ffm
> FileMaxSize 2048M
> 
>
> #
>
> 
> Format flv
> Feed video.ffm
> VideoCodec libx264
> VideoFrameRate 15
> VideoBitRate 512
> VideoSize 1280x720
> AVOptionVideo crf 23
> AVOptionVideo preset medium
> AVOptionVideo flags +global_header
>
> AudioCodec aac
> Strict -2
> AudioBitRate 128
> AudioChannels 2
> AudioSampleRate 44100
> AVOptionAudio flags +global_header
> 
>
> I'm sure that something is wrong with the ffserver config file.
>
> Thanks,
>
> Z
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[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
"showwaves=split_channels=1:s=1280x720:mode=line:colors=Red|Blue"
http://localhost:5554/video.ffm

OUTPUT:
Wed Jan 30 09:06:00 2019 127.0.0.1 - - New connection: GET /video.ffm
Missing video stream which is required by this ffm
Wed Jan 30 09:06:00 2019 127.0.0.1 - - [GET] "/video.ffm HTTP/1.1" 200 4175

Here is the config file:

HTTPPort 5554
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 4
MaxClients 4
MaxBandwidth 1024
CustomLog -


File /tmp/video.ffm
FileMaxSize 2048M


#


Format flv
Feed video.ffm
VideoCodec libx264
VideoFrameRate 15
VideoBitRate 512
VideoSize 1280x720
AVOptionVideo crf 23
AVOptionVideo preset medium
AVOptionVideo flags +global_header

AudioCodec aac
Strict -2
AudioBitRate 128
AudioChannels 2
AudioSampleRate 44100
AVOptionAudio flags +global_header


I'm sure that something is wrong with the ffserver config file.

Thanks,

Z
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".