jslhs / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

MP3 muxer does not check codec used #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I run what I believe is a conversion from FLAC files to MP3 (see log below), 
but ffmbc crashes with a floating point exception.

What is the expected output? What do you see instead?
I expected to get an MP3 output file, instead the conversion crashes.

What version of the product are you using? On what operating system?
FFmbc version 0.7-rc8
Ubuntu 10.04 LTS

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.

ffmbc -v 3 -i ED-CM-5.1-DVD-L.flac -i ED-CM-5.1-DVD-R.flac  -acodec pcm_s24le  
foo.mp3 -map_audio_channel 0:0:0:0:0:0 -map_audio_channel 1:0:0:0:0:1 
FFmbc version 0.7-rc8
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers
Input #0, flac, from 'ED-CM-5.1-DVD-L.flac':
  Duration: 00:10:58.08, bitrate: 711 kb/s
    Stream #0.0(und): Audio: flac, 48000 Hz, mono, s32
Input #1, flac, from 'ED-CM-5.1-DVD-R.flac':
  Duration: 00:10:58.08, bitrate: 708 kb/s
    Stream #1.0(und): Audio: flac, 48000 Hz, mono, s32
Output #0, mp3, to 'foo.mp3':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 [channel: 0 -> 0]
  Stream #1.0 -> #0.0 [channel: 0 -> 1]
Press [q] to stop, [?] for help
Floating point exception

- Upload your sample somewhere and supply url
Source files available at http://media.xiph.org/ED/

Original issue reported on code.google.com by k...@vizrt.com on 25 Mar 2013 at 9:59

GoogleCodeExporter commented 8 years ago
Of course, I probably shouldn't try to encode PCM in an MP3 stream, but then I 
think I should get a warning about an unsupported codec, rather than a crash.

Original comment by k...@vizrt.com on 25 Mar 2013 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 25 Mar 2013 at 8:12

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 1 Apr 2014 at 4:35