Page 1 of 1

dvgrab: riff.c "Bad file descriptor"

Posted: Tue Jan 13, 2015 5:52 pm
by peter_b
[PROBLEM]
Tried to grab DV using the following commandline on Ubuntu 12.04 (64bit):

Code: Select all

$ dvgrab -f dv2 --size 0 -rewind -showstatus output.avi
Usually, that worked fine, but now I got the following exception:
Error: riff.cc:585: In function "virtual void RIFFFile::WriteChunk(int, const void*)": condition "lseek( fd, entry.offset - RIFF_HEADERSIZE, SEEK_SET ) == ( off_t ) - 1" is true
riff.cc:585: errno: 9 (Bad file descriptor)terminate called without an active exception
Aborted (core dumped)
[SOLUTION]
The problem was that I didn't have write permissions in that folder ;)