Hello people,
I make this simple best i can !
I'm trying to transcode a mpg 2 Elementary Stream file with Audio layer II in to a mpg 2 transport-stream file with audio Ac3/a52... with a spécific PID using VLc ....work fine for the PID and A52 audio except one thing !!!
My problem is when I transcode my video Elementary Stream in transport-stream the video Elementary change his bit rate
My mpg 2 Elementary Stream file is encoded at 3.0Mbs constant bit rate and the audio is a pcm at 48kHz I need to chanche that in to a Transport-stream contant bite rate at 3.75 Mbs....3.0Mbs for the vidéo with Ac3 or A/52 audio at 192 Khz in one file.
I show you the resulte I get when I transcode with VLC
File:export-test.mpeg
Type: MPEG-2 Transport Stream
File Size: 59441276 bytes
Transport Packet Size: 188 bytes
Duration: 1 min 59 sec
Transport Rate: 3988428 bps
program_number: 1
PMT PID: 0x0020
PCR PID: 0x0010
Program Descriptors: none
Number of PMT Entries: 2
Dolby AC-3 Audio Elementary Stream
PID: 0x0011
stream_type: 0x81, Dolby AC-3 Audio
Descriptors:
05 04 41 43 2D 33
stream_id: 0xBD, Private stream 1
Bit Rate: 192000 bps
Sample Rate: 48000 sps
MPEG-2 Video Elementary Stream
PID: 0x0010
stream_type: 0x02, MPEG-2 Video
Descriptors: none
stream_id: 0xE0, MPEG Video
Rate: 104857200 bps..................................I need to be at 3.0 Mbs constant bit rate for the video...How can I set parameter for this.....
Profile: Main
Level: Main
Frame Rate: 29.97 fps
Resolution: 720 x 480
Aspect Ratio: 4:3
I'm shure I'm doing something wrong but I could not see it .... any help will be good !!!!!
Best Reagards !
(sorry for my english it is not my first language)