Chen-tao / webm

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

vp9 concatenation #540

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
vpxenc --skip 100 --limit 200 
encodes frames 100 to 199.
After doing that to encode multiple files, how do you concatenate.

In general, ffmpeg has a concatenate feature
ffmpeg -y -i "concat:bear_0.vp9.webm|bear_50.vp9.webm" -c copy bear0.vp9.webm
But it doesn't work on vp9.

mkvmerge appears to support concatenation, but also doesn't support vp9.

ivf format has time stamps per frame, and a frame count
http://wiki.multimedia.cx/index.php?title=IVF
Perhaps an ivf concatenator could be done?

Original issue reported on code.google.com by fbarch...@chromium.org on 28 Jan 2013 at 11:57

GoogleCodeExporter commented 8 years ago
I wrote an ivfcat tool (attached), and vpxdec can decode the results.  So that 
may be a solution.
But theres no ivf remux support.
https://code.google.com/p/webm/issues/detail?id=542

But with patches, the demux method of concatenating may work.

ffmpeg -f concat -i garden.lst -c copy garden0.vp9.webm
With a response file: garden.lst
file garden_0.vp9.webm
file garden_100.vp9.webm
file garden_200.vp9.webm
file garden_300.vp9.webm
file garden_400.vp9.webm
file garden_500.vp9.webm
file garden_600.vp9.webm
file garden_700.vp9.webm
file garden_800.vp9.webm
file garden_900.vp9.webm
file garden_1000.vp9.webm
file garden_1100.vp9.webm
file garden_1200.vp9.webm
file garden_1300.vp9.webm
file garden_1400.vp9.webm
file garden_1500.vp9.webm
file garden_1600.vp9.webm
file garden_1700.vp9.webm
file garden_1800.vp9.webm
file garden_1900.vp9.webm
file garden_2000.vp9.webm
file garden_2100.vp9.webm
file garden_2200.vp9.webm
file garden_2300.vp9.webm
file garden_2400.vp9.webm
file garden_2500.vp9.webm
file garden_2600.vp9.webm
file garden_2700.vp9.webm

I say 'may' work, because the resulting file doesn't play properly.  Most 
testing needed.

Original comment by fbarch...@chromium.org on 29 Jan 2013 at 10:37

Attachments:

GoogleCodeExporter commented 8 years ago
VP9 bitstream is not yet finalized 

Original comment by albe...@google.com on 14 Mar 2013 at 10:27