[Mplayer-dvb] Re: [linux-dvb] Re: OT: OSD inside MPEG2

David Given dg at cowlark.com
Wed Jan 29 11:29:23 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexandre CONRAD wrote:
[...]
> What Im recording is a program that will be recorded every early
> morning. And I need to schedule that. Once it's recorded, I need all
> this to be automatic. I need some kind of linux text mode program that
> can take a video, and reencode it with an image overlapping it (it's
> more like a banner) that is about 500x50 into an MPEG2 again so the DVB
> card can read it.
>
> Any other ideas ? I need this to be scriptible for automation...

Theoretically it should be possible to manipulate the raw MPEG data. You'd
want to replace some of the blocks in each keyframe with your image, and then
remove any of the delta blocks from each i-frame for that area... and then
you'd have to do something about motion deltas... Hmm. Theoretically possible,
but decidedly not trivial.

I'd say the easiest thing to do is to decode, add your image, and reencode.
I'd suggest writing your own software to do this using some video manipulation
toolkit; gstreamer would seem to be the ideal choice, but I've never actually
got gstreamer to work.

- --
+- David Given --McQ-+ "Safe upon the solid rock
|  dg at cowlark.com    | The ugly houses stand.
| (dg at tao-group.com) | Come and see my shining palace
+- www.cowlark.com --+ Built upon the sand." --- Edna St.Vincent Millay

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+N6z/f9E0noFvlzgRAr2dAKC9w+4FRuG0O2uiYlTVRDk17StyxQCgz7Zo
+CwfcR1lQcXToKQaNavpfnw=
=mEud
-----END PGP SIGNATURE-----



More information about the MPlayer-dvb mailing list