[FFmpeg-trac] #4266(avformat:new): FFM container now needs codec even with stream copy

FFmpeg trac at avcodec.org
Mon Feb 16 15:35:23 CET 2015

#4266: FFM container now needs codec even with stream copy
             Reporter:  biskitt     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by biskitt):

 Replying to [comment:1 mastered]:
 > Does return 0; instead of return AVERROR(EINVAL); fixes the problem?
 > An option to skip private options could be added to fix it in some
 reasonable manner.

 I just tested you "return 0" on the 2.5.4 source, built with the same
 command line (without the encoder): it seems to work perfectly fine. I
 have my output file and I can re-use it, change its format, decode it, and
 other things.

 I think it would be better to have an option in include private options,
 instead of an option to skip private options: more consistent with other
 the format container that do not need an encoder. But I might be missing

Ticket URL: <https://trac.ffmpeg.org/ticket/4266#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list