Hello to the forum!

I'm recording a 1080i25 video signal with one stereo audio tracks.  

 

I need to create a CBR MPEG transport stream with one h.264 25fps video
track and one MPEG-Audio stereo audio track.

 

I'm was able to create required audio e video track with constant bit rate
and mux them into a transport stream, but checking the file with MediaInfo
(see the attached file).

1 - the reported overall bitrate of the file results Variable Bit Rate even
if the two muxed streams are CBR as required

2 - in the video stream properties I read "Frame rate mode: Variabile"
instead 25 frames per second as set in the codec contest 

 

Can someone help me?

 

Thanks in advance

 

Generale
ID                                       : 1 (0x1)
Complete name                            : 
C:\H.264\h.264_1920x1080i25_8Mbit_MPEG2AUDIO2CH_faster.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 31,4MiB
Duration                                 : 28s 640ms
Overall bit rate mode                    : Variabile
Overall bit rate                         : 9.181 Kbps

Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Si
Format settings, ReFrames                : 4 frame
Codec ID                                 : 27
Duration                                 : 28s 720ms
Bit rate mode                            : Costante
Bit rate                                 : 8.552 Kbps
Nominal bit rate                         : 8.000 Kbps / 8.000 Kbps
Width                                    : 1.920 pixel
Height                                   : 1.080 pixel
Display aspect ratio                     : 16:9
Frame rate mode                          : Variabile
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bit
Scan type                                : MBAFF
Scan order                               : Top field first
Stream size                              : 29,3MiB (93%)
Writing library                          : x264 core 144 r2525 40bb568
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / 
analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / 
me_range=16 / chroma_me=1 / 

trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / 
chroma_qp_offset=0 / threads=36 / lookahead_threads=8 / sliced_threads=0 / nr=0 
/ decimate=1 / interlaced=tff / 

bluray_compat=0 / constrained_intra=0 / bframes=10 / b_pyramid=2 / b_adapt=1 / 
b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=0 / keyint=25 / 
keyint_min=2 / scenecut=40 / 

intra_refresh=0 / rc_lookahead=12 / rc=cbr / mbtree=1 / bitrate=8000 / 
ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=8000 / 
vbv_bufsize=8000 / nal_hrd=cbr / 

filler=1 / ip_ratio=1.40 / aq=1:1.00

Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 28s 608ms
Bit rate mode                            : Costante
Bit rate                                 : 256 Kbps
Channel(s)                               : 2 canali
Sampling rate                            : 48,0 KHz
Compression mode                         : Con perdita
Stream size                              : 894 KiB (3%)

Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 1 (0x1)
Duration                                 : 28s 640ms
List                                     : 256 (0x100) (AVC) / 257 (0x101) 
(MPEG Audio)
Service name                             : My Service
Service provider                         : My Provider
Service type                             : digital television

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to