Skip to content

More fun with UNC Pathing to CIFS Share and/or File Name with a . (period) #68

Closed

Description

@larray

Possibly a different presentation of the same error Issue 61 - full log:

[INFO] Running C:\Users\user\AppData\Local\Programs\Frame\binaries\ffmpeg-x86_64-pc-windows-msvc.exe -i \\server\SHARE\Videos\_Archive\Movies - Hideously Large\_TRANSCODED\That time Uncle Johnny Lit a Firecracker in His Mouth (2026).mkv -c:v libx264 -crf 23 -preset medium -vf pad=ceil(iw/2)*2:ceil(ih/2)*2:0:0 -map 0:v:0 -map 0:a? -c:a aac -b:a 128k -map 0:s? -c:s mov_text -y \\server\SHARE\Videos\_Archive\Movies - Hideously Large\_TRANSCODED\That time Uncle Johnny Lit a Firecracker in His Mouth (2026)_converted.mp4
ffmpeg version n8.1.2-20260628 Copyright (c) 2000-2026 the FFmpeg developers
built with gcc 15.2.0 (crosstool-NG 1.28.0.23_185f348)
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 --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libvmaf --enable-fontconfig --enable-libharfbuzz --enable-libfreetype --enable-libfribidi --enable-vulkan --enable-libshaderc --enable-libvorbis --disable-libxcb --disable-xlib --disable-libpulse --enable-gmp --enable-lzma --enable-liblcevc-dec --enable-opencl --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-libplacebo --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-liboapv --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-libvvenc --disable-whisper --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20260628
libavutil      60. 26.102 / 60. 26.102
libavcodec     62. 28.102 / 62. 28.102
libavformat    62. 12.102 / 62. 12.102
libavdevice    62.  3.102 / 62.  3.102
libavfilter    11. 14.102 / 11. 14.102
libswscale      9.  5.102 /  9.  5.102
libswresample   6.  3.102 /  6.  3.102
[in#0/matroska,webm @ 0000027618ef7ec0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[in#0/matroska,webm @ 0000027618ef7ec0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[in#0/matroska,webm @ 0000027618ef7ec0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '\\server\SHARE\Videos\_Archive\Movies - Hideously Large\_TRANSCODED\That time Uncle Johnny Lit a Firecracker in His Mouth (2026).mkv':
Metadata:
title           : That time Uncle Johnny Lit a Firecracker in His Mouth
encoder         : libmakemkv v1.14.5 (1.3.5/1.4.7) win(x64-release)
creation_time   : 2021-10-28T10:50:38.000000Z
Duration: 01:32:26.00, start: 0.000000, bitrate: 71502 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 420.336583
Metadata:
title           : Chapter 01
Chapter #0:1: start 420.336583, end 904.361792
Metadata:
title           : Chapter 02
Chapter #0:2: start 904.361792, end 1374.206167
Metadata:
title           : Chapter 03
Chapter #0:3: start 1374.206167, end 1892.557333
Metadata:
title           : Chapter 04
Chapter #0:4: start 1892.557333, end 2255.586667
Metadata:
title           : Chapter 05
Chapter #0:5: start 2255.586667, end 2673.212208
Metadata:
title           : Chapter 06
Chapter #0:6: start 2673.212208, end 3162.868042
Metadata:
title           : Chapter 07
Chapter #0:7: start 3162.868042, end 3571.985083
Metadata:
title           : Chapter 08
Chapter #0:8: start 3571.985083, end 4060.681625
Metadata:
title           : Chapter 09
Chapter #0:9: start 4060.681625, end 4515.344167
Metadata:
title           : Chapter 10
Chapter #0:10: start 4515.344167, end 5089.751333
Metadata:
title           : Chapter 11
Chapter #0:11: start 5089.751333, end 5545.998792
Metadata:
title           : Chapter 12
Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
BPS-eng         : 67925570
DURATION-eng    : 01:32:25.998791666
NUMBER_OF_FRAMES-eng: 132971
NUMBER_OF_BYTES-eng: 47089384770
SOURCE_ID-eng   : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: dts (dca) (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
Metadata:
title           : Surround 5.1
BPS-eng         : 2030406
DURATION-eng    : 01:32:25.045333333
NUMBER_OF_FRAMES-eng: 519848
NUMBER_OF_BYTES-eng: 1407337132
SOURCE_ID-eng   : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: dts (dca) (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
Metadata:
title           : Surround 5.1
BPS-eng         : 1509000
DURATION-eng    : 01:32:25.045333333
NUMBER_OF_FRAMES-eng: 519848
NUMBER_OF_BYTES-eng: 1045934176
SOURCE_ID-eng   : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(deu): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng         : 33584
DURATION-eng    : 01:28:25.112312500
NUMBER_OF_FRAMES-eng: 1958
NUMBER_OF_BYTES-eng: 22270879
SOURCE_ID-eng   : 0012A0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(deu): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng         : 770
DURATION-eng    : 01:22:11.572479166
NUMBER_OF_FRAMES-eng: 50
NUMBER_OF_BYTES-eng: 474738
SOURCE_ID-eng   : 0012A1
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(deu): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng         : 770
DURATION-eng    : 01:22:11.572479166
NUMBER_OF_FRAMES-eng: 50
NUMBER_OF_BYTES-eng: 474738
SOURCE_ID-eng   : 0012A1
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-10-28 10:50:38
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[sost#0:3/mov_text @ 000002761b482380] Subtitle encoding currently only possible from text to text or bitmap to bitmap
Error opening output file \\server\SHARE\Videos\_Archive\Movies - Hideously Large\_TRANSCODED\That time Uncle Johnny Lit a Firecracker in His Mouth (2026)_converted.mp4.
Error opening output files: Invalid argument
[ERROR] Worker process error: ffmpeg exited with status exit code: 0xffffffea

Activity

  1. larray commented on Jul 13, 2026

    @larray
    Author

    I couldn't reopen the other issue. :(
    I have upgraded to Frame 0.31.0

    To validate it isn't the UNC or CIFS causing a problem I copied the file to C:\TEMP (I am a full admin on the box) and it has the same error.

  2. 66HEX commented on Jul 17, 2026

    @66HEX
    Owner

    Thanks for testing this. You’re correct - this is not related to UNC/CIFS paths or permissions.

    The relevant error is:
    Subtitle encoding currently only possible from text to text or bitmap to bitmap
    The source contains bitmap-based PGS subtitles, while Frame 0.31.0 was attempting to convert them to MP4’s text-based mov_text format.

    This has now been fixed on master in fd374af. Frame will skip incompatible bitmap subtitle streams by default, while explicitly selecting one will produce a clear validation error before FFmpeg starts. The fix will be included in the next release.

    As a temporary workaround in 0.31.0, disable subtitle passthrough when exporting to MP4, or use MKV output to preserve the PGS subtitles.

  3. larray commented on Jul 17, 2026

    @larray
    Author

    As a temporary workaround in 0.31.0, disable subtitle passthrough when exporting to MP4, or use MKV output to preserve the PGS subtitles.

    Apologies - I do not see where in the interface it can be disabled?

    I see .SRT or .ASS selection or source tracks in the subtitle configuration.

    However, in the processing mode section, I have it set to re-code because my goal is to get to MP4 or compatibility with my devices.

    But I don't see anything in that interface to disable subtitle pass-through either.

  4. 66HEX commented on Jul 17, 2026

    @66HEX
    Owner

    Apologies, it's late here and I made false statement - currently there's no way to disable subtitle passthrough. Since this file contains only PGS subtitle tracks, the practical workarounds are to use MKV (which isn't your goal), remove the subtitle streams with another tool before conversion, or wait for the next Frame release containing the fix (fix is already in codebase and Frame v0.31.2 will be released in 1-2 days)

  5. larray commented on Jul 17, 2026

    @larray
    Author

    No apologies necessary - I just needed to confirm if it was

    • I'm blind 😁
    • It isn't actually in the interface
    • It's in the UI but the UI isn't clear (and I can help point out a usability challenge)

    Thanks! Will wait for the next release.

  6. 66HEX commented on Jul 26, 2026

    @66HEX
    Owner

    Thanks for your patience. Since the source contains bitmap-based PGS subtitles, they must first be converted to text using OCR. Simply extracting or renaming the PGS stream will not make it compatible with MP4.

    Converting PGS subtitles to SRT

    On Windows, one of the easiest tools for this is Subtitle Edit:

    1. Install and open Subtitle Edit.
    2. Select File → Open and open the original MKV file.
    3. When prompted, select the PGS subtitle track you want to convert. The tracks in your log are marked as German (deu).
    4. Subtitle Edit should open its image-based subtitle OCR window.
    5. Select an OCR engine and the correct subtitle language. Tesseract 5 is a convenient automatic option; nOCR or Binary image compare may also work well with Blu-ray PGS subtitles.
    6. Click Start OCR.
    7. Review the recognized text carefully. OCR can confuse similar characters such as I, l, 1, O, and 0. Running the common-error correction and spell-checking tools is recommended.
    8. Select SubRip (.srt) as the output format and UTF-8 as the encoding.
    9. Use File → Save as to save the resulting .srt file.

    Subtitle Edit's OCR documentation is available here.

    Using the SRT file in the current version of Frame

    Frame currently accepts external .srt, .ass, and .vtt files as burn-in subtitles:

    1. Add the original MKV file to Frame.
    2. Select MP4 as the output format.
    3. Set the processing mode to Re-encode.
    4. Open the Subtitles section.
    5. Under Burn-in subtitles, select the newly created .srt file.
    6. Start the conversion.

    Burned-in subtitles become a permanent part of the video and cannot be switched off.

    Selectable subtitle tracks

    MP4 can also contain selectable text subtitle tracks, normally encoded as mov_text. These tracks can be enabled or disabled in compatible players and can include language, title, default, and forced metadata.

    Adding external .srt, .ass, or .vtt files to Frame as selectable subtitle tracks instead of burning them into the video is now on the Frame roadmap. The planned feature will be separate from the existing burn-in option and will automatically convert text subtitles to the format required by the selected output container.

    Until that feature is available, the practical Frame workflow is to convert PGS to SRT with Subtitle Edit and burn the SRT into the output video. Alternatively, the generated SRT can be embedded into an MP4 as a selectable track using another muxing tool.

  7. 66HEX commented on Jul 26, 2026

    @66HEX
    Owner

    Closing this issue for now, as the original conversion failure caused by PGS subtitles has been fixed. Frame will skip incompatible bitmap subtitle tracks when exporting to MP4.

    Support for adding external text subtitles as selectable tracks instead of burning them in is on the roadmap and will be handled separately.

  8. added
    area:export
    area:ffmpeg
    bug
    platform:windows
    and removed
    bug
    area:export
    area:ffmpeg
    platform:windows
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions