New submission from Lou <[email protected]>:

Using this sample:
http://samples.mplayerhq.hu/DV-raw/small_test2.dv

$ ffmpeg -v 9 -loglevel 99 -i small_test2.dv -vf yadif -qscale 3
yadif-mpeg1video.mpg
FFmpeg version SVN-r25329, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct  3 2010 14:58:38 with gcc 4.5.1
  configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-x11grab --arch=x86_64
  libavutil     50.32. 0 / 50.32. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[NULL @ 0x2496470] Probed with size=131072 and score=75
[dv @ 0x2496470] All info found
[dv @ 0x2496470] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'small_test2.dv':
  Duration: 00:00:02.84, start: 0.000000, bitrate: 28800 kb/s
    Stream #0.0, 1, 1/25: Video: dvvideo, yuv420p, 720x576, 1/25, 28800 kb/s,
PAR 16:15 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 
kb/s
    Stream #0.2, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 
kb/s
[buffer @ 0x249d6a0] w:720 h:576 pixfmt:yuv420p
[yadif @ 0x249dac0] mode:0 parity:-1
Output #0, mpeg, to 'yadif-mpeg1video.mpg':
  Metadata:
    encoder         : Lavf52.79.0
    Stream #0.0, 0, 1/90000: Video: mpeg1video, yuv420p, 720x576 [PAR 16:15 DAR
4:3], 1/25, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0.1, 0, 1/90000: Audio: mp2, 32000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[dvvideo @ 0x2497720] AC EOB marker is absent pos=71bitrate=3503.6kbits/s    
frame=   71 fps=  0 q=3.0 Lsize=    1374kB time=2.80 bitrate=4019.9kbits/s    
video:1343kB audio:22kB global headers:0kB muxing overhead 0.670000%


$ ffplay -debug 1 yadif-mpeg1video.mpg 
FFplay version SVN-r25329, Copyright (c) 2003-2010 the FFmpeg developers
  built on Oct  3 2010 14:58:38 with gcc 4.5.1
  configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-x11grab --arch=x86_64
  libavutil     50.32. 0 / 50.32. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[NULL @ 0x1883670] Probed with size=524288 and score=52
[mpeg @ 0x1883670] probing stream 0
    Last message repeated 16 times
[mpeg @ 0x1883670] Probe with size=34649, packets=17 detected mpegvideo with
score=51
[mpeg @ 0x1883670] probed stream 0
[mpeg1video @ 0x1884820] aspect ratio has forbidden 0 value
    Last message repeated 1 times
Input #0, mpeg, from 'yadif-mpeg1video.mpg':
  Duration: 00:00:02.80, start: 0.500000, bitrate: 4008 kb/s
    Stream #0.0[0x1e0], 71, 1/90000: Video: mpeg1video, yuv420p, 720x576 [PAR
4:1 DAR 5:1], 1/25, 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0.1[0x1c0], 79, 1/90000: Audio: mp2, 32000 Hz, 2 channels, s16, 64 
kb/s
[mpeg1video @ 0x1884820] aspect ratio has forbidden 0 value
[mpeg1video @ 0x1884820] vbv buffer: 49152, bitrate:104857200
[mpeg1video @ 0x1884820] aspect ratio has forbidden 0 value
[mpeg1video @ 0x1884820] vbv buffer: 49152, bitrate:104857200
[mpeg1video @ 0x1884820] GOP ( 0:00:00.[00]) closed_gop=0 broken_link=0
[mpeg1video @ 0x1884820] vbv_delay 65535, ref 0 type:1
[mpeg1video @ 0x1884820] qp:6 fc: 0 0 0 0 I ps pf   dc:0 pstruct:3 fdct:1 cmv:0
qtype:0 ivlc:0 rff:0 

...repeating messages...

Also occurs when output container is mkv.

----------
messages: 12122
nosy: FakeOutdoorsman
priority: normal
status: new
substatus: new
title: aspect ratio has forbidden 0 value with mpeg1video output using yadif
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2269>
________________________________________________

Reply via email to