Changes between Initial Version and Version 3 of Ticket #7038


Ignore:
Timestamp:
Feb 23, 2018, 1:04:03 AM (9 years ago)
Author:
James
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7038 – Description

    initial v3  
    11{{{
    2 valgrind --track-origins=yes --leak-check=full ./ffmpeg -i $FATE_SAMPLES/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c:v copy out.mov
     2[jamrial@ArchVM build]$ valgrind --track-origins=yes --leak-check=full ./ffmpeg -i /var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c:v copy out.mov
     3==27390== Memcheck, a memory error detector
     4==27390== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
     5==27390== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
     6==27390== Command: ./ffmpeg -i /var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c:v copy out.mov
     7==27390==
     8ffmpeg version N-90141-gaedbb3c72c Copyright (c) 2000-2018 the FFmpeg developers
     9  built with gcc 7.3.0 (GCC)
     10  configuration: --enable-gpl --valgrind=valgrind --disable-optimizations --disable-stripping --prefix=/usr
     11  libavutil      56.  7.101 / 56.  7.101
     12  libavcodec     58. 12.102 / 58. 12.102
     13  libavformat    58.  9.100 / 58.  9.100
     14  libavdevice    58.  2.100 / 58.  2.100
     15  libavfilter     7. 12.100 /  7. 12.100
     16  libswscale      5.  0.101 /  5.  0.101
     17  libswresample   3.  0.101 /  3.  0.101
     18  libpostproc    55.  0.100 / 55.  0.100
     19[hevc @ 0x6c01c00] missing picture in access unit
     20==27390==    at 0x1569AAE: VALGRIND_PRINTF_BACKTRACE (valgrind.h:6303)
     21==27390==    by 0x156A697: av_log_default_callback (log.c:351)
     22==27390==    by 0x156A861: av_vlog (log.c:377)
     23==27390==    by 0x156A809: av_log (log.c:369)
     24==27390==    by 0x1212F8E: parse_nal_units (hevc_parser.c:242)
     25==27390==    by 0x1213211: hevc_parse (hevc_parser.c:316)
     26==27390==    by 0xA5A7A2: av_parser_parse2 (parser.c:250)
     27==27390==    by 0x68CB76: parse_packet (utils.c:1451)
     28==27390==    by 0x68D20A: read_frame_internal (utils.c:1562)
     29==27390==    by 0x694E76: avformat_find_stream_info (utils.c:3733)
     30==27390==    by 0x1E9691: open_input_file (ffmpeg_opt.c:1091)
     31==27390==    by 0x1F31AA: open_files (ffmpeg_opt.c:3202)
     32Input #0, hevc, from '/var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit':
     33  Duration: N/A, bitrate: N/A
     34    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 416x240, 25 fps, 25 tbr, 1200k tbn, 25 tbc
     35[mov @ 0x6d26f80] WARNING codec timebase is very high. If duration is too long,
     36file may not be playable by quicktime. Specify a shorter timebase
     37or choose different container.
     38Output #0, mov, to 'out.mov':
     39  Metadata:
     40    encoder         : Lavf58.9.100
     41    Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 416x240, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
     42Stream mapping:
     43  Stream #0:0 -> #0:0 (copy)
     44Press [q] to stop, [?] for help
     45[mov @ 0x6d26f80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
     46[mov @ 0x6d26f80] pts has no value
     47    Last message repeated 47 times
     48==27390==    at 0x1569AAE: VALGRIND_PRINTF_BACKTRACE (valgrind.h:6303)
     49==27390==    by 0x156A697: av_log_default_callback (log.c:351)
     50==27390==    by 0x156A861: av_vlog (log.c:377)
     51==27390==    by 0x156A809: av_log (log.c:369)
     52==27390==    by 0x20060D: term_exit (ffmpeg.c:323)
     53==27390==    by 0x2122EA: transcode (ffmpeg.c:4662)
     54==27390==    by 0x212AC0: main (ffmpeg.c:4843)
     55==27390== Conditional jump or move depends on uninitialised value(s)
     56==27390==    at 0x6CA7B1: av_clip_c (common.h:132)
     57==27390==    by 0x6CA7B1: skip_bits_long (get_bits.h:209)
     58==27390==    by 0x6CAD66: get_ue_golomb_long (golomb.h:91)
     59==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
     60==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     61==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     62==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     63==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     64==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     65==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     66==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     67==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     68==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     69==27390==  Uninitialised value was created by a heap allocation
     70==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     71==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     72==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     73==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     74==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     75==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     76==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     77==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     78==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     79==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     80==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     81==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     82==27390==
     83==27390== Conditional jump or move depends on uninitialised value(s)
     84==27390==    at 0x6CA7BE: av_clip_c (common.h:133)
     85==27390==    by 0x6CA7BE: skip_bits_long (get_bits.h:209)
     86==27390==    by 0x6CAD66: get_ue_golomb_long (golomb.h:91)
     87==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
     88==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     89==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     90==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     91==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     92==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     93==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     94==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     95==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     96==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     97==27390==  Uninitialised value was created by a heap allocation
     98==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     99==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     100==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     101==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     102==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     103==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     104==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     105==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     106==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     107==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     108==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     109==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     110==27390==
     111==27390== Conditional jump or move depends on uninitialised value(s)
     112==27390==    at 0x6CA9EE: get_bits_long (get_bits.h:349)
     113==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
     114==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
     115==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     116==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     117==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     118==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     119==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     120==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     121==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     122==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     123==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     124==27390==  Uninitialised value was created by a heap allocation
     125==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     126==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     127==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     128==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     129==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     130==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     131==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     132==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     133==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     134==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     135==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     136==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     137==27390==
     138==27390== Conditional jump or move depends on uninitialised value(s)
     139==27390==    at 0x6CA9FB: get_bits_long (get_bits.h:351)
     140==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
     141==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
     142==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     143==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     144==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     145==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     146==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     147==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     148==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     149==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     150==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     151==27390==  Uninitialised value was created by a heap allocation
     152==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     153==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     154==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     155==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     156==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     157==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     158==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     159==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     160==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     161==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     162==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     163==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     164==27390==
     165==27390== Use of uninitialised value of size 8
     166==27390==    at 0x6CA80A: get_bits (get_bits.h:266)
     167==27390==    by 0x6CAA0D: get_bits_long (get_bits.h:352)
     168==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
     169==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
     170==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     171==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     172==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     173==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     174==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     175==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     176==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     177==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     178==27390==  Uninitialised value was created by a heap allocation
     179==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     180==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     181==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     182==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     183==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     184==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     185==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     186==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     187==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     188==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     189==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     190==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
     191==27390==
     192==27390== Use of uninitialised value of size 8
     193==27390==    at 0x6CA80A: get_bits (get_bits.h:266)
     194==27390==    by 0x6CAA20: get_bits_long (get_bits.h:358)
     195==27390==    by 0x6CAB16: show_bits_long (get_bits.h:403)
     196==27390==    by 0x6CAD43: get_ue_golomb_long (golomb.h:89)
     197==27390==    by 0x6CB364: hvcc_parse_vui (hevc.c:316)
     198==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
     199==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
     200==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     201==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     202==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     203==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     204==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     205==27390==  Uninitialised value was created by a heap allocation
     206==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
     207==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
     208==27390==    by 0x156D1A1: av_malloc (mem.c:87)
     209==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
     210==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
     211==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
     212==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
     213==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
     214==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
     215==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
     216==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
     217==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
    3218}}}
    4 
    5 The above will report a lot of such errors in different functions from libavformat/hevc.c