LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   vlc chain filter error: Too high level of recursion (3) (https://www.linuxquestions.org/questions/slackware-14/vlc-chain-filter-error-too-high-level-of-recursion-3-a-4175649855/)

timsoft 03-09-2019 09:10 AM

vlc chain filter error: Too high level of recursion (3)
 
I am getting the above error message multiple times on the kterminal prompt when I run vlc (3.0.6) from it and play an mp4 file. The file plays ok, but i don't know why I am getting the error.
running vlc --verbose 2
when I play the video file, I get
Code:

[00007f9440ad430] chain filter debug: Trying to use chroma I422 as middle man
[00007f97440adb70] main filter debug: looking for video converter moduile matching "any": 22 candidates
[00007f97440adb70] chain filter error: Too high level of recursion (3)
[00007f97440adb70] main filter debug: no video converter modules matched
[00007f97440adb30] main filter error: failed to create video converter

this is repeated about 49 times, then the video plays just fine. I recently rebuilt all the deps since python 3 moved up to 3.7.2 on sbo.
I am running on slackware 14.2 64bit , fully patched.
I'm using opencv rather than opencv-legacy for some of the deps, although there is no direct dep in ffmpeg, only an indirect one via frei0r, a direct one for vlc and an indeirect one via vsxu for vlc.
you get the error with the box.mp4 opencv example file and with the cup.mp4 file, as well as with other mp4 files.
I should re-iterate that the video clips do play, I am just trying to remove the error messages, and I'm not sure what is causing them.
any clues or pointers would be appreciated.

Alien Bob 03-09-2019 10:20 AM

I downloaded that box.mp4 video from the git repository:
Code:

wget -O box.mp4 https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/Data/box.mp4?raw=true
And then ran it with my own package of VLC 3.0.6 (i.e. not using the SBo version).
No such issue, this is what I see:
Code:

$ vlc  box.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[0000000000c0ba10] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alien'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alien'
[h264 @ 0x7f423cc57d60] A non-intra slice in an IDR NAL unit.
[h264 @ 0x7f423cc57d60] decode_slice_header error


Toutatis 03-09-2019 10:31 AM

I could get rid of this after deleting ./config/vlc and ./config/vlcrc

chris.willing 03-09-2019 04:14 PM

Quote:

Originally Posted by Alien Bob (Post 5972079)
I downloaded that box.mp4 video from the git repository:
Code:

wget -O box.mp4 https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/Data/box.mp4?raw=true
And then ran it with my own package of VLC 3.0.6 (i.e. not using the SBo version).
No such issue, this is what I see:
Code:

$ vlc  box.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[0000000000c0ba10] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alien'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alien'
[h264 @ 0x7f423cc57d60] A non-intra slice in an IDR NAL unit.
[h264 @ 0x7f423cc57d60] decode_slice_header error


Yes, same here using SBo version:
Code:

chris@d7:~$ vlc /var/cache/vmbuilder/test/box.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[0000000002553340] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-chris'
[h264 @ 0x7f1720cb94e0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x7f1720cb94e0] decode_slice_header error

From which I take that OP's additional output is perhaps something to do with local setup e.g. inclusion of opencv? I haven't had time yet (hopefully later today sometime) to try OP's method (discussed elsewhere) to correctly recognise and include opencv rather than opencv-legacy.

BTW Eric, how is sound on your box.mp4 replay? Here it is garbled noise.

chris

timsoft 03-09-2019 06:30 PM

yes, i know your build works eric, (and thanks, i've used it up till now). I'm trying to get my own fully loaded version working. It was working prior to python 3.6 - 3.7.2 update, and I went and updated all my python3 libs (and python2 ones that optionally build for python3). I redid stuff with opencv as opencv-legacy was having difficulties with the new python, and I redid ffmpeg and a few other libs several times to hopefully deal with the recursive deps.
As mentioned on the sbo-users mailing list, I added a opencv entry for pkg-config so that other packages could find it (vlc) as it wasn't being found (called opencv4 instead of opencv).
I haven't checked audio yet (testing on a vm) but video is fine.
i'm using sbopkg for building the packages

timsoft 03-14-2019 02:01 PM

I've used the updated vlc (thanks chris) and compiled with wayland and opencv(4). mp4 video's play ok, but I still get the error message(s) on the terminal (konsole)
main filter error: Failed to create video converter and
chain filter error: Too high level of recursion (3)
which repeats many times on opening the video.
I am guessing it is some combination of optional libs and build/rebuild order for recursive deps.
ffmpeg , vid.stab, frie0r, opencv, transcode, libquickime, and mjpegtools
any pointers eric? (seeing as how your builds work :-) )


All times are GMT -5. The time now is 12:08 PM.