How to figure out video format by video sample? I have a video file (30Mb) in some unknown format, hex dump of its header looks like this:

0000000    78  55  52  30  09  10  02  0a  00  00  09  09  22  93  00  39
0000020    00  00  00  00  bd  09  a4  00  a4  00  a4  00  a4  00  1c  00
0000040    24  00  00  00  00  00  8d  00  00  00  00  00  00  00  a3  00
0000060    00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
*
0002560    00  00  00  00  00  00  00  00  24  24  24  24  24  24  0f  23


I have a first frame of that video in BMP format, so I can compare encoded and decoded bytes. The only thing I came up to is that one pixel (RBGA) is encoded to one byte. So some kind if YUV encoding is used (?). 

Also there are misterios 6 same bytes before each line and 7 after =) and header is 100 bytes long.

For example first line of pixels in video

0002560    00  00  00  00  00  00  00  00  24  24  24  24  24  24  0f  23
0002600    10  22  0f  20  0f  20  0d  21  0e  21  0e  21  0e  1f  0e  1f
0002620    0d  1e  0e  1f  0c  1d  0d  1c  0c  1c  0c  0c  0c  0c  0c  0c
0002640    0c  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00


Corresponds to first line in BMP.

3960   00 00 00 00 00 00 00 00 00 0e 48 43 0e 48 43 0e 48 43 00 45
3980   42 00 45 42 00 40 43 00 3c 40 00 3d 3d 00 3e 3d 00 3f 3d 00
4000   42 40 00 42 40 00 41 43 00 42 40 00 40 43 00 3e 3d 00 3a 3a
4020   00 3a 3a 00 3a 3a 00 37 35 00 37 35 00 37 35 00 3a 3a 00 36
4040   39 00 32 36 00 30 35 00 31 35 00 30 30 02 30 31 02 30 31 00
4060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


I thought maybe my video's format is not custom and I could detect it with file or ffmpeg but both knew nothing about it.

So me questions are:


Maybe you know what format that video has?
Maybe there are tools to find it out?
If you want to identify video / audio file i recommend you to download K-Lite codec pack. It always works for me.

http://www.codecguide.com/changelogs_full.htm
"•Updated MediaInfo Lite to version 0.7.53"

MediaInfo - that's the one you can use, after installing it's just right clicking on the file or opening it and it should be recognized, via the tray icons (if not disabled) you can change various layout and information settings.