Hi again,

Just to follow up:

2017-04-07 23:15 GMT+02:00 David Noble <davidwno...@gmail.com>:
*snip*
> I think I'll also try a bit harder to see whether I can get the
> avformat consumer to write to a named pipe. It seems that melt runs
> pretty nicely with native interlaced stuff, so if I can just get that
> out without an extra step of compression / storage, that would make me
> pretty happy. I'll let you know how I get on :-)

This is super hackish:
- it involves having a named pipe ending in .nut
- it involves setting the video codec to huffyuv, as rawvideo causes
melt to segfault
- there is a weird field-order issue that seems to require an explicit
bottom-field-first argument
- in contrast to yadif, bwdif seems to actually need the deint option
set to "all", despite it claiming this is the default

but it seems to do the trick for me:

Session A:
% mkfifo fifo.nut
% melt -profile atsc_1080i_50 -verbose title-audio.mov 15sec.mov -mix
25 -mixer luma -mixer mix:-1 -consumer avformat:fifo.nut progressive=0
field_order=tt vcodec=huffyuv acodec=pcm_s16le

Session B:
% ffmpeg -i fifo.nut -vf bwdif=1:1:0 deinterlaced-bwdif.mp4

Source and target files available here for those interested:

https://home.nuug.no/~daven/20170407-melt/title-audio.mov
https://home.nuug.no/~daven/20170407-melt/15sec.mov
https://home.nuug.no/~daven/20170407-melt/deinterlaced-bwdif.mp4

>From what I can see, Brian's suggestion of using bwdif looks really
good - I'm pleased to see the improvement in picture quality here!

Cheers,


David.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to