[Libav-user] how to convert mkv into mp4 with hevc video

classic Classic list List threaded Threaded
3 messages Options
qw
Reply | Threaded
Open this post in threaded view
|

[Libav-user] how to convert mkv into mp4 with hevc video

qw
Hi,

source file link:
https://drive.google.com/open?id=0Bx1RhuOwoy_HQ3hNVlZQdmtYY28

The source mkv file is shown as follows:

ffprobe version 2.8.6 Copyright (c) 2007-2016 the FFmpeg developers
  built with icc (ICC) 14.0.2 20140120
  configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags='-I/usr/local/include -I/opt/intel/opencl/include' --extra-ldflags='-L/usr/local/lib -L/opt/intel/opencl' --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype --enable-opencl --enable-libmfx --enable-memalign-hack --enable-librtmp
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from './testQSV_HEVC.mkv':
  Metadata:
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2014-03-18 13:19:29
  Duration: 00:12:14.17, start: 0.000000, bitrate: 1048 kb/s
    Stream #0:0(eng): Video: hevc (Main), yuv420p(tv), 1720x720, SAR 1:1 DAR 43:18, 24 fps, 24 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Stream #0:2(hrv): Subtitle: subrip
    Stream #0:3(cze): Subtitle: subrip
    Stream #0:4(dan): Subtitle: subrip
    Stream #0:5(ger): Subtitle: subrip
    Stream #0:6(eng): Subtitle: subrip (default)
    Stream #0:7(spa): Subtitle: subrip
    Stream #0:8(fre): Subtitle: subrip
    Stream #0:9(gre): Subtitle: subrip
    Stream #0:10(heb): Subtitle: subrip
    Stream #0:11(hun): Subtitle: subrip
    Stream #0:12(ind): Subtitle: subrip
    Stream #0:13(ita): Subtitle: subrip
    Stream #0:14(jpn): Subtitle: subrip
    Stream #0:15(dut): Subtitle: subrip
    Stream #0:16(nor): Subtitle: subrip
    Stream #0:17(per): Subtitle: subrip
    Stream #0:18(pol): Subtitle: subrip
    Stream #0:19(por): Subtitle: subrip
    Stream #0:20(rus): Subtitle: subrip
    Stream #0:21(chi): Subtitle: subrip


I use ffmpeg command to convert mkv into mp4 with hevc video:

ffmpeg -i input_file.mkv -codec copy -flags global_header -movflags +faststart -strict -3 -f mp4 output_file.mp4

ffprobe is used to show output_file.mp4 information.

ffprobe version 2.8.6 Copyright (c) 2007-2016 the FFmpeg developers
  built with icc (ICC) 14.0.2 20140120
  configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags='-I/usr/local/include -I/opt/intel/opencl/include' --extra-ldflags='-L/usr/local/lib -L/opt/intel/opencl' --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype --enable-opencl --enable-libmfx --enable-memalign-hack --enable-librtmp
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[hevc @ 0x1d0bd20] Invalid NAL unit 0, skipping.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[hevc @ 0x1d0bd20] No start code is found.
[hevc @ 0x1d0bd20] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d0aba0] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d0aba0] Could not find codec parameters for stream 0 (Video: hevc (hev1 / 0x31766568), none, 1720x720, 597 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './testQSV_HEVC.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf56.40.101
  Duration: 00:12:14.17, start: 0.000000, bitrate: 1051 kb/s
    Stream #0:0(eng): Video: hevc (hev1 / 0x31766568), none, 1720x720, 597 kb/s, 24 fps, 24 tbr, 16k tbn, 16k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Side data:
      audio service type: main


If I use ffmpeg to try to demux and decode output mp4 file, it will fail.

[root@localhost testTrans]# ffmpeg -i ./testQSV_HEVC.mp4 -f null /dev/null
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
  built with icc (ICC) 14.0.2 20140120
  configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags='-I/usr/local/include -I/opt/intel/opencl/include' --extra-ldflags='-L/usr/local/lib -L/opt/intel/opencl' --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype --enable-opencl --enable-libmfx --enable-memalign-hack --enable-librtmp
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[hevc @ 0x1387720] Invalid NAL unit 0, skipping.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[hevc @ 0x1387720] No start code is found.
[hevc @ 0x1387720] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1386520] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1386520] Could not find codec parameters for stream 0 (Video: hevc (hev1 / 0x31766568), none, 1720x720, 597 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './testQSV_HEVC.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf56.40.101
  Duration: 00:12:14.17, start: 0.000000, bitrate: 1051 kb/s
    Stream #0:0(eng): Video: hevc (hev1 / 0x31766568), none, 1720x720, 597 kb/s, 24 fps, 24 tbr, 16k tbn, 16k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Side data:
      audio service type: main
[buffer @ 0x1389b00] Unable to parse option value "-1" as pixel format
    Last message repeated 1 times
[buffer @ 0x1389b00] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0x1386320] Error applying options to the filter.
Error opening filters!


how to convert mkv into mp4 with hevc video?

Thanks!

Regards

Andrew


 


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Lou
Reply | Threaded
Open this post in threaded view
|

Re: how to convert mkv into mp4 with hevc video

Lou
On Fri, 21 Apr 2017 18:03:35 +0800 (CST)
qw <[hidden email]> wrote:

> I use ffmpeg command to convert mkv into mp4 with hevc video:
>
> ffmpeg -i input_file.mkv -codec copy -flags global_header -movflags +faststart -strict -3 -f mp4 output_file.mp4
>
> ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
>
> how to convert mkv into mp4 with hevc video?

Wrong mailing list. libav-user is questions involving the FFmpeg libav*
libraries. Questions about using the FFmpeg cli tools (ffmpeg, ffplay,
ffprobe, ffserver) should be asked at ffmpeg-user.

Also, 2.8.6 is old and unsupported. Try using a build from the current
git master branch. See the FFmpeg download page for links to
pre-compiled binaries as an easy method to get a new ffmpeg.

http://ffmpeg.org/download.html
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: how to convert mkv into mp4 with hevc video

1540558206@qq.com
Hey, how did you solve the problem? Can you please share?