On Sat, Oct 23, 2010 at 3:18 PM, Carl Karsten <[email protected]> wrote:
> What I am really interested in is creating iPhone m4v again, but as I
> was looking into it I came across the following that seemed worth
> posting.  Let me know if you think I should open a bug report for any
> of these.
>
> melt -producer color:red out=1300 meta.attr.titles=1
> meta.attr.titles.markup=#frame# -attach data_show dynamic=1 -progress
> -consumer avformat:test.ogv
> Current Frame:       1300, percentage:         99
>
> melt test.ogv
> Current Position:       1302
>
> 2 extra frames?

Ogg  is a really horrible format for this sort of testing because
ffmpeg is known to have trouble with seeking on it, and even when not
explicitly seeking in mlt, it may implicitly use seeking on seekable
sources. If you output the above to test.dv and play it, then it does
play to only 1300.

> The display ends with just red, no frame number.

This was already discussed. There is a fade out. I don't feel like
looking for it right now.

> melt -producer color:red out=1300 -progress -consumer avformat:test.ogv
> Current Frame:       1300, percentage:         99
>
> melt test.ogv
> Current Position:       1300
>
> No extra frames.
>
> Somewhere around frame 130 the red turns to white.

Yes, as played in melt, because it has poor support for Ogg or because
the output is bad in general for some reason. When trying to play this
in mplayer it hangs. Using .dv for output, all is fine. Maybe there is
something wrong in encoding to Ogg Theora when the video does not
change.

> melt -producer color:red out=300 meta.attr.titles=1
> meta.attr.titles.markup=#frame# -attach data_show dynamic=1 -progress
> -consumer avformat:test.m4v
> Current Frame:        300, percentage:         99
>
> melt test.m4v
> Current Position:        300
>
> no red, just white.  mplayer says "Video: no video"

melt displays white when there is no video, and there is no video in
the output. When you run with -verbose, then you get the messages:
[libx264 @ 0xc6dad0]broken ffmpeg default settings detected
[libx264 @ 0xc6dad0]use an encoding preset (vpre)

> Same thing using the settings that used to work before something with
> ffmpeg changed (I think the way it was built):
>
> melt -progress -producer color:red  -consumer
> avformat:/tmp/Test_Episode.m4v s=432x320 aspe...@4/3 progressive=1
> acodec=libfaac ar=44100 ab=128k vcodec=libx264 b=700k coder=1

libfaac

> flags=+loop cmp=+chroma
> partitions=+parti8x8+parti4x4+partp8x8+partb8x8 me_method=hex subq=7
> me_range=16 g=250 keyint_min=25 sc_threshold=40 i_qfactor=0.71
> b_strategy=1 qcomp=0.6 qmin=10 qmax=51 qdiff=4 bf=3 refs=3
> directpred=1 trellis=1 flags2=+mixed_refs+wpred+dct8x8+fastpskip
> wpredp=2 coder=0 bf=0 refs=1 flags2=-wpred-dct8x8 level=30
> maxrate=10000000 bufsize=10000000 wpredp=0
>
> $ ffmpeg -version
> FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg 
> developers
>  built on Oct  5 2010 22:36:53 with gcc 4.4.5
>  configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
> --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
> --enable-libgsm --enable-libschroedinger --enable-libspeex
> --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads
> --enable-zlib --enable-libvpx --disable-stripping
> --enable-runtime-cpudetect --enable-gpl --enable-postproc
> --enable-x11grab --enable-libdc1394 --enable-shared --disable-static

No --enable-libfaac
You need to use acodec=aac

>  libavutil     50.15. 1 / 50.15. 1
>  libavcodec    52.72. 2 / 52.72. 2
>  libavformat   52.64. 2 / 52.64. 2
>  libavdevice   52. 2. 0 / 52. 2. 0
>  libavfilter    1.19. 0 /  1.19. 0
>  libswscale     0.11. 0 /  0.11. 0
>  libpostproc   51. 2. 0 / 51. 2. 0
> FFmpeg 0.6-4:0.6-2ubuntu6
> libavutil     50.15. 1 / 50.15. 1
> libavcodec    52.72. 2 / 52.72. 2
> libavformat   52.64. 2 / 52.64. 2
> libavdevice   52. 2. 0 / 52. 2. 0
> libavfilter    1.19. 0 /  1.19. 0
> libswscale     0.11. 0 /  0.11. 0
> libpostproc   51. 2. 0 / 51. 2. 0
>
> --
> Carl K
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to