Too many slices, increase MAX_SLICES and recompile

About encoding, codec settings, muxers and filter usage
jayakara
Blank Cone
Blank Cone
Posts: 15
Joined: 08 Feb 2011 16:34

Too many slices, increase MAX_SLICES and recompile

Postby jayakara » 09 May 2011 14:03

Dear All,

I am using network IP camera to stream real time video data to VLC player. VLC is playing Audio&video in network capture mode via RTP (RTSP). I compiled the linux based VLC player from open source version 1.1.9. My video data specification is as follows -
Video Codec used: H.264
Frames per second: 15fps
MAX slices: 34
But after some time vlc player stops playing the video data. On debug I can see following message -
:
Too many slices, increase MAX_SLICES and recompile
Too many slices, increase MAX_SLICES and recompile
Too many slices, increase MAX_SLICES and recompile
:
My queries are -
1. Even though I have source code I was not able to trace the source that prints debug message "Too many slices, increase MAX_SLICES and recompile". Can you please let me know where exactly I can locate this source?
2. I changed the MAX_SLICES to 120 from 32 in modules/codec/zvbi.c. But I still face the same problem. Is this right place to change the H.264 decoder MAX_SLICE value.

Thanks in advance
Best regards
Jayakara N
Analog Devices Inc

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Too many slices, increase MAX_SLICES and recompile

Postby Jean-Baptiste Kempf » 09 May 2011 14:19

Probably in ffmpeg/libavcodec/h264.h
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests