various audio & video files opening lead to crash
Describe the bug :
Have QualCoder 3.5
am on Fedora Linux and have used sudo pip install python-vlc to remove vlc missing message from QualCoder, even though VLC was installed on system; I have also installed alternatively Fedora's meanwhile also packaged python3-vlc.
I open an audio file, QualCoder crashes. I try another audiofile: same result. I convert the audiofile externally into mp3 format. Still crashes.
edit: same issue with video files
Opening the file with the VLC without QualCoder works.
To Reproduce :
- import audio file
- open audio file
crash
Expected behavior :
audio file should open to allow for transcription
Screenshots :
If applicable, add screenshots that helps to explain your problem.
Desktop (please complete the following information):
- OS: Fedora
- Version 39
this is the latest part of the shell's error message
encoder : Lavc60.3.100 png
[image2 @ 0x5616217764c0] The specified filename '/home/ingmarlippert/Documents/GU/Hessenbox/Teaching/deep.teaching/QualCoder project/deep.teaching.qda/audio/waveform.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x5616217764c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
frame= 1 fps=0.3 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Segmentation fault (core dumped)
https://superuser.com/questions/1792249/ffmpeg-suppress-warning-when-writing-to-a-single-image seems to refer to something similar. I am not sure why QualCoder is looking for an image in the audio file.
The file /audio/waveform.png is readable by my computer.
Hi. I am not getting this problem on Windows.
If it is to do with using ffmpeg to create the waveform you could comment out that bit, in the view_av.py file:
Like so:
I tested it now also an another computer with the current code of QualCoder, with line 3746 in https://github.com/ccbogel/QualCoder/blob/master/qualcoder/view_av.py commented out; and not having it commented out. It does not make a difference.
OK. so the issue is not ffmpeg or the png
check this maybe https://github.com/unpaper/unpaper/issues/113#issue-1357029426
Well its no the ffmpeg that the problem. its something else I think
do you have time to Zoom?
I note that reinstalling QualCoder with the commented out line also crashes QualCoder when attempting to open audio/video files. But in the shell I cannot find any error message.
do you have time to Zoom?
can do now :)
do you have time to Zoom?
can do now :)
am online now at
https://uni-frankfurt.zoom-x.de/j/6864199000
Sorry, the changes to https://github.com/ccbogel/QualCoder/blob/master/qualcoder/view_charts.py that I used back in January don't seem to get me a running QualCoder anymore... (I had deactivated wordcloud import)
I went back to QualCoder 3.3 on a fresh Fedora install and the same waveform error appears, too.
Hi there,
I am trying to find more on the ffmpeg error message I am receiving...
- https://superuser.com/questions/1792249/ffmpeg-suppress-warning-when-writing-to-a-single-image
- https://video.stackexchange.com/questions/36766/extracting-a-screenshot-from-a-video-using-ffmpeg
Would you let me know where ffmpeg is called, so that I can try to experimend with the call?
Hi. ffmpeg is used in these two files:
speech_to_text.py In here a python module called pydub pydub uses ffmpeg using this to convert format to flac and to split audio into chunks
view_av.py
class SegmentGraphicsItem methods: contextMenuEvent export_segment
class DialogViewAV methods: get_waveform
For me on Fedora 42 with QualCoder 3.7 I get a similar problem. When trying to code a video file the application freezes and shortly thereafter crashes. The terminal looks like this (first line my command to start, second line output):
python3.12 -m qualcoder
Segmentation fault (core dumped)
Acknowledged. I do not have a solution for this at the moment.