Re: [FFmpeg-user] Get bitrate from stream

2018-09-24 Thread Carl Eugen Hoyos
2018-09-24 13:26 GMT+02:00, Jesper Nilsson : > This results in a bitrate of 33, but i know that the actual and correct > value is 32. Could you provide a sample? If vlc really shows the correct bitrate, this sounds like a bug in FFmpeg. Carl Eugen

Re: [FFmpeg-user] Get bitrate from stream

2018-09-24 Thread Jesper Nilsson
I just realized that this wont work for me either, with the frames. The remote server did not write anything in the frames when running that commad. Unsure why but i just get [FRAME] [/FRAME] [FRAME] [/FRAME] when running that on the server. so i still need to change the bitrate from the read

Re: [FFmpeg-user] Get bitrate from stream

2018-09-24 Thread Jesper Nilsson
Hey Moritz, thanks for the reply Im currently running this command: fprobe -select_streams a:0 -show_entries stream=bit_rate -of default=nk=1:nw=1 Output: ffprobe version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2007-2018 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)

Re: [FFmpeg-user] Get bitrate from stream

2018-09-21 Thread Moritz Barsnick
On Fri, Sep 21, 2018 at 14:47:27 +0200, Jesper Nilsson wrote: > Commands Used: > > ffprobe -select_streams v:0 -show_entries frame=pkt_size,pkt_duration_time > The output of that command changes significantly, if you actually select the *audio* stream: "-select_streams a:0". (Your AAC file

[FFmpeg-user] Get bitrate from stream

2018-09-21 Thread Jesper Nilsson
Hello, i have been trying to extract the bitrate of a stream for a proxy. This proxy is to set a correct duration and position for a QMediaPlayer. When i run the ffprobe command on the proxy for a specific song, it returns 290 kbit/s. This results in a faulty duration of 52 minutes, where the