how to find so many MP4 formats

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
manchesterunite
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2011 07:58

how to find so many MP4 formats

Postby manchesterunite » 08 Sep 2011 08:18

I'm studying MP4 demux code, and find that there are so many special cases handled in mp4.c.
after looking through ISOIEC14496 specs and APPLE's qtfileformat , I still cannot figure out some cases.

for example:

.....
if( !p_enda )
p_enda = MP4_BoxGet( p_sample, "enda" );

if( p_track->fmt.i_cat == AUDIO_ES && ( p_track->i_sample_size == 1 || p_track->i_sample_size == 2 ) ) // why sample_size=1 or 2 means something, where defines this situation???
{
.......

can anybody help me? tks!

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

Re: how to find so many MP4 formats

Postby Rémi Denis-Courmont » 08 Sep 2011 11:24

It's unlikely that whomever wrote that piece of code at some point in the past is both going to see your post and remember what exactly this does. You'd better read the file history in the version control.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

manchesterunite
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2011 07:58

Re: how to find so many MP4 formats

Postby manchesterunite » 09 Sep 2011 04:13

tks for your replay

I just expect someone who understand the code happened to come here.
whatever...

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: how to find so many MP4 formats

Postby Jean-Baptiste Kempf » 14 Sep 2011 00:57

Use git blame to find who and why.
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.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: how to find so many MP4 formats

Postby Sébastien Escudier » 16 Sep 2011 10:14



Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 100 guests