saloromer / ffmbc

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

ffmbc 0.6rc1 output to two files causes segfault #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Really simple example, this works:

ffmbc \
 -y -loglevel debug \
 -i combined.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  combined.vob

This seg-faults:

ffmbc \
 -y -loglevel debug \
 -i combined.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  combined.vob \
 -vcodec mpeg2video -vb 1000k \
  combined2.vob

The output codec doesn't appear to make any difference.

FFmpeg version FFmbc-0.6-rc1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb 16 2011 10:22:25 with gcc 4.4.3
  configuration: --cpu=i686 --extra-cflags=-L/usr/local/include --extra-libs=-L/usr/local/lib --prefix=/usr/local --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0x8e5e7c0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8e5e7c0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8e5e7c0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'combined.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2011-02-21 11:32:47
  Duration: 00:00:01.00, start: 0.000000, bitrate: 16634 kb/s
    Stream #0.0(eng), 1, 1/250000: Video: tiff, rgb24, 720x576i tff, 16621 kb/s, PAR 118:81 DAR 295:162, tbc 0/1, tbr 25/1, 25.000 fps
    Stream #0.1(eng), 0, 1/600: Data: tmcd / 0x64636D74
    Metadata:
      reel_name: ....
[ffsink @ 0x8e66280] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x8e66570] w:720 h:576 fmt:rgb24 -> w:720 h:576 fmt:yuv420p 
flags:0x1004 interlaced:0
SwScaler: reducing / aligning filtersize 1 -> 4
    Last message repeated 1 times
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8e9a5f0] BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8e9a5f0] using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8e9a5f0] using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8e9a5f0] using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8e9a5f0] 720x576 -> 720x576
[swscaler @ 0x8e9a5f0] lum srcW=720 srcH=576 dstW=720 dstH=576 xInc=65536 
yInc=65536
[swscaler @ 0x8e9a5f0] chr srcW=360 srcH=576 dstW=360 dstH=288 xInc=65536 
yInc=131072
[ffsink @ 0x8ea6e30] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x8ea6f90] w:720 h:576 fmt:rgb24 -> w:720 h:576 fmt:yuv420p 
flags:0x1004 interlaced:0
SwScaler: reducing / aligning filtersize 1 -> 4
    Last message repeated 1 times
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8ee18e0] BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8ee18e0] using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8ee18e0] using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8ee18e0] using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8ee18e0] 720x576 -> 720x576
[swscaler @ 0x8ee18e0] lum srcW=720 srcH=576 dstW=720 dstH=576 xInc=65536 
yInc=65536
[swscaler @ 0x8ee18e0] chr srcW=360 srcH=576 dstW=360 dstH=288 xInc=65536 
yInc=131072
[svcd @ 0x8e62360] VBV buffer size not set, muxing may fail
[svcd @ 0x8e60670] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'combined.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 1000 kb/s, tbc 1/25, 25.000 fps
Output #1, svcd, to 'combined2.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 1000 kb/s, tbc 1/25, 25.000 fps
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.0 -> #1.0
Press [q] to stop encoding
Segmentation fault

Original issue reported on code.google.com by mark.him...@gmail.com on 21 Feb 2011 at 1:06

GoogleCodeExporter commented 8 years ago
Should be fixed in 0.6-rc3, please reopen if not.

Original comment by baptiste...@gmail.com on 9 Mar 2011 at 2:53

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 9 Mar 2011 at 2:54