Opened 11 years ago

Closed 11 years ago

#1989 closed defect (fixed)

Seeking in rawvideo in ffplay messes up vertical alignment

Reported by: Tomas Härdin Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: rawvideo seek
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

If you play rawvideo in ffplay and click around the image will move vertically. Tested in current master (b70251c).

How to reproduce:

$ ffmpeg -i http://samples.mplayerhq.hu/DV-raw/voxnews.dv -t 1 -pix_fmt rgb24 -f rawvideo -y out.rgb24 
ffmpeg version N-47425-gb70251c Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec  4 2012 12:59:40 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-nonfree --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libfdk-aac --enable-x11grab
  libavutil      52. 11.101 / 52. 11.101
  libavcodec     54. 79.100 / 54. 79.100
  libavformat    54. 44.100 / 54. 44.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 24.100 /  3. 24.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[dv @ 0x2a20240] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'http://samples.mplayerhq.hu/DV-raw/voxnews.dv':
  Metadata:
    timecode        : 00:00:00:00
  Duration: 00:01:00.00, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, rawvideo, to 'out.rgb24':
  Metadata:
    timecode        : 00:00:00:00
    encoder         : Lavf54.44.100
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> rawvideo)
Press [q] to stop, [?] for help
frame=   25 fps=2.7 q=0.0 Lsize=   30375kB time=00:00:01.00 bitrate=248832.0kbits/s    
video:30375kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%

Then run ffplay and click around:

$ ffplay -f rawvideo -s 720x576 -pix_fmt rgb24 out.rgb24

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: seek added; seeking removed
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Not a regression, horizontal shifts are also possible;-)

Not reproducible with time-seeking, but seeking with the mouse also breaks later time-seeking.

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

Fixed by Paul B Mahol.

Note: See TracTickets for help on using tickets.