So I have data that is similar and want to group it so I can loop thru and find the one I want to use for some video content.. So for example:
- - ContentType: audio
- - _bandwidth: 1234567
- - _media_path: c:\blablabla\joe.ac3
- - ContentType: audio
- - _bandwidth: 435435345
- - _media_path: c:\blablabla\joe.eac3
- - ContentType: video
- - _bandwidth: 43534543545
- - _width: 1920
- - _height: 800
- - _media_path: c:\blablabla\pete_1.mpg
- -ContentType: video
- - _bandwidth: 345345435
- - _width: 1280
- - _height: 1024
- - _media_path: c:\blablabla\pete_2.mpg
- -ContentType: video
- - _bandwidth: 5435345
- - _width: 640
- - _height: 480
- - _media_path: c:\blablabla\pete_3.mpg
What is the best way to store this kind of data. Essentially in the end I'm going to find out which video has the most bandwidth and pick that one as the highest quality video and do something similar with the audio, however need to collect it all into one place and then compare.
EDIT: And should probably say, be able to sanely be able to keep track of what is what.
Thoughts?
Thanks.
JR
John RikerPosted Dec 12, 2020, 10:13 AM
Nitin SontakkePosted Dec 12, 2020, 12:05 AM