[FFmpeg-devel] [PATCH] target svcd: fix setting default value of scan_offset option

Gert Vervoort gert.vervoort
Thu Sep 11 22:11:39 CEST 2008


Hi,

The attached patch fixes the "Unable to parse option value 
"SCAN_OFFSET": undefined constant or missing (" message when encoding 
for the svcd target.

  Gert


[gert at apollo tmp]$ ffmpeg -i 20061031_1966.AVI -target ntsc-svcd -aspect 
4:3 20061031_1966_svcd.mpg
FFmpeg version SVN-r15286, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr/local --libdir=/usr/local/lib64 
--shlibdir=/usr/local/lib64 --enable-shared --enable-swscale 
--enable-nonfree --enable-libamr-nb --enable-libamr-wb 
--enable-libmp3lame --enable-libschroedinger --enable-postproc 
--enable-gpl --enable-pthreads --enable-x11grab 
--extra-cflags=-march=athlon64 -mtune=athlon64 -ftree-vectorize
  libavutil     49.10. 0 / 49.10. 0
  libavcodec    52. 1. 0 / 52. 1. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Sep  9 2008 19:41:31, gcc: 4.3.0 20080428 (Red Hat 4.3.0-8)
Input #0, avi, from '20061031_1966.AVI':
  Duration: 00:00:10.46, start: 0.000000, bitrate: 16495 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30.00 tb(r)
    Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Unable to parse option value "SCAN_OFFSET": undefined constant or missing (
Unable to parse option value "SCAN_OFFSET": undefined constant or missing (
Unable to parse option value "SCAN_OFFSET": undefined constant or missing (
Unable to parse option value "SCAN_OFFSET": undefined constant or missing (
Output #0, svcd, to '20061031_1966_svcd.mpg':
    Stream #0.0: Video: mpeg2video, yuv420p, 480x480 [PAR 4:3 DAR 4:3], 
q=2-31, 2040 kb/s, 29.97 tb(c)
    Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 224 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  284 fps= 34 q=17.0 Lsize=    2773kB time=9.44 
bitrate=2406.0kbits/s   
video:2464kB audio:273kB global headers:0kB muxing overhead 1.339680%
[gert at apollo tmp]$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: svcd_scanoffset.diff
Type: text/x-diff
Size: 418 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080911/65bbe37d/attachment.diff>



More information about the ffmpeg-devel mailing list