Opened 10 months ago

Closed 2 months ago

Last modified 2 months ago

#7147 closed defect (invalid)

Can't encode with libvorbis to buffer (avio)

Reported by: lzanoni Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I've taken the avio_writing.c sample found here:
https://ffmpeg.org/pipermail/ffmpeg-devel/2014-November/164996.html

With .mp3 file as input, I get the same result as output, but with an libvorbis ogg (ffapi.ogg) file as input, I get a completely bogus output file (remux.ogg).

Is there an update to the avio 'buffering' sample code ?

Attachments (2)

ffapi.ogg (6.2 KB) - added by lzanoni 10 months ago.
input file
remux.ogg (8.0 KB) - added by lzanoni 10 months ago.
corrupted output file

Download all attachments as: .zip

Change History (6)

Changed 10 months ago by lzanoni

input file

comment:1 Changed 10 months ago by lzanoni

  • Version changed from 3.4 to git-master

comment:2 Changed 10 months ago by lzanoni

I replaced the line

ret = avformat_alloc_output_context2(&ofmt_ctx, NULL, "mpegts", NULL);

by

ret = avformat_alloc_output_context2(&ofmt_ctx, NULL, "ogg", NULL);

Changed 10 months ago by lzanoni

corrupted output file

comment:3 Changed 2 months ago by richardpl

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

For this and similar questions use libav-user mailing list.

comment:4 Changed 2 months ago by cehoyos

  • Component changed from avformat to undetermined
  • Keywords ogg streaming removed
Note: See TracTickets for help on using tickets.