Open brooklyn097 opened 4 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:
/src/vobsub2srt.c++
calls the function vobsub_open
, which exists in /mplayer/vobsub.c
/mplayer/vobsub.c
mpeg_open
function gets called, we get some sort of error, but I'm not sure what.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.
Same problem here, running on a Raspberry Pi 4. I didn't try to cp the files to /root to test it.
Hi, This error caused if i do the conversion in any folder but not /root
Test 1: I run: cd /tmp; then run:
vobsub2srt eng2
it will throw error message like this:And i'm sure that in /tmp folder, the file named eng2.idx and eng2.sub are existing.
Test 2: I cd back to /root by command: cd /root; then run
vobsub2srt /tmp/eng2
It will throw them same error above.Test 3: I move eng2.idx and eng2.sub into /root folder then i run
vobsub2srt /root/eng2
orcd /root; vobsub2srt eng2;
the conversion will be processed without problem.So i think it's only work if the .idx and .sub file placed in /root folder. Is this a bug?