[FFmpeg-user] Converting video format issue

Mohammed Bey Ahmed Khernache mohbeyinfo at gmail.com
Mon Apr 15 14:00:52 EEST 2019


On Mon, Apr 15, 2019 at 12:39 PM Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:
> Command line and complete, uncut console output missing,
> the input sample may be useful.

Below are the outputs:
----------------------------------------------------- Converting to mp4
--------------------------------------
PS D:\tools\ffmpeg\windows\ffmpeg-20190128-1db30d6-win64-static\bin>
.\ffmpeg.exe -re -i .\AMP_E_Hisilicon_3.bit -c:v copy
.\AMP_E_Hisilicon_3.mp4
ffmpeg version N-93041-g1db30d6cec Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 46.100 / 58. 46.100
  libavformat    58. 26.100 / 58. 26.100
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, hevc, from '.\AMP_E_Hisilicon_3.bit':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080, 25 fps, 25
tbr, 1200k tbn, 25 tbc
Output #0, mp4, to '.\AMP_E_Hisilicon_3.mp4':
  Metadata:
    encoder         : Lavf58.26.100
    Stream #0:0: Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv),
1920x1080, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 00000233134b4480] 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
[mp4 @ 00000233134b4480] pts has no value
    Last message repeated 16 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:00.52 bitrate=
 0.7kbits/s speed=1.02x
    Last message repeated 12 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:01.04 bitrate=
 0.3kbits/s speed=1.03x
    Last message repeated 11 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:01.52
bitrate=1379.9kbits/s speed=   1x
    Last message repeated 12 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:02.04
bitrate=1028.2kbits/s speed=1.01x
    Last message repeated 12 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:02.56
bitrate=1638.5kbits/s speed=1.02x
    Last message repeated 11 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:03.04
bitrate=1379.8kbits/s speed=   1x
    Last message repeated 12 times
[mp4 @ 00000233134b4480] pts has no valueB time=00:00:03.56
bitrate=1178.3kbits/s speed=1.01x
    Last message repeated 6 times
frame=  100 fps= 26 q=-1.0 Lsize=     790kB time=00:00:03.84
bitrate=1684.4kbits/s speed=0.998x
video:788kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.173959%

---------------------------------- Decoding the output file with ffmpeg
-----------------------------------
PS D:\tools\ffmpeg\windows\ffmpeg-20190128-1db30d6-win64-static\bin>
.\ffmpeg.exe -i .\AMP_E_Hisilicon_3.mp4 -f null out.null
ffmpeg version N-93041-g1db30d6cec Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 46.100 / 58. 46.100
  libavformat    58. 26.100 / 58. 26.100
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\AMP_E_Hisilicon_3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf58.26.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 1616 kb/s
    Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv),
1920x1080, 1614 kb/s, 25 fps, 25 tbr, 1200k tbn, 1200k tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
Output #0, null, to 'out.null':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf58.26.100
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080, q=2-31,
200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.46.100 wrapped_avframe
[null @ 00000244cd26d380] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 96 >= 95
[null @ 00000244cd26d380] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 96 >= 94
[null @ 00000244cd26d380] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 96 >= 96
frame=   97 fps=0.0 q=-0.0 Lsize=N/A time=00:00:03.88 bitrate=N/A
speed=8.74x
video:51kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown


More information about the ffmpeg-user mailing list