asanted
10th September 2005, 03:12
Hello all, I'm in the process of writing a database program along the lines of AMDb, but it will also store audio/video codec information on all programmes stored.
My problem is pulling out video codec data. Using the avi header I can get some details about the video i.e. the codec used, but I can't get the bit rate or various codec flags such as Qpel, and therefore can't indicate whether or not a programme will be suitable for all players.
For testing purposes I used to take the text export from G-spot and use that, but there are bugs in the export.
Can anyone tell me how I can drag this information out of a Divx/Xvid file, I'm currently coding in C++.
Daniel.
My problem is pulling out video codec data. Using the avi header I can get some details about the video i.e. the codec used, but I can't get the bit rate or various codec flags such as Qpel, and therefore can't indicate whether or not a programme will be suitable for all players.
For testing purposes I used to take the text export from G-spot and use that, but there are bugs in the export.
Can anyone tell me how I can drag this information out of a Divx/Xvid file, I'm currently coding in C++.
Daniel.