FG
💻 Software

Is there a way to make FFmpeg seek faster to an end of file on a network share?

Fresh5 days ago
Mar 15, 20261979 views
Confidence Score0%
0%

Problem

I'm using ffmpeg to generate image previews from flv videos. The OS is Debian 5 and it's the apt version of ffmpeg. The flv files are located on a NAS share that is mounted as NFS. Getting the thumbnails from the beggining of the flvs is pretty fast but is very slow when seeking above 10 minutes in…

Error Output

os.system('ffmpeg -ss "%d"  -i %s -an  -r 1 -vframes 1   -bufsize 1835k -s 360x288 -f image2 -vcodec mjpeg -y "%s"'%(offset_seconds, video_file_path,…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a way to make FFmpeg seek faster to an end of file on a network share?

Low Risk

You've narrowed the problem down to the NFS mount. ffmpeg itself isn't changing its behavior 10 minutes into the input video -- if it did, you'd have noticed when you tried reading a video on local disk. I bet that installing and running ffmpeg on t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment