[FFmpeg-trac] #7366(undetermined:new): mxf_set_audio_pts creates incorrect PTS for compressed audio

FFmpeg trac at avcodec.org
Sat Aug 18 14:32:35 EEST 2018


#7366: mxf_set_audio_pts creates incorrect PTS for compressed audio
-------------------------------------+-------------------------------------
             Reporter:  go4shoe      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  mxf          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by go4shoe):

 Command line: ffmpeg -i AVC_AAC.mxf AVC_AAC.mp4

 Console output:

 y:\bugs>ffmpeg_g.exe -i AVC_AAC.mxf AVC_AAC.mp4
 ffmpeg version N-85950-g8ef2c79 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629
 for x86
   configuration: --optflags=-Od --disable-asm --disable-yasm --arch=i386
 --disable-avdevice --disable-ffserver --disable-doc --enable-static
 --disable-bzlib --disable-libopenjpeg --disable-iconv --dis
 able-zlib --prefix=/c/ffmpeg --toolchain=msvc
   libavutil      55. 61.100 / 55. 61.100
   libavcodec     57. 94.101 / 57. 94.101
   libavformat    57. 72.101 / 57. 72.101
   libavfilter     6. 88.100 /  6. 88.100
   libswscale      4.  7.101 /  4.  7.101
   libswresample   2.  8.100 /  2.  8.100
 [aac @ 0040B4B0] Multiple frames in a packet.
 Input #0, mxf, from 'AVC_AAC.mxf':
   Metadata:
     uid             : 6b18ead6-cf32-1440-9d51-faaae544a9b0
     generation_uid  : 27516c27-70cd-134f-85bf-1a05bb1e4666
     company_name    : Telestream, LLC
     product_name    : Telestream Media Framework - Local
     product_version : 99.99.999999
     modification_date: 2018-08-18T06:15:56.000000Z
     product_uid     : 11350ec5-148a-1010-aaca-d2c1000f040a
     material_package_umid:
 0x060A2B340101010501010D1213000000BC1C85B7AB1F194A8EBF42FFCD0077DE
     timecode        : 00:00:00:00
   Duration: 00:00:37.27, start: 0.000000, bitrate: 850 kb/s
     Stream #0:0: Video: h264 (Main), yuv420p(tv, smpte170m, progressive),
 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 60k tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D1213000000E1BE093CFF5A1A47AC54CFC171237109
     Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D1213000000E1BE093CFF5A1A47AC54CFC171237109

 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1024,
 current: 8; changing to 1025. This may result in incorrect timestamps in
 the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1032,
 current: 16; changing to 1033. This may result in incorrect timestamps in
 the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1033,
 current: 20; changing to 1034. This may result in incorrect timestamps in
 the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1044,
 current: 140; changing to 1045. This may result in incorrect timestamps in
 the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1045,
 current: 205; changing to 1046. This may result in incorrect timestamps in
 the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1229,
 current: 336; changing to 1230. This may result in incorrect timestamps in
 the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1230,
 current: 401; changing to 1231. This may result in incorrect timestamps in
 the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1425,
 current: 532; changing to 1426. This may result in incorrect timestamps in
 the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1556,
 current: 925; changing to 1557. This may result in incorrect timestamps in
 the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 1557,
 current: 1039; changing to 1558. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2063,
 current: 1174; changing to 2064. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2064,
 current: 1236; changing to 2065. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2260,
 current: 1369; changing to 2261. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2261,
 current: 1435; changing to 2262. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2459,
 current: 1567; changing to 2460. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2591,
 current: 1697; changing to 2592. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2592,
 current: 1759; changing to 2593. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2783,
 current: 1896; changing to 2784. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2784,
 current: 1964; changing to 2785. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2988,
 current: 2089; changing to 2989. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 2989,
 current: 2158; changing to 2990. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3182,
 current: 2283; changing to 3183. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3183,
 current: 2359; changing to 3184. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3383,
 current: 2482; changing to 3384. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3506,
 current: 2616; changing to 3507. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3507,
 current: 2682; changing to 3508. This may result in incorrect timestamps
 in the output file.
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3706,
 current: 2814; changing to 3707. This may result in incorrect timestamps
 in the output file.
 [aac @ 03C1FEC0] Queue input is backward in time
 [mp4 @ 03B30460] Non-monotonous DTS in output stream 0:1; previous: 3707,
 current: 2874; changing to 3708. This may result in incorrect timestamps
 in the output file.

 [snip]

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


More information about the FFmpeg-trac mailing list