Alright, I've got a MKV extracted from a BluRay using MakeMKV. It contains DTS audio. I'm feeding this to ffmpeg and trying to encode only a fraction of the track, however ffmpeg outputs "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)"
Track metadata:
The encoding command I useCode:BPS-eng : 1797639 DURATION-eng : 02:55:41.056000000 NUMBER_OF_FRAMES-eng: 988224 NUMBER_OF_BYTES-eng: 2368627780 SOURCE_ID-eng : 001100 _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2019-07-30 11:08:48 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Obviously the track is long enough for this, so what gives? I've tried seeking earlier in the track and everything works correctly up until the 8:41.110 mark where the audio cuts abruptly (at least when encoded, the original file has no problem that I can see, or hear)Code:ffmpeg -ss 10:22.9 -to 13:25.8 -i ".\t10.mkv" -c:a pcm_s32le -f wav "S01E004.wav"
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Sounds like either your file or ffmpeg is broken. As a workaround try output seeking (-i -ss -to instead of -ss -to -i). I would try to re-rip the Blu-Ray, if possible using a different ripper like AnyDVD. If it still shows the same error I would try to cut a small sample around the 8:41.110 mark to send to the ffmpeg developers. What errors is ffmpeg showing? You left out its log. Which Blu-Ray is this? Maybe others with the same Blu-Ray can chime in.
That said I'm surprised input seeking would stumble across such a problem. AFAIK input seeking should seek directly to the part you want to cut and ignore anything before it, i.e. shouldn't break on 8:41.110 if your seek is at 10:22.9.
Similar Threads
-
How to extract audio track of .avi file to include it in a .mkv file?
By nickiman in forum Newbie / General discussionsReplies: 3Last Post: 22nd Jul 2019, 06:15 -
FFMPEG Conversion from MKV to MP4 returns a empty MP4 file?
By lolmaisine in forum Video ConversionReplies: 4Last Post: 6th Mar 2019, 07:45 -
Replacing DVD Movie file with demuxed Mkv file while keeping original Audio
By DeusExMachinaN7 in forum Authoring (DVD)Replies: 5Last Post: 9th Oct 2016, 13:44 -
New audio problem with mkv file
By viwerex in forum Video ConversionReplies: 16Last Post: 24th Apr 2015, 16:00 -
Extracted audio from MKV--how to convert .DTS audio file?
By mindstormer in forum AudioReplies: 7Last Post: 18th Nov 2014, 09:40