MickeyRat 10 Posted February 6 Posted February 6 I just moved onto a new server with Debian 12. I'd tried to get comskipper working on the old server but, I kept getting segmentation fault errors and gave up. These files all play fine but, comskip with verbose=10 shows a ton of Invalid frame dimensions 0x0 errors. So. took a look at them with ffprobe. It's showing the same issue. So , comskip isn't the problem. I've attached the output from ffprobe. This isn't happening on every file but, I'd be willing to bet it's most. TV reception where I live isn't the greatest and that may be a contributing to the problem. Any way to fix this? ffprobe_error.txt
Luke 39684 Posted February 6 Posted February 6 Hi, can you please provide a sample file for testing? Thanks.
MickeyRat 10 Posted February 6 Author Posted February 6 (edited) 12 minutes ago, Luke said: Hi, can you please provide a sample file for testing? Thanks. I'd be happy to but, it's too big to attach. What's the best way to get it to you? That brought my attention to another thing. The failed file is over 2GB. Other files of the same program are around 400MB. Edited February 6 by MickeyRat
emveepee 125 Posted February 6 Posted February 6 (edited) In my experience with many users this alone is very common and no cause for worry in the first few seconds. [mpeg2video @ 0x55c446107680] Invalid frame dimensions 0x0. Last message repeated 63 times Edited February 6 by emveepee
MickeyRat 10 Posted February 7 Author Posted February 7 9 hours ago, emveepee said: In my experience with many users this alone is very common and no cause for worry in the first few seconds. [mpeg2video @ 0x55c446107680] Invalid frame dimensions 0x0. Last message repeated 63 times Thanks for the reply. I don't think it will affect playback and I can't be certain that it's what's causing the problem with comskip. However, it is a difference between the files that cause comskip to segfault and the files that don't. At least it is on the files I've checked. @LukeI found a place you can pick the file up. You can get it here. I'll leave it up for a week.
emveepee 125 Posted February 7 Posted February 7 Have you ruled out comskip being the problem? I don't use use Emby but I know a NextPVR users was regularly getting segfaults on Debian 12 and the same recordings comskipped fine on Windows and Debian 11. Martin
MickeyRat 10 Posted February 7 Author Posted February 7 46 minutes ago, emveepee said: Have you ruled out comskip being the problem? I don't use use Emby but I know a NextPVR users was regularly getting segfaults on Debian 12 and the same recordings comskipped fine on Windows and Debian 11. Martin No I haven't. My thinking was that the invalid frame sizes were the cause of the issue with comskip.
TMCsw 165 Posted February 9 Posted February 9 If the (comskip) seg. faults happened on Linux the following post may help: There is a know issue with some Debian based distros' and seams to be related to the libswscale-dev Version that it was compiled with... Although for me it works with Debian-12 but not 11 or Ubuntu 22-04... But tooo manny errorzs in the the .ts may alaska cuz thut 1
Solution MickeyRat 10 Posted February 12 Author Solution Posted February 12 On 2/8/2025 at 10:37 PM, TMCsw said: If the (comskip) seg. faults happened on Linux the following post may help: There is a know issue with some Debian based distros' and seams to be related to the libswscale-dev Version that it was compiled with... Although for me it works with Debian-12 but not 11 or Ubuntu 22-04... But tooo manny errorzs in the the .ts may alaska cuz thut I owe you an apology because your suggestion sounded a little crazy to me. I also owe you a BIG THANK YOU for pointing me to a solution that mostly works. This is Debian 12. It's not quite what you recommend but, I went ahead and made a bash script to rerun comskip if a first attempt ended with an error. I then ran it against all my recordings. In many cases the first or the second attempt ran without error. In others, both attempts got seg faults. However, in those cases, I still got what looks like a valid cut list in the edl file. I have no explanation for that. So far, it appears to be working. I'll note that I did attempt to compile comskip. Please forgive me if I'm not saying this right. I don't remember the error but, the code is using a function that was deprecated a few versions ago in ffmpeg. I don't have the skills necessary to attempt to fix the code. Considering the installed base of Debian and it's derivatives, hopefully someone with the skills will. For now, I'm going to mark this as solved. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now