Unable to play some video files after upgrade 2.1 to 2.3
Environment is Linux Mint 21 ffmpeg version 4.4.2. All SW installed from Mint Software Manager only.
2024-12-15T18:37:23,810 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg
2024-12-15T18:37:23,812 INFO [FFMPEGWrapper] FFmpeg details: [version=4.4.2-0ubuntu0.22.04.1, libRtpmPresent=false, libAssPresent=true, libShinePresent=true, libMxfPresent=true, nvEncPresent=false, libAomPresent=true]
Renderer Profile=Samsung TV / player (M-series), Name=UE40MU6400
Many months after upgrading from serviio 2.1 to 2.3 I became aware that 158 video files had “vanished” from the serviio library. However these files were all still present in their filesystem (NTFS) and every one I tried played perfectly with vlc media player. I noticed that often within a series that some files were still present while others had disappeared. Here is a typical example
2024-12-15T13:54:42,868 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/01 Merchant Navy.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,005 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/02 Bristol Fighter.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,142 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/04 Advanced Passenger Train.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,277 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/08 Vampire.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,413 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/10 Formula E.mpg). Message: Unknown video file type.
Here we can see that under serviio 2.3, episodes 1,2,4,8,10 are no longer playable but episodes 3,5,6,7,9 still were.
Reverting to serviio 2.1 all 10 episodes played perfectly. All these episodes had been recorded from Live TV on a Panasonic HDD/DVD recorder and copied to DVD-RW, then imported on PC and converted to /mpg (using DVD Decrypter and DVDVob2Mpg under WINE)
At first I wondered if there might be some sort of mismatch with the ffmpeg version so I installed the Windows version of serviio 2.4 in a Windows 10 VM.
However servio 2.4 under Windows performed exactly as serviio 2.3 under Linux
2024-12-23T19:09:58,613 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\01 Merchant Navy.mpg). Message: Unknown video file type.
2024-12-23T19:09:58,804 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\02 Bristol Fighter.mpg). Message: Unknown video file type.
2024-12-23T19:09:59,363 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\03 Churchill's Funeral Carriage.mpg' (title: 03 Churchill's Funeral Carriage) to Library
2024-12-23T19:09:59,546 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\04 Advanced Passenger Train.mpg). Message: Unknown video file type.
2024-12-23T19:10:00,100 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\05 Spitfire.mpg' (title: 05 Spitfire) to Library
2024-12-23T19:10:00,651 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\06 Mosquito.mpg' (title: 06 Mosquito) to Library
2024-12-23T19:10:01,187 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\07 Intercity 125.mpg' (title: 07 Intercity 125) to Library
2024-12-23T19:10:01,395 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\08 Vampire.mpg). Message: Unknown video file type.
2024-12-23T19:10:01,952 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\09 P2.mpg' (title: 09 P2) to Library
2024-12-23T19:10:02,166 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\10 Formula E.mpg). Message: Unknown video file type.
As a further experiment I installed the latest version of Linux Mint – Mint 22 – in a VM. This had ffmpeg version 6.1.1. However the results were the same ie serviio v 2.1 saw all the files whereas v 2.3 had the same missing files as before.
This does suggest that the version of ffmpeg is not the problem here.
Here is some diagnostic data for two of the files – Episode 02 which failed to be recognised and Episode 03 which was successful :-
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ ffmpeg -i '02 Bristol Fighter.mpg'
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[ac3 @ 0x5593dacca5c0] Format ac3 detected only with low score of 1, misdetection possible!
[ac3 @ 0x5593dacca5c0] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from '02 Bristol Fighter.mpg':
Duration: 08:45:34.68, start: 0.000000, bitrate: 383 kb/s
Stream #0:0: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified
--------------------------------------------------------------------------------
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ ffmpeg -i "03 Churchill's Funeral Carriage.mpg"
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mpeg @ 0x558d5c8b35c0] Format mpeg detected only with low score of 25, misdetection possible!
Input #0, mpeg, from '03 Churchill's Funeral Carriage.mpg':
Duration: 00:42:57.15, start: 0.232222, bitrate: 4786 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Side data:
cpb: bitrate max/min/avg: 9263200/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified
--------------------------------------------------------------------------------
It would seem that ffmpeg is not reporting a mpeg video stream for episode 2 so could it be that serviio v2.3 is not as resilient to this as v2.1 ?
I also ran mediainfo for both the files – results below. It doesn’t seem to have any problem detecting both video and audio streams :-
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ mediainfo '02 Bristol Fighter.mpg'
General
Complete name : 02 Bristol Fighter.mpg
Format : MPEG-PS
File size : 1.41 GiB
Duration : 42 min 7 s
Overall bit rate mode : Variable
Overall bit rate : 4 792 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture structure : Frame
Duration : 42 min 7 s
Bit rate mode : Variable
Bit rate : 4 312 kb/s
Maximum bit rate : 9 263 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.416
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
GOP, Open/Closed of first frame : Closed
Stream size : 1.27 GiB (90%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 42 min 6 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -30 ms
Stream size : 116 MiB (8%)
Service kind : Complete Main
Menu
------------------------------------------------------------------------------
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ mediainfo "03 Churchill's Funeral Carriage.mpg"
General
Complete name : 03 Churchill's Funeral Carriage.mpg
Format : MPEG-PS
File size : 1.44 GiB
Duration : 42 min 57 s
Overall bit rate mode : Variable
Overall bit rate : 4 786 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture structure : Frame
Duration : 42 min 57 s
Bit rate mode : Variable
Bit rate : 4 307 kb/s
Maximum bit rate : 9 263 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.415
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
GOP, Open/Closed of first frame : Closed
Stream size : 1.29 GiB (90%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 42 min 56 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -30 ms
Stream size : 118 MiB (8%)
Service kind : Complete Main
Menu
-------------------------------------------------------------------------------
In the short term I have “rolled back” to serviio v 2.1. However that is not a desirable position long term. I’d be more than grateful if an expert could take a look at this and hopefully solve my issue. Many thanks in advance.
2024-12-15T18:37:23,810 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg
2024-12-15T18:37:23,812 INFO [FFMPEGWrapper] FFmpeg details: [version=4.4.2-0ubuntu0.22.04.1, libRtpmPresent=false, libAssPresent=true, libShinePresent=true, libMxfPresent=true, nvEncPresent=false, libAomPresent=true]
Renderer Profile=Samsung TV / player (M-series), Name=UE40MU6400
Many months after upgrading from serviio 2.1 to 2.3 I became aware that 158 video files had “vanished” from the serviio library. However these files were all still present in their filesystem (NTFS) and every one I tried played perfectly with vlc media player. I noticed that often within a series that some files were still present while others had disappeared. Here is a typical example
2024-12-15T13:54:42,868 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/01 Merchant Navy.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,005 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/02 Bristol Fighter.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,142 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/04 Advanced Passenger Train.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,277 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/08 Vampire.mpg). Message: Unknown video file type.
2024-12-15T13:54:43,413 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1/10 Formula E.mpg). Message: Unknown video file type.
Here we can see that under serviio 2.3, episodes 1,2,4,8,10 are no longer playable but episodes 3,5,6,7,9 still were.
Reverting to serviio 2.1 all 10 episodes played perfectly. All these episodes had been recorded from Live TV on a Panasonic HDD/DVD recorder and copied to DVD-RW, then imported on PC and converted to /mpg (using DVD Decrypter and DVDVob2Mpg under WINE)
At first I wondered if there might be some sort of mismatch with the ffmpeg version so I installed the Windows version of serviio 2.4 in a Windows 10 VM.
However servio 2.4 under Windows performed exactly as serviio 2.3 under Linux
2024-12-23T19:09:58,613 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\01 Merchant Navy.mpg). Message: Unknown video file type.
2024-12-23T19:09:58,804 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\02 Bristol Fighter.mpg). Message: Unknown video file type.
2024-12-23T19:09:59,363 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\03 Churchill's Funeral Carriage.mpg' (title: 03 Churchill's Funeral Carriage) to Library
2024-12-23T19:09:59,546 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\04 Advanced Passenger Train.mpg). Message: Unknown video file type.
2024-12-23T19:10:00,100 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\05 Spitfire.mpg' (title: 05 Spitfire) to Library
2024-12-23T19:10:00,651 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\06 Mosquito.mpg' (title: 06 Mosquito) to Library
2024-12-23T19:10:01,187 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\07 Intercity 125.mpg' (title: 07 Intercity 125) to Library
2024-12-23T19:10:01,395 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\08 Vampire.mpg). Message: Unknown video file type.
2024-12-23T19:10:01,952 INFO [MediaFileIndexer] Added file 'V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\09 P2.mpg' (title: 09 P2) to Library
2024-12-23T19:10:02,166 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (V:\Videos\Railway\Model Railways\Hornby - A Model World\Series 1\10 Formula E.mpg). Message: Unknown video file type.
As a further experiment I installed the latest version of Linux Mint – Mint 22 – in a VM. This had ffmpeg version 6.1.1. However the results were the same ie serviio v 2.1 saw all the files whereas v 2.3 had the same missing files as before.
This does suggest that the version of ffmpeg is not the problem here.
Here is some diagnostic data for two of the files – Episode 02 which failed to be recognised and Episode 03 which was successful :-
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ ffmpeg -i '02 Bristol Fighter.mpg'
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[ac3 @ 0x5593dacca5c0] Format ac3 detected only with low score of 1, misdetection possible!
[ac3 @ 0x5593dacca5c0] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from '02 Bristol Fighter.mpg':
Duration: 08:45:34.68, start: 0.000000, bitrate: 383 kb/s
Stream #0:0: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified
--------------------------------------------------------------------------------
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ ffmpeg -i "03 Churchill's Funeral Carriage.mpg"
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mpeg @ 0x558d5c8b35c0] Format mpeg detected only with low score of 25, misdetection possible!
Input #0, mpeg, from '03 Churchill's Funeral Carriage.mpg':
Duration: 00:42:57.15, start: 0.232222, bitrate: 4786 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Side data:
cpb: bitrate max/min/avg: 9263200/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified
--------------------------------------------------------------------------------
It would seem that ffmpeg is not reporting a mpeg video stream for episode 2 so could it be that serviio v2.3 is not as resilient to this as v2.1 ?
I also ran mediainfo for both the files – results below. It doesn’t seem to have any problem detecting both video and audio streams :-
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ mediainfo '02 Bristol Fighter.mpg'
General
Complete name : 02 Bristol Fighter.mpg
Format : MPEG-PS
File size : 1.41 GiB
Duration : 42 min 7 s
Overall bit rate mode : Variable
Overall bit rate : 4 792 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture structure : Frame
Duration : 42 min 7 s
Bit rate mode : Variable
Bit rate : 4 312 kb/s
Maximum bit rate : 9 263 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.416
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
GOP, Open/Closed of first frame : Closed
Stream size : 1.27 GiB (90%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 42 min 6 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -30 ms
Stream size : 116 MiB (8%)
Service kind : Complete Main
Menu
------------------------------------------------------------------------------
guy@HPG2AMint21:/mnt/videos_a_tv/Videos/Railway/Model Railways/Hornby - A Model World/Series 1$ mediainfo "03 Churchill's Funeral Carriage.mpg"
General
Complete name : 03 Churchill's Funeral Carriage.mpg
Format : MPEG-PS
File size : 1.44 GiB
Duration : 42 min 57 s
Overall bit rate mode : Variable
Overall bit rate : 4 786 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture structure : Frame
Duration : 42 min 57 s
Bit rate mode : Variable
Bit rate : 4 307 kb/s
Maximum bit rate : 9 263 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.415
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
GOP, Open/Closed of first frame : Closed
Stream size : 1.29 GiB (90%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 42 min 56 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -30 ms
Stream size : 118 MiB (8%)
Service kind : Complete Main
Menu
-------------------------------------------------------------------------------
In the short term I have “rolled back” to serviio v 2.1. However that is not a desirable position long term. I’d be more than grateful if an expert could take a look at this and hopefully solve my issue. Many thanks in advance.