Chen-tao / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

vpxenc 2nd pass frame count #538

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
in normal 1 or 2 pass, frame count gives you a frame out of total fram count

But in 2nd pass only it does not
please fix.

Original issue reported on code.google.com by fbarch...@chromium.org on 26 Jan 2013 at 8:49

GoogleCodeExporter commented 8 years ago
examples

x264 gives this status:
[51.5%] 3134/6082 frames, 33.42 fps, 2140.70 kb/s, eta 0:01:28
showing the current frame, and total frames.

vpxenc with --passes=2 shows something like this
Pass 1/2 frame   82/83     12616B    1230b/f   36887b/s  701728 us (116.85 
fps)←[K
Pass 2/2 frame   29/4      48144B ←[K41.280 40.090 44.796 46.598     916F
and you can tell 29 out of 82 is the percent.

vpxenc with -p 2 --pass=2 only shows the pass 2 portion.  e.g.
Pass 2/2 frame 3095/3070 33918471B ←[K41.753 40.342 47.105 49.366    2512F2F

Would prefer a status like x264 - current frame and total number of frames.

Original comment by fbarch...@chromium.org on 26 Jan 2013 at 9:39

GoogleCodeExporter commented 8 years ago
There's a subtle layering issue here, in that vpxenc doesn't have any notion of 
the number of frames (the codec does, but it's not exposed to the application). 
It could work by counting if both passes are done in the same process, but 
that's not the general case.

Original comment by jkoles...@google.com on 28 Mar 2013 at 10:11