All pastes #196637 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-10-10 19:35 UTC
rendered paste body
$ gdb ffmpeg_g.exe 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run -i mpeg2-sample1.mpg -y test.mpg
Starting program: C:\msys\home\Administrator\ffmpeg-trunk/ffmpeg_g.exe -i mpeg2-sample1.mpg -y test.mpg
FFmpeg version SVN-r6631, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mingw32 --enable-memalign-hack --enable-gpl --enable-pp 
  libavutil version: 49.0.1
  libavcodec version: 51.16.0
  libavformat version: 50.5.0
  built on Oct 10 2006 21:25:03, gcc: 3.4.5 (mingw special)

Seems that stream 0 comes from film source: 25.00 (25025/1001) -> 25.00 (25/1)
Input #0, mpegts, from 'mpeg2-sample1.mpg':
  Duration: 00:00:59.7, start: 0.210778, bitrate: 5024 kb/s
  Stream #0.0[0x65]: Video: mpeg2video, yuv420p, 720x576, 4600 kb/s, 25.00 fps(r)
  Stream #0.1[0x66]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mpeg, to 'test.mpg':
  Stream #0.0: Video: mpeg1video, yuv420p, 720x576, q=2-31, 200 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
frame= 1499 q=31.0 Lsize=    5084kB time=59.9 bitrate= 695.5kbits/s    
video:4534kB audio:468kB global headers:0kB muxing overhead 1.652562%

Program exited normally.
(gdb) run -i mpeg2-sample1.mpg -ac copy -y test.mpg
Starting program: C:\msys\home\Administrator\ffmpeg-trunk/ffmpeg_g.exe -i mpeg2-sample1.mpg -ac copy -y test.mpg

Program received signal SIGFPE, Arithmetic exception.
l2_select_table (bitrate=5663694, nb_channels=64, freq=0, lsf=48000)
    at mpegaudiodec.c:1299
1299        ch_bitrate = bitrate / nb_channels;
(gdb) bt
#0  l2_select_table (bitrate=5663694, nb_channels=64, freq=0, lsf=48000)
    at mpegaudiodec.c:1299
#1  0x00fa9b00 in ?? ()
#2  0x00000040 in ?? ()
#3  0x00566bce in MPA_encode_init (avctx=0xa) at mpegaudio.c:118
#4  0x77c35c94 in msvcrt!_except_handler2 ()
   from C:\WINDOWS\system32\msvcrt.dll