FFMpeg and multiple logo's

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

FFMpeg and multiple logo's

Christophe Van Bortel
Hi all,


I work for a television company and for the sake of copyrights we're trying to find a solution to post video's on the internet, with automated 'watermarking'.
The problem I'm facing is that I need to put multiple logo's, images, on a single video clip, and this with different time intervals.
I had no problem putting a single png on a video clip using vhook, but now I'm confused, as I see no functionality that can handle our workflow.
Is there a way to tackle this problem using FFMpeg? In our company we use it a lot for converting file formats, but for this I'm puzzled whether FFMpeg is able to do what we need.
Maybe I need an alternative approach, overlaying video clips on top of each other with alpha blending, but I'm not sure how to do this?

What we want to do is put for example two different logo's on a clip, the first one after 2 seconds, fading out after 10 seconds, then after another 2 seconds the second one, and fading out again after 10 seconds.

I'm running a linux (debian) server with ffmpeg with the following configuration:
./configure --enable-gpl --enable-libvorbis --enable-libdc1394 --enable-avfilter --enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264 --enable-libxvid --enable-vhook --enable-swscale --enable-shared --enable-nonfree

Thanks for your help.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: FFMpeg and multiple logo's

Bouke-3

----- Original Message -----
From: "Christophe Van Bortel" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, April 15, 2010 12:12 PM
Subject: [FFmpeg-user] FFMpeg and multiple logo's


> Hi all,
>
>
> I work for a television company and for the sake of copyrights we're
> trying to find a solution to post video's on the internet, with automated
> 'watermarking'.
> The problem I'm facing is that I need to put multiple logo's, images, on a
> single video clip, and this with different time intervals.
> I had no problem putting a single png on a video clip using vhook, but now
> I'm confused, as I see no functionality that can handle our workflow.
> Is there a way to tackle this problem using FFMpeg? In our company we use
> it a lot for converting file formats, but for this I'm puzzled whether
> FFMpeg is able to do what we need.
> Maybe I need an alternative approach, overlaying video clips on top of
> each other with alpha blending, but I'm not sure how to do this?
>
> What we want to do is put for example two different logo's on a clip, the
> first one after 2 seconds, fading out after 10 seconds, then after another
> 2 seconds the second one, and fading out again after 10 seconds.


Sounds like a job for AviSynth to me...
I've done about the same to get subtitles (rendered PNG files) timed into
MXF. (as i assume you have as input as well)
You can script extact time intervals and what to show.
However, i have not yet found a way to get MXF into AviSyntth, (no idea if i
could pipe), so i render an uncompressed inbetween.
It's fairly slow (from MXF SD to MXF SD about RT), but does the job nice.
hth
Bouke


> I'm running a linux (debian) server with ffmpeg with the following
> configuration:
> ./configure --enable-gpl --enable-libvorbis --enable-libdc1394 --enable-avfilter
>  --enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads
>  --enable-libx264 --enable-libxvid --enable-vhook --enable-swscale --enable-shared
>  --enable-nonfree
>
> Thanks for your help.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user 


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

RE : FFMpeg and multiple logo's

jackyr


-----Message d'origine-----
De : [hidden email]
[mailto:[hidden email]] De la part de Bouke
Envoyé : jeudi 15 avril 2010 15:36
À : FFmpeg user questions and RTFMs
Objet : Re: [FFmpeg-user] FFMpeg and multiple logo's




----- Original Message -----
From: "Christophe Van Bortel" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, April 15, 2010 12:12 PM
Subject: [FFmpeg-user] FFMpeg and multiple logo's


> Hi all,
>
>
> I work for a television company and for the sake of copyrights we're
> trying to find a solution to post video's on the internet, with automated
> 'watermarking'.
> The problem I'm facing is that I need to put multiple logo's, images, on a

> single video clip, and this with different time intervals.
> I had no problem putting a single png on a video clip using vhook, but now

> I'm confused, as I see no functionality that can handle our workflow.
> Is there a way to tackle this problem using FFMpeg? In our company we use
> it a lot for converting file formats, but for this I'm puzzled whether
> FFMpeg is able to do what we need.
> Maybe I need an alternative approach, overlaying video clips on top of
> each other with alpha blending, but I'm not sure how to do this?
>
> What we want to do is put for example two different logo's on a clip,
> the
> first one after 2 seconds, fading out after 10 seconds, then after another

> 2 seconds the second one, and fading out again after 10 seconds.


Sounds like a job for AviSynth to me...
I've done about the same to get subtitles (rendered PNG files) timed into
MXF. (as i assume you have as input as well)
You can script extact time intervals and what to show.
However, i have not yet found a way to get MXF into AviSyntth, (no idea if i

could pipe), so i render an uncompressed inbetween.
It's fairly slow (from MXF SD to MXF SD about RT), but does the job nice.
hth Bouke


> I'm running a linux (debian) server with ffmpeg with the following
> configuration:
> ./configure --enable-gpl --enable-libvorbis --enable-libdc1394
--enable-avfilter
>  --enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac
--enable-pthreads
>  --enable-libx264 --enable-libxvid --enable-vhook --enable-swscale
--enable-shared
>  --enable-nonfree
>
> Thanks for your help. _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user 




I did something similar using Avisynth
The logo was moving around the screen (the full "promenade" was during
The video duration)

But moving the position logo seems easy with Avisynth , you then feed
The avisynth output to ffmpeg input which will encode the way you want to

Regards
jacky

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: FFMpeg and multiple logo's

Stefano Sabatini
In reply to this post by Christophe Van Bortel
On date Thursday 2010-04-15 12:12:54 +0200, Christophe Van Bortel encoded:

> Hi all,
>
> I work for a television company and for the sake of copyrights we're
> trying to find a solution to post video's on the internet, with
> automated 'watermarking'.  The problem I'm facing is that I need to
> put multiple logo's, images, on a single video clip, and this with
> different time intervals.  I had no problem putting a single png on
> a video clip using vhook, but now I'm confused, as I see no
> functionality that can handle our workflow.  Is there a way to
> tackle this problem using FFMpeg? In our company we use it a lot for
> converting file formats, but for this I'm puzzled whether FFMpeg is
> able to do what we need.  Maybe I need an alternative approach,
> overlaying video clips on top of each other with alpha blending, but
> I'm not sure how to do this?

Have a look at libavfilter and the overlay filter.
 
> What we want to do is put for example two different logo's on a
> clip, the first one after 2 seconds, fading out after 10 seconds,
> then after another 2 seconds the second one, and fading out again
> after 10 seconds.

We still have to work this out, currently fading effects are (not yet)
possible, file an issue request on roundup if you care about it.

Regards.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user