markus.sc...@gmail.com
unread,Sep 3, 2025, 1:23:27 PM (4 days ago) Sep 3Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to idl-pvwave
I've got an error
% WRITE_VIDEO: Unable to write to file
which made me believe I had an issues with the path or the permissions on the path or file. But I could exclude that.
After deploying my code injection routine, which set on_error,0 within 2 functions of WRITE_VIDEO, and some breakpoints, including on the catch, /CANCEL, I managed to locate the problem to the following line:
!NULL = self.oVid->Put(streamIndex, data[*,*,*,i])
in function writevideohandle::Write, and got
IDL> print,!ERROR_STATE.MSG
IDLFFVIDEOWRITE::PUT: Error opening codec for stream 0.
IDL> print, err
-1011
At which point I tested ffmpeg from bash and ran into a problem, that my IT people have fixed since:
ffmpeg: symbol lookup error: /lib64/libopenmpt.so.0: undefined symbol: mpg123_param2
But while ffmpeg now works from bash, I still have the same problem with WRITE_VIDEO.
Now I have 2 questions:
1) What do I have to tell our IT to do to get WRITE_VIDEO working again?
2) Is there an easier way than using breakpoints on library functions to figure out where such a problem is coming from?