Opened 11 years ago

Closed 11 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 by Carl Eugen Hoyos, 11 years ago

Keywords: rawvideo added; rawenc vpx removed
Priority: normalwish

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 by pquiring, 11 years ago

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.

in reply to:  2 comment:3 by Carl Eugen Hoyos, 11 years ago

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 by pquiring, 11 years ago

Ok, disregard then, thanks.

comment:5 by compn, 11 years ago

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 by Carl Eugen Hoyos, 11 years ago

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.