I use simulink. It have model source block parameter video source connect to video viewer it can not show video file type mpg
Show older comments
I am student. I use simulink about topic DVB-S . It have model source block parameter video source connect to video viewer it can not show video file type mpg. It is a mpeg1 (288*352) (frame width 352, frame height 288) . Problem I can not send video file to show video in video viewer for 1 to 15. By I have model in below. Thank you for answer.
1. Block From Multimedia File :// File name :manwalk.mpg // Inherit sample time from file: select on // Number of times to play <file:inf//> Multimedia outputs: Video only // Output color format: Intensity Video output data type: uint8// and connect to 2.
2. Block Processing ://Number of input:1 // Number of output :1 // Block size : {[188 1]} // Overlap :{[0 0]} //Traverse order: Row-wise// and connect to 3.
3. Block Resize:// Specify:Number of output rows and columns //Number of output rows and columns:[188 1] //Interpolation method:Bilinear // Perforn antialiasing when resize factor is between 0 and 100: Select on // Rounding mode : Nearest // Overflow mode : Saturate // Interpolation weights table :Same word length as input // Product output :Same as input //Accumulator: Same as input // Output : Same as input// and connect to 4.
4. Block Integer-Input RS Encoder :// Codeword length N : 204 //Message length K :188 // and connect to 5.
5. Block Convolutional Interleaver : it have subsystem // 5.1 Inport://Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto//and connect to 5.2// 5.2 Convolutional Interleaver (mask)(link) :// Rows of shift registers: 12 // Register length step: 17 // Initial conditions : 0 // and connect to 5.3 //5.3 Integer to bit Converter (mark)(link)://Number of bit per integer(M): 8 // Treat input values as : Unsigned // Output bit order : MSB first:// Output data type : uint8// and connect to 5.4 // 5.4 Outport:// Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto// and connect to 6.
6. Block Rate ¾ Punctured Convolutional Code : it have subsystem // 6.1 Inport://Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto//and connect to 6.2// 6.2 Convolutional Encoder (mark)(link) : // Trellis structure :poly2trellis(7, [171 133]) // Operation mode : Continuous // Puncture code : on // Puncture vector : [1 1 0 1 1 0]’// and connect to 6.3 // 6.3 Outport:// Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto// and connect to 7.
7. Block QPSK Modulator Baseband : Phase offset(rad): pi/4 // Constellation ordering : Binary // Input type : Bit // Output data type: Inherit via back propagation// and connect to 8.
8. Block AWGN Channel (mask)(link) : // Input processing : Inherited (this choice will be removed-see release notes // Initial seed: 12345 //Mode: Signal to noise ratio (Eb/No) // Eb/No (dB):13 // Number of bits per symbol:188 //Input signal power, referenced to 1 ohm(watts): 1 /2048 // Symbol period (s) : 1 // and connect to 9.
9. Block QPSK Demodulator Baseband :// Phase offset (rad) : pi/4 // Constellation ordering :Binary // Output type :Bit // Decision type: Hard decision // Output :Inherit via internal rule // Derotate factor : Same word length as input // and connect to 10.
10. Block Viterbi Decoder : it have subsystem // 10.1 Inport://Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto//and connect to 10.2 // 10.2 Viterbi Decoder:// Trellis structure: poly2trellis(7,[171 133]) // Punctured code :select on // Puncture vector : [ 1 1 0 1 1 0]’ // Decision type : Unquantized // Traceback depth: 136 // Operation mode: Continuous // Output data type : uint8 // and connect to 10.3 // 10.3 Delay (mask)(link):// Input processing : Inherited (this choice will be removed-see release notes) // Delay units: Samples // Delay (samples): 584+69 // Initial conditions: 0 // Reset port : None// connect to 10.4 // 10. Output :// Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto// and connect to 11.
11. Block Convolutional Deinterleaver l=12 : it have subsystem //11.1 Inport:// Port number: 1 // Icon display : Port number// Data type : Inherit:auto // Port dimensions (-1 for inherited): -1 // Variable –size signal : Inherit // Sample time (-1 for inherited): -1 // Signal type :auto // Sampling mode :auto//and connect to 11.2 // Bit to Integer Converter (mask)(link):// Number of bits per integer(M): 8 // Input bit order : MSB first // After bit packing, treat resulting integer values as : Unsigned // Output data type : uint8// connect to 11.3 // Convolutional Deinterleaver (Mask)(link):// Rows of shift registers :12 // Register length step: 17 // Initial conditions : 0 // and connect to 11.4 // Output :// Port number: 1 // Icon display: Port number// Data type : Inherit: auto // Port dimensions( -1 for inherited): -1 // Variable –size signal : Inherit // Sample time ( -1 for inherited):-1// Signal type : auto // Sampling mode : auto // and connect to 12.
12. Block Integer – Output RS Decoder (mask)(link) :// Codeword length N: 204 // Message length K: 188 // and connect to 13.
13. Block Resize :// Specify :// Number of output rows and columns // Number of output rows and columns : [ 188 352 ] // Interpolation method: Bilinear// Select on Perform antialiasing when resize factor is between 0 and 100 // Rounding mode : Nearest // Overflow mode : Saturate // Interpolation weights table : Same word length as input // Output : Same as input // and connect to 14.
14. Block Processing :// Number of inputs: 1 // Number of outputs: 1// Block size : {[188 1]} // Overlap:{[0 0]}// Traverse order: Row-wise// and connect to 15.
15. Block Vide Viewer:// end.
1 Comment
Sandip Dawda
on 7 Jun 2018
Dear Friend is this model working actually DVB-S Standard Random Generator than Video?
Answers (0)
Categories
Find more on Error Detection and Correction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!