本帖最后由 排骨瘦肉丁 于 2020-3-21 12:30 编辑
播放的时候依然是类似的错误:播放到几秒钟的时候音频正常播放,视频就卡住了ffplay -vcodec h264 media_202084503224901606.mp4
ffplay version 4.1.4 Copyright (c) 2003-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media_202084503224901606.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
creation_time : 2020-03-13T06:57:54.000000Z
Duration: 00:00:14.74, start: 0.000000, bitrate: 1212 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2020-03-13T06:57:54.000000Z
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 544x960, 1083 kb/s, 28.98 fps, 29 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2020-03-13T06:57:54.000000Z
encoder : JVT/AVC Coding
[h264 @ 0x7f88ab811e00] error while decoding MB 16 20, bytestream -15
[h264 @ 0x7f88ab811e00] concealing 1393 DC, 1393 AC, 1393 MV errors in I frame
[h264 @ 0x7f88ad800a00] Invalid NAL unit size (0 > 6246).0B f=0/0
[h264 @ 0x7f88ad800a00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad025200] Invalid NAL unit size (0 > 8484).0B f=0/0
[h264 @ 0x7f88ad025200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad036c00] Invalid NAL unit size (0 > 9366).0B f=0/0
[h264 @ 0x7f88ad036c00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037200] Invalid NAL unit size (0 > 6205).0B f=0/0
[h264 @ 0x7f88ad037200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037800] Invalid NAL unit size (0 > 4062).0B f=0/0
[h264 @ 0x7f88ad037800] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07ca00] Invalid NAL unit size (0 > 7741).0B f=0/0
[h264 @ 0x7f88ad07ca00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07d000] Invalid NAL unit size (0 > 2167).0B f=0/0
[h264 @ 0x7f88ad07d000] Error splitting the input into NAL units.
[h264 @ 0x7f88aa82a600] Invalid NAL unit size (0 > 3356).0B f=0/0
[h264 @ 0x7f88aa82a600] Error splitting the input into NAL units.
[h264 @ 0x7f88ab811e00] Invalid NAL unit size (0 > 5093).0B f=0/0
[h264 @ 0x7f88ab811e00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad800a00] Invalid NAL unit size (0 > 2962).
[h264 @ 0x7f88ad800a00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad025200] Invalid NAL unit size (0 > 5410).
[h264 @ 0x7f88ad025200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad036c00] Invalid NAL unit size (0 > 3107).
[h264 @ 0x7f88ad036c00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037200] Invalid NAL unit size (0 > 6237).
[h264 @ 0x7f88ad037200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037800] Invalid NAL unit size (0 > 3125).
[h264 @ 0x7f88ad037800] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07ca00] Invalid NAL unit size (0 > 4611).
[h264 @ 0x7f88ad07ca00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07d000] Invalid NAL unit size (0 > 3556).
[h264 @ 0x7f88ad07d000] Error splitting the input into NAL units.
[h264 @ 0x7f88aa82a600] Invalid NAL unit size (0 > 4434).
[h264 @ 0x7f88aa82a600] Error splitting the input into NAL units.
[h264 @ 0x7f88ab811e00] Invalid NAL unit size (0 > 3387).
[h264 @ 0x7f88ab811e00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad800a00] Invalid NAL unit size (0 > 5158).
[h264 @ 0x7f88ad800a00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad025200] Invalid NAL unit size (0 > 3922).
[h264 @ 0x7f88ad025200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad036c00] Invalid NAL unit size (0 > 4436).
[h264 @ 0x7f88ad036c00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037200] Invalid NAL unit size (0 > 3317).
[h264 @ 0x7f88ad037200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037800] Invalid NAL unit size (0 > 2351).
[h264 @ 0x7f88ad037800] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07ca00] Invalid NAL unit size (0 > 4576).
[h264 @ 0x7f88ad07ca00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07d000] Invalid NAL unit size (0 > 4571).
[h264 @ 0x7f88ad07d000] Error splitting the input into NAL units.
[h264 @ 0x7f88aa82a600] Invalid NAL unit size (0 > 2254).
[h264 @ 0x7f88aa82a600] Error splitting the input into NAL units.
[h264 @ 0x7f88ab811e00] Invalid NAL unit size (0 > 4304).
[h264 @ 0x7f88ab811e00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad800a00] Invalid NAL unit size (0 > 1693).
[h264 @ 0x7f88ad800a00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad025200] Invalid NAL unit size (0 > 4726).
[h264 @ 0x7f88ad025200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad036c00] Invalid NAL unit size (0 > 16181).
[h264 @ 0x7f88ad036c00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037200] Invalid NAL unit size (0 > 2841).
[h264 @ 0x7f88ad037200] Error splitting the input into NAL units.
[h264 @ 0x7f88ad037800] Invalid NAL unit size (0 > 8978).
[h264 @ 0x7f88ad037800] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07ca00] Invalid NAL unit size (0 > 6035).
[h264 @ 0x7f88ad07ca00] Error splitting the input into NAL units.
[h264 @ 0x7f88ad07d000] Invalid NAL unit size (0 > 2976).
[h264 @ 0x7f88ad07d000] Error splitting the input into NAL units.
[h264 @ 0x7f88aa82a600] Invalid NAL unit size (0 > 3365).
[h264 @ 0x7f88aa82a600] Error splitting the input into NAL units.
[h264 @ 0x7f88ab811e00] Invalid NAL unit size (0 > 4828).
[h264 @ 0x7f88ab811e00] Error splitting the input into NAL units.
|