#7147 closed defect (invalid)
Can't encode with libvorbis to buffer (avio)
| Reported by: | Laurent Zanoni | 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)
Change History (6)
by , 8 years ago
comment:1 by , 8 years ago
| Version: | 3.4 → git-master |
|---|
comment:2 by , 8 years ago
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);
comment:3 by , 8 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
For this and similar questions use libav-user mailing list.
comment:4 by , 8 years ago
| Component: | avformat → undetermined |
|---|---|
| Keywords: | ogg streaming removed |
Note:
See TracTickets
for help on using tickets.



input file