Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: media/test/data/README

Issue 2254733006: Allow MP4 parser to handle multiple audio and video tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merged-buffers-map
Patch Set: CR feedback Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 // Mpeg2ts stream with AAC HE audio that uses SBR 229 // Mpeg2ts stream with AAC HE audio that uses SBR
230 media/test/data/bear-1280x720-aac_he.ts 230 media/test/data/bear-1280x720-aac_he.ts
231 Generated by the following command: 231 Generated by the following command:
232 ffmpeg -i bear-1280x720.mp4 -c:v libx264 -c:a libfdk_aac -profile:a aac_he be ar-1280x720-aac_he.ts 232 ffmpeg -i bear-1280x720.mp4 -c:v libx264 -c:a libfdk_aac -profile:a aac_he be ar-1280x720-aac_he.ts
233 233
234 // MP4 file with HEVC 234 // MP4 file with HEVC
235 media/test/data/bear-320x240-v_frag-hevc.mp4 235 media/test/data/bear-320x240-v_frag-hevc.mp4
236 HEVC video stream in fragmented MP4 container, generated with 236 HEVC video stream in fragmented MP4 container, generated with
237 ffmpeg -i bear-320x240.webm -c:v libx265 -an -movflags faststart+frag_keyframe bear-320x240-v_frag-hevc.mp4 237 ffmpeg -i bear-320x240.webm -c:v libx265 -an -movflags faststart+frag_keyframe bear-320x240-v_frag-hevc.mp4
238
239 // Multi-track MP4 file
240 // (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org
241 media/test/data/bbb-320x240-2video-2audio.mp4
242 Generated using following commands
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
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
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
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
OLDNEW
« no previous file with comments | « media/formats/mp4/mp4_stream_parser_unittest.cc ('k') | media/test/data/bbb-320x240-2video-2audio.mp4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698