write_video - error trace - ffmpeg

15 views
Skip to first unread message

markus.sc...@gmail.com

unread,
Sep 3, 2025, 1:23:27 PM (4 days ago) Sep 3
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?

markus.sc...@gmail.com

unread,
Sep 5, 2025, 8:43:42 AM (2 days ago) Sep 5
to idl-pvwave
Update: Now write_video works again, but the problem that it masks the correct error reports still remains an issue.
Reply all
Reply to author
Forward
0 new messages