On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
> Michael wrote:
> > On Friday, 1 December 2023 11:47:31 GMT Dale wrote:
> >> Howdy,
> >> 
> >> I was poking around the other day and noticed a large log file.  At
> >> first I thought it was smplayer but it does it even when smplayer is
> >> closed.  So, I tested several things and finally noticed it stops
> >> generating errors when I turn off showing thumbnails in dolphin.  This
> >> is a sample of what it enters into xorg-sessions.log file.
> >> 
> >> 
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
> >> 
> >> 
> >> 
> >> When I cut off thumbnails and turn it back on, I also get some messages
> >> like this.
> >> 
> >> 
> >> 
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to
> >> store B-frames ('packed B-frames'). Consider using the
> >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> >> to fix it.
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to
> >> store B-frames ('packed B-frames'). Consider using the
> >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> >> to fix it.
> >> 
> >> 
> >> I cleared the log file since it was over 1GB.  I looked around in
> >> dolphin settings and can't figure out a way to cut those messages off.
> >> I'm not sure how to fix this.  If the video is broken somehow, they all
> >> play fine on my TV.  I'm kinda thinking that something is is having
> >> problems but I don't know how it generates thumbnails to know what that
> >> is.
> >> 
> >> Anyone have ideas or thoughts on this?  Is it a bug that will be fixed
> >> soon and just give it time?  Should I threaten it with a hammer?  ROFL
> >> 
> >> Thanks.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > Is your issue related to these logs being generated, or to these logs
> > being
> > captured.  If the latter, then my previous response on configuring the
> > sddm
> > logs should help.
> 
> Replying here since the original post has the correct info.  Took me a
> bit to try some of things in other reply. I had to help install two TVs
> and tried to do some hunting today for a friend.  Most of the files you
> mentioned aren't on this system and some paths don't exist either. 
> Maybe different USE flags or something??  I dunno.

Unless you create your own sddm config file in /etc, the sddm package uses a 
default config file.  From the man page:

FILES
       /usr/share/sddm/sddm.conf.d
              System configuration directory

       /etc/sddm.conf.d
              Local configuration directory

       /etc/sddm.conf
              Local configuration file for compatibility

       /usr/share/sddm/themes
              Where sddm looks for themes

Search in the above paths and you should find the default sddm config file, 
which you can copy over to /etc and tweak it to stop it recording events in 
your user xsession log file.


> Since this is
> actually dolphin, what does dolphin use to generate those thumbnails? 
> Maybe I need to beat some sense into that thing.  Another thing that hit
> me, I have three video packages installed, these three. 

I would think it uses ffmpeg to decompress, parse, decode and play a file when 
previewed in dolphin.


> root@fireball / # equery list mpv ffmpeg mplayer
>  * Searching for mpv ...
> [IP-] [  ] media-video/mpv-0.36.0-r1:0/2
> 
>  * Searching for ffmpeg ...
> [IP-] [  ] media-video/ffmpeg-4.4.4-r8:0/56.58.58
> 
>  * Searching for mplayer ...
> [IP-] [  ] media-video/mplayer-1.5_p20230618:0
> root@fireball / #
> 
> 
> 
> I'm wondering, if I remove ffmpeg, could my video players use mpv or
> mplayer?

I understand these video players use ffmpeg libraries too.


> Does dolphin use ffmpeg or mplayer to generate the
> thumbnails?

Yes:

~ $ lsof | grep ffmpeg
kioslave5 8826                   michael  mem       REG               0,19      
        
435168 /usr/lib64/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so (path dev=0,23)


Dolpin would not need a video player's functionality just to preview a 
thumbnail of a video file.


> I need to keep mpv because I use that to play videos
> directly.  I think smplayer needs mplayer, maybe.    Another thought,
> you see any USE flags that need to be changed?  Maybe I missed a new one
> that I need to enable or something. 

If I recall correctly you have NVidia graphics card(s), so you should enable 
the nvidia related hardware acceleration for better performance and less CPU 
load; e.g. nvencm and/or vdpau


> root@fireball / # equery u mpv ffmpeg mplayer
> [ Legend : U - final flag setting for installation]
> [        : I - package is installed with flag     ]
> [ Colors : set, unset                             ]
>  * Found these USE flags for media-video/mpv-0.36.0-r1:
>  U I
>  + + X                               : Add support for X11
>  + + alsa                            : Add support for
> media-libs/alsa-lib (Advanced Linux Sound Architecture)
>  - - archive                         : Enable support for various
> archive formats via app-arch/libarchive
>  + + bluray                          : Enable playback of Blu-ray
> filesystems
>  + + cdda                            : Add Compact Disk Digital Audio
> (Standard Audio CD) support
>  + + cli                             : Enable the command-line player
>  - - debug                           : Enable extra debug codepaths,
> like asserts and extra output. If you want to get meaningful backtraces see
>                                       
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
>  + + drm                             : Enable Kernel Mode Setting /
> Direct Rendering Manager based video outputs
>  - - dvb                             : Add support for DVB (Digital
> Video Broadcasting)
>  + + dvd                             : Add support for DVDs
>  + + egl                             : Enable support for various
> EGL-based video outputs / backends
>  - - gamepad                         : Enable gamepad input support
>  + + iconv                           : Enable support for the iconv
> character set conversion library
>  - - jack                            : Add support for the JACK Audio
> Connection Kit
>  + + javascript                      : Enable javascript support
>  + + jpeg                            : Add JPEG image support
>  + + lcms                            : Add lcms support (color
> management engine)
>  - - libcaca                         : Add support for colored ASCII-art
> graphics
>  + + libmpv                          : Enable the shared library and
> headers (used by frontends / plugins)
>  + + libplacebo                      : Enable support for GPU
> accelerated video rendering with media-libs/libplacebo
>  + + lua                             : Enable Lua scripting, OSC (On
> Screen Controller) GUI, and net-misc/yt-dlp support
>  - - nvenc                           : Add support for NVIDIA
> Encoder/Decoder (NVENC/NVDEC) API for hardware accelerated encoding and
> decoding on NVIDIA cards (requires
>                                        x11-drivers/nvidia-drivers)
>  - - openal                          : Add support for the Open Audio
> Library
>  + + opengl                          : Enable support for OpenGL-based
> video backends (Note: deprecated for X11, USE=egl provides the newer
> support for -gpu-api=opengl)
>  + + pipewire                        : Enable sound support via native
> PipeWire backend
>  + + pulseaudio                      : Add sound server support via
> media-libs/libpulse (may be PulseAudio or PipeWire)
>  - - python_single_target_python3_10 : Build for Python 3.10 only
>  + + python_single_target_python3_11 : Build for Python 3.11 only
>  - - rubberband                      : Enable high quality pitch
> correction via media-libs/rubberband
>  + + sdl                             : Enable media-libs/libsdl2 based
> video and audio outputs (Note: these outputs exist for compatibility
> reasons only, avoid if
>                                        possible)
>  - - sixel                           : Enable support for the sixel
> video backend using media-libs/libsixel
>  - - sndio                           : Enable sound support via
> media-sound/sndio
>  - - test                            : Enable dependencies and/or
> preparations necessary to run tests (usually controlled by FEATURES=test
> but can be toggled
>                                        independently)
>  - - tools                           : Install extra tools:
> mpv_identify.sh, mpv_idet.sh, and umpv
>  + + uchardet                        : Enable subtitles charset
> discovery via app-i18n/uchardet
>  - - vaapi                           : Enable Video Acceleration API for
> hardware decoding
>  - - vdpau                           : Enable the Video Decode and
> Presentation API for Unix acceleration interface
>  + + vulkan                          : Add support for 3D graphics and
> computing via the Vulkan cross-platform API
>  + + wayland                         : Enable dev-libs/wayland backend
>  + + xv                              : Add in optional support for the
> Xvideo extension (an X API for video playback)
>  - - zimg                            : Enable libzimg support (for
> vf_fingerprint)
>  + + zlib                            : Add support for zlib compression
> 
>  * Found these USE flags for media-video/ffmpeg-6.1:
>  U I
>  + + X                      : Add support for X11
>  - - abi_x86_32             : 32-bit (x86) libraries
>  + + alsa                   : Add support for media-libs/alsa-lib
> (Advanced Linux Sound Architecture)
>  - - amf                    : Enables support for AMD's Advanced Media
> Framework (AMF)
>  - - amr                    : Enables Adaptive Multi-Rate Audio support
>  - - amrenc                 : Enables Adaptive Multi-Rate Audio encoding
> support with media-libs/vo-amrwbenc.
>  + + bluray                 : Enable playback of Blu-ray filesystems
>  - - bs2b                   : Enables media-libs/libbs2b based Bauer
> stereo-to-binaural filter.
>  + + bzip2                  : Enable bzip2 compression support
>  - - cdio                   : Enables audio CD grabbing with
> dev-libs/libcdio.
>  - - chromaprint            : Enables audio fingerprinting support with
> media-libs/chromaprint.
>  - - chromium               : Builds libffmpeg.so to enable media
> playback in Chromium-based browsers like Opera and Vivaldi.
>  - - codec2                 : Enables codec2 low bit rate speech codec
> support via media-libs/codec2.
>  - - cpu_flags_x86_3dnow    : Use the 3DNow! instruction set
>  - - cpu_flags_x86_3dnowext : Use the Enhanced 3DNow! instruction set
>  + + cpu_flags_x86_aes      : Enable support for Intel's AES instruction
> set (AES-NI)
>  + + cpu_flags_x86_avx      : Adds support for Advanced Vector
> Extensions instructions
>  - - cpu_flags_x86_avx2     : Adds support for Advanced Vector
> Extensions 2 instructions
>  + + cpu_flags_x86_fma3     : Use the Fused Multiply Add 3 instruction
> set ([fma] in cpuinfo)
>  + + cpu_flags_x86_fma4     : Use the Fused Multiply Add 4 instruction set
>  + + cpu_flags_x86_mmx      : Use the MMX instruction set
>  + + cpu_flags_x86_mmxext   : Use the Extended MMX instruction set (a
> subset of SSE) ([mmxext] or [sse] in cpuinfo)
>  + + cpu_flags_x86_sse      : Use the SSE instruction set
>  + + cpu_flags_x86_sse2     : Use the SSE2 instruction set
>  + + cpu_flags_x86_sse3     : Use the SSE3 instruction set ([pni] in
> cpuinfo, NOT ssse3)
>  + + cpu_flags_x86_sse4_1   : Enable SSE4.1 instruction support
>  + + cpu_flags_x86_sse4_2   : Enable SSE4.2 instruction support
>  + + cpu_flags_x86_ssse3    : Use the SSSE3 instruction set (NOT sse3/pni)
>  + + cpu_flags_x86_xop      : Enable the XOP instruction set
>  - - cpudetection           : Enables runtime CPU detection (useful for
> bindist, compatibility on other CPUs)
>  - - cuda                   : Enables CUDA-based acceleration. Mostly
> used for specific filters.
>  + - dav1d                  : Enables AV1 decoding via media-libs/dav1d.
>  - - debug                  : Enable extra debug codepaths, like asserts
> and extra output. If you want to get meaningful backtraces see
>                              
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
>  - - doc                    : Add extra documentation (API, Javadoc,
> etc). It is recommended to enable per package instead of globally
>  + + encode                 : Add support for encoding of audio or video
> files
>  + - fdk                    : Use external fdk-aac library for AAC encoding
>  + - fftools_aviocat        : cat's a URL to another one, useful for
> dumping streams.
>  + - fftools_cws2fws        : converts cws files (Macromedia Flash,
> compressed) to fws ones (Macromedia Flash, uncompressed).
>  + - fftools_ffescape       : Escapes an input string, adopting the
> av_get_token() escaping logic.
>  + - fftools_ffeval         : A simple expression evalutor.
>  + - fftools_ffhash         : Computes a file's digest using libavutil
> algorithms.
>  + - fftools_fourcc2pixfmt  : Shows the relationships between rawvideo
> pixel formats and FourCC tags.
>  + - fftools_graph2dot      : A tool to convert a libavfilter graph to a
> dot file.
>  + - fftools_ismindex       : A tool for creating smooth streaming
> manifests.
>  + - fftools_pktdumper      : Dumps packets as demuxed by libavformat.
>  + - fftools_qt-faststart   : Rearranges a Quicktime file to facilitate
> network streaming.
>  + - fftools_sidxindex      : Write an MPD file for fragmented MP4 files
> with a sidx index at the start of the file.
>  + - fftools_trasher        : Writes burts of random data into a file.
> Great for testing error robustness/resilience/concealment.
>  - - flite                  : Adds a text-to-speech filter based on
> app-accessibility/flite.
>  + + fontconfig             : Support for configuring and customizing
> font access via media-libs/fontconfig
>  + + frei0r                 : Enable frei0r wrapping in libavfilter
>  - - fribidi                : Enables fribidi support in the drawtext
> filter.
>  - - gcrypt                 : Enables gcrypt support: Needed for
> rtmp(t)e support if openssl, librtmp or gmp is not used.
>  - - glslang                : Use dev-util/glslang to compile GLSL
>  - - gme                    : Enables support for
> media-libs/game-music-emu for playing various video game music formats.
>  - - gmp                    : Add support for dev-libs/gmp (GNU MP library)
>  + - gnutls                 : Prefer net-libs/gnutls as SSL/TLS provider
> (ineffective with USE=-ssl)
>  + - gpl                    : Build GPL code. Should be enabled unless
> you require LGPL binaries.
>  - - gsm                    : Add support for the gsm lossy speech
> compression codec
>  - - hardcoded-tables       : Use pre-calculated tables rather than
> calculating them on the fly. It results in an increase of approximately
> 15% in the size of
>                               libavcodec, the main library impacted by
> this change. It enables savings in table generation time, done once at
> codec initialization, since
>                               by hardcoding the tables, they do not need
> to be computed at runtime. However, the savings are often negligible
> (~100k cycles is a typical
>                               number) especially when amortized over the
> entire encoding/decoding operation. Improvements are being made to the
> runtime initialization,
>                               and so over time, this option will have an
> impact on fewer and fewer codecs.
>  + + iconv                  : Enable support for the iconv character set
> conversion library
>  - - iec61883               : Support for FireWire DV/HDV input device
> using media-libs/libiec61883.
>  - - ieee1394               : Enable FireWire/iLink IEEE1394 support
> (dv, camera, ...)
>  - - jack                   : Add support for the JACK Audio Connection Kit
>  + + jpeg2k                 : Support for JPEG 2000, a wavelet-based
> image compression format
>  - - jpegxl                 : Add JPEG XL image support
>  - - kvazaar                : Enables media-libs/kvazaar based HEVC encoder.
> - - ladspa                 : Enable the ability to support ladspa plugins +
> + lcms                   : Enable ICC profile support via
> media-libs/lcms.
>  - - libaom                 : Enables media-libs/libaom based AV1 codec
> support.
>  - - libaribb24             : Enables ARIB text and caption decoding via
> media-libs/aribb24.
>  + - libass                 : SRT/SSA/ASS (SubRip / SubStation Alpha)
> subtitle support
>  - - libcaca                : Add support for colored ASCII-art graphics
>  - - libdrm                 : Enables x11-libs/libdrm support for better
> screen grabbing and hardware accelerated codecs.
>  - - libilbc                : Enables iLBC de/encoding via
> media-libs/libilbc.
>  - - libplacebo             : Adds flexible GPU-accelerated processing
> filter based on media-libs/libplacebo.
>  - - librtmp                : Enables Real Time Messaging Protocol using
> librtmp (media-video/rtmpdump) in addition to FFmpeg's native
> implementation.
>  - - libsoxr                : Enables audio resampling through
> media-libs/soxr.
>  - - libtesseract           : Enables the OCR filter via app-text/tesseract.
> - - libv4l                 : Uses media-libs/libv4l for video4linux instead
> of direct calls. Adds support for more devices via the userspace library.
>  - - libxml2                : Uses dev-libs/libxml2 to enable dash
> demuxing support.
>  - - lv2                    : Enables lv2 audio filter wrapper.
>  + + lzma                   : Support for LZMA compression algorithm
>  - - modplug                : Add libmodplug support for playing
> SoundTracker-style music files
>  + + mp3                    : Add support for reading mp3 files
>  + - network                : Enables network streaming support
>  - - nvenc                  : Add support for NVIDIA Encoder/Decoder
> (NVENC/NVDEC) API for hardware accelerated encoding and decoding on
> NVIDIA cards (requires
>                               x11-drivers/nvidia-drivers)
>  - - openal                 : Add support for the Open Audio Library
>  - - opencl                 : Enable OpenCL support
>  + + opengl                 : Add support for OpenGL (3D graphics)
>  + - openh264               : Enables H.264 encoding suppoprt via
> media-libs/openh264.
>  - - openssl                : Enables dev-libs/openssl support. Adds
> support for encrypted network protocols (TLS/HTTPS).
>  - - opus                   : Enable Opus audio codec support
>  - - oss                    : Add support for OSS (Open Sound System)
>  - - pic                    : Force shared libraries to be built as PIC
> (this is slower)
>  + - postproc               : Build and install libpostproc.
>  + + pulseaudio             : Add sound server support via
> media-libs/libpulse (may be PulseAudio or PipeWire)
>  - - qsv                    : Enable Intel Quick Sync Video via
> media-libs/intel-mediasdk (ffmpeg versions older than, and including,
> 5.1) or media-libs/oneVPL (ffmpeg
>                               version newer than 5.1).
>  - - rav1e                  : Enables AV1 encoding support via
> media-video/rav1e.
>  - - rubberband             : Adds time-stretching and pitch-shifting
> audio filter based on media-libs/rubberband.
>  - - samba                  : Add support for SAMBA (Windows File and
> Printer sharing)
>  + + sdl                    : Add support for Simple Direct Layer (media
> library)
>  - - shaderc                : Use media-libs/shaderc to compile GLSL
>  - - snappy                 : Enable app-arch/snappy support. Required
> for e.g. Vidvox Hap encoder.
>  - - sndio                  : Enable support for the media-sound/sndio
> backend
>  - - speex                  : Add support for the speex audio codec
> (used for speech)
>  - - srt                    : Enable support for Secure Reliable
> Transport (SRT) via net-libs/srt
>  - - ssh                    : Enable SSH/sftp support via net-libs/libssh.
>  - - static-libs            : Build static versions of dynamic libraries
> as well
>  + + svg                    : Add support for SVG (Scalable Vector Graphics)
> - - svt-av1                : Enables AV1 encoding support via
> media-libs/svt-av1.
>  - - test                   : Enable dependencies and/or preparations
> necessary to run tests (usually controlled by FEATURES=test but can be
> toggled independently)
>  + - theora                 : Add support for the Theora Video
> Compression Codec
>  + - threads                : Add threads support for various packages.
> Usually pthreads
>  + + truetype               : Enables drawtext filter via
> media-libs/freetype and media-libs/harfbuzz.
>  - - twolame                : Enables MP2 encoding via
> media-sound/twolame as an alternative to the internal encoder.
>  - - v4l                    : Enable support for video4linux (using
> linux-headers or userspace libv4l libraries)
>  - - vaapi                  : Enable Video Acceleration API for hardware
> decoding
>  - - vdpau                  : Enable the Video Decode and Presentation
> API for Unix acceleration interface
>  - - verify-sig             : Verify upstream signatures on distfiles
>  - - vidstab                : Enables video stabilization filter using
> vid.stab library (media-libs/vidstab).
>  - - vmaf                   : Enables Netflix's perceptual video quality
> assessment filter using the library (media-libs/libvmaf).
>  + + vorbis                 : Add support for the OggVorbis audio codec
>  + - vpx                    : Enables VP8 and VP9 codec support using
> libvpx: Decoding does not require this to be enabled but libvpx can also
> be used for decoding;
>                               encoding requires this useflag to be
> enabled though.
>  + + vulkan                 : Add support for 3D graphics and computing
> via the Vulkan cross-platform API
>  + + webp                   : Add support for the WebP image format
>  + + x264                   : Enable h264 encoding using x264
>  + + x265                   : Enables HEVC encoding with media-libs/x265.
>  + + xvid                   : Add support for xvid.org's open-source
> mpeg-4 codec
>  - - zeromq                 : Enables net-libs/zeromq support with the
> zmq/azmq filters.
>  - - zimg                   : Enables media-libs/zimg based scale filter.
>  + + zlib                   : Add support for zlib compression
>  - - zvbi                   : Enables media-libs/zvbi based teletext
> decoder.
> 
>  * Found these USE flags for media-video/mplayer-1.5_p20230618:
>  U I
>  + + X                      : Add support for X11
>  + + a52                    : Enable support for decoding ATSC A/52
> streams used in DVD
>  - - aalib                  : Add support for media-libs/aalib
> (ASCII-Graphics Library)
>  + + alsa                   : Add support for media-libs/alsa-lib
> (Advanced Linux Sound Architecture)
>  + + bidi                   : Enable bidirectional language support
>  - - bl                     : Blinkenlights video output
>  + + bluray                 : Enable playback of Blu-ray filesystems
>  - - bs2b                   : Enable Bauer stereophonic-to-binaural
> headphone filter
>  + + cddb                   : Access cddb servers to retrieve and submit
> information about compact disks
>  + + cdio                   : Use libcdio for CD support (instead of
> cdparanoia)
>  + + cdparanoia             : Enable cdparanoia (audio CD ripper) support
>  - - cpu_flags_x86_3dnow    : Use the 3DNow! instruction set
>  - - cpu_flags_x86_3dnowext : Use the Enhanced 3DNow! instruction set
>  + + cpu_flags_x86_avx      : Adds support for Advanced Vector
> Extensions instructions
>  - - cpu_flags_x86_avx2     : Adds support for Advanced Vector
> Extensions 2 instructions
>  + + cpu_flags_x86_fma3     : Use the Fused Multiply Add 3 instruction
> set ([fma] in cpuinfo)
>  + + cpu_flags_x86_fma4     : Use the Fused Multiply Add 4 instruction set
>  + + cpu_flags_x86_mmx      : Use the MMX instruction set
>  + + cpu_flags_x86_mmxext   : Use the Extended MMX instruction set (a
> subset of SSE) ([mmxext] or [sse] in cpuinfo)
>  + + cpu_flags_x86_sse      : Use the SSE instruction set
>  + + cpu_flags_x86_sse2     : Use the SSE2 instruction set
>  + + cpu_flags_x86_sse3     : Use the SSE3 instruction set ([pni] in
> cpuinfo, NOT ssse3)
>  + + cpu_flags_x86_sse4_1   : Enable SSE4.1 instruction support
>  + + cpu_flags_x86_sse4_2   : Enable SSE4.2 instruction support
>  + + cpu_flags_x86_ssse3    : Use the SSSE3 instruction set (NOT sse3/pni)
>  + + cpu_flags_x86_xop      : Enable the XOP instruction set
>  - - cpudetection           : Enables runtime CPU detection (useful for
> binpkgs, compatibility on other CPUs)
>  - - debug                  : Enable extra debug codepaths, like asserts
> and extra output. If you want to get meaningful backtraces see
>                              
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
>  - - dga                    : Add DGA (Direct Graphic Access) support for X
>  - - doc                    : Add extra documentation (API, Javadoc,
> etc). It is recommended to enable per package instead of globally
>  - - dts                    : Enable DTS Coherent Acoustics decoder support
>  - - dv                     : Enable support for a codec used by many
> camcorders
>  - - dvb                    : Add support for DVB (Digital Video
> Broadcasting)
>  + + dvd                    : Add support for DVDs
>  + + dvdnav                 : Use forked libdvdnav, navigate menus in GUIs
>  + + enca                   : Enables support for charset discovery and
> conversion
>  + + encode                 : Add support for encoding of audio or video
> files
>  + + faac                   : Use external faac library for AAC encoding
>  - - faad                   : Use external faad library for AAC decoding
>  - - fbcon                  : Add framebuffer support for the console,
> via the kernel
>  - - ftp                    : Add FTP (File Transfer Protocol) support
>  - - ggi                    : Add support for media-libs/libggi (non-X
> video api/drivers)
>  - - gsm                    : Add support for the gsm lossy speech
> compression codec
>  + + iconv                  : Enable support for the iconv character set
> conversion library
>  + + ipv6                   : Add support for IP version 6
>  - - jack                   : Add support for the JACK Audio Connection Kit
>  - - joystick               : Add support for joysticks in all packages
>  + + jpeg                   : Add JPEG image support
>  - - ladspa                 : Enable the ability to support ladspa plugins
>  + + libass                 : SRT/SSA/ASS (SubRip / SubStation Alpha)
> subtitle support
>  - - libcaca                : Add support for colored ASCII-art graphics
>  - - libmpeg2               : Build support for mpeg2 over
> media-libs/libmpeg2 rather than using ffmpeg.
>  - - lirc                   : Add support for lirc (Linux's Infra-Red
> Remote Control)
>  - - live                   : Enables live.com streaming media support
>  - - lzo                    : Enable support for lzo compression
>  + + mad                    : Add support for mad (high-quality mp3
> decoder library and cli frontend)
>  - - md5sum                 : Enables md5sum video output
>  + + mng                    : MNG input support
>  + + mp3                    : Add support for reading mp3 files
>  - - nas                    : Add support for network audio sound
>  + + network                : Enables network streaming support
>  - - openal                 : Add support for the Open Audio Library
>  + + opengl                 : Add support for OpenGL (3D graphics)
>  + + osdmenu                : Enables support for on-screen display
> (OSD) menus
>  - - oss                    : Add support for OSS (Open Sound System)
>  + + png                    : Add support for libpng (PNG images)
>  - - pnm                    : Add PNM video output option, to create
> PPM/PGM/PGMYUV images
>  + + pulseaudio             : Add sound server support via
> media-libs/libpulse (may be PulseAudio or PipeWire)
>  - - pvr                    : Enable Video4Linux2 MPEG PVR
>  - - radio                  : Enable V4L2 radio interface and support
>  + + rar                    : Enable Unique RAR File Library
>  - - rtc                    : Enables usage of the linux real time
> clock. The alternative is software emulation of rtc
>  - - rtmp                   : Enables RTMPDump Streaming Media support
>  - - samba                  : Add support for SAMBA (Windows File and
> Printer sharing)
>  + + sdl                    : Add support for Simple Direct Layer (media
> library)
>  + + shm                    : Enable support for shm
>  - - speex                  : Add support for the speex audio codec
> (used for speech)
>  - - tga                    : Enables Targa video output
>  - - theora                 : Add support for the Theora Video
> Compression Codec
>  - - toolame                : Enable toolame MPEG-2 encoding
>  - - tremor                 : Enable internal support for Vorbis
>  + + truetype               : Add support for FreeType and/or FreeType2
> fonts
>  - - twolame                : Enable twolame MPEG-2 encoding
>  + + unicode                : Add support for Unicode
>  - - v4l                    : Enable support for video4linux (using
> linux-headers or userspace libv4l libraries)
>  - - vcd                    : Enables VCD support
>  - - vdpau                  : Enable the Video Decode and Presentation
> API for Unix acceleration interface
>  - - video_cards_mga        : VIDEO_CARDS setting to build driver for
> mga video cards
>  + + vorbis                 : Add support for the OggVorbis audio codec
>  + + x264                   : Enable h264 encoding using x264
>  - - xinerama               : Add support for querying multi-monitor
> screen geometry through the Xinerama API
>  + + xscreensaver           : Add support for XScreenSaver extension
>  + + xv                     : Add in optional support for the Xvideo
> extension (an X API for video playback)
>  + + xvid                   : Add support for xvid.org's open-source
> mpeg-4 codec
>  - - yuv4mpeg               : Enables yuv4mpeg video output
>  - - zoran                  : Enables ZR360[56]7/ZR36060 video output
> root@fireball / #
> 
> 
> Took me a bit to find time to try everything.  Since I turned off
> thumbnails in all the open tabs in dolphin, the file is a lot quieter. 
> I'm pretty certain the thumbnails is the cause of this.  It gets things
> put in that file still but not near as much. 
> 
> Dale
> 
> :-)  :-) 

You can play any of the files in dolphin with ffplay and see what it prints 
out in a terminal; e.g. this is what I get here when I try to play a .ts file:

[snip ...]
[h264 @ 0x7fce8c02b540] decode_slice_header error
[h264 @ 0x7fce8c02b540] no frame!
[h264 @ 0x7fce8c02b540] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x7fce8c02b540] decode_slice_header error
[h264 @ 0x7fce8c02b540] no frame!
[snip...]

[mpegts @ 0x7fce8c000c80] PES packet size mismatch
[mpegts @ 0x7fce8c000c80] Packet corrupt (stream = 0, dts = 2148448224).
[mpegts @ 0x7fce8c000c80] PES packet size mismatch
[mpegts @ 0x7fce8c000c80] Packet corrupt (stream = 1, dts = 2148389620).
[mpegts @ 0x7fce8c000c80] PES packet size mismatch
[mpegts @ 0x7fce8c000c80] Packet corrupt (stream = 3, dts = 2148473424).
[mpegts @ 0x7fce8c000c80] Could not find codec parameters for stream 2 
(Unknown: none ([17][0][0][0] / 0x0011)): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' 
(5000000) options

If the same output as in ffplay in a terminal is also captured in the sddm 
xsession log, then obviously this is ffmpeg causing it.  As far as I know 
ffmpeg is necessary to decode/convert/encode/mux video and audio files, for 
most of the media players and front ends in Linux.  I think VLC may have its 
own libraries, but not sure.

You can use lsof, or strace to see what libraries dolphin is accessing when it 
is previewing thumbnails and confirm if ffmpeg is involved.

Anyway, your issue is not necessarily ffmpeg libraries printing warnings, but 
sddm capturing these in its logs.  I expect reprogramming dolphin to call 
ffplay with -loglevel 'quiet' would require tweaking kde code.  You could ask 
upstream if they want to look into it.  In the first instance it will be 
easier to disable/redirect the sddm log file as I suggested, than trying to 
modify kde applications.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to