Question about packetization in VLC

This forum is about all development around libVLC.
happyboy
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Dec 2010 19:19

Question about packetization in VLC

Postby happyboy » 04 Jan 2011 18:47

Hi all, I am analyzing how vlc packetize the file is.
Can anyone tell me which module or function is doing packetizer?

Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15213
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Question about packetization in VLC

Postby Rémi Denis-Courmont » 04 Jan 2011 21:57

modules/packetizer/*
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

happyboy
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Dec 2010 19:19

Re: Question about packetization in VLC

Postby happyboy » 10 Jan 2011 15:05

modules/packetizer/*
May I ask what copy.c, dirac.c and flac.c do?

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: Question about packetization in VLC

Postby Jean-Baptiste Kempf » 10 Jan 2011 18:05

packetize for FLAC, Dirac and copy the input simply.
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.

happyboy
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Dec 2010 19:19

Re: Question about packetization in VLC

Postby happyboy » 10 Jan 2011 21:59

I am working on a project which stream the video to one P2P system and then stream out to another client PC.
Before streaming the video data to the P2P system, I need to packetize the video file to appropriate packet size.
May I ask which function I need so that I can packetize the file? I want to know how to use the libvlc.lib and libvlccore.lib function in my project( in my player).

The flow of my project:
stream the video file in my player( using libvlc.lib and libvlccore.lib) -> packetize the video file to appropriate packet size -> stream the packet to P2P system ->
depacketize the file packet and group together -> play the video in other client PC.


Return to “Development around libVLC”

Who is online

Users browsing this forum: Bing [Bot] and 10 guests