Commit graph

29 commits

Author SHA1 Message Date
Malte Rosenbjerg
1c851dc3ff Handle null dictionaries 2022-03-24 21:15:28 +01:00
Malte Rosenbjerg
c817381139 Remove duplicated property 2022-03-24 21:14:00 +01:00
Malte Rosenbjerg
90155efe75 Make Tags and Disposition dictionaries case-insensivite #295 2022-03-24 20:45:49 +01:00
Malte Rosenbjerg
2133d31021 Expose avg_frame_rate as AverageFrameRate on VideoStream #300 2022-03-24 20:27:09 +01:00
Rich Gerber
b8fefc6a0d Change Int32 to long for BitRate 2021-10-26 11:47:46 -07:00
alex6dj
d79bbaef97 Use boolean instead on generic int for disposition state value 2021-09-07 12:48:05 -04:00
alex6dj
41ec1a10dd Get extra disposition data in MediaStream 2021-09-06 23:08:36 -04:00
Warrick Wilson
ac2b358fad Added CodecTag and CodecTagString properties to info derived from an FFProbe.Analyse() call. This allows for specific codecs to be identified to check compatibility with hardware limitations. 2021-08-09 14:52:39 -05:00
alex6dj
f80d1fa3a6 Basic ffprobe subtitle support 2021-07-31 15:34:47 -04:00
Malte Rosenbjerg
1d6517796f Fix tests 2021-03-15 23:43:22 +01:00
Malte Rosenbjerg
5a2ebcf0f3
Merge branch 'master' into master 2021-03-15 23:20:27 +01:00
Malte Rosenbjerg
8a314f02ae Move MediaAnalysis parsing helper methods to static class 2021-03-15 23:17:56 +01:00
Malte Rosenbjerg
4f28983972 Init 2021-03-05 18:06:40 +01:00
crypton
35ca34c0b0 ffprobe duration parsing
- on large recordings (e.g. radio transmissions), ffprobe might return number of hours which is too large for TimeSpan.Parse (exception: The TimeSpan string '149:07:50.911750' could not be parsed because at least one of the numeric components is out of range or contains too many digits.)
- use regex groups to extract components (hours/minutes/seconds/millis) then parse/create new timespan from that
- NOTICE: this will discard microseconds provided by ffprobe, not sure if this is significant
- ffprobe has inconsitencies with how it represents millisecond component. Sometimes it may return just `82` for 820 milliseconds, so padding with 0s is required on the left. Likewise, sometimes it might return microseconds past milliseconds (first 3 significant figures); this is currently discarded
- Added InternalsVisibleTo to help with unit testing *just* the duration parsing function
2021-02-06 16:50:12 -08:00
hey-red
f603163e25 Add tags on media stream and format 2021-01-29 16:03:59 +03:00
Rafael Carvalho
1c79e139fd Update MediaAnalysis's access modifier to internal 2020-08-12 17:22:32 +12:00
Rafael Carvalho
725c8b31ee Implement IMediaAnalysis in MediaAnalysis class 2020-08-12 17:18:10 +12:00
Malte Rosenbjerg
0c19874be3 Make tags more flexible (dictionary) 2020-08-11 00:46:08 +02:00
Mike Cochran
24f79fe3c8 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
f3c99dffb6 Fix NullRefException in ParseFormat 2020-06-21 21:23:16 +02:00
Malte Rosenbjerg
b7b15079eb Parse Format from FFProbe show_format 2020-06-20 14:50:46 +02:00
Malte Rosenbjerg
9be3fc5a07 trim excess fractions of duration tag 2020-06-16 07:42:14 +02:00
Hmarik
6b294ff510 Fix null reference exception in ParseAudioStream 2020-06-03 20:06:51 +03:00
Malte Rosenbjerg
708189b837 Change default paths 2020-05-12 21:37:10 +02:00
Malte Rosenbjerg
1dc7524ecd Revert "Cleanup"
This reverts commit d95f687e46.
2020-05-12 21:28:50 +02:00
Malte Rosenbjerg
d95f687e46 Cleanup 2020-05-12 21:05:00 +02:00
Максим Багрянцев
54c30c0e1e Fix FormatException when parsing doubles on systems whith ',' whole and fractional parts separator 2020-05-10 18:55:42 +03:00
Malte Rosenbjerg
72366d573a Cleanup 2020-05-09 17:53:03 +02:00
Malte Rosenbjerg
ec043ef075 Major refactoring 2020-05-08 11:07:51 +02:00