[FFmpeg-trac] #137(avformat:open): Encoding image only movie failure

FFmpeg trac at avcodec.org
Mon May 16 14:54:41 CEST 2011


#137: Encoding image only movie failure
----------------------------------+-----------------------
Reporter:  jogga                  |       Owner:  michael
    Type:  defect                 |      Status:  open
Priority:  normal                 |   Component:  avformat
 Version:  git-master             |  Resolution:
Keywords:  encoding, png, ffmpeg  |  Blocked By:
Blocking:                         |  Reproduced:  1
Analyzed:  0                      |
----------------------------------+-----------------------

Comment (by jogga):

 More info from git show


 commit 91360ce61d00bb20429fb41857abebf50a5c6b1d
 Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
 Date:   Tue Nov 23 00:41:28 2010 +0000

     Unset variable fps for mov and mp4 muxer, they support it
     but timestamps must start at 0 currently, and this causes sync
     problem.

     Originally committed as revision 25805 to
 svn://svn.ffmpeg.org/ffmpeg/trunk

 diff --git a/libavformat/movenc.c b/libavformat/movenc.c
 index 77f122b..b1ad714 100644
 --- a/libavformat/movenc.c
 +++ b/libavformat/movenc.c
 @@ -2215,7 +2215,7 @@ AVOutputFormat mov_muxer = {
      mov_write_header,
      ff_mov_write_packet,
      mov_write_trailer,
 -    .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
 +    .flags = AVFMT_GLOBALHEADER,
      .codec_tag = (const AVCodecTag* const []){codec_movvideo_tags,
 codec_movaud
  };
  #endif

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/137#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list