Media Support/Test Media

From The Document Foundation Wiki
Jump to: navigation, search

This page describes the Test Media we've assembled for validating our media support in LibreOffice.

Background

In the past, we've used whatever media files we had on hand, but for consistency, let's try to use the same media in multiple tests.

Ideally, test media will be short, demonstrate the features of the format(s), and be redistributable (public domain preferred). A few good sources of files include

Generated Audio and Video

Basic Audio/Video Test Files

Audio and video test files have been created by re-encoding 30 second clips taken from the CC-BY-3.0-licensed Big Buck Bunny animated movie (Thanks, Jay!). The short clips were extracted from the audio and video versions of the movie using AVIDemux and Audacity and encoded using FFmpeg/Libav gui encoding applications (QWinFF and Curlew).

Youtube Files

TODO: Are these redistributable? If not, where can we get some that are?

Additional audio and video files were downloaded directly from Youtube sources for the Microsoft Office vs OpenOffice / LibreOffice video.

Audio

Test Audio
Filename (and url, eventually) Size Output of file command (v5.14) Output of avprobe command (v9.16-6)
Audio
BigBuckBunny-stereo_audacity_30sec.ac3 700K ATSC A/52 aka AC-3 aka Dolby Digital stream, 48 kHz,, complete main (CM) 2 front/0 rear, LFE on,, 192 kbit/s reserved Dolby Surround mode Audio: ac3, 48000 Hz, stereo
BigBuckBunny-stereo_audacity_30sec.au 5.5M Sun/NeXT audio data: 16-bit linear PCM, stereo, 48000 Hz Audio: pcm_s16be, 48000 Hz, 2 channels
BigBuckBunny-stereo_audacity_30sec.flac 2.6M FLAC audio bitstream data, 16 bit, stereo, 48 kHz, 1429267 samples Audio: flac, 48000 Hz, stereo
BigBuckBunny-stereo_audacity_30sec.m4a 420K ISO Media, MPEG v4 system, iTunes AAC-LC Audio: aac, 48000 Hz, stereo
BigBuckBunny-stereo_audacity_30sec.mp2 468K MPEG ADTS, layer II, v1, 128 kbps, 48 kHz, Stereo Audio: mp2, 48000 Hz, 2 channels
BigBuckBunny-stereo_audacity_30sec.mp3 700K Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 32 kbps, 44.1 kHz, Stereo Audio: mp3, 44100 Hz, 2 channels
BigBuckBunny-stereo_audacity_30sec.ogg 392K Ogg data, Vorbis audio, stereo, 48000 Hz, ~112000 bps Audio: vorbis, 48000 Hz, stereo
BigBuckBunny-stereo_audacity_30sec.opus 352K Ogg data Audio: libopus, 48000 Hz, stereo
BigBuckBunny-stereo_audacity_30sec.wav 5.1M RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz Audio: pcm_s16le, 44100 Hz, 2 channels
BigBuckBunny-stereo_audacity_30sec.wma 732K Microsoft ASF Audio: wmav2, 48000 Hz, 2 channels

Video

Test Video
Filename (and url, eventually) Size Output of file command (v5.14) Output of avprobe command (v9.16-6)
Video Audio
big_buck_bunny_480p_stereo_avidemux_30sec.3gp 840K ISO Media, MPEG v4 system, 3GPP2 Video: mpeg4 (Simple Profile), yuv420p, 176x144 [PAR 12:11 DAR 4:3] Audio: aac, 8000 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.asf 1.8M Microsoft ASF Video: msmpeg4, yuv420p, 854x480 Audio: mp2, 48000 Hz, 2 channels
big_buck_bunny_480p_stereo_avidemux_30sec.avi 5.5M RIFF (little-endian) data, AVI, 640 x 480, ~24 fps, video: Microsoft MPEG-4 v3, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) Video: msmpeg4, yuv420p, 640x480 Audio: mp3, 44100 Hz, 2 channels
big_buck_bunny_480p_stereo_avidemux_30sec.dv 112M DIF (DVCPRO) movie file (NTSC) Video: dvvideo, yuv411p, 720x480 Audio: pcm_s16le, 48000 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.flv 5.1M Macromedia Flash Video Video: flv, yuv420p, 854x480 Audio: mp3, 44100 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.mkv 6.1M Matroska data Video: vp8, yuv420p, 854x480 Audio: vorbis, 44100 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.mov 16M ISO Media, Apple QuickTime movie Video: mpeg4 (Simple Profile), yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: aac, 48000 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.mp2 5.0M MPEG sequence, v1, system multiplex Video: mpeg2video (Main), yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: mp3, 44100 Hz, 2 channels
big_buck_bunny_480p_stereo_avidemux_30sec.mp4 16M ISO Media, MPEG v4 system, version 1 Video: mpeg4 (Simple Profile), yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: aac, 48000 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.mpg 19M MPEG sequence, v1, system multiplex Video: mpeg1video, yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: mp2, 48000 Hz, 2 channels
big_buck_bunny_480p_stereo_avidemux_30sec-ogv-theora-flac.ogv 4.3M Ogg data, Theora video Video: theora, yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: flac, 44100 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec-ogv-theora-vorbis.ogv 2.5M Ogg data, Theora video Video: theora, yuv420p, 854x480 [PAR 1:1 DAR 427:240] Audio: vorbis, 44100 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.rm 2.5M RealMedia file Video: rv10, yuv420p, 854x480 Audio: ac3, 44100 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.webm 2.5M WebM Video: vp8, yuv420p, 854x480 Audio: vorbis, 48000 Hz, stereo
big_buck_bunny_480p_stereo_avidemux_30sec.wmv 9.4M Microsoft ASF Video: wmv2, yuv420p, 854x480 Audio: wmav2, 48000 Hz, 2 channels

How to regenerate the tables

Clean up names:

rename 's/[\[\] ]/_/g' *

Regenerate:

for i in `ls -1`; do
  echo "| $i";
  echo "| "`du -h $i|cut -f1`;
  echo "| "`file -b $i`;
  echo "| "`avprobe $i 2>&1 |grep -oP 'Video: [^,]*, [^,]*, [^,]*'`;  # ignore this line for the Audio files
  echo "| "`avprobe $i 2>&1 |grep -oP 'Audio: [^,]*, [^,]*, [^,]*'`;
  echo "|-";
done