Opened 5 years ago

Closed 5 years ago

#3306 closed enhancement (fixed)

avformat cannot mux HEVC into MP4 container, but MOV works

Reported by: thebombzen Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: hevc mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
FFmpeg does not support Muxing HEVC into either Matroska or MP4. However, it does work in the MOV muxer. MP4Box/gpac does support muxing HEVC into an MP4 container, and FFmpeg can read files muxed by MP4Box/gpac with HEVC, so an MP4 container does support HEVC. FFmpeg can also read MOV containers with HEVC streams that are muxed by FFmpeg. Matroska supports everything (in theory) so this should also work.

How to reproduce:

This works fine:

ffmpeg -f hevc -r 60 -i bbb3d_sunflower_video.hevc -c copy video.mov

This does not work:

ffmpeg -f hevc -r 60 -i bbb3d_sunflower_video.hevc -c copy video.mp4

and neither does this:

ffmpeg -f hevc -r 60 -i bbb3d_sunflower_video.hevc -c copy video.mkv

These return

[mp4 @ 0x107d6a0] Could not find tag for codec hevc in stream #0, codec not currently supported in container

and

[matroska @ 0x12fb6a0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument

The raw HEVC streams were encoded using x265.

Attachments (2)

bbb3d_sunflower_video.hevc (103.0 KB) - added by thebombzen 5 years ago.
A 1-second sample HEVC file to mux
out.mp4 (104.4 KB) - added by thebombzen 5 years ago.
A valid MP4 file: FFmpeg can read it, but can't create one like it

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by thebombzen

A 1-second sample HEVC file to mux

comment:1 Changed 5 years ago by cehoyos

  • Keywords mp4 matroska muxer removed
  • Priority changed from normal to wish
  • Type changed from defect to enhancement

Please add a failing FFmpeg command line together with the complete, uncut console output to make this a valid ticket and please point us to the specification.

And please remember to report one issue per ticket, it makes following tickets impossible if you report more than one problem.

Changed 5 years ago by thebombzen

A valid MP4 file: FFmpeg can read it, but can't create one like it

comment:2 Changed 5 years ago by thebombzen

  • Summary changed from avformat cannot mux HEVC into MP4 or MKV container, but MOV works to avformat cannot mux HEVC into MP4 container, but MOV works
ffmpeg -v 99 -f hevc -r 60 -i bbb3d_sunflower_video.hevc -c copy out.mp4

returns

ffmpeg version N-59883-g949adce Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 15 2014 11:37:56 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
  configuration: 
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 48.101 / 55. 48.101
  libavformat    55. 23.103 / 55. 23.103
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '99'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'hevc'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '60'.
Reading option '-i' ... matched as input file with argument 'bbb3d_sunflower_video.hevc'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option 'out.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file bbb3d_sunflower_video.hevc.
Applying option f (force format) with argument hevc.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 60.
Successfully parsed a group of options.
Opening an input file: bbb3d_sunflower_video.hevc.
[hevc @ 0x317b940] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[hevc @ 0x3184a60] Decoding VPS
[hevc @ 0x3184a60] Main profile bitstream
[hevc @ 0x3184a60] Decoding SPS
[hevc @ 0x3184a60] Main profile bitstream
[hevc @ 0x3184a60] Decoding PPS
[hevc @ 0x3184a60] nal_unit_type: 32, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] nal_unit_type: 33, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] nal_unit_type: 34, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] nal_unit_type: 19, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] nal_unit_type: 32, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] Decoding VPS
[hevc @ 0x3184a60] Main profile bitstream
[hevc @ 0x3184a60] nal_unit_type: 33, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] Decoding SPS
[hevc @ 0x3184a60] Main profile bitstream
[hevc @ 0x3184a60] nal_unit_type: 34, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] Decoding PPS
[hevc @ 0x3184a60] nal_unit_type: 19, nuh_layer_id: 0temporal_id: 0
[hevc @ 0x3184a60] Decoded frame with POC 0.
[hevc @ 0x317b940] After avformat_find_stream_info() pos: 105487 bytes read:105487 seeks:0 frames:60
Input #0, hevc, from 'bbb3d_sunflower_video.hevc':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 60, 1/1200000: Video: hevc (Main), yuv420p(tv), 1920x1080, 1/60, 60 fps, 60 tbr, 1200k tbn, 60 tbc
Successfully opened the file.
Parsing a group of options: output file out.mp4.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: out.mp4.
Successfully opened the file.
[mp4 @ 0x32994e0] Could not find tag for codec hevc in stream #0, codec not currently supported in container
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf55.23.103
    Stream #0:0, 0, 1/90000: Video: hevc, yuv420p, 1920x1080, 1/60, q=2-31, 60 fps, 90k tbn, 60 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[AVIOContext @ 0x318c420] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x3184300] Statistics: 105487 bytes read, 0 seeks

However, if I add it to an MP4 container with MP4Box via:

MP4Box -add "bbb3d_sunflower_video.hevc:fps=60" out.mp4

I can then read it with

ffmpeg -i out.mp4 out.y4m

and the output is:

ffmpeg version N-59883-g949adce Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 15 2014 11:37:56 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
  configuration: 
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 48.101 / 55. 48.101
  libavformat    55. 23.103 / 55. 23.103
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'out.mp4'.
Reading option 'out.y4m' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file out.mp4.
Successfully parsed a group of options.
Opening an input file: out.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x19d6900] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x19d6900] ISO: File Type Major Brand: iso4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x19d6900] Before avformat_find_stream_info() pos: 106906 bytes read:32828 seeks:1
[hevc @ 0x19d80e0] nal_unit_type: 32, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d80e0] Decoding VPS
[hevc @ 0x19d80e0] Main profile bitstream
[hevc @ 0x19d80e0] nal_unit_type: 33, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d80e0] Decoding SPS
[hevc @ 0x19d80e0] Main profile bitstream
[hevc @ 0x19d80e0] nal_unit_type: 34, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d80e0] Decoding PPS
[hevc @ 0x19d80e0] nal_unit_type: 19, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d80e0] Decoded frame with POC 0.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x19d6900] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x19d6900] After avformat_find_stream_info() pos: 2262 bytes read:65596 seeks:2 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : iso4
    minor_version   : 1
    compatible_brands: iso4hvc1
    creation_time   : 2014-01-15 17:42:58
  Duration: 00:00:01.00, start: 0.033333, bitrate: 855 kb/s
    Stream #0:0(und), 1, 1/60000: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 1920x1080, 1/60000, 843 kb/s, 60 fps, 60 tbr, 60k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2014-01-15 17:42:58
      handler_name    : hevc:fps=60@GPAC0.5.1-DEV-rev4985M
Successfully opened the file.
Parsing a group of options: output file out.y4m.
Successfully parsed a group of options.
Opening an output file: out.y4m.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'time_base' to value '1/60000'
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x19cf100] Setting 'frame_rate' to value '60/1'
[graph 0 input from stream 0:0 @ 0x19cf100] w:1920 h:1080 pixfmt:yuv420p tb:1/60000 fr:60/1 sar:0/1 sws_param:flags=2
[AVFilterGraph @ 0x19cefe0] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed
[hevc @ 0x19d4bc0] nal_unit_type: 32, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Decoding VPS
[hevc @ 0x19d4bc0] Main profile bitstream
[hevc @ 0x19d4bc0] nal_unit_type: 33, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Decoding SPS
[hevc @ 0x19d4bc0] Main profile bitstream
[hevc @ 0x19d4bc0] nal_unit_type: 34, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Decoding PPS
Output #0, yuv4mpegpipe, to 'out.y4m':
  Metadata:
    major_brand     : iso4
    minor_version   : 1
    compatible_brands: iso4hvc1
    encoder         : Lavf55.23.103
    Stream #0:0(und), 0, 1/90000: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 1/60, q=2-31, 200 kb/s, 90k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2014-01-15 17:42:58
      handler_name    : hevc:fps=60@GPAC0.5.1-DEV-rev4985M
Stream mapping:
  Stream #0:0 -> #0:0 (hevc -> rawvideo)
Press [q] to stop, [?] for help
[hevc @ 0x19d4bc0] nal_unit_type: 19, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 0.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 1.
[hevc @ 0x1ad3a80] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 2.
[hevc @ 0x1add560] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 3.
[hevc @ 0x19d4bc0] Decoded frame with POC 0.
[hevc @ 0x1bc8ca0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 4.
[hevc @ 0x1bff900] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 5.
[hevc @ 0x1c365e0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 6.
[hevc @ 0x19d4bc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 7.
[hevc @ 0x19cb460] Decoded frame with POC 1.
[hevc @ 0x19cb460] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 8.
[hevc @ 0x1ac09a0] Decoded frame with POC 2.
[yuv4mpegpipe @ 0x19dc6a0] Encoder did not produce proper pts, making some up.
[hevc @ 0x1ac09a0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 9.
[hevc @ 0x1ac9fc0] Decoded frame with POC 6.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0=1493024.2kbits/s    
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 10.
[hevc @ 0x1ad3a80] Decoded frame with POC 4.
[hevc @ 0x1ad3a80] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 11.
[hevc @ 0x1add560] Decoded frame with POC 3.
[hevc @ 0x1bc8ca0] Decoded frame with POC 5.
[hevc @ 0x1add560] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 12.
[hevc @ 0x1bc8ca0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 13.
[hevc @ 0x1bff900] Decoded frame with POC 7.
[hevc @ 0x1bff900] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 14.
[hevc @ 0x1c365e0] Decoded frame with POC 8.
[hevc @ 0x1c365e0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 15.
[hevc @ 0x19d4bc0] Decoded frame with POC 9.
[hevc @ 0x19cb460] Decoded frame with POC 11.
[hevc @ 0x1ac09a0] Decoded frame with POC 10.
[hevc @ 0x1ac9fc0] Decoded frame with POC 13.
[hevc @ 0x19d4bc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 16.
[hevc @ 0x19cb460] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 17.
[hevc @ 0x1ac09a0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 18.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 19.
[hevc @ 0x1ad3a80] Decoded frame with POC 12.
[hevc @ 0x1add560] Decoded frame with POC 19.
[hevc @ 0x1bc8ca0] Decoded frame with POC 16.e=00:00:00.20 bitrate=1492997.3kbits/s    
[hevc @ 0x1ad3a80] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 20.
[hevc @ 0x1add560] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Decoded frame with POC 22.
[hevc @ 0x19d4bc0] Decoded frame with POC 17.
[hevc @ 0x1add560] Output frame with POC 21.
[hevc @ 0x19cb460] Decoded frame with POC 18.
[hevc @ 0x1bc8ca0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 22.
[hevc @ 0x1c365e0] Decoded frame with POC 15.
[hevc @ 0x1bff900] Decoded frame with POC 14.
[hevc @ 0x1ac9fc0] Decoded frame with POC 21.
[hevc @ 0x1add560] Decoded frame with POC 27.
[hevc @ 0x1ad3a80] Decoded frame with POC 20.
[hevc @ 0x1bff900] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 23.
[hevc @ 0x1c365e0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 24.
[hevc @ 0x19d4bc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 25.
[hevc @ 0x19cb460] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 26.
[hevc @ 0x1ac09a0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 27.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 28.
[hevc @ 0x1ad3a80] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 29.
[hevc @ 0x1bc8ca0] Decoded frame with POC 25.
[hevc @ 0x19d4bc0] Decoded frame with POC 26.
[hevc @ 0x1add560] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 30.
[hevc @ 0x1bc8ca0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 31.
[hevc @ 0x1bff900] Decoded frame with POC 23.
[hevc @ 0x1c365e0] Decoded frame with POC 24.
[hevc @ 0x19cb460] Decoded frame with POC 28.
[hevc @ 0x1ac09a0] Decoded frame with POC 32.
[hevc @ 0x1bff900] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 32.
[hevc @ 0x1bc8ca0] Decoded frame with POC 37.
[hevc @ 0x1add560] Decoded frame with POC 31.
[hevc @ 0x1bff900] Decoded frame with POC 35.e=00:00:00.41 bitrate=1492994.8kbits/s    
[hevc @ 0x1ad3a80] Decoded frame with POC 29.
[hevc @ 0x1ac9fc0] Decoded frame with POC 30.
[hevc @ 0x1c365e0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 33.
[hevc @ 0x19d4bc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 34.
[hevc @ 0x19cb460] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 35.
[hevc @ 0x1ac09a0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 36.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 37.
[hevc @ 0x1c365e0] Decoded frame with POC 33.
[hevc @ 0x19d4bc0] Decoded frame with POC 34.
[hevc @ 0x1ad3a80] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 38.
[hevc @ 0x1add560] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 39.
[hevc @ 0x19cb460] Decoded frame with POC 36.
[hevc @ 0x1ac09a0] Decoded frame with POC 38.
[hevc @ 0x1bc8ca0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 40.
[hevc @ 0x1ac9fc0] Decoded frame with POC 42.
[hevc @ 0x1bff900] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 41.
[hevc @ 0x1c365e0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 42.
[hevc @ 0x19d4bc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 43.
[hevc @ 0x1bff900] Decoded frame with POC 47.
[hevc @ 0x19cb460] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 44.
[hevc @ 0x1c365e0] Decoded frame with POC 45.
[hevc @ 0x1ac09a0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 45.
[hevc @ 0x1ac9fc0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0=1492996.4kbits/s    
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 46.
[hevc @ 0x19d4bc0] Decoded frame with POC 43.
[hevc @ 0x1ac09a0] Decoded frame with POC 46.
[hevc @ 0x1ac9fc0] Decoded frame with POC 52.
[hevc @ 0x19cb460] Decoded frame with POC 44.
[hevc @ 0x1ad3a80] Decoded frame with POC 40.
[hevc @ 0x1bc8ca0] Decoded frame with POC 41.
[hevc @ 0x1add560] Decoded frame with POC 39.
[hevc @ 0x1ad3a80] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 47.
[hevc @ 0x1add560] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 48.
[hevc @ 0x1bc8ca0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bc8ca0] Output frame with POC 49.
[hevc @ 0x1bff900] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1bff900] Output frame with POC 50.
[hevc @ 0x1c365e0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1c365e0] Output frame with POC 51.
[hevc @ 0x19d4bc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19d4bc0] Output frame with POC 52.
[hevc @ 0x19cb460] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x19cb460] Output frame with POC 53.
[hevc @ 0x1ad3a80] Decoded frame with POC 50.
[hevc @ 0x1ac09a0] nal_unit_type: 1, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac09a0] Output frame with POC 54.
[hevc @ 0x1c365e0] Decoded frame with POC 54.
[hevc @ 0x1add560] Decoded frame with POC 48.
[hevc @ 0x19d4bc0] Decoded frame with POC 53.
[hevc @ 0x19cb460] Decoded frame with POC 59.
[hevc @ 0x1bc8ca0] Decoded frame with POC 49.
[hevc @ 0x1ac09a0] Decoded frame with POC 57.
[hevc @ 0x1ac9fc0] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1ac9fc0] Output frame with POC 55.
[hevc @ 0x1bff900] Decoded frame with POC 51.
[hevc @ 0x1ac9fc0] Decoded frame with POC 55.
[hevc @ 0x1ad3a80] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0=1492995.5kbits/s    
    Last message repeated 1 times
[hevc @ 0x1ad3a80] Output frame with POC 56.
[hevc @ 0x1ad3a80] Decoded frame with POC 56.
[hevc @ 0x1add560] nal_unit_type: 0, nuh_layer_id: 0temporal_id: 0
    Last message repeated 1 times
[hevc @ 0x1add560] Output frame with POC 57.
[hevc @ 0x1bc8ca0] Output frame with POC 58.
[hevc @ 0x1bff900] Output frame with POC 59.
[hevc @ 0x1add560] Decoded frame with POC 58.
[output stream 0:0 @ 0x19d67e0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.=-577014:-32:-22.-77 bitrate=N/A    
frame=   60 fps= 16 q=0.0 Lsize=  182250kB time=00:00:01.00 bitrate=1492995.4kbits/s    
video:6kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3239907.291667%
70 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x19dee20] Statistics: 0 seeks, 5700 writeouts
[AVIOContext @ 0x19defc0] Statistics: 138303 bytes read, 2 seeks

comment:3 Changed 5 years ago by cehoyos

I was unable to find hevc on http://www.mp4ra.org/codecs.html
Are you sure hevc is defined in isom?

comment:4 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

I believe this was implemented by Tim Walker.

Note: See TracTickets for help on using tickets.