superimpose audio on stream

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

superimpose audio on stream

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"
padbottom=40

ffmpeg -i "$stream" -vf
"pad=width=240:height=160+$padbottom:x=0:y=0:color=black" outfile.mp4


I'd like similar to this video:

https://www.youtube.com/watch?v=BG9SYC0wWYw


Could you please help me?

Thanks,

Zolee
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: superimpose audio on stream

Moritz Barsnick
On Mon, Apr 02, 2018 at 09:39:18 +0200, Zoltan Kerenyi Nagy wrote:
> 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.
[...]
> I'd like similar to this video:
>
> https://www.youtube.com/watch?v=BG9SYC0wWYw
>
> Could you please help me?

Did you read that video's description (and the comments)? The command
line is kindly included.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: superimpose audio on stream

Zoltan Kerenyi Nagy
yes, but it's not quiet what I'd like.

I'm here so far, now I'm playing with the volume filter, but i'd like the
waveform as well:

# enlarge the original stream with a bottom pad:
bottompad=40

ffmpeg -i "$stream" -vf
"pad=width=240:height=160+$padbottom:x=0:y=0:color=black" 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 <[hidden email]> wrote:

> On Mon, Apr 02, 2018 at 09:39:18 +0200, Zoltan Kerenyi Nagy wrote:
> > 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.
> [...]
> > I'd like similar to this video:
> >
> > https://www.youtube.com/watch?v=BG9SYC0wWYw
> >
> > Could you please help me?
>
> Did you read that video's description (and the comments)? The command
> line is kindly included.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".