[FFmpeg-user] Issue when encoding a MP4 video

Léonce ANDRIANJAFY radoherve at gmail.com
Wed Jul 12 17:21:07 EEST 2017


Here is the complete output of the command:

ffmpeg version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2000-2014 the Libav
developers
  built on Jan 19 2017 11:13:36 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be
removed
in a future release. It has been deprecated in the Libav project to allow
for
incompatible command line syntax improvements in its replacement called
avconv
(see Changelog for details). Please use avconv instead.
[libspeex @ 0x646260] Missing Speex header, assuming defaults.

Seems stream 0 codec frame rate differs from container frame rate: 40.00
(40/1) -> 1000.00 (1000/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1281904405.mp4':
  Metadata:
    major_brand     : f4v
    minor_version   : 0
    compatible_brands: isommp42m4v
    creation_time   : 2016-11-24 09:18:54
  Duration: 00:01:35.92, start: 0.000000, bitrate: 186 kb/s
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 640x480 [PAR 1:1 DAR
4:3], 165 kb/s, 19.60 fps, 1k tbr, 90k tbn, 40 tbc
    Metadata:
      creation_time   : 2016-11-24 09:18:54
    Stream #0.1(eng): Audio: libspeex, 16000 Hz, 1 channels, s16, 18 kb/s
    Metadata:
      creation_time   : 2016-11-24 09:18:54
[libspeex @ 0x646260] Missing Speex header, assuming defaults.
Output #0, mp4, to '1281904405_aac.mp4':
  Metadata:
    major_brand     : f4v
    minor_version   : 0
    compatible_brands: isommp42m4v
    creation_time   : 2016-11-24 09:18:54
    encoder         : Lavf53.21.1
    Stream #0.0(eng): Video: libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3],
q=2-31, 165 kb/s, 20 tbn, 20 tbc
    Metadata:
      creation_time   : 2016-11-24 09:18:54
    Stream #0.1(eng): Audio: libvo_aacenc, 16000 Hz, 1 channels, s16, 32
kb/s
    Metadata:
      creation_time   : 2016-11-24 09:18:54
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[mp4 @ 0x646be0] Application provided invalid, non monotonically increasing
dts to muxer in stream 0: 16 >= 16
av_interleaved_write_frame(): Invalid argument

Regards,

2017-07-12 16:16 GMT+03:00 Cley Faye <cleyfaye at gmail.com>:

> 2017-07-12 14:39 GMT+02:00 Léonce ANDRIANJAFY <radoherve at gmail.com>:
>
> > Hello,
> > I try to convert a MP4 video with a libspeex audio codec to an another
> one
> > but with an aac audio codec. In other words, I would like to only get the
> > audio stream re-encoded
> >
> > I launch the command below:
> > *ffmpeg -i 1281904405.mp4 -vcodec copy -acodec libvo_aacenc -ab 32k
> > 1281904405_aac.mp4*
> >
> > But still I got this error:
> > *[mp4 @ 0x646be0] Application provided invalid, non monotonically
> > increasing dts to muxer in stream 0: 16 >= 16*
> > *av_interleaved_write_frame(): Invalid argument*
> >
> > Could you help me please?
> >
>
> ​You should post the complete output of ffmpeg.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".




-- 

*Léonce ANDRIANJAFY*


More information about the ffmpeg-user mailing list