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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 253 |
254 media/test/data/bear-eac3-only-frag.mp4 | 254 media/test/data/bear-eac3-only-frag.mp4 |
255 EAC3 audio in framented MP4, generated with | 255 EAC3 audio in framented MP4, generated with |
256 ffmpeg -i bear.eac3 -acodec copy -movflags frag_keyframe bear-eac3-only-frag.m
p4 | 256 ffmpeg -i bear.eac3 -acodec copy -movflags frag_keyframe bear-eac3-only-frag.m
p4 |
257 | 257 |
258 // Mpeg2ts stream with AAC HE audio that uses SBR | 258 // Mpeg2ts stream with AAC HE audio that uses SBR |
259 media/test/data/bear-1280x720-aac_he.ts | 259 media/test/data/bear-1280x720-aac_he.ts |
260 Generated by the following command: | 260 Generated by the following command: |
261 ffmpeg -i bear-1280x720.mp4 -c:v libx264 -c:a libfdk_aac -profile:a aac_he be
ar-1280x720-aac_he.ts | 261 ffmpeg -i bear-1280x720.mp4 -c:v libx264 -c:a libfdk_aac -profile:a aac_he be
ar-1280x720-aac_he.ts |
262 | 262 |
| 263 // Mpeg2ts streams MP3 audio |
| 264 media/test/data/bear-audio-mp4a.6B.ts |
| 265 Generated by the following commands: |
| 266 ffmpeg -i bear_pcm.wav -c:a mp3 -ar 44100 bear-audio-mp4a.6B.ts |
| 267 media/test/data/bear-audio-mp4a.69.ts |
| 268 Generated by the following commands: |
| 269 ffmpeg -i bear_pcm.wav -c:a mp3 -ar 22050 bear-audio-mp4a.69.ts |
| 270 |
263 // MP4 file with HEVC | 271 // MP4 file with HEVC |
264 media/test/data/bear-320x240-v_frag-hevc.mp4 | 272 media/test/data/bear-320x240-v_frag-hevc.mp4 |
265 HEVC video stream in fragmented MP4 container, generated with | 273 HEVC video stream in fragmented MP4 container, generated with |
266 ffmpeg -i bear-320x240.webm -c:v libx265 -an -movflags faststart+frag_keyframe
bear-320x240-v_frag-hevc.mp4 | 274 ffmpeg -i bear-320x240.webm -c:v libx265 -an -movflags faststart+frag_keyframe
bear-320x240-v_frag-hevc.mp4 |
267 | 275 |
268 // Multi-track MP4 file | 276 // Multi-track MP4 file |
269 // (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org | 277 // (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org |
270 media/test/data/bbb-320x240-2video-2audio.mp4 | 278 media/test/data/bbb-320x240-2video-2audio.mp4 |
271 Generated using following commands | 279 Generated using following commands |
272 // Download the source file with 1 video and 1 audio stream. | 280 // Download the source file with 1 video and 1 audio stream. |
273 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 | 281 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 |
274 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. | 282 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. |
275 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 | 283 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 |
276 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. | 284 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. |
277 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 | 285 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 |
278 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. | 286 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. |
279 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 | 287 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 |
280 | 288 |
281 // Multi-track WebM file | 289 // Multi-track WebM file |
282 media/test/data/multitrack-3video-2audio.webm | 290 media/test/data/multitrack-3video-2audio.webm |
283 //Generated using following commands: | 291 //Generated using following commands: |
284 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm | 292 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm |
285 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm | 293 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm |
286 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm | 294 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm |
287 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm | 295 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm |
288 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm | 296 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm |
289 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 | 297 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 |