Page 1 of 1

possible problem xeon

Posted: 01 May 2014 18:08
by chourizo
Hello,

I have a script for vlc. I am receiving a H264 stream and transcoding it to add a logo and text. I am displaying it and sending it to a file.

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --sub-filter logo --logo-file logo.png --sub-filter marq --marq-marquee "this is a test" --marq-position=9 -vvv "rtsp://192.168.0.127/stream1" --noaudio --http-reconnect --network-caching=220 --sout "#transcode{vcodec=h264,venc=x264{keyint=25,profile=high444,preset=slower,tune=animation,pass=1,scenecut,bframes=3,bitrate=10000},mux=avi,acodec=none,scale=1,vfilter=canvas{width=1920,height=1080,fps=25},sfilter=logo:marq}:duplicate{dst=display,dst=std{access=file,mux=ts,dst='video-%dtStamp%.avi'}}"
That script "works" on my laptop with the CPU at 100%. I can open the video with no problems.

But when I try to use in the actual computer that I want to use (Xeon processor with 10 cores, 20 threads, 2 Nvidia 650ti, 24GB of ram and 1TB of SSD) there is no way to transcode anything. I tried to transcode to a different codec (mp2V), different resolution... nothing. I basically cannot transcode on that computer. I also tried reducing the number of cores with no difference. I have installed the default (most actual) version of vlc for windows.

I can open the stream with no problems.

Any idea?

Re: possible problem xeon

Posted: 01 May 2014 18:13
by chourizo
It's like if the size of the input buffer for the transcoding was always zero.

Re: possible problem xeon

Posted: 01 May 2014 19:53
by David7578
First I'd try to increase verbose mode and check messages. Maybe you've got hints there.
Next, I'd try to do the same thing, but with a source file instead of a stream, to reduce the possible sources of problems.
If it works with a file, then the problem would be with the stream.
I'd try to play that stream, then I'd try a simple resize transcoding and so on...

With what you shared, it's hard to even begin to know where the problem could come from.

Re: possible problem xeon

Posted: 01 May 2014 20:47
by chourizo
Thanks for your answer!

I already have the verbose mode enabled, but no error messages.
I tried with a video file with the same format than the stream (a record of the stream) and no difference respect the actual stream. The buffer is filled with data (I can see the progress bar of the buffer), but there is no output data.
I can play the stream succesfully if I remove the whole transcoding part of the script.
I tried a resize (640x480) with no difference.
I also reinstalled VLC with no differences (2.1.3). I am using windows 7.

It's like if the buffer was not connected to the "source of data" of the transcoder. As I said, the script works fine in my laptop. I also have to say that it's a triple monitor system with SLI.

I don't know what's happening. Any suggestion will be appreciated.