Digital Video Forums  

Go Back   Digital Video Forums > General > General Computing

LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 2 Oct 2009, 10:20 AM   #1
Join Date: Sep 2009
Location: Shasta County, CA
Posts: 3
Default use ffmpeg to intentionally interlace ??

I'm shooting with a MiniDV camera, which produces interlaced output (480i i think it is called). I also have a short dv clip made from jpeg images that displays copyright notice and my website name.

In kino, I take the final edit of the dv, insert the copyright clip at end, and use the dissolve transition.

The result is then exported as dv and shell script then transcodes to h.264/AVC and theora.

h.264 is done with two-pass ffmpeg specifying deinterlace and comes out beautifully.

theora is done with two-pass ffmpeg2theora (latest 0.25 version) also specifying deinterlace but it does not encode the copyright clip. Length is the same, it just uses the last frame from before the copyright. I suspect what it actually is doing is not properly encoding the copyright clip and i suspect the reason the reason is because it isn't interlaced source. I think it's a ffmpeg2theora bug, but it's there.

What I'd like to do to work around it is interlace the copyright notice before I bring it into kino to merge with the content. That way all the content is interlaced and hopefully ffmpeg2theora won't choke.

I'm guessing their must be a way to do it with ffmpeg but I can't seem to find it, there does not seem to be an interlace switch - only a deinterlace switch.

Anyone know how to do this?

Thanks for suggestions
FunkyRes is offline   Reply With Quote
Old 18 Oct 2009, 11:05 AM   #2
Junior Member
Junior Member
Join Date: Oct 2009
Posts: 1

Why not de-interlace the source footage?

You could use AVIDemux. h ttp://

Correct me if I'm wrong but I don't think h.264 plays nice with interlaced material that said it will usually still encode it but you will often get little easter eggs like what you are getting.
m@thue is offline   Reply With Quote
Old 18 Oct 2009, 07:10 PM   #3
Join Date: Sep 2009
Location: Shasta County, CA
Posts: 3

The solution I finally came up with was to use ffmpeg to de-interlace the source into mpeg2 and then use ffmpeg2theora on that. That works out beautifully.

IE -
ffmpeg -i ${base}.dv -deinterlace -vcodec mpeg2video -qscale 1 -qmin 1 -intra -an -y ${base}.m2v
ffmpeg -i ${base}.dv -acodec copy -vn -y ${base}.wav

ffmpeg2theora-0.25 ${base}.m2v --noaudio --two-pass -V ${vid} \
  -x ${wid} -y ${hei} -o ${base}_tmp.ogv
oggenc -b ${aud} ${base}.wav -o ${base}.ogg

oggzmerge -o ${base}.ogv ${base}_tmp.ogv ${base}.ogg
FunkyRes is offline   Reply With Quote


ffmpeg, ffmpeg2theora, interlaced, kino, linux

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony says PS3 Intentionally Hard for Developers admin Latest News 6 25 Jan 2009 04:05 AM
ffmpeg encoding help guitarscn Junior Members/Newbies 0 22 Apr 2008 03:04 AM
Can't download ffmpeg zemote General Discussions 6 21 Apr 2006 03:51 PM
ffmpeg GouniGougou Junior Members/Newbies 9 5 Nov 2003 01:01 PM
ffmpeg, wie unter windows??? Kalla79 Auf Deutsch 1 21 Sep 2002 02:49 PM

All times are GMT +10. The time now is 10:51 PM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit