[FFmpeg-user] Error while decoding stream

2019-04-25 Thread Ivan Kirillov
hey guys im trying to get stream from url then decode it and sent to my local rtmp: ffmpeg -i "`streamlink --stream-url --default-stream 720p https://www.twitch.tv/mystream`"; -f alsa -f flv -ac 2 -ar 44100 -vcodec libx264 -g 60 -keyint_min 30 -b:v 3000k -minrate 3000k -maxrate 3000k -pix_fmt

[FFmpeg-user] (no subject)

2019-04-25 Thread lastkill
hi! i need to know if ffmpeg.exe uses Gpu or cpu when we use it to convert video to number of images? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-

Re: [FFmpeg-user] GPU/CPU encoding

2019-04-25 Thread Moritz Barsnick
[Fixed the e-mail subject for you.] On Thu, Apr 25, 2019 at 15:29:17 +0300, lastk...@tut.by wrote: > hi! i need to know if ffmpeg.exe uses Gpu or cpu when we use it to convert > video to number of images? ffmpeg can use either CPU or GPU for decoding video. ffmpeg can use either CPU or GPU for f

[FFmpeg-user] How to determine length of animation using C++ API?

2019-04-25 Thread Mark McKay
I'm using the C++ API to implement a simple video player in Qt. I'd like to be able to load a video and determine how many seconds long it is. I thought I would be able to calculate this time by looking at AVFormatContext->duration in the header and that double timeMillisec = (double)AVFormatCo

Re: [FFmpeg-user] Error while decoding stream

2019-04-25 Thread Carl Zwanzig
On 4/25/2019 5:21 AM, Ivan Kirillov wrote: pls explain to me how can i fix this ? pls (please) post the command output; it's OK to remove some duplicate lines but people need to know about the config, streams, etc. z! ___ ffmpeg-user mailing list f

Re: [FFmpeg-user] How to determine length of animation using C++ API?

2019-04-25 Thread Moritz Barsnick
On Thu, Apr 25, 2019 at 15:38:22 -0400, Mark McKay wrote: > I'm using the C++ API To my knowledge, ffmpeg has no C++ API - apart from the fact that a C API, which it has, is compatible with C++. (Sorry for being petty.) Furthermore, for questions regarding the use of the ffmpeg-libav* APIs, pleas

Re: [FFmpeg-user] How to determine length of animation using C++ API?

2019-04-25 Thread Carl Zwanzig
On 4/25/2019 3:40 PM, Moritz Barsnick wrote: The length of a video as indicated in its header and its actual length can differ. There's nothing much you can do about this, except to demux / decode a file to its end to check for the actual timestamps (and possible discontinuities). Yep. If you w

Re: [FFmpeg-user] How to determine length of animation using C++ API?

2019-04-25 Thread Mark McKay
On Fri, 26 Apr 2019 00:40:30 +0200, Moritz Barsnick wrote: On Thu, Apr 25, 2019 at 15:38:22 -0400, Mark McKay wrote: I'm using the C++ API To my knowledge, ffmpeg has no C++ API - apart from the fact that a C API, which it has, is compatible with C++. (Sorry for being petty.) Furthermore, fo