Open Vitaspiros opened 1 month ago
Weird, I'd guess this is related to your ffmpeg version. I've tested it on ffmpeg 6.1.2 (on Fedora 39)
It looks like you haven't posted the full output of ./testall.sh
, it would help if you did.
Did you definitely build x264 with the supplied patches?
It was the ffmpeg version! Updating to 7.0.2 fixed the issue. Now I have another problem though. When playing the resulting video file, mpv crashes and always throws these errors at 00:06:
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Incorrect number of samples in encryption info
[lavf] error reading packet: Invalid data found when processing input.
[lavf] ...treating it as fatal error.
and exits at 00:07 with the message:
Exiting... (End of file)
(also, the video is unplayable with vlc)
Though that's another problem. Should I open another issue to discuss this or should we continue here?
What version of ffmpeg were you on before?
I was on version 5.1.6. Since that was the latest version on my repositories, I installed a newer one by downloading a prebuilt binary of the updated version and adding it to PATH.
Also I noticed that even with the updated ffmpeg version, when trying the "Open Loop" demo, the same AssertionError shows at the logs of python3 server.py
. So maybe it wasn't the ffmpeg version after all.
When trying to run
./testall.sh
this is the output I get:(this continues repeatedly)
Also, when I am running
python3 server.py
and click start recording in OBS (with the Settings applied) I get the same error:I have applied the patches on both x264 and kvazaar and compiled them both. These are my OBS Settings:
Also my specs:
Can you help me figure out why this is happening?
Thanks in advance!
Also, your work is very good and I hope to see more in the future!