mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
82cc9715dc
Some video-files have their metadata as -90 instead of 90. This PR handles correct aspect-ratio and rotation when taking snapshots. The sample video provided in the PR is my own recording. A bit too big maybe? I couldn't find any command to set the metadata to `-90` on existing video. Would be happy to get it working on already existing test-data to reduce size. Fixes #509
21 lines
1.3 KiB
C#
21 lines
1.3 KiB
C#
namespace FFMpegCore.Test.Resources
|
|
{
|
|
public static class TestResources
|
|
{
|
|
public static readonly string Mp4Video = "./Resources/input_3sec.mp4";
|
|
public static readonly string Mp4VideoRotation = "./Resources/input_3sec_rotation_90deg.mp4";
|
|
public static readonly string Mp4VideoRotationNegative = "./Resources/input_3sec_rotation_negative_90deg.mp4";
|
|
public static readonly string WebmVideo = "./Resources/input_3sec.webm";
|
|
public static readonly string Mp4WithoutVideo = "./Resources/input_audio_only_10sec.mp4";
|
|
public static readonly string Mp4WithoutAudio = "./Resources/input_video_only_3sec.mp4";
|
|
public static readonly string RawAudio = "./Resources/audio.raw";
|
|
public static readonly string Mp3Audio = "./Resources/audio.mp3";
|
|
public static readonly string PngImage = "./Resources/cover.png";
|
|
public static readonly string ImageCollection = "./Resources/images";
|
|
public static readonly string SrtSubtitle = "./Resources/sample.srt";
|
|
public static readonly string AiffAudio = "./Resources/sample3aiff.aiff";
|
|
public static readonly string MkvVideo = "./Resources/sampleMKV.mkv";
|
|
public static readonly string Wav24Bit = "./Resources/24_bit_fixed.WAV";
|
|
public static readonly string Wav32Bit = "./Resources/32_bit_float.WAV";
|
|
}
|
|
}
|