[FFmpeg-soc] BFI

Sisir Koppaka sisir.koppaka at gmail.com
Thu Mar 27 17:14:32 CET 2008


I've been trying to debug why the audio wasn't working...and wrote a simple
demuxer only for the audio with a lot of info messages. The output on a
sample file is as follows:
FFplay version UNKNOWN, Copyright (c) 2003-2008 Fabrice Bellard, et al.
  configuration:
  libavutil version: 49.6.0
  libavcodec version: 51.52.0
  libavformat version: 52.11.0
  libavdevice version: 52.0.0
  built on Mar 25 2008 11:24:56, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)

Finished reading the headers....starting to read the chunks...
Found a chunk...
Chunk number 43 confirmed with IVAS identifier...
Audio offset is 1162
Video offset is 24
Reading audio of this chunk...
Sending -1138 bytes to the decoder...
Found a chunk...
Chunk number 42 confirmed with IVAS identifier...
Audio offset is 1162
Video offset is 24
Reading audio of this chunk...
Sending -1138 bytes to the decoder...
Found a chunk...
Chunk number 41 confirmed with IVAS identifier...
Audio offset is 1160
Video offset is 24
Reading audio of this chunk...
Sending -1136 bytes to the decoder...
Found a chunk...
Chunk number 40 confirmed with IVAS identifier...
Audio offset is 1160
Video offset is 24
Reading audio of this chunk...
Sending -1136 bytes to the decoder...
Found a chunk...
Chunk number 39 confirmed with IVAS identifier...
Audio offset is 5164
Video offset is 24
Reading audio of this chunk...
Sending -5140 bytes to the decoder...
Found a chunk...
Chunk number 38 confirmed with IVAS identifier...
Audio offset is 16496
Video offset is 24
Reading audio of this chunk...
Sending -16472 bytes to the decoder...
Found a chunk...
Chunk number 37 confirmed with IVAS identifier...
Audio offset is 22135
Video offset is 24
Reading audio of this chunk...
Sending -22111 bytes to the decoder...
Found a chunk...
Chunk number 36 confirmed with IVAS identifier...
Audio offset is 16741
Video offset is 24
Reading audio of this chunk...
Sending -16717 bytes to the decoder...
Found a chunk...
Chunk number 35 confirmed with IVAS identifier...
Audio offset is 10110
Video offset is 24
Reading audio of this chunk...
Sending -10086 bytes to the decoder...
Found a chunk...
Chunk number 34 confirmed with IVAS identifier...
Audio offset is 10746
Video offset is 24
Reading audio of this chunk...
Sending -10722 bytes to the decoder...
Found a chunk...
Chunk number 33 confirmed with IVAS identifier...
Audio offset is 9754
Video offset is 24
Reading audio of this chunk...
Sending -9730 bytes to the decoder...
Found a chunk...
Chunk number 32 confirmed with IVAS identifier...
Audio offset is 10071
Video offset is 24
Reading audio of this chunk...
Sending -10047 bytes to the decoder...
Found a chunk...
Chunk number 31 confirmed with IVAS identifier...
Audio offset is 10210
Video offset is 24
Reading audio of this chunk...
Sending -10186 bytes to the decoder...
Found a chunk...
Chunk number 30 confirmed with IVAS identifier...
Audio offset is 11220
Video offset is 24
Reading audio of this chunk...
Sending -11196 bytes to the decoder...
Found a chunk...
Chunk number 29 confirmed with IVAS identifier...
Audio offset is 10807
Video offset is 24
Reading audio of this chunk...
Sending -10783 bytes to the decoder...
Found a chunk...
Chunk number 28 confirmed with IVAS identifier...
Audio offset is 11351
Video offset is 24
Reading audio of this chunk...
Sending -11327 bytes to the decoder...
Found a chunk...
Chunk number 27 confirmed with IVAS identifier...
Audio offset is 9825
Video offset is 24
Reading audio of this chunk...
Sending -9801 bytes to the decoder...
Found a chunk...
Chunk number 26 confirmed with IVAS identifier...
Audio offset is 9957
Video offset is 24
Reading audio of this chunk...
Sending -9933 bytes to the decoder...
Found a chunk...
Chunk number 25 confirmed with IVAS identifier...
Audio offset is 9232
Video offset is 24
Reading audio of this chunk...
Sending -9208 bytes to the decoder...
Found a chunk...
Chunk number 24 confirmed with IVAS identifier...
Audio offset is 9201
Video offset is 24
Reading audio of this chunk...
Sending -9177 bytes to the decoder...
Found a chunk...
Chunk number 23 confirmed with IVAS identifier...
Audio offset is 9282
Video offset is 24
Reading audio of this chunk...
Sending -9258 bytes to the decoder...
Found a chunk...
Chunk number 22 confirmed with IVAS identifier...
Audio offset is 9749
Video offset is 24
Reading audio of this chunk...
Sending -9725 bytes to the decoder...
Found a chunk...
Chunk number 21 confirmed with IVAS identifier...
Audio offset is 8694
Video offset is 24
Reading audio of this chunk...
Sending -8670 bytes to the decoder...
Found a chunk...
Chunk number 20 confirmed with IVAS identifier...
Audio offset is 8971
Video offset is 24
Reading audio of this chunk...
Sending -8947 bytes to the decoder...
Found a chunk...
Chunk number 19 confirmed with IVAS identifier...
Audio offset is 9162
Video offset is 24
Reading audio of this chunk...
Sending -9138 bytes to the decoder...
Found a chunk...
Chunk number 18 confirmed with IVAS identifier...
Audio offset is 9301
Video offset is 24
Reading audio of this chunk...
Sending -9277 bytes to the decoder...
Found a chunk...
Chunk number 17 confirmed with IVAS identifier...
Audio offset is 10123
Video offset is 24
Reading audio of this chunk...
Sending -10099 bytes to the decoder...
Found a chunk...
Chunk number 16 confirmed with IVAS identifier...
Audio offset is 10566
Video offset is 24
Reading audio of this chunk...
Sending -10542 bytes to the decoder...
Found a chunk...
Chunk number 15 confirmed with IVAS identifier...
Audio offset is 8904
Video offset is 24
Reading audio of this chunk...
Sending -8880 bytes to the decoder...
Found a chunk...
Chunk number 14 confirmed with IVAS identifier...
Audio offset is 8688
Video offset is 24
Reading audio of this chunk...
Sending -8664 bytes to the decoder...
Found a chunk...
Chunk number 13 confirmed with IVAS identifier...
Audio offset is 8856
Video offset is 24
Reading audio of this chunk...
Sending -8832 bytes to the decoder...
Found a chunk...
Chunk number 12 confirmed with IVAS identifier...
Audio offset is 9082
Video offset is 24
Reading audio of this chunk...
Sending -9058 bytes to the decoder...
Found a chunk...
Chunk number 11 confirmed with IVAS identifier...
Audio offset is 10015
Video offset is 24
Reading audio of this chunk...
Sending -9991 bytes to the decoder...
Found a chunk...
Chunk number 10 confirmed with IVAS identifier...
Audio offset is 10264
Video offset is 24
Reading audio of this chunk...
Sending -10240 bytes to the decoder...
Found a chunk...
Chunk number 9 confirmed with IVAS identifier...
Audio offset is 9169
Video offset is 24
Reading audio of this chunk...
Sending -9145 bytes to the decoder...
Found a chunk...
Chunk number 8 confirmed with IVAS identifier...
Audio offset is 9638
Video offset is 24
Reading audio of this chunk...
Sending -9614 bytes to the decoder...
Found a chunk...
Chunk number 7 confirmed with IVAS identifier...
Audio offset is 6277
Video offset is 24
Reading audio of this chunk...
Sending -6253 bytes to the decoder...
Found a chunk...
Chunk number 6 confirmed with IVAS identifier...
Audio offset is 6139
Video offset is 24
Reading audio of this chunk...
Sending -6115 bytes to the decoder...
Found a chunk...
Chunk number 5 confirmed with IVAS identifier...
Audio offset is 5747
Video offset is 24
Reading audio of this chunk...
Sending -5723 bytes to the decoder...
Found a chunk...
Chunk number 4 confirmed with IVAS identifier...
Audio offset is 5988
Video offset is 24
Reading audio of this chunk...
Sending -5964 bytes to the decoder...
Found a chunk...
Chunk number 3 confirmed with IVAS identifier...
Audio offset is 5794
Video offset is 24
Reading audio of this chunk...
Sending -5770 bytes to the decoder...
Found a chunk...
Chunk number 2 confirmed with IVAS identifier...
Audio offset is 5778
Video offset is 24
Reading audio of this chunk...
Sending -5754 bytes to the decoder...
Found a chunk...
Chunk number 1 confirme be d with IVAS identifier...
Audio offset is 8654
Video offset is 24
Reading audio of this chunk...
Sending -8630 bytes to the decoder...
All frames are now done!

Surprisingly, the audio and video offsets displayed seem to be unusual
according to the specs in the wiki. The audio offsets and the video offsets
seem to be opposite to what is mentioned in the wiki. Can anyone please
confirm if the specs in the wiki are 100% right?
-----------------
Sisir Koppaka



More information about the FFmpeg-soc mailing list