Opened 5 years ago

Closed 5 years ago

#3183 closed enhancement (wontfix)

Request : add "vp8" to libavformat/rawenc.c

Reported by: pquiring Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: rawvideo vp8 vp9
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Please add an entry to libavformat/rawenc.c for VP8 (VP9/ VPX?).

Thanks.

Change History (6)

comment:1 Changed 5 years ago by cehoyos

  • Keywords rawvideo added; rawenc vpx removed
  • Priority changed from normal to wish

Isn't the extension for raw VP8 and raw VP9 ivf?

Do you have any samples for the raw file type you mean?

comment:2 follow-up: Changed 5 years ago by pquiring

IVF is a container format, I need a raw format.

I'm using vp8 to encode/decode video on the fly (VoIP softphone) so there is no file type to refer to.

RFC is still in draft : http://tools.ietf.org/html/draft-ietf-payload-vp8-10

Here is what I think should be added to libavformat/rawenc.c:

#if CONFIG_VPX_MUXER
AVOutputFormat ff_vpx_muxer = {

.name = "vpx",
.long_name = NULL_IF_CONFIG_SMALL("raw vpx"),
.extensions = "vpx",
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_VP8,
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,

};
#endif

Something to that effect.
If not possible, that's okay. I just register a new AVOutputFormat myself for now and it works.

comment:3 in reply to: ↑ 2 Changed 5 years ago by cehoyos

Replying to pquiring:

IVF is a container format, I need a raw format.

Yes, of course.

Is there an application that would be able to decode such raw files? (Which application?)
If not, it is probably a bad idea to allow writing such files.

comment:4 Changed 5 years ago by pquiring

Ok, disregard then, thanks.

comment:5 Changed 5 years ago by compn

if this is required for some voip softphone project, it can be added.
just we dont want to add it now, until we know what needs to be done properly.

comment:6 Changed 5 years ago by cehoyos

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

Please consider sending your patch to the ffmpeg-devel mailing list where more people can comment.

Note: See TracTickets for help on using tickets.