Anybody knows which file contains the video decode function?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
haiying7
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jan 2011 09:15
VLC version: vlc 1.1.7
Operating System: Mac OS and Linux
Location: Hong Kong

Anybody knows which file contains the video decode function?

Postby haiying7 » 24 Jan 2011 09:39

Dear all, I have a video content file which is a Hex file. But it is in a new format that is different from the normal video format, so VLC could not play it directly. Where and how should I modify the functions in VLC source code in order that VLC can play this new format video?
Thx very much.

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: Anybody knows which file contains the video decode funct

Postby Jean-Baptiste Kempf » 24 Jan 2011 13:06

What format is it?
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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Anybody knows which file contains the video decode funct

Postby VLC_help » 24 Jan 2011 15:09

And if you don't know the format, you can use tools like Mediainfo to identify it.

haiying7
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jan 2011 09:15
VLC version: vlc 1.1.7
Operating System: Mac OS and Linux
Location: Hong Kong

Re: Anybody knows which file contains the video decode funct

Postby haiying7 » 25 Jan 2011 03:43

What format is it?
For example, I add a time stamp for every packet. The original file of video content we download from server is like this, "...AADBCE..."; now it is like this "...AAD134BCE...". It is encoded and I need to send them to video decoder of VLC, right? New format means the transmission time of that packet is 134 seconds. But how can VLC play this new format file.

Thank you.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Anybody knows which file contains the video decode funct

Postby VLC_help » 25 Jan 2011 15:07

New format means the transmission time of that packet is 134 seconds. But how can VLC play this new format file.
Is the data in container level? If so, the demux modules are the ones you are looking for http://git.videolan.org/?p=vlc.git;a=tr ... ules/demux
If the data is in codec level, then look for decoders http://git.videolan.org/?p=vlc.git;a=tr ... ules/codec

haiying7
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jan 2011 09:15
VLC version: vlc 1.1.7
Operating System: Mac OS and Linux
Location: Hong Kong

Re: Anybody knows which file contains the video decode funct

Postby haiying7 » 26 Jan 2011 02:58

New format means the transmission time of that packet is 134 seconds. But how can VLC play this new format file.
Is the data in container level? If so, the demux modules are the ones you are looking for http://git.videolan.org/?p=vlc.git;a=tr ... ules/demux
If the data is in codec level, then look for decoders http://git.videolan.org/?p=vlc.git;a=tr ... ules/codec
Thx, I understand your meaning. What I plan to do is that when we use VLC to play a video file, it will open a local video content file and a packet arrival time file which records how long time of a video packet is. And the time file will control when the video packet is sent to VLC to play. If we modify the time value to be larger, the playing delay will be longer when the video is played.

I think I need to modify the "open file function" in /modules/access/file.c. Am I right?

Thx :)

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Anybody knows which file contains the video decode funct

Postby VLC_help » 26 Jan 2011 14:11

If you open local files, then file.c is the right file to modify.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests