Skip to content

screenshare: missing pps (& sps?) #2

@RealKeyboardWarrior

Description

@RealKeyboardWarrior

Seems like we need to manually rebuild and prepend the PPS (and SPS?) for screenshare.

ffplay version n4.3.1-22-gc464b5c205 Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libtwolame --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[h264 @ 000001c411819140] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 000001c411864240] non-existing PPS 5 referenced
    Last message repeated 4 times
[h264 @ 000001c411864240] decode_slice_header error
[h264 @ 000001c411864240] non-existing PPS 5 referenced
...
[h264 @ 000001c411819140] decoding for stream 0 failed
[h264 @ 000001c411819140] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, h264, from '2022-12-02-02-09-59.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264, none, 25.67 fps, 25 tbr, 1200k tbn, 50 tbc
[h264 @ 000001c4118c9840] non-existing PPS 5 referenced
[h264 @ 000001c4118c9840] decode_slice_header error
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions