-
Notifications
You must be signed in to change notification settings - Fork 206
AC3 sound sample error #189
Copy link
Copy link
Open
Labels
Description
Describe the bug
An AC3 sample recordings crashes the app with no recovery
To Reproduce
Use the ts file in this for the source to QueryCommandBuilder
Expected behavior
ffmpeg can transcode the sample to wav mp3 etc. Even if the app can't handle it a try/catch loop should be possible.
Screenshots
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at FFmpeg.AutoGen.ffmpeg.swr_convert(FFmpeg.AutoGen.SwrContext*, Byte**, Int32, Byte**, Int32)
at SoundFingerprinting.Emy.FFmpeg.Audio.AudioConverter.ConvertAndStore(FFmpeg.AutoGen.AVFrame*)
at SoundFingerprinting.Emy.FFmpeg.Audio.AudioConverter.Convert(FFmpeg.AutoGen.AVFrame*)
at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService+<>c__DisplayClass7_1.<CreateAudioConverters>b__1(System.Object, SoundFingerprinting.Emy.FFmpeg.Common.FrameEventArgs)
at SoundFingerprinting.Emy.FFmpeg.Decoder.OnDecoded(FFmpeg.AutoGen.AVFrame*)
at SoundFingerprinting.Emy.FFmpeg.Decoder.Decode(FFmpeg.AutoGen.AVPacket*)
at SoundFingerprinting.Emy.FFmpeg.Demuxer.Demux(Double)
at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService+<ReadAVTrack>d__4.MoveNext()
at System.Collections.Generic.List`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.Linq.Enumerable.ToList[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
at SoundFingerprinting.Emy.AudioVideo.Data.FFmpegDataService.ReadTrack(System.String, SoundFingerprinting.Data.MediaType, Double, SoundFingerprinting.Media.AVTrackReadConfiguration)
at SoundFingerprinting.Emy.FFmpegAudioService.ReadAVTrackFromFile(System.String, SoundFingerprinting.Media.AVTrackReadConfiguration, Double, Double, SoundFingerprinting.Data.MediaType)
at SoundFingerprinting.Emy.FFmpegAudioService.GetAudioTrack(System.String, Int32, Double)
at SoundFingerprinting.Emy.FFmpegAudioService.ReadMonoSamplesFromFile(System.String, Int32, Double, Double)
at SoundFingerprinting.Command.FingerprintCommand+<>c__DisplayClass13_0.<From>b__0()
at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
at System.Threading.Tasks.Task+<>c.<.cctor>b__272_0(System.Object)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
at System.Threading.Tasks.Task.ExecuteFromThreadPool(System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
**Desktop (please complete the following information):**
- Windows 11 console app
Reactions are currently unavailable