Page 1 of 1

VLC - mp2v output stream is "pumping"

Posted: 09 Jun 2014 17:37
by dam72
Hi friends of VLC,

I´m facing an issue,I would categorize under "strange". I´m running an Ubuntu 12.04 with latest stable vlc.
When transcoding from any source, BTW the issue is Independent from the source, the mp2v Output stream is "pumping" continuously less artefacts more artefacts... I don´t know which parameter to use to eliminate this phenomen.
https://www.dropbox.com/s/cfcosqec1tfsz ... pumping.ts

My vlc settings are like this:
[mux_ts]
# Video PID (integer)
sout-ts-pid-video=68
# Audio PID (integer)
sout-ts-pid-audio=69
[access_output_udp]
# Caching value (ms) (integer)
sout-udp-caching=1500
[main]
# Default stream output chain (string)
sout=#transcode{vcodec=mp2v,vb=1300,scale=0,width=720,fps=25,acodec=mpga,ab=128,channels=2,samplerate=480
00,deinterlace,audio-sync}:std{access=udp{ttl=5},mux=ts,dst=227.28.30.1:XXXX}

Re: VLC - mp2v output stream is "pumping"

Posted: 18 Jun 2014 14:52
by dam72
I always thought VLC is also using ffmpeg (avcodec) for Encoding, if it is like this, why is the behavior so different???
The "pumping" artefacts issue I described in the previous post disappears if use ffmpeg directly with the following command line.

ffmpeg -re -i C:\Users\MASTER\Videos\test.mpg -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -sc_threshold 1000000000 -b:v 1.2M -minrate:v 1.2M -maxrate:v 1.2M -bufsize:v 1.2M -acodec mp2 -ac 2 -b:a 128k -f mpegts udp://227.1.1.202:1234?pkt_size=1316

May anyone help me, how do I have to insert the working ffmpeg command line in the VLC command line to get the same result like with ffmpeg alone?

Thank you in advance!!!