Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
// Fragmented MP4 pieces (.m4s, #354): a read-only video source on the video donut, learned by existing libraries.
using Filee.Core.Formats;
using Filee.Core.Presets;
using Filee.Core.Profiles;
using Filee.Core.Settings;
namespace Filee.Core.Tests;
public class M4sFormatTests
{
[Fact]
public void M4s_is_a_video_filee_reads_but_never_writes()
{
var m4s = FormatRegistry.Detect("video-1.M4S");
Assert.NotNull(m4s);
Assert.Equal(("m4s", FormatCategory.Video, false), (m4s.Id, m4s.Category, m4s.Writable));
Assert.Equal("video", ProfileSelector.Select(BuiltInData.CreateProfiles(), ["movie.m4s"])?.Id);
}
[Fact]
public void Version_47_libraries_learn_m4s_once()
{
var presets = BuiltInData.CreatePresets();
var profiles = BuiltInData.CreateProfiles();
var video = profiles.Single(p => p.Id == "video");
video.Extensions.Remove("m4s");
Assert.True(SettingsMigrations.ApplyToLibrary(47, presets, profiles));
Assert.Contains("m4s", video.Extensions);
Assert.False(SettingsMigrations.ApplyToLibrary(47, presets, profiles));
}
}