OpenCores
URL https://opencores.org/ocsvn/mpeg2fpga/mpeg2fpga/trunk

Subversion Repositories mpeg2fpga

[/] [mpeg2fpga/] [trunk/] [tools/] [mpeg2dec/] [EXAMPLES] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 kdv
EXAMPLES:
2
 
3
1. to decode a bitstream with double precision IDCT, such as
4
   to create a reference reconstruction set of frames:
5
 
6
    mpeg2decode -r -f -o0 rec%d  -b bitstream.mpg
7
 
8
2. to decode a bitstream with fast integer IDCT, such as
9
   to create a test reconstruction set of frames:
10
 
11
    mpeg2decode -f -o0 rec%d -b bitstream.mpg
12
 
13
3. To substitute reference pictures with external reference
14
   pictures (ref%d):
15
 
16
    mpeg2decode -f -x ref%d -b bitstream.mpg -o0 rec%d
17
 
18
 
19
4. Same as 3. only using a single large concatenated file for the
20
   sequence of reconstruction frames.
21
 
22
    mpeg2decode -f -g -x ref%d bitstream.mpg -o0 rec%d
23
 
24
5. Decode an SNR enhancement bitstream at the same time as base layer
25
   stream:
26
 
27
    mpeg2decode -o0 rec%d -e snr_bitstream.mpg -b base_bitstream.mpg
28
 
29
6. Decode a Spatially scalable bitstream
30
 
31
   Step 1: create lower layer reconstruction
32
 
33
     mpeg2decode -f -o0 llrec%d -b base_layer.mpg
34
 
35
   Step 2: decode enhancement bitstream, combined reconstruction.
36
 
37
     mpeg2decode -f -l llrec%d -b enhancement_layer.mpg -o0 rec%d
38
 
39
------------
40
     where:
41
      -o0             specifies .Y, .U, .V input
42
      -f              specifies field interleaved format
43
      -b              is the bitstream flag
44
      -g              specifies substitute file is a large concatendated one.
45
      -e              substitution flag
46
      ref.pic         filename of substitution sequence
47
      bitstream.mpg   bitstream
48
      test%d          output file pattern
49
 

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.