Opened 6 years ago

Closed 6 years ago

#3239 closed defect (fixed)

Target vcd no longer works

Reported by: ramitbhalla Owned by:
Priority: important Component: ffmpeg
Version: git-master Keywords: regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: -target film-vcd option no longer works. Even pal and ntsc have the same issue. Without the qualifier it also gives and error to put a qualifier. (however dvd works). It happens on all files.

(Is critical the right priority for this?)

How to reproduce:

ffmpeg -i "MPEG-1 DVRMS.ts" -target film-vcd test.mpg
ffmpeg version N-59313-gb259704 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 23 2013 23:20:15 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 46.100 / 55. 46.100
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.100 /  4.  0.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 034d4820] Invalid frame dimensions 0x0.
    Last message repeated 10 times
Input #0, mpegts, from 'MPEG-1 DVRMS.ts':
  Duration: 00:03:00.70, start: 600.000000, bitrate: 5968 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], ma
x. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
[NULL @ 04660be0] [Eval @ 0022b42c] Undefined constant or missing '(' in 'vcd'
[NULL @ 04660be0] Unable to parse option value "vcd"
[NULL @ 04660be0] Error setting option b to value vcd.
Output #0, vcd, to 'test.mpg':
    Stream #0:0: Video: mpeg1video, yuv420p, 352x240 [SAR 40:33 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg1video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height}}}

Change History (3)

comment:1 Changed 6 years ago by cehoyos

  • Keywords regression added
  • Priority changed from critical to important

comment:2 Changed 6 years ago by cehoyos

  • Component changed from undetermined to FFmpeg
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Regression since 9647c6de
I'll send a patch soon.

comment:3 Changed 6 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in e079661d - thank you for the report.

Note: See TracTickets for help on using tickets.