Hi theora-list, I'm involved in in a project to redistribute C-SPAN's floor footage from the US house and senate that we're capturing and converting*. This footage is in the public doman, however there's a C-SPAN overlay which is a registered trademark - we're having to overlay a "public domain" graphic on top of it. We're currently doing this with ffmpeg's vhook functionality. We ultimately need this footage to be in theora, because we're using annodex to index the footage. So - a couple of questions: I've noticed some activity on the ffmpeg changelog w/r/t decoding theora content - is there any hope of ENcoding via ffmpeg? this would allow us to use our ffmpeg vhooks to get our theora content. Is it possible/feasible to roll vhook funcitonality into ffmpeg2theora? Otherwise, it seems as though we're stuck rendering mp4 in ffmpeg with our overlay, then ffmpeg2theoraing that mp4. This is problematic because we're also hoping to offer a live feed. Any advice or suggestions would be very appreciated. Peace A *the footage is currently available digitally in DRM'd & proprietary RealVideo; we think it's a better idea to have it available in an open format.
You could try using ffmpeg2theora. http://www.v2v.cc/~j/ffmpeg2theora/ I don't know if it has the vhook functionality, but it should be relatively easy to modify the source for your purposes. Aaron On Tue, Feb 21, 2006 at 05:27:14PM -0800, Aphid wrote:> Hi theora-list, > > I'm involved in in a project to redistribute C-SPAN's floor footage > from the US house and senate that we're capturing and converting*. > This footage is in the public doman, however there's a C-SPAN overlay > which is a registered trademark - we're having to overlay a "public > domain" graphic on top of it. We're currently doing this with > ffmpeg's vhook functionality. We ultimately need this footage to be > in theora, because we're using annodex to index the footage. So - a > couple of questions: > > I've noticed some activity on the ffmpeg changelog w/r/t decoding > theora content - is there any hope of ENcoding via ffmpeg? > this would allow us to use our ffmpeg vhooks to get our theora > content. > > Is it possible/feasible to roll vhook funcitonality into ffmpeg2theora? > > Otherwise, it seems as though we're stuck rendering mp4 in ffmpeg > with our overlay, then ffmpeg2theoraing that mp4. This is > problematic because we're also hoping to offer a live feed. > > Any advice or suggestions would be very appreciated. > > Peace > A > > *the footage is currently available digitally in DRM'd & proprietary > RealVideo; we think it's a better idea to have it available in an > open format. > _______________________________________________ > Theora mailing list > Theora@xiph.org > http://lists.xiph.org/mailman/listinfo/theora >
Oops. It would help if I read the whole email before responding. I don't think modifying ffmpeg2theora should be overly complicated. You just need to find where the raw frames come out of the FFMPEG code and modify them before they get encoded by the theora encoder code. This appears to be somewhere around line 615 in ffmpeg2theora.c. You should be able to modify the buffers in yuv before oggmux_add_video() is called. Aaron On Tue, Feb 21, 2006 at 05:27:14PM -0800, Aphid wrote:> Hi theora-list, > > I'm involved in in a project to redistribute C-SPAN's floor footage > from the US house and senate that we're capturing and converting*. > This footage is in the public doman, however there's a C-SPAN overlay > which is a registered trademark - we're having to overlay a "public > domain" graphic on top of it. We're currently doing this with > ffmpeg's vhook functionality. We ultimately need this footage to be > in theora, because we're using annodex to index the footage. So - a > couple of questions: > > I've noticed some activity on the ffmpeg changelog w/r/t decoding > theora content - is there any hope of ENcoding via ffmpeg? > this would allow us to use our ffmpeg vhooks to get our theora > content. > > Is it possible/feasible to roll vhook funcitonality into ffmpeg2theora? > > Otherwise, it seems as though we're stuck rendering mp4 in ffmpeg > with our overlay, then ffmpeg2theoraing that mp4. This is > problematic because we're also hoping to offer a live feed. > > Any advice or suggestions would be very appreciated. > > Peace > A > > *the footage is currently available digitally in DRM'd & proprietary > RealVideo; we think it's a better idea to have it available in an > open format. > _______________________________________________ > Theora mailing list > Theora@xiph.org > http://lists.xiph.org/mailman/listinfo/theora >
Hi Aphid, indeed adding vhook to ffmpeg2theora was easy. with latest version from svn one can now use vhooks like this: ffmpeg2theora --vhook '/path/to/watermark.so -f /path/to/overlay.gif' input.dv it looks like vhooks are broken in ffmpeg cvs right now, but it worked with ffmpeg cvs20050918(ubuntu/dapper), i had to copy framehook.h from the source to /usr/include/ffmpeg though. enjoy, j
On Wed, 2006-02-22 at 17:55 +0100, j@v2v.cc wrote:> i had to copy framehook.h from > the source to /usr/include/ffmpeg though.forget about that, adding that was not needed at all. j
Hi,> Hi theora-list, > > I'm involved in in a project to redistribute C-SPAN's floor footage > from the US house and senate that we're capturing and converting*. > This footage is in the public doman, however there's a C-SPAN overlay > which is a registered trademark - we're having to overlay a "public > domain" graphic on top of it. We're currently doing this with > ffmpeg's vhook functionality. We ultimately need this footage to be > in theora, because we're using annodex to index the footage. So - a > couple of questions:Feel free to knock me down if you think it's outside the realm of possibilities, but you may want to take a look at Flumotion - http://www.flumotion.net/ The current overlay it has is some text with some graphics for the xiph logos, but that's easily changeable - in fact we have a component that does this that we could push into flumotion if people think it's interesting. This way you could do your capturing, archiving, overlaying and streaming from one system. Thomas Dave/Dina : future TV today ! - http://www.davedina.org/ <-*- thomas (dot) apestaart (dot) org -*-> Get off that stuff, she said And I'll stone you instead Unchain yourself, said she And tie yourself to me <-*- thomas (at) apestaart (dot) org -*-> URGent, best radio on the net - 24/7 ! - http://urgent.fm/