On 12/02/13 20:23, Michael R. Nelson wrote: > > > When converting desktop video to either a stream to send to an ASI > card or a .ts file, the output registers a video ES of 104+Mbps, even > though we're encoding to MPEG2 with bitrate restrictions. The > command we're using is as follows: > > avconv -f x11grab -s hd720 -aspect:0 16:9 -i 0:0 -f alsa -ac 2 -ab > 48k -i pulse
Unrelated, but you can use pulse directly if you want. > -c:v mpeg2video -s hd720 -g 28 -qscale 10 -pix_fmt > yuv422p -r 59.94 60000/1001 maybe? > -b:v 2880k -c:a ac3 -b:a 192k -dialnorm -24 > -channel_layout 3 -streamid 0:97 -streamid 1:100 > -timecode_frame_start:0 010000 -mpegts_pmt_start_pid 0x1000 > -mpegts_service_id 0x0006 -f mpegts pipe: |/usr/local/bin/txtest -s 1 > /dev/asitx0 55 192 > > Whether live through a multiplexer and TS reader or just as a .ts > file run through TSReader, the video Elementary Stream reads 104 > Mbps. What am I doing wrong? I tried your line locally and the generated ts file has the expected bitrate. which version of libav are you using? lu _______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
