Add a Watermark to a Video with ffmpeg
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- RSS Feeds
- Trying to Tame the Tablet
- New Products
- What's the tweeting protocol?
- Dart: a New Web Programming Experience
- Reply to comment | Linux Journal
1 hour 56 min ago - Drupal is an Awesome CMS and a Crappy development framework
6 hours 35 min ago - IT industry leaders
8 hours 57 min ago - Reply to comment | Linux Journal
1 day 1 hour ago - Reply to comment | Linux Journal
1 day 4 hours ago - Reply to comment | Linux Journal
1 day 5 hours ago - great post
1 day 6 hours ago - Google Docs
1 day 6 hours ago - Reply to comment | Linux Journal
1 day 11 hours ago - Reply to comment | Linux Journal
1 day 12 hours ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.



Comments
Easy in LiVES 1.3.3
Sorry Mitch, no time to make that video guide yet ! But I am happy to say that as of LiVES 1.3.3, this is really easy, since I added the Image Overlay effect into the main distro.
1) Open your video in LiVES from the File menu
2) Making sure you are in Clip Edit mode (if in multitrack, press ctrl-e), select Effects -> Image Overlay. Choose your image file/logo (it can be any type of image, including png with alpha). Select the start position, image size (or use natural size), and start alpha (0 for fully opaque). Select end position, end size and end alpha (so you can make it move around or fade in/out). Click OK.
3) After the effect has completed, select File -> Encode clip as, and encode the updated clip.
Unfortunately LiVES cannot
Unfortunately LiVES cannot rapidly open AVCHD files and has some massive deal breakers as I noted over on its article here:
http://www.linuxjournal.com/content/lives-video-editor-and-vj-tool-turns-10
I tried Kdenlive which was the most promising, but the amount of bugs that thing has, coupled with a requirement to recompile FFMPeg to use AAC and H264 (which still doesn't give you the ability to encode in those formats...I'm waiting for an answer on WHY that is on their forums even after spending some time looking for and implementing various answers) as well as the fact that even when using MTS formats the damn thing can't even keep the audio and video in sync, that program is a waste of time. Open Movie Editor doesn't work. Cindellerra can't open the files, and already transcoded files it can't do anything with (not to mention playback of audio is jacked up). Blender tells me FFMPeg can't understand the file.
Basically I've gone through nearly every single video editing solution on Linux and not one of them, not a one, can do the simple task of adding a watermark to the video file I'm trying to create without a deal breaking caveat. AVIDemux used to be everything I needed, but then they just removed the Logo function without informing anyone, and after nearly a year (or more) still no word on its restoration.
I'm really wondering if there's a product out there that works at all, given that even the pay for stuff on windows is so buggy as to make it unuseable. I feel like I did when I first started with DV files and nothing worked to edit those.
i used Avisynth, but i'm a
i used Avisynth, but i'm a windows user :D
Heh, this is all well and
Heh, this is all well and good, but now vhook isn't even included in my ditro. It's gone completely to libavfilter, which is fine if I could figure out how to make that do the same thing as vhook when applying a watermark. There does not appear to be any useable way of including a watermark in linux anymore. AVIDemux removed their support for 'logos' and the libavfilter documentation looks to be Greek to me in regards to actually making it do something useful. Kino was mentioned as a possibility, but the shear amount of time it takes for the kinds of video files I deal with makes it impractical. Other options like building a custom build of ffmpeg with vhook still in (if I understood the suggestion on the Ubuntu boards correctly) is a place I'd rather not go on my system. Any suggestions at this point?
Overlay
I haven't found a great solution yet. You can take a look at this article, it works although it does have some limitations. Check the comments also as there are some suggestions there that you might want to investigate also.
One would hope that the vhook replacement would see the light of day soon.
Mitch Frazier is an Associate Editor for Linux Journal.
Works Sort Of
Hi All,
Got the watermarking to work sort of. I have the watermark but I also have a gray cast to the original video. Looks like the 808080 background is not transparent. Any ideas?
Thanks!
Tom
Check Your Image
For reference, the purpose of the 808080 is described below (taken from the ffmpeg documentation):
The only thing I can think of is that you've got a problem with the image and it's not in the format that you think it is. Double check the background to make sure it's all 808080. Also make sure that the image is the same size as the video. The documentation doesn't state what, if anything, might be done to an image that is of a different size than the video before it's used to watermark the video.
This is a known good watermark image, try it and see what you get from it.
Mitch Frazier is an Associate Editor for Linux Journal.
Images From Videos
Fast video indexer is a video capture software that can capture video frames automatically from a list of videos and create index web pages, index pictures or a list of images.
ffmpeg removed support for
ffmpeg removed support for vhook a while ago, at least in SVN, in favor of libavfilter. You can see the note here: http://windforce.ellil.net/d/ffmpeg/hooks.html. Therefore, this vhook idea isn't going to work unless you are using an old version of ffmpeg, and it's no longer supported anyway. :(
Not that Old
It was deprecated in the 0.5 version that was released in March of this year and won't be removed until the next version.
Mitch Frazier is an Associate Editor for Linux Journal.