[Mp4-tech] Corrupt MP4 files
Bharat Soni
bharatsoni gmail.com
Tue Apr 5 15:44:29 ESTEDT 2005
Hi,
If you have created the file in text mode (while writing the mp4
file), it will insert the special characters in it. If later on you
try to open the same file in binary mode, those special characters
will appear in the binary mode also. So probably this will be invalid
mp4 file.
To create a valid MP4 file, you have to open it in a binary mode only
while writing.
Regards,
Bharat
On Apr 4, 2024 7:22 PM, Deepak Sharma <depaks gmail.com> wrote:
> Hi Rathnam,
>
> It is difficult to answer your question. If it is possible for you to
> provide me the bit stream, I may be able to answer you exactly.
>
> regards,
> Deepak
>
> At 03:47 AM 4/3/2005, rathnam wrote:
> Hi Deepak,
>
> Thanks for the information. What I wanted to know is whether we should
> consider these files as INVALID files or not.
> What Speck says about this kind of files.
>
> Regards
> Rathnam
>
>
> -----Original Message-----
> From: Deepak Sharma [ mailto:depaks gmail.com]
> Sent: Saturday, April 02, 2024 12:02 PM
> To: rathnam; 'Sven Wontroba'; mp4-tech lists.mpegif.org
> Subject: Re: [Mp4-tech] Corrupt MP4 files
>
> Hi Rathnam,
>
> My guess is that these files have been opened in text mode. In windows this
> is default mode. The 0x0A, 0x0D denotes "carriage return". If you open files
> for writing, using binary mode, this problem should disappear.
>
> Regards,
> Deepak
>
> At 12:39 AM 4/1/2005, rathnam wrote:
>
> HI Experts,
>
> Need some light into the following problem from you guys.
>
> I am having some MPEG4 files which are having two bytes 0x0A, 0x0D extra at
> the end of the file.
>
> I would like to know whether these files are corrupt according to the
> standard.
>
> Thanks in advance
>
> Regards
> Rathnam
>
>
>
>
> _______________________________________________
> NOTE: Please use clear subject lines for your posts. Include [audio,
> [video], [systems], [general] or another apppropriate identifier to indicate
> the type of question you have.
>
> Note: Conduct on the mailing list is subject to the Antitrust guidelines
> found at
> http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php
> _______________________________________________
> NOTE: Please use clear subject lines for your posts. Include [audio,
> [video], [systems], [general] or another apppropriate identifier to indicate
> the type of question you have.
>
> Note: Conduct on the mailing list is subject to the Antitrust guidelines
> found at
> http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php
>
>
More information about the Mp4-tech
mailing list