[Libav-user] 回复： What's wrong with stream filter?
2509044372 at qq.com
Tue Jan 3 00:18:59 EET 2017
I get video and audio stream from rtmp address:
Input #0, flv, from 'rtmp://live.hkstv.hk.lxdns.com/live/hks':
author : PowerSmart
datarate : 500
livetime : 1470020146
timeshift : 0
Duration: 01:00:00.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 15.17 fps, 15 tbr, 1k tbn, 30 tbc
Stream #0:1: Audio: aac, 32000 Hz, stereo, fltp
[flv @ 021f8780] Warning min_rate > 0 but min_rate != max_rate isn't recommended!
Output #0, flv, to 'rtmp://192.168.1.101:1935/live/1':
Stream #0:0: Video: flv1 (flv), yuv420p, 640x480, q=2-31, 128 kb/s, 90k tbn, 30 tbc
Stream #0:1: Audio: aac (libvo_aacenc), 32000 Hz, stereo, s16, 128 kb/s
After decoding and encoding, I use av_bitstream_filter_filter(aacBsfc,....) before av_interleaved_write_frame. Video and audio data can be sent to srs(rtmp server). I use ffplay to get the data from srs, the video is ok, but the audio is discontinuous, and warning is shown: [aac @ 04b91020] Number of scalefactor bands in group (51) exceeds limit (49).
What's wrong with the bitstream filter?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user