Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-18 Thread Carl Eugen Hoyos
John L orionfyre at hotmail.com writes: Please test the following: $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.ac3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.mp3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 -acodec pcm_f32le out.wav I ran all three as

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-18 Thread John L
To: ffmpeg-user@ffmpeg.org From: ceho...@ag.or.at Date: Mon, 18 May 2015 08:48:32 + Subject: Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality John L orionfyre at hotmail.com writes: Please test the following: $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-18 Thread Andy Furniss
John L wrote: Please test the following: $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.ac3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.mp3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 -acodec pcm_f32le out.wav I ran all three as requested, including '-loglevel debug'. All

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread David Favor
John L wrote: Backstory: I have a system in place to automagically convert video files to smaller formats/versions on request to have a sort of mobile version for my father who travels extensively. The purpose is so that he can fit significantly more videos on his tablet than if they were the

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread Bazza
On Sun, 17 May 2015 02:16:56 -0500, John L orionf...@hotmail.com wrote: - the resulting wav file is significantly distorted, but qualitatively doesn't 'feel' as harsh Just FYI John, _some_ of those channels in the 5.1 are already flattening at peak levels so the

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread John L
Please test the following: $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.ac3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 out.mp3 $ ffmpeg -i inter.dts -rematrix_maxval 1.0 -ac 2 -acodec pcm_f32le out.wav I ran all three as requested, including '-loglevel debug'. All three

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread Bazza
On Sun, 17 May 2015 07:41:31 + (UTC), Carl Eugen Hoyos ceho...@ag.or.at wrote: Not a problem about misunderstanding. Hope I make sense sometimes too -) I did now and the question now is: Is the issue reproducible with: $ ffmpeg -i inter.dts -ac 2 -acodec pcm_f32le outf.wav This (above)

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread Carl Eugen Hoyos
John L orionfyre at hotmail.com writes: But I'm still curious why it would behave in such a way Me too! So please test the following and report back: ffmpeg -i inter.dts -acodec pcm_f32le -ac 2 out.wav Carl Eugen ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread Carl Eugen Hoyos
Bazza lamia at jeack.com.au writes: The simple command 'ffmpeg -i inter.dts -ac 2 -ab 320k out.mp3', for an MP3 file, will produce this result. Plainly distorted. -) You told that and John told us. I did neither deny it nor asked for another example for the same comamnd line. When I

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-17 Thread John L
To: ffmpeg-user@ffmpeg.org From: ceho...@ag.or.at Date: Sat, 16 May 2015 11:15:29 + Subject: Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality Moritz Barsnick barsnick at gmx.net writes: $ ffmpeg -loglevel debug -i inter.dts -ac 2 -c:a libmp3lame -f null

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread John L
Instead, take the 5.1 and _DOWNMIX_ all tracks to a single stereo for the phone/tablet by declaring -acodec -ac 2. No intermediate steps should be required. Consider also - Do you need pcm_s32le ? pcm_s16le is usual. I fail to see how that is any different than what I am doing now. I

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Carl Eugen Hoyos
John L orionfyre at hotmail.com writes: ffmpeg version 2.5.6-0ubuntu0.15.04.1 Please test current FFmpeg git head, see http://ffmpeg.org/download.html (Please do not test 2.6) ffmpeg -i inter.dts -ac 2 -c libmp3lame inter-test.mp3 This audio sample has the exact same audio defects as in

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Bazza
On Sat, 16 May 2015 07:52:12 + (UTC), Carl Eugen Hoyos ceho...@ag.or.at wrote: Please test the following: $ ffmpeg -i inter.dts -ac 2 out16.wav $ ffmpeg -i inter.dts -ac 2 -acodec pcm_s32le out32.wav $ ffmpeg -i inter.dts -ac 2 -ab 640k out.ac3 $ ffmpeg -i inter.dts -ac 2 -ab 320k out.mp2

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Carl Eugen Hoyos
Bazza lamia at jeack.com.au writes: Please test the following: $ ffmpeg -i inter.dts -ac 2 out16.wav $ ffmpeg -i inter.dts -ac 2 -acodec pcm_s32le out32.wav $ ffmpeg -i inter.dts -ac 2 -ab 640k out.ac3 $ ffmpeg -i inter.dts -ac 2 -ab 320k out.mp2 Carl, I did test some of this stuff. -

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Andy Furniss
John L wrote: Instead, take the 5.1 and _DOWNMIX_ all tracks to a single stereo for the phone/tablet by declaring -acodec -ac 2. No intermediate steps should be required. Consider also - Do you need pcm_s32le ? pcm_s16le is usual. I fail to see how that is any different than what I am

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Bazza
On Sat, 16 May 2015 09:17:59 + (UTC), Carl Eugen Hoyos ceho...@ag.or.at wrote: Bazza lamia at jeack.com.au writes: Please test the following: $ ffmpeg -i inter.dts -ac 2 out16.wav $ ffmpeg -i inter.dts -ac 2 -acodec pcm_s32le out32.wav $ ffmpeg -i inter.dts -ac 2 -ab 640k out.ac3 $

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Bazza
On Sat, 16 May 2015 09:17:59 + (UTC), Carl Eugen Hoyos ceho...@ag.or.at wrote: Sorry, I am apparently extremely dim-witted: Did you test the four lines above? Which of them sound ok, which of them do not sound ok? Seem to have not explicitly answered the Q. Sorry. $ ffmpeg -i inter.dts -ac

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Carl Eugen Hoyos
Moritz Barsnick barsnick at gmx.net writes: $ ffmpeg -loglevel debug -i inter.dts -ac 2 -c:a libmp3lame -f null - $ ffmpeg -loglevel debug -i inter.dts -ac 2 -c:a pcm_s16le -f null - You can insert other arbitrary codecs at will. The former shows a matrix: 1.00 0.00 0.707107

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Moritz Barsnick
On Sat, May 16, 2015 at 13:07:01 +0200, Moritz Barsnick wrote: [auto-inserted resampler 0 @ 0xb713840] ch:6 chl:5.1(side) fmt:fltp r:48000Hz - ch:2 chl:stereo fmt:fltp r:48000Hz [auto-inserted resampler 0 @ 0xb3b55c0] ch:6 chl:5.1(side) fmt:fltp r:48000Hz - ch:2 chl:stereo fmt:s16 r:48000Hz

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Carl Eugen Hoyos
Bazza lamia at jeack.com.au writes: $ ffmpeg -i inter.dts -ac 2 out16.wav $ ffmpeg -i inter.dts -ac 2 -acodec pcm_s32le out32.wav $ ffmpeg -i inter.dts -ac 2 -ab 640k out.ac3 $ ffmpeg -i inter.dts -ac 2 -ab 320k out.mp2 1 = Good 2 = Good 3 = Bad 4 = Good and 1 you didn't list, AC3 =

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-16 Thread Bazza
On Sat, 16 May 2015 10:25:09 + (UTC), Carl Eugen Hoyos ceho...@ag.or.at wrote: Since your answer makes no sense (is ac3 doubly bad?), maybe you could map 1, 2, 3, 4 to out.mp2, out.ac3 and the two wav files? They say a picture is worth 1000 words etc so I'll do it this way. This is John's

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-15 Thread Marcus Johnson
Maybe that's because you're converting lossy audio to another lossy audio format? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] Input 5.1 DTS, output 2.0 MP3: Atrocious Quality

2015-05-15 Thread Bazza
On Fri, 15 May 2015 23:04:06 -0500, John L orionf...@hotmail.com wrote: Backstory: I have a system in place to automagically convert video files to smaller formats/versions on request to have a sort of mobile version for my father who travels extensively. The purpose is so that he can fit