Breaking Eggs And Making Omelettes

Topics On Multimedia Technology and Reverse Engineering


Archives:

Call for Samples

February 14th, 2010 by Multimedia Mike

In my last post regarding recently-staged FATE tests, a number of Amiga sentimentalists expressed willingness to help me track down multimedia formats that were prevalent on that platform. To that end, I ask: Where do I find Fibonacci-encoded 8svx files? 8svx files can contain several audio codecs, but I have been unable to find ones with the Fibonacci format.

While we’re on the subject, I may as well put out a general call for samples that have eluded me:

  • Fibonacci-encoded 8svx samples, as mentioned above
  • ASS/SSA samples; plus, is there any good way to test ASS/SSA subtitles using ‘ffmpeg’?
  • ADTS AAC: How do I generate that? I thought faac was supposed to help me with that but I couldn’t seem to get ADTS out of it.
  • raw Ingenient MJPEG
  • I know how to generate MPC (vs. MPC8 files, which I have already covered); the demuxer just doesn’t seem to work correctly right now.
  • There are a number of formats like NC camera feed format, rtsp, and sdp that I suspect are impossible to test from disk rather than network.
  • TXD: I think this is a raw format and that I have to supply parameters from the command line to decode it properly. I think these are valid TXD files but I don’t know their resolution (or, indeed, if they’re single images since TXD is supposed to be a texture dictionary).
  • pcm_bluray and pcm_dvd: any VOBs in the archive with these data types?
  • pcm_s16le_planar: Based on my code excavation, this is used in certain EA chunked formats, such as in NBA Live 2003 according to our wiki page on EA formats. We lack samples in the archive for that game. However, this reminds me that I really should modify the FILM/CPK demuxer so that it outputs planar audio instead of interleaving the audio in the demuxer (maybe someone else wants to get on top of that, if they’re looking for an easy task).
  • pgssub, xsub: again, where are samples and how do I test subtitle formats?
  • Sunplus JPEG (SP5X)
  • Sun Rasterfile image
  • Westwood Audio (SND1)

There are plenty of formats not covered yet according to the FATE test coverage page. For formats which have both an encoder and decoder in FFmpeg, I plan to have a better system in place in the next FATE version for testing those (which will also obviate the need for the {MAKETEST} test spec). Then there are the non-bitexact formats that require more advanced testing features which are in development.

Meanwhile, I learned that MPEG-4 ALS actually does have a formal conformance suite available (you can usually count on that for MPEG standards; take that, Xiph). So I will be disabling the current ad-hoc test spec and have staged 6 of the conformance vectors known to be correct (based on features that have been implemented thus far): 00, 01, 02, 03, 04, and 05. Further, 2 more new specs: iff-byterun1 and frwu are ready to go.

Posted in FATE Server | 17 Comments »

17 Responses

  1. whitetiger Says:

    I have an mmm file (some RIFF format that never took off)
    that you’re welcome to:

    http://www.albidustigris.com/stuff/Mcitest.mmm

    it’s not amiga, but it’s a rare/exotic format and
    ffmpeg can’t parse it.
    The official codecs for it are 16bit for win3.1
    (and work with media player for win3.1)
    I still have those too if you want them.

  2. Reimar Says:

    I gave you some example command lines for testing subtitles, namely by remuxing them into a different format, e.g. XSUB to DVD subtitles. The mails should probably be somewhere on ffmpeg-devel.

  3. astrange Says:

    You can get ASS from http://samples.mplayerhq.hu/Matroska/subtitles/ using mkvextract. I don’t have any .ass samples using the embedded fonts feature, but I’m not sure ffmpeg supports that anyway (though it should).

    In any case, IIRC ass support was just the result of a flamewar on the list, and I’m not sure it’s usable for anything in particular.

  4. Miraiu Says:

    You can find under http://www.commandandconquer.com/classic a legal and free download of “Command & Conquer: Red Alert” and “Command & Conquer: Tiberian Sun” for Westwood Audio.

  5. Peter Says:

    /MPlayer/incoming/ea-pcm-s16le-planar/xeasport.mad

  6. Vitor1001 Says:

    For the NC camera, we have http://samples.mplayerhq.hu/camera-dvr/nc_sample.avi

  7. Peter Says:

    To test network formats in a repeatable manner, all one needs to do is write a simple IP/UDP(/TCP?) stack, and playback the network stream using libpcap. Too easy!

  8. Diego E. “Flameeyes” Pettenò Says:

    You could probably test RTSP through feng (www.lscube.org)…

  9. ami_stuff Says:

    @Mike

    Please look at this issue:

    http://roundup.ffmpeg.org/roundup/ffmpeg/issue1589

    There is attached one stereo sample with fib compression.

    You will also find there a link to C program which you can use to create fib compressed files yourself.

  10. Multimedia Mike Says:

    Thanks for all of the samples links so far! Keep them coming. I will see about staging the current crop.

  11. Carl Eugen Says:

    pcm_dvd: samples/A-codecs/pcm24/newedition-coolitnow.24bit-lpcm.vob
    And there are more in samples/MPEG-VOB/LPCM and samples/archive/all/mpeg+mpeg2video+pcm_dvd-dca++neko.vob

    pcm_br:
    samples/archive/container/mpegts/mpegts+h264+++trunc_read_packet_loop.m2ts

  12. Multimedia Mike Says:

    @Carl Eugen: Oh yeah, the coolitnow sample. I made that. :-) Maybe I should have been able to remember it. I hope one of the other samples flexes 20-bit.

  13. mat Says:

    You can find very old ssa on http://castet.matthieu.free.fr/tmp/ssa/

    AFAIK there are not handle by ffmpeg ATM.

  14. Steve Says:

    pgssub is the Blu-ray subtitle format- not sure if there’s any Blu-ray samples up there.

  15. pc486 Says:

    gg releases scripts (.ass) for the anime they sub: http://ggkthx.org/Scripts/

  16. compn Says:

    allsamples.txt might help:

    sp5x – /samples/V-codecs/SP5x/sunplus_32bit_codec/img_0020.avi
    sun raster – /samples/image-samples/sunrast
    xsub – /samples/sub/DivX+Subtitles.divx
    pgssub – /samples/sub/BluRay

    or find…

    find | grep -i adts
    ./incoming/aac-main/aac-main-long.adts
    ./incoming/adtsaac_id3v2_parse
    ./incoming/adtsaac_id3v2_parse/id3.aac
    ./incoming/adtsaac_id3v2_parse/adtsaac_parse_id3v2.txt
    ./incoming/adtsaac_id3v2_parse/adtsaac_parse_id3v2_1.patch
    ./incoming/adtsaac_id3v2_parse/adtsaac_parse_id3v2_2.patch
    ./samples/A-codecs/AAC/ct_faac-adts.aac
    ./samples/A-codecs/AAC/adts.latm
    ./samples/A-codecs/AAC/adts.latm.txt
    ./samples/A-codecs/mp2-bug/mpeg-adts-mp2-48hz.mp2
    ./samples/A-codecs/mp2-bug/mpeg-adts-mp2-48hz.mp2.txt
    ./samples/A-codecs/suite/AAC+/36kbps_st_48kHz_eaac+_adts.aac
    ./samples/A-codecs/suite/AAC+/48kbps_st_44kHz_aac+_adts.aac

  17. Reimar Says:

    You can do the CPU a favour by using
    find . -iname ‘*adts*’