dvgrab: riff.c "Bad file descriptor"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 372
Joined: Tue Nov 12, 2013 2:05 am

dvgrab: riff.c "Bad file descriptor"

Post 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 ;)
Post Reply