Baptiste Coudurier | 1 Sep 01:37 2009
Picon

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

On 08/31/2009 03:31 PM, Måns Rullgård wrote:
> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>
>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>   writes:
>>>
>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>> field empty.
>>>>>>>
>>>>>>> As an easy workaround the current tables for codec detection could be
>>>>>>> expanded to hold the 4cc codes as used in riff.c and return those in the
>>>>>>> codec_tag field.
>>>>>>>
>>>>>>> There are two codecs that do not have an official 4cc tag, namely
>>>>>>> bluray-pcm and E-AC-3. I'd go with mplayer's definitions for those, BPCM
>>>>>>> and EAC3.
>>>>>> The codec_tag is not really supposed to be a fourcc, if there is no
>>>>>> stream-specific tag that (more or less uniquely) indicates the codec used
>>>>>> in the file it should be 0. Obviously it shouldn't be "random" nonsense
>>>>>> like it seems to be currently either though.
>>>>> Huh, it's not "random" nonsense, it's the registration descriptor if
>>>>> present.
>>>> Well, with DVB-T receptions I know I got something else about each try
>>>> (sorry, haven't properly debugged it, nor recorded enough samples).
>>>> And HDMV for LPCM audio _and_ and some video codecs is not exactly a
(Continue reading)

Måns Rullgård | 1 Sep 02:05 2009

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> On 08/31/2009 03:31 PM, Måns Rullgård wrote:
>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>>
>>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>   writes:
>>>>
>>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>>> field empty.
>>>>>>>>
>>>>>>>> As an easy workaround the current tables for codec detection
>>>>>>>> could be expanded to hold the 4cc codes as used in riff.c and
>>>>>>>> return those in the codec_tag field.
>>>>>>>>
>>>>>>>> There are two codecs that do not have an official 4cc tag,
>>>>>>>> namely bluray-pcm and E-AC-3. I'd go with mplayer's
>>>>>>>> definitions for those, BPCM and EAC3.
>>>>>>> The codec_tag is not really supposed to be a fourcc, if there
>>>>>>> is no stream-specific tag that (more or less uniquely)
>>>>>>> indicates the codec used in the file it should be 0. Obviously
>>>>>>> it shouldn't be "random" nonsense like it seems to be
>>>>>>> currently either though.
>>>>>> Huh, it's not "random" nonsense, it's the registration descriptor if
>>>>>> present.
(Continue reading)

Baptiste Coudurier | 1 Sep 02:27 2009
Picon

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

On 08/31/2009 05:05 PM, Måns Rullgård wrote:
> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>
>> On 08/31/2009 03:31 PM, Måns Rullgård wrote:
>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>   writes:
>>>
>>>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>    writes:
>>>>>
>>>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>>>> field empty.
>>>>>>>>>
>>>>>>>>> As an easy workaround the current tables for codec detection
>>>>>>>>> could be expanded to hold the 4cc codes as used in riff.c and
>>>>>>>>> return those in the codec_tag field.
>>>>>>>>>
>>>>>>>>> There are two codecs that do not have an official 4cc tag,
>>>>>>>>> namely bluray-pcm and E-AC-3. I'd go with mplayer's
>>>>>>>>> definitions for those, BPCM and EAC3.
>>>>>>>> The codec_tag is not really supposed to be a fourcc, if there
>>>>>>>> is no stream-specific tag that (more or less uniquely)
>>>>>>>> indicates the codec used in the file it should be 0. Obviously
>>>>>>>> it shouldn't be "random" nonsense like it seems to be
>>>>>>>> currently either though.
>>>>>>> Huh, it's not "random" nonsense, it's the registration descriptor if
(Continue reading)

Måns Rullgård | 1 Sep 02:48 2009

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> On 08/31/2009 05:05 PM, Måns Rullgård wrote:
>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>>
>>> On 08/31/2009 03:31 PM, Måns Rullgård wrote:
>>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>   writes:
>>>>
>>>>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>>>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>    writes:
>>>>>>
>>>>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>>>>> field empty.
>>>>>>>>>>
>>>>>>>>>> As an easy workaround the current tables for codec detection
>>>>>>>>>> could be expanded to hold the 4cc codes as used in riff.c and
>>>>>>>>>> return those in the codec_tag field.
>>>>>>>>>>
>>>>>>>>>> There are two codecs that do not have an official 4cc tag,
>>>>>>>>>> namely bluray-pcm and E-AC-3. I'd go with mplayer's
>>>>>>>>>> definitions for those, BPCM and EAC3.
>>>>>>>>> The codec_tag is not really supposed to be a fourcc, if there
>>>>>>>>> is no stream-specific tag that (more or less uniquely)
>>>>>>>>> indicates the codec used in the file it should be 0. Obviously
>>>>>>>>> it shouldn't be "random" nonsense like it seems to be
(Continue reading)

Baptiste Coudurier | 1 Sep 03:02 2009
Picon

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

On 08/31/2009 05:48 PM, Måns Rullgård wrote:
> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>
>> On 08/31/2009 05:05 PM, Måns Rullgård wrote:
>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>   writes:
>>>
>>>> On 08/31/2009 03:31 PM, Måns Rullgård wrote:
>>>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>    writes:
>>>>>
>>>>>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>>>>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>     writes:
>>>>>>>
>>>>>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>>>>>> field empty.
>>>>>>>>>>>
>>>>>>>>>>> As an easy workaround the current tables for codec detection
>>>>>>>>>>> could be expanded to hold the 4cc codes as used in riff.c and
>>>>>>>>>>> return those in the codec_tag field.
>>>>>>>>>>>
>>>>>>>>>>> There are two codecs that do not have an official 4cc tag,
>>>>>>>>>>> namely bluray-pcm and E-AC-3. I'd go with mplayer's
>>>>>>>>>>> definitions for those, BPCM and EAC3.
>>>>>>>>>> The codec_tag is not really supposed to be a fourcc, if there
>>>>>>>>>> is no stream-specific tag that (more or less uniquely)
>>>>>>>>>> indicates the codec used in the file it should be 0. Obviously
(Continue reading)

Nhat Huy | 1 Sep 08:53 2009
Picon

Extract the H.264 decoder part only from FFMPEG

Hi all,
I'm new with FFmpeg. This is my problems:
I want to have a H.264 decoder by using FFmpeg, so can anyone show me how
to extract the H.264 decoder part only from FFMEPG.
It is my understanding that the FFMPEG includes graphic utilities,file
format classifier and so on. What I want is the decoding routine without any
other parts.
It should be like JM-decoder source. The JM takes in bit-stream (*.264) and
produces the decoded file such as sequence of  yuv images.
So, take the decoding part only from FFMPEG so that it runs in the same way
as JM source.
The input to your decoder is H.264 encoded bit stream, then output is
sequence of yuv images.
Is there any solution ?

Thanks so much.

Tran Nhat Huy
Reimar Döffinger | 1 Sep 09:10 2009
Picon
Picon

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

On Mon, Aug 31, 2009 at 06:02:09PM -0700, Baptiste Coudurier wrote:
> On 08/31/2009 05:48 PM, Måns Rullgård wrote:
> > Sorry, but you're wrong.  There is nowhere a requirement that the
> > format_identifier value correspond one-to-one with anything.
> 
> I think the specs are pretty clear:
> "The registration descriptor of ITU-T Rec. H.222.0 | ISO/IEC 13818-1 is 
> provided by this text in order to enable users of this Specification to 
> unambiguously carry data when its format is not recognized by this 
> Specification. This provision will permit this Specification to carry 
> all types of data while providing for a method of unambiguous 
> identification of the characteristics of the underlying private data."
> 
> I maintain that using the same registration descriptor for different 
> private data is against the specifications, since it goes against 
> providing unambiguous identification of the underlying private data.

I think Måns meant to say that "private data" != "codec", and the
AC3+TrueHD combination mess with other data to differentiate them can
all together be considered the "private data" format.
Though I'd say that definitely is a case of going with the letter of the
spec instead of with the spirit...
Nathan Caldwell | 1 Sep 09:38 2009
Picon

Re: [PATCH][RFC] Lagarith Decoder.

Here are the latest lagarith patches.
I renamed the range coder to lagarithrac.{c,h}

--

-- 
-Nathan Caldwell
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel <at> mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
Diego Biurrun | 1 Sep 10:22 2009
Picon

Re: --enable-hwaccel

On Mon, Aug 31, 2009 at 03:13:06PM +0100, lejeczek wrote:
> configure script, even like: --enable-hwaccel=vc1_vaapi,
> shows Enabled hwaccels: (nil, nothing),
> how to make it working, what's needed? thanks

Ask in the appropriate place: ffmpeg-user.

Diego
Måns Rullgård | 1 Sep 10:53 2009

Re: [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> On 08/31/2009 05:48 PM, Måns Rullgård wrote:
>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>  writes:
>>
>>> On 08/31/2009 05:05 PM, Måns Rullgård wrote:
>>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>   writes:
>>>>
>>>>> On 08/31/2009 03:31 PM, Måns Rullgård wrote:
>>>>>> Baptiste Coudurier<baptiste.coudurier <at> gmail.com>    writes:
>>>>>>
>>>>>>> On 8/31/2009 10:42 AM, Måns Rullgård wrote:
>>>>>>>> Reimar Döffinger<Reimar.Doeffinger <at> gmx.de>     writes:
>>>>>>>>
>>>>>>>>> On Mon, Aug 31, 2009 at 09:18:29AM -0700, Baptiste Coudurier wrote:
>>>>>>>>>> On 8/31/2009 1:27 AM, Reimar Döffinger wrote:
>>>>>>>>>>> On Mon, Aug 31, 2009 at 10:56:18AM +0300, Christian P. Schmidt wrote:
>>>>>>>>>>>> I know that mpeg-ts streams to not support 4cc tags for the codecs.
>>>>>>>>>>>> However, the mpeg-ts demuxer currently copies the registration ID into
>>>>>>>>>>>> the codec's tag field, which in my opinion is worse than leaving the
>>>>>>>>>>>> field empty.
>>>>>>>>>>>>
>>>>>>>>>>>> As an easy workaround the current tables for codec detection
>>>>>>>>>>>> could be expanded to hold the 4cc codes as used in riff.c and
>>>>>>>>>>>> return those in the codec_tag field.
>>>>>>>>>>>>
>>>>>>>>>>>> There are two codecs that do not have an official 4cc tag,
>>>>>>>>>>>> namely bluray-pcm and E-AC-3. I'd go with mplayer's
>>>>>>>>>>>> definitions for those, BPCM and EAC3.
>>>>>>>>>>> The codec_tag is not really supposed to be a fourcc, if there
(Continue reading)


Gmane