I do not know how to watermark h264 video without decoding it to an
uncompressed YUV frame first.
Libavfilter deals with uncompressed video frames.
You may want to get to the frame data before it is encoded the first
time and watermark it there.
Sorry I'm not sure how to do exactly what you're after.
Mark
On 16/11/2010, at 7:26 PM, Roger Littin wrote:
Hi Mark,
I could possibly be interested. What I was hoping to do is to work
with the ffmpeg api using jni. The reason for this is that the
encoder is java and so is the media player. I would like to pass
the encoded frame data into the filter and get a watermarked frame
back.
Roger.
-----Original Message----- From: Mark Heath
Sent: Monday, November 15, 2010 1:21 PM
To: Libav* user questions and discussions
Subject: Re: [libav-user] Watermark live h.264 video
Hi Roger,
I've written a static image watermarking filter using vfilters.
I'm not sure if this would help you.
Mark
On 16/10/2010, at 10:45 AM, Roger Littin wrote:
Hi,
I have an application that uses a FastVDO SmartCapture device to
stream live video to a Wowza server. On the server, it is being
streamed live and also recorded for archive.
I would like to be able to add a watermark image to the video
either before it is sent to the server or as it is being recorded.
I have tried to add a watermark after it has been recorded which
was successful but the process takes too long and is too resource
intensive to do on any sort of scale. I couldn't find a way to
just add the watermark without having to re-transcode the video.
The broadcast client is running in java on a windows netbook. It
communicates with the fastVDO device using jni and receives the
raw video & audio packets which it then packages into an rtp
stream to send to the server. If possible, I would like to be
able to pass the raw video packets through the ffmpeg avfilter, to
add the watermark image, before they are added to the stream if
this is possible.
The other option would be do it on the Wowza server and intercept
the video packets there and do the same thing.
I am also open to other suggestions.
Roger.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user