Opened 5 years ago

Closed 2 years ago

#3263 closed defect (fixed)

Matroska rawvideo regression

Reported by: cehoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mkv regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/49586
Related to ticket #252
Regression since df39c3ce

$ ffmpeg -i tests/lena.pnm -vcodec rawvideo out.mkv
ffmpeg version N-59481-ge3868cc Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  2 2014 10:21:35 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf55.22.102
    Stream #0:0: Video: rawvideo, rgb24, 256x256, q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ppm -> rawvideo)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=     193kB time=00:00:00.04 bitrate=39436.2kbits/s
video:192kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.291443%
$ ffmpeg -i out.mkv
ffmpeg version N-59481-ge3868cc Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  2 2014 10:21:35 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 59.100 / 52. 59.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[rawvideo @ 0x27822a0] Invalid pixel format.
[matroska,webm @ 0x2781100] Failed to open codec in av_find_stream_info
[rawvideo @ 0x27822a0] Invalid pixel format.
Input #0, matroska,webm, from 'out.mkv':
  Metadata:
    ENCODER         : Lavf55.22.102
  Duration: 00:00:00.04, start: 0.000000, bitrate: 39436 kb/s
    Stream #0:0: Video: rawvideo, 256x256, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
At least one output file must be specified

Change History (2)

comment:1 Changed 5 years ago by cehoyos

mosu informed me that rawvideo-in-mkv is not widely used and that even the "working" pix_fmts (yuv420p, uyvy and yuyv) do not necessarily play in other software - they play with GStreamer though.

comment:2 Changed 2 years ago by cehoyos

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

This was - at least to some degree - fixed in 7d60baa8 (2.6).

Note: See TracTickets for help on using tickets.