OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 bear-320x240.webm - WebM encode of bear.1280x720.mp4 resized to 320x240. | 5 bear-320x240.webm - WebM encode of bear.1280x720.mp4 resized to 320x240. |
6 bear-320x240-video-only.webm - The video track of bear-320x240.webm. | 6 bear-320x240-video-only.webm - The video track of bear-320x240.webm. |
7 bear-320x240-audio-only.webm - The audio track of bear-320x240.webm. | 7 bear-320x240-audio-only.webm - The audio track of bear-320x240.webm. |
8 bear-vp9.webm - VP9 video only WebM file. | 8 bear-vp9.webm - VP9 video only WebM file. |
9 bear-vp9-opus.webm - VP9 Video with Opus Audio. | 9 bear-vp9-opus.webm - VP9 Video with Opus Audio. |
10 bear-vp8-webvtt.webm - WebM VP8 video with WebVTT subtitle track. | 10 bear-vp8-webvtt.webm - WebM VP8 video with WebVTT subtitle track. |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 media/test/data/bbb-320x240-2video-2audio.mp4 | 241 media/test/data/bbb-320x240-2video-2audio.mp4 |
242 Generated using following commands | 242 Generated using following commands |
243 // Download the source file with 1 video and 1 audio stream. | 243 // Download the source file with 1 video and 1 audio stream. |
244 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 | 244 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 |
245 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. | 245 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. |
246 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -c:v libx264 -crf 36 -vf scale
=320:240 -c:a libfdk_aac -ac 2 -t 24 bbb1.mp4 | 246 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -c:v libx264 -crf 36 -vf scale
=320:240 -c:a libfdk_aac -ac 2 -t 24 bbb1.mp4 |
247 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. | 247 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. |
248 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -f lavfi -i "sine=frequency=500
:sample_rate=48000" -map 0:v -map 1:a -c:v libx264 -crf 36 -vf scale=320:240,vfl
ip -c:a libfdk_aac -ac 2 -t 24 bbb2.mp4 | 248 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -f lavfi -i "sine=frequency=500
:sample_rate=48000" -map 0:v -map 1:a -c:v libx264 -crf 36 -vf scale=320:240,vfl
ip -c:a libfdk_aac -ac 2 -t 24 bbb2.mp4 |
249 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. | 249 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. |
250 ffmpeg -i bbb1.mp4 -i bbb2.mp4 -map 0:0 -map 0:1 -map 1:0 -map 1:1 -c:v copy -
c:a copy -movflags frag_keyframe+omit_tfhd_offset+separate_moof bbb-320x240-2vid
eo-2audio.mp4 | 250 ffmpeg -i bbb1.mp4 -i bbb2.mp4 -map 0:0 -map 0:1 -map 1:0 -map 1:1 -c:v copy -
c:a copy -movflags frag_keyframe+omit_tfhd_offset+separate_moof bbb-320x240-2vid
eo-2audio.mp4 |
| 251 |
| 252 // Multi-track WebM file |
| 253 media/test/data/multitrack-3video-2audio.webm |
| 254 //Generated using following commands: |
| 255 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm |
| 256 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm |
| 257 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm |
| 258 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm |
| 259 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm |
| 260 ffmpeg -i red.webm -i green.webm -i blue.webm -i a300hz.webm -i a500hz.webm
-map 0 -map 1 -map 2 -map 3 -map 4 multitrack-3video-2audio.webm |
OLD | NEW |