jslhs / ffmbc

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

ffmbc 0.7 rc7 source code -tardet dvd has wrong ac3 bitrate #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ffmbc.c line 4997

        opt_default("ab", "448000");
        audio_sample_rate = 48000;

I think 448000 is a typo - although the output file actually ends up with a 
bitrate of 48000.

ffmbc -loglevel debug -i "6609305.mxf" -target dvd out.mpeg
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
[mxf @ 0x7fb96b007600] Format mxf probed with size=2048 and score=100
[mxf @ 0x7fb96b007600] All info found
[mxf @ 0x7fb96b007600] 0: start_time: 0 duration: 2223
[mxf @ 0x7fb96b007600] 1: start_time: 0 duration: 2223
Input #0, mxf, from '6609305.mxf':
  Metadata:
    operational_pattern: Op1a
    system_timecode: 00:00:00:00
    timecode: 20:49:25:08
  Duration: 00:01:28.92, start: 0.000000, bitrate: 42599 kb/s
    Stream #0.0(und), 1, 1/25: Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 608:405 DAR 16:9], tbc 2/50, 30000 kb/s, tbr 25/1, tba 25/1, 25.00 fps
    Stream #0.1(und), 1, 1/25: Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
File 'out.mpeg' already exists. Overwrite ? [y/N] y
[buffer @ 0x7fb96ac01d60] w:720 h:608 pixfmt:yuv422p tb:1/1000000 sar:608/405 
sws_param:
[scale @ 0x7fb96ac02480] w:720 h:608 fmt:yuv422p -> w:720 h:576 fmt:yuv420p 
flags:0x4
[ac3 @ 0x7fb96b00d200] channel_layout not specified
[ac3 @ 0x7fb96b00d200] No channel layout specified. The encoder will guess the 
layout, but it might be incorrect.
Output #0, dvd, to 'out.mpeg':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 6000 kb/s, 25.00 fps
    Stream #0.1(und), 0, 1/90000: Audio: ac3, 48000 Hz, quad, s16, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpeg2video @ 0x7fb96b008200] rc buffer underflow
frame= 2223 fps= 92 q=5.3 Lsize=   71392kB time=00:01:28.88 
bitrate=6580.1kbits/s               
video:65214kB audio:4863kB global headers:0kB muxing overhead 1.875965%

Original issue reported on code.google.com by mark.him...@gmail.com on 10 Jun 2012 at 7:40

GoogleCodeExporter commented 8 years ago
I think it's meant that way.

Original comment by baptiste...@gmail.com on 11 Jun 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Of cause, you're right. It's ab not ar.
Sorry for the noise!

Original comment by mark.him...@gmail.com on 11 Jun 2012 at 6:32