ruediger / VobSub2SRT

Converts VobSub subtitles (.idx/.srt format) into .srt subtitles.
GNU General Public License v3.0
293 stars 65 forks source link

Strange file not found error #79

Open brooklyn097 opened 4 years ago

brooklyn097 commented 4 years ago

Hi, This error caused if i do the conversion in any folder but not /root

So i think it's only work if the .idx and .sub file placed in /root folder. Is this a bug?

meyersbs commented 3 years ago

I'm having the exact same problem. The following files exist:

video.idx
video.sub

Error message:

$ vobsub2srt --verbose video

    VobSub: Can't open IDX file
    fopen Vobsub file failed: No such file or directory
    VobSub: Can't open SUB file
    Couldn't open VobSub files 'video.idx/.sub'

My C++ is not great, but looking through the code:

But, even after tracking all of this down, I have no idea why we get errors when the IDX/SUB files exist anywhere but the /root/ directory. It makes no sense to me.

djayor commented 1 year ago

Same problem here, running on a Raspberry Pi 4. I didn't try to cp the files to /root to test it.