Thanks Tomas,

I meant MPEG-4 Visual encoded stream, not the container which is ps. MediaInfo 
lists the following:

Format                           : MPEG-PS
File size                        : 1.90 MiB
Duration                         : 4mn 55s
Overall bit rate                 : 54.0 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG-4 Visual
Format settings, BVOP            : No
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Duration                         : 4mn 55s
Bit rate                         : 52.9 Kbps
Width                            : 640 pixels
Height                           : 480 pixels
Display aspect ratio             : 4:3
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Stream size                      : 1.87 MiB (98%)

Attached is the header.

Regards,
R_georg


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Tomas Härdin
Sent: Tuesday, October 05, 2010 10:19 AM
To: Libav* user questions and discussions
Subject: Re: [libav-user] Help with demuxing

Please don't top post on this list

On Tue, 2010-10-05 at 09:09 -0500, Ruslan Georgiev wrote:
> Thanks a lot Tomas,
> 
> Ffprobe says:
> Format detected only with low score of 25, misdetection possible!
> c:\..\<filename>: Operation not permitted
> 
> I have found only the 0x000 0x000 0x001 0x0b6 pattern that identifies a frame 
> in MPEG-4. I don't know if it's encrypted or not. I am trying to peek as much 
> as I can from the format before going into a discussion with their 
> engineering.
> How can I identify the byte patterns for ftyp and moov?
> 
> Thanks,
> r_georg
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Tomas Härdin
> Sent: Tuesday, October 05, 2010 9:53 AM
> To: Libav* user questions and discussions
> Subject: Re: [libav-user] Help with demuxing
> 
> On Tue, 2010-10-05 at 08:17 -0500, Ruslan Georgiev wrote:
> > I need to implement a demuxer for a proprietary MPEG-4 container. I think 
> > that it's MPEG-4 based on the information provided by MediaInfo. How do I 
> > go identifying the stream start and container info?
> > Thank you very much in advance.
> > 
> > Regards,
> > r_georg
> 
> What does ffprobe say? Have you looked at the file in a hex editor and found 
> the ftyp and moov atoms? Is it encrypted in any way? Finally, are you allowed 
> to upload it?
> 
> /Tomas

I assumed by "MPEG-4" you meant its variant of the quicktime container, also 
known as .mp4. It sounds more like you have a raw H.264 stream, but that should 
work fine in ffprobe/ffmpeg/ffplay. Maybe if you post a bit more hex, like the 
first dozen lines from hexdump, someone would be able to say more.

/Tomas
00 00 80 00 00 80 00 00 80 00 00 80 00 00 80 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 d6 00 36 00 00 ff ff 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 d7 00 36 00 00 ff
ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 d8 00 36 00 00 ff ff 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 d9 00 36 00 00 ff ff 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 da
00 36 00 00 ff ff 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 db 00 36 00 00 ff ff 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 dc 00 36
00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 dd 00 36 00 00 ff ff 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 de 00 36 00 00
ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 df 00 36 00 00 ff ff 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 90 c0 00 36 00
00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 90 c1 00 36 00 00 ff ff 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90
c2 00 36 00 00 ff ff 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 90 c3 00 36 00 00 ff
ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 90 c4 00 36 00 00 ff ff 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 90 c5 00
36 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 90 c6 00 36 00 00 ff ff 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 90 c7 00 36 00 00 ff ff 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 90 c8 00 36 00
00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 90 c9 00 36 00 00 ff ff 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90
ca 00 36 00 00 ff ff 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 90 cb 00 36 00 00 ff
ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 90 cc 00 36 00 00 ff ff 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 90 cd 00
36 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 90 ce 00 36 00 00 ff ff 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 90 cf 00 36 00 00 ff ff 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 01 e0 92
9a 80 c1 17 3b b7 75 76 f1 3b b7 75 76 f1 0f 8b
ff ff ff 81 2a a0 1d c0 cd 41 15 00 00 01 00 00
00 01 20 00 86 c4 0f a2 8a 02 1e 0a 21 00 00 01
b3 ad b7 a7 00 00 01 b6 17 3f 05 b0 54 88 e5
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to