Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 17939:daa0fdad26ed
switch to using vlc for stream_flags
author | ods15 |
---|---|
date | Sat, 25 Mar 2006 07:58:07 +0000 |
parents | f20bba087cc8 |
children | 0436e8344ee4 |
comparison
equal
deleted
inserted
replaced
17938:810b407ba6c4 | 17939:daa0fdad26ed |
---|---|
196 fourcc vb | 196 fourcc vb |
197 time_base_id v | 197 time_base_id v |
198 msb_pts_shift v | 198 msb_pts_shift v |
199 max_pts_distance v | 199 max_pts_distance v |
200 decode_delay v | 200 decode_delay v |
201 reserved u(7) | 201 stream_flags v |
202 fixed_fps u(1) | |
203 codec_specific_data vb | 202 codec_specific_data vb |
204 if(stream_class == video){ | 203 if(stream_class == video){ |
205 width v | 204 width v |
206 height v | 205 height v |
207 sample_width v | 206 sample_width v |
439 MUST contain 2 or 4 bytes, note, this might be increased in the future | 438 MUST contain 2 or 4 bytes, note, this might be increased in the future |
440 if needed | 439 if needed |
441 | 440 |
442 time_base_nom / time_base_denom = time_base | 441 time_base_nom / time_base_denom = time_base |
443 the length of a timer tick in seconds, this MUST be equal to the 1/fps | 442 the length of a timer tick in seconds, this MUST be equal to the 1/fps |
444 if fixed_fps is 1 | 443 if FLAG_FIXED_FPS is set |
445 time_base_nom and time_base_denom MUST NOT be 0 | 444 time_base_nom and time_base_denom MUST NOT be 0 |
446 time_base_nom and time_base_denom MUST be relatively prime | 445 time_base_nom and time_base_denom MUST be relatively prime |
447 time_base_denom MUST be < 2^31 | 446 time_base_denom MUST be < 2^31 |
448 examples: | 447 examples: |
449 fps time_base_nom time_base_denom | 448 fps time_base_nom time_base_denom |
495 dts from pts | 494 dts from pts |
496 is set to 0 for streams without B-frames, and set to 1 for streams with | 495 is set to 0 for streams without B-frames, and set to 1 for streams with |
497 B-frames, may be larger for future codecs | 496 B-frames, may be larger for future codecs |
498 decode_delay MUST NOT be set higher than necessary for a codec. | 497 decode_delay MUST NOT be set higher than necessary for a codec. |
499 | 498 |
500 fixed_fps | 499 stream_flags |
501 1 indicates that the fps is fixed | 500 Bit Name Description |
501 1 FLAG_FIXED_FPS indicates that the fps is fixed | |
502 | 502 |
503 codec_specific_data | 503 codec_specific_data |
504 private global data for a codec (could be huffman tables or ...) | 504 private global data for a codec (could be huffman tables or ...) |
505 | 505 |
506 frame_code | 506 frame_code |