[Libav-user] How to set avcodec_open2 to set ((MpegEncContext *)(avctx->priv_data))->fixed_qscale = 1?

2017-02-05 Thread sea
Hi , I'm trying to push a stream to a server with ffmpeg. I debugged the ffmpeg code, and found that when avcode_open2 returned, the ((MpegEncContext *)(avctx->priv_data))->fixed_qscale = 1. That to say, when video stream was handled, certain offset of avctx->priv_data pointer (just

[Libav-user] More streams were found in client side, why?

2017-01-19 Thread sea
Hello, I push stream as follow, only one video and one audio were sent out. Input #0, flv, from 'rtmp://live.hkstv.hk.lxdns.com/live/hks': Metadata: author : PowerSmart copyright : description : datarate: 500 livetime: 1470020146

[Libav-user] ?????? What's wrong with stream filter?

2017-01-02 Thread sea
Hi, I get video and audio stream from rtmp address: Input #0, flv, from 'rtmp://live.hkstv.hk.lxdns.com/live/hks': Metadata: author : PowerSmart copyright : description : datarate: 500 livetime: 1470020146 timeshift : 0

[Libav-user] ?????? (no subject)

2016-12-21 Thread sea
2016-12-22 9:40 GMT+08:00 Blake Senftner <bsenft...@earthlink.net>: Below is my code I posted earlier this week. The code earlier in this email thread replaces the "opening of a stream" portion of that logic. http://ffmpeg.org/pipermail/libav-user/2016-December/009927

[Libav-user] ?????? (no subject)

2016-12-21 Thread sea
thout issue. Do you get the same issue with your software using one of these clips? You may need to post your function that opens a stream up to the point where you call avcodec_open2()... Sincerely, -Blake Senftner Computer Stuff On Dec 21, 2016, at 7:24 AM, sea <2509044...@qq.

[Libav-user] (no subject)

2016-12-21 Thread sea
In transcoding project of LeiXiaoHua(demo of usage of filters), if I use media file with h264 video stream as input file, the function avcodec_open2 will return -1. Media file with video stream in other format, such as mpeg4, mjpeg return 0 (OK). Why ? Someone meets the same