
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632 Log: typo Modified: docs/nut.txt Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame. Sample code (Public Domain, & untested):

On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better. Rich

Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better.
How do you count field pictures? -- Måns Rullgård mans@mansr.com

On Wed, Feb 13, 2008 at 08:06:43PM +0000, Måns Rullgård wrote:
Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better.
How do you count field pictures?
It's a good question. Is there a way to indicate that raw video is interleaved fields and not frames? Michael? Rich

Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 08:06:43PM +0000, Måns Rullgård wrote:
Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better.
How do you count field pictures?
It's a good question. Is there a way to indicate that raw video is interleaved fields and not frames? Michael?
There are (at least) three cases to consider: 1. Progressive frame pictures. 2. Interlaced frame pictures containing interleaved fields. 3. Field pictures containing only odd or even lines. For case 2, the field order must somehow be signalled. I've never heard of anything using more than two fields per frame, and I hope I never will. -- Måns Rullgård mans@mansr.com

On Thu, Feb 14, 2008 at 01:34:57AM +0000, Måns Rullgård wrote:
What is the 'codec'? I like '1 picture' better.
How do you count field pictures?
It's a good question. Is there a way to indicate that raw video is interleaved fields and not frames? Michael?
There are (at least) three cases to consider:
1. Progressive frame pictures. 2. Interlaced frame pictures containing interleaved fields. 3. Field pictures containing only odd or even lines.
For case 2, the field order must somehow be signalled.
I've never heard of anything using more than two fields per frame, and I hope I never will.
Indeed, I can't envision someone creating NEW evil forms of interlacing, just struggling to hold onto the existing ones for irrational reasons... Rich

On Wed, Feb 13, 2008 at 08:28:04PM -0500, Rich Felker wrote:
On Wed, Feb 13, 2008 at 08:06:43PM +0000, Måns Rullgård wrote:
Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better.
How do you count field pictures?
It's a good question. Is there a way to indicate that raw video is interleaved fields and not frames? Michael?
hmmmm Well, if the packets are half as big as they should be, they are fields :) but how do we distingish top from bottom fields ... Anyway iam not a friend of interlacing so i wont work on this i think, that is iam not against supporting it but ill leave the patch writing to whoever wants it. Though i will complain if the solution suggested is a big mess ... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws. -- Plato

On Thu, Feb 14, 2008 at 02:43:28AM +0100, Michael Niedermayer wrote:
On Wed, Feb 13, 2008 at 08:28:04PM -0500, Rich Felker wrote:
On Wed, Feb 13, 2008 at 08:06:43PM +0000, Måns Rullgård wrote:
Rich Felker <dalias@aerifal.cx> writes:
On Wed, Feb 13, 2008 at 07:54:58PM +0100, michael wrote:
Author: michael Date: Wed Feb 13 19:54:57 2008 New Revision: 632
Log: typo
Modified: docs/nut.txt
Modified: docs/nut.txt ============================================================================== --- docs/nut.txt (original) +++ docs/nut.txt Wed Feb 13 19:54:57 2008 @@ -1073,7 +1073,7 @@ single codec frame. A muxer MUST NOT sto codec frame per NUT frame. For RAW audio up to 4096 samples shall be considered 1 codec frame, the actual number of samples MAY vary between NUT frames. -For RAW video a single frames shall be 1 codec frame. +For RAW video a single frame shall be 1 codec frame.
What is the 'codec'? I like '1 picture' better.
How do you count field pictures?
It's a good question. Is there a way to indicate that raw video is interleaved fields and not frames? Michael?
hmmmm Well, if the packets are half as big as they should be, they are fields :) but how do we distingish top from bottom fields ...
Anyway iam not a friend of interlacing so i wont work on this i think, that is iam not against supporting it but ill leave the patch writing to whoever wants it. Though i will complain if the solution suggested is a big mess ...
Anyway i think storing them as frames and somewhere indicating that the stuff is interlaced would be the easiest. This place then again is extradata||info||stream_flags||fourcc [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
participants (4)
-
michael
-
Michael Niedermayer
-
Måns Rullgård
-
Rich Felker