0

I'm facing a peculiar issue. I've copied media file to USB flash (using Linux Mint). Now when this files is played by mpv at one point it freezes for some time displaying what looks like green foreign language symbols all over the screen (and no subtitles after unfreeze). When played from initial disk it plays fine. Hashes as calculated in terminal are same.

I wonder how playing same file can lead to different results.

4
  • Do hashes remain the same after unplugging and re-connecting the USB drive? Commented Nov 4, 2024 at 9:14
  • @grawity, yes, I've tried that. Same and same issues persist during playback. Commented Nov 4, 2024 at 9:20
  • Is the disk fast enough for the video to be streamed off it? Commented Nov 4, 2024 at 9:23
  • 1
    @Martian2020 if you plan to keep your information around, it's very encouraged around here to write self-answered posts! A question post "I have a video file with an external … when … I get …. What could be…?" with an answer "problem seems to be that your file … encoding…" or such. Commented Nov 4, 2024 at 10:25

2 Answers 2

1

I wonder how playing same file can lead to different results.

timing! For a file to be played back, the data needs to be processed by the decoder in time before it needs to be played.

If a player miscalculates how much it needs to read in advance to be able to always stay ahead of the playback, then things like data dropouts happen. Why that leads to green symbols on your screen, don't know, that never happened to me, that might just be a bug in your display hardware or its driver that fills "can't display anything, sorry" with "we take this random memory and show it". OK.

So, my guess here is that your USB flash has non-uniform access speed (that actually does happen to flash memory, because some regions might wear out faster than others). Doesn't change the data, but might simply delay reading a specific block. The fact that that's enough for your decoder to "run empty" is a bit worrisome. Check your sudo dmesg for indications that the USB drive reset itself in the middle of operations. Even if it didn't, I'd avoid storing important information on that drive; ECC on the flash memory taking very long is a relatively strong indication of a soon-to-fail piece of memory.

0
0

I've forgot I've edited (via xed) subtitles file changing encoding. And now that I look original has (as seen in xed editor) these symbols starting in about same time as that are displayed when changed file is played instead of English that is actually displayed when original is played.

So it was xed issue as Libre Writer and vim both opened the file "cleanly".

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.