Packetizer module

About encoding, codec settings, muxers and filter usage
irismedia
New Cone
New Cone
Posts: 5
Joined: 11 Nov 2008 16:06

Packetizer module

Postby irismedia » 11 Nov 2008 16:20

Hi all,

first of all sorry for my english. I'm developing an application that server mpeg2 video to a STB using libvlc. Before the 0.9 API it worked quite good but I'm having some troubles now I'm porting to 0.9 API. The main problem I think is that vlc is using "packetizer_mpeg4video" while I guess it may use "packetizer_mpegvideo". I have tried to find the command line option to change it but I haven't been able to.

The command line is the next one:

Code: Select all

vlc -I dummy --ignore-config --verbose=2 --sout=#transcode{vcodec=mp2v,vb=6144,scale=1,maxwidth=720,maxheight=576,fps=25,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts{pid-video=13,pid-audio=15},dst="192.168.2.3:20000"}}:file-caching=60000
The output related to the packetizer is:

Code: Select all

looking for packetizer module: 18 candidates using packetizer module "packetizer_mpeg4video" TIMER module_Need() : 0.457 ms - Total 0.457 ms / 1 intvls (Avg 0.457 ms) stream out mode -> no decoder thread looking for packetizer module: 18 candidates using packetizer module "mpeg_audio" TIMER module_Need() : 0.334 ms - Total 0.334 ms / 1 intvls (Avg 0.334 ms) stream out mode -> no decoder thread starting in async mode
The output when playing:

Code: Select all

drift is too high, resetting master sync mmh, packets in the past (397516) packet has been sent too late (398458) packet has been sent too late (395853) ...
Do anyone knows the way to force the use of "packetizer_mpeg4video"?

Thanks in advance, Álvaro

irismedia
New Cone
New Cone
Posts: 5
Joined: 11 Nov 2008 16:06

Re: Packetizer module

Postby irismedia » 11 Nov 2008 17:24

More outputting when playing:

Code: Select all

packet has been sent too late (237831) late packet for UDP input (236272) packet has been sent too late (236314) late packet for UDP input (234750) packet has been sent too late (234798) late packet for UDP input (233232)

Code: Select all

late picture skipped (2147332) late buffer for mux input (2412255) late picture skipped (2613224) late buffer for mux input (2662360) late buffer for mux input (2639387) late picture skipped (2907757) late buffer for mux input (3108066) late buffer for mux input (3144360) late picture skipped (3352131)

Code: Select all

packet has been sent too late (629563) adjusting rate at 0/1280000 (43/154) late packet for UDP input (629576) late packet for UDP input (629654) late packet for UDP input (629683) packet has been sent too late (629701) late packet for UDP input (629757) late packet for UDP input (629780) late packet for UDP input (629802) packet has been sent too late (629837) adjusting rate at 0/1280000 (34/120)
I think this problems are due to the packetizer, but maybe there is another reason...

Thanks in advance, Álvaro


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 79 guests