Commit graph

56 commits

Author SHA1 Message Date
Alex Zhukov
4608b590e1 parse ffprobes -show_packets output
Former-commit-id: 239e2aef42
2021-11-08 06:28:16 -08:00
Malte Rosenbjerg
079760d044 Support for specyfying process working directory through FFOptions (#272)
Former-commit-id: c2d28055c1
2021-11-01 18:13:23 +01:00
Rich Gerber
f47e64789b Change Int32 to long for BitRate
Former-commit-id: b8fefc6a0d
2021-10-26 11:47:46 -07:00
Malte Rosenbjerg
3ea68c4fb8 Merge branch 'master' into pr/255
Former-commit-id: 2b7cd6f7ca
2021-10-21 20:40:25 +02:00
Malte Rosenbjerg
75fa1db64f Minor improvements
Former-commit-id: 79bc918917
2021-10-21 20:36:54 +02:00
Konstantin Samburov
9f3debb9f1 Fix throwing exception for AnalyseAsync if ExitCode not 0.
Former-commit-id: 9ff82337f6
2021-10-11 12:25:41 +09:00
Andrew Morgan
dbccc116fe Adding support for ffprobe show frames
Former-commit-id: 93131a7cd0
2021-09-24 10:23:59 +01:00
alex6dj
2b6a74dd7e Use boolean instead on generic int for disposition state value
Former-commit-id: d79bbaef97
2021-09-07 12:48:05 -04:00
alex6dj
57e2585f52 Get extra disposition data in MediaStream
Former-commit-id: 41ec1a10dd
2021-09-06 23:08:36 -04:00
Warrick Wilson
cbd33fd553 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.
Former-commit-id: ac2b358fad
2021-08-09 14:52:39 -05:00
alex6dj
bd7dcf9edd Basic ffprobe subtitle support
Former-commit-id: f80d1fa3a6
2021-07-31 15:34:47 -04:00
Malte Rosenbjerg
33ab024a60 Improve ffprobe exceptions
Former-commit-id: 27fb37700c
2021-07-16 01:02:38 +02:00
cephei
2f66d24fa5 support specific StandardOutputEncoding & StandardErrorEncoding for ffprobe
Former-commit-id: ab82e3cc0f
2021-07-08 20:17:09 +08:00
Malte Rosenbjerg
263645f83b Fix tests
Former-commit-id: 1d6517796f
2021-03-15 23:43:22 +01:00
Malte Rosenbjerg
8817b4c765 Merge branch 'master' into master
Former-commit-id: 5a2ebcf0f3
2021-03-15 23:20:27 +01:00
Malte Rosenbjerg
e1f319e074 Move MediaAnalysis parsing helper methods to static class
Former-commit-id: 8a314f02ae
2021-03-15 23:17:56 +01:00
Malte Rosenbjerg
7457168c44 Cleanup
Former-commit-id: df0205fb11
2021-03-07 00:26:08 +01:00
Malte Rosenbjerg
b3032a4ab2 Add ConfigureAwait(false)
Former-commit-id: a12c322de9
2021-03-06 23:05:38 +01:00
Malte Rosenbjerg
77e2403902 Init
Former-commit-id: 4f28983972
2021-03-05 18:06:40 +01:00
crypton
83c9478007 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


Former-commit-id: 35ca34c0b0
2021-02-06 16:50:12 -08:00
Malte Rosenbjerg
08c898b56d Return null when no format detected during analysis
Former-commit-id: 66cdb302ef
2021-02-03 23:20:12 +01:00
hey-red
e9ac0951ee Add tags on media stream and format
Former-commit-id: f603163e25
2021-01-29 16:03:59 +03:00
Malte Rosenbjerg
76a977bcd6 Include ffprobe std output in exception
Former-commit-id: f648a4b234
2020-12-08 23:30:10 +01:00
Malte Rosenbjerg
c691dba8e8 Init
Former-commit-id: 8b45a6b680
2020-12-03 20:47:20 +01:00
Malte Rosenbjerg
717d61dd07 Update dependencies and add StreamPipeSink constructor
Former-commit-id: 5ba2ed97cf
2020-11-25 16:15:16 +01:00
Malte Rosenbjerg
b0e3d157d3 Cleanup
Former-commit-id: 6b1e411bfe
2020-10-27 00:49:28 +01:00
Malte Rosenbjerg
c49225af58 Check for existence before analysing with ffprobe
Former-commit-id: 61387fa5be
2020-10-25 17:12:16 +01:00
Malte Rosenbjerg
9434715fba New API
Former-commit-id: 010e9947e9
2020-10-24 22:31:54 +02:00
Malte Rosenbjerg
af6480e1d9 Check ffmpeg/ffprobe availability #75
Former-commit-id: 0136d49edf
2020-10-24 22:18:16 +02:00
Malte Rosenbjerg
d0bca699be Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 78919dcdcf
2020-08-27 16:38:10 +02:00
Malte Rosenbjerg
3ff2eb2cb6 Add creation-time getter property
Former-commit-id: 32e7f16979
2020-08-27 16:38:07 +02:00
Rafael Carvalho
16df2f4424 Update MediaAnalysis's access modifier to internal
Former-commit-id: 1c79e139fd
2020-08-12 17:22:32 +12:00
Rafael Carvalho
b25d287422 Update existing references to use IMediaAnalysis
Former-commit-id: 37a04a37cd
2020-08-12 17:22:10 +12:00
Rafael Carvalho
79607c580f Implement IMediaAnalysis in MediaAnalysis class
Former-commit-id: 725c8b31ee
2020-08-12 17:18:10 +12:00
Rafael Carvalho
9ff34b250f Add IMediaAnalysis interface
Former-commit-id: 8c77ce0cdf
2020-08-12 17:17:34 +12:00
Malte Rosenbjerg
e264c93f67 Make tags more flexible (dictionary)
Former-commit-id: 0c19874be3
2020-08-11 00:46:08 +02:00
Malte Rosenbjerg
ecec9d2ea4 Clean unused using directives
Former-commit-id: 8576154d3f
2020-07-20 15:26:34 +02:00
Malte Rosenbjerg
f0d4f12485 Fix warnings
Former-commit-id: 29d8829d48
2020-07-13 23:56:12 +02:00
Mike Cochran
8105333443 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.


Former-commit-id: 24f79fe3c8
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
ec53c2ddc0 Fix NullRefException in ParseFormat
Former-commit-id: f3c99dffb6
2020-06-21 21:23:16 +02:00
Malte Rosenbjerg
8f832b929c Parse Format from FFProbe show_format
Former-commit-id: b7b15079eb
2020-06-20 14:50:46 +02:00
Malte Rosenbjerg
5ee26d52ad trim excess fractions of duration tag
Former-commit-id: 9be3fc5a07
2020-06-16 07:42:14 +02:00
Hmarik
38e3baf7b7 Fix null reference exception in ParseAudioStream
Former-commit-id: 6b294ff510
2020-06-03 20:06:51 +03:00
Malte Rosenbjerg
17c9db52dd Renaming
Former-commit-id: 39dd390e81
2020-05-24 19:17:14 +02:00
Malte Rosenbjerg
5e1aef9adc Change default paths
Former-commit-id: 708189b837
2020-05-12 21:37:10 +02:00
Malte Rosenbjerg
d7a705e9ae Revert "Cleanup"
This reverts commit 152683323e [formerly d95f687e46].


Former-commit-id: 1dc7524ecd
2020-05-12 21:28:50 +02:00
Malte Rosenbjerg
152683323e Cleanup
Former-commit-id: d95f687e46
2020-05-12 21:05:00 +02:00
Malte Rosenbjerg
c960419bae Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: d9d42d459d
2020-05-12 17:31:41 +02:00
Malte Rosenbjerg
4361bf393b Support custom temp dir and cleanup
Former-commit-id: da399a69aa
2020-05-12 17:30:35 +02:00
Максим Багрянцев
fa7850b135 Updated PixelFormat namespace
Former-commit-id: 17fa6aafee
2020-05-12 17:53:52 +03:00