Commit graph

47 commits

Author SHA1 Message Date
Kaaybi
f86d999035 feat: add video-stream level to ffprobe analysis 2024-09-18 12:08:16 +02:00
Malte Rosenbjerg
f8407bce24 Merge branch 'main' into pr/431 2023-10-05 12:00:06 +02:00
Malte Rosenbjerg
54e5d0860c
Merge branch 'main' into feature/custom-ffprob-arguments 2023-10-05 09:21:21 +02:00
Malte Rosenbjerg
7f283e9113
Merge branch 'main' into main 2023-10-05 09:21:13 +02:00
Malte Rosenbjerg
55b1946976 Update FFProbeTests.cs 2023-10-05 09:14:47 +02:00
vfrz
bf06a8059b Add test again 2023-04-12 22:14:23 +02:00
vfrz
338274b500 Try fix encoding 2 2023-04-12 22:10:37 +02:00
vfrz
66c166f2e8 Try fix encoding 2023-04-12 22:07:22 +02:00
vfrz
4b0cd9239e Add test 2023-04-12 21:57:20 +02:00
Malte Rosenbjerg
0ac351493c Verify Chapters property is initialized to non-null in test 2023-04-12 16:31:26 +02:00
Malte Rosenbjerg
3837edee8c Init (#389)
Former-commit-id: 4ec200528c
2023-02-04 23:42:13 +01:00
pklaes
737eea3a98 fix: Switch source for rotation property from 'tags/rotate' to 'side_data_list/rotation' (incl. test case) (#388)
Former-commit-id: d051cd06d2
2023-02-04 22:17:39 +01:00
Malte Rosenbjerg
693acabac4 Cleanup after splitting into two packages (#386)
* Move PosterWithAudio to FFMpegCore

* Reduce windows only tests

* Update Directory.Build.props

* Create .editorconfig

* More cleanup

* Enable implicit usings

* Remove unused method

* Apply dotnet format

* Fix unused variable in AudioGateArgument

* Fix boolean conditions in AudioGateArgument

* Merge boolean conditions into pattern

* Use target-typed new

* Add linting to CI

* Add CUDA to HardwareAccelerationDevice enum

* Increase timeout for Video_Join_Image_Sequence

* Adjust Video_Join_Image_Sequence timeout

* Fix expected seconds in Video_Join_Image_Sequence

* Increase timeout for Video_TranscodeToMemory due to macos agents

Former-commit-id: f9f7161686
2023-02-02 21:19:45 +01:00
Tom Bogle
7dfefbdfdb Added ability to retrieve bit depth from media streams for lossless encodings (#359)
* Added ability to retrieve bit depth from media streams for lossless encodings

* Shortened sample AIFF file used in tests

Former-commit-id: db7e1e4995
2023-02-01 08:09:16 +01:00
keg247
1dd2685aff Add SampleAspectRatio property to VideoStream
Former-commit-id: 02de377093
2023-01-31 22:41:57 +01:00
Malte Rosenbjerg
c2559148ea Revert "Remove ignore"
This reverts commit 73605e5f91 [formerly d85a4b81ab].


Former-commit-id: d3d49655f4
2023-01-28 11:41:19 +01:00
Malte Rosenbjerg
73605e5f91 Remove ignore
Former-commit-id: d85a4b81ab
2023-01-28 11:39:44 +01:00
Malte Rosenbjerg
18f74f0e4c Ignore Uri_Duration until root cause found
Former-commit-id: 0537c87fa2
2023-01-28 11:28:07 +01:00
Malte Rosenbjerg
52bf2ec4d0 Init
Former-commit-id: 7f8bd24058
2022-03-12 19:06:46 +01:00
Alex Zhukov
4608b590e1 parse ffprobes -show_packets output
Former-commit-id: 239e2aef42
2021-11-08 06:28:16 -08:00
Malte Rosenbjerg
75fa1db64f Minor improvements
Former-commit-id: 79bc918917
2021-10-21 20:36:54 +02: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
041d40effd Basic ffprobe test
Former-commit-id: 47916eac29
2021-07-31 16:46:21 -04:00
Malte Rosenbjerg
59dc8e6b94 Fix test
Former-commit-id: cce6c6983c
2021-03-15 23:50:11 +01: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
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
d2c4d81196 Use webm for streaming test
Former-commit-id: d64f2dddeb
2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
ec671ff8bf Dump
Former-commit-id: 3ad127a682
2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
e914f3fe4c More timeouts ...
Former-commit-id: da34cf1ec1
2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
4f9b4f4b57 Shorten resources used for testing
Former-commit-id: adbd61c51d
2020-10-25 17:11:52 +01: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
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
68abcb4a83 Merge branch 'master' into refactor
Former-commit-id: 40a7475b05
2020-05-10 13:23:04 +02:00
Malte Rosenbjerg
6d55faf3f5 Add timeouts
Former-commit-id: d923dace6c
2020-05-10 12:07:28 +02:00
Malte Rosenbjerg
d2852e7e56 Fix probe tests and add timeouts
Former-commit-id: dc30010725
2020-05-10 11:46:33 +02:00
Malte Rosenbjerg
364406fa2a Reverted experiment
Former-commit-id: 542000601a
2020-05-10 11:41:53 +02:00
Malte Rosenbjerg
06539f7b39 Fixes
Former-commit-id: 8d74a3e0d7
2020-05-10 11:31:26 +02:00
Malte Rosenbjerg
23de941df3 Attempt at unix pipe support
Former-commit-id: 6c84396898
2020-05-09 20:34:27 +02:00
Malte Rosenbjerg
c3b5cd997e Cleanup
Former-commit-id: 72366d573a
2020-05-09 17:53:03 +02:00
Malte Rosenbjerg
bd55018f4f Major refactoring
Former-commit-id: ec043ef075
2020-05-08 11:07:51 +02:00
Максим Багрянцев
5c437211b2 Added ffprobe stream input
Former-commit-id: cfda0fc9ae
2020-04-28 15:21:48 +03:00
Malte Rosenbjerg
24c3eb475d Make output capacity configureable and set higher default
Fixes #42


Former-commit-id: cdcecda648
2020-03-01 12:55:57 +01:00