[FFmpeg-user] Audio sample format in alsa?

2020-06-30 Thread Simon Roberts
I'm trying to grab audio from a USB device that's managed by alsa. I find that if I configure pulse to use this device, then I can grab successfully with: ffmpeg -f alsa -i pulse audiotest.mp3 But I need to refer to the hardware device directly, and I'm failing to do that. I have these cards:

Re: [FFmpeg-user] Low CPU HQ format for local streaming?

2020-06-30 Thread Simon Roberts
> > > > > I need to find an encoding, and presumably a file type, that a) works in > a > > streaming format, and b) is as low CPU usage as possible. I don't > believe I > > care about bandwidth, this is just shipped from one process to another > and > > consumed in real time. > > > > I tried using

[FFmpeg-user] doubt with hardware acceleration

2020-06-30 Thread Leonardo via ffmpeg-user
Hello, I'm trying to speed up conversion using hardware acceleration and the improvement is amazing but there a kind of "warning" when using ffmpeg that I would like to "remove". Command and output: $ ffmpeg -vaapi_device /dev/dri/renderD128 -i test.mp4 -vf

Re: [FFmpeg-user] Low CPU HQ format for local streaming?

2020-06-30 Thread Moritz Barsnick
Hi Simon, in addition to what Carl Eugen wrote: On Tue, Jun 30, 2020 at 10:21:52 -0600, Simon Roberts wrote: > I need to find an encoding, and presumably a file type, that a) works in a > streaming format, and b) is as low CPU usage as possible. I don't believe I > care about bandwidth, this is

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread raistlin . mlists
Hello Moritz, Tuesday, June 30, 2020, 11:12:13 PM, you wrote: > 192 kb/s stereo vs. 448 kb/s stereo. > They can't be identical, can they? I got it now. I defined stream numbers using tsMuxer and considered TrueHD stream with embedded AC3 stream as one stream while ffmpeg considers them as two

Re: [FFmpeg-user] Low CPU HQ format for local streaming?

2020-06-30 Thread Carl Eugen Hoyos
Am Di., 30. Juni 2020 um 18:22 Uhr schrieb Simon Roberts : > So, I think my question is "what encoding, and what file type" would suit > my needs for a very low CPU overhead, but not caring about bandwidth -vcodec mpeg1video -qscale 2 -mbd 2 (You will probably not be happy with the result, but

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread Reindl Harald
Am 30.06.20 um 21:54 schrieb raistlin.mli...@yandex.ru: > Hello Reindl, > > Tuesday, June 30, 2020, 10:23:54 PM, you wrote: > >> are you mentally ill > > No why? It's probably just you who can't read. Yes I used diff and it > says files are identical if they are identical they have the same

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread Moritz Barsnick
On Tue, Jun 30, 2020 at 19:31:24 +0300, raistlin.mli...@yandex.ru wrote: > There are 2 sample m2ts files (about 84 MB each): > https://mir.cr/0Y8ROTYT (1) > https://mir.cr/RFI1MNOM (2) > > Stream a:5 in (1) and stream a:4 in (2) are identical (being binary > compared). Though ffmpeg reports they

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread raistlin . mlists
Hello Reindl, Tuesday, June 30, 2020, 10:23:54 PM, you wrote: > are you mentally ill No why? It's probably just you who can't read. Yes I used diff and it says files are identical. -- Best regards, raistlin.mli...@yandex.ru ___ ffmpeg-user mailing

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread Reindl Harald
Am 30.06.20 um 21:17 schrieb raistlin.mli...@yandex.ru: > There are 2 sample m2ts files (about 84 MB each): > https://mir.cr/0Y8ROTYT (1) > https://mir.cr/RFI1MNOM (2) > >> you use diff? >> ___ >> ffmpeg-user mailing list >>

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread raistlin . mlists
Hello Reindl, Tuesday, June 30, 2020, 9:58:33 PM, you wrote: > Am 30.06.20 um 20:51 schrieb raistlin.mli...@yandex.ru: >> Hello Reindl, >> There are 2 sample m2ts files (about 84 MB each): https://mir.cr/0Y8ROTYT (1) https://mir.cr/RFI1MNOM (2) Stream a:5 in (1) and

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread Reindl Harald
Am 30.06.20 um 20:51 schrieb raistlin.mli...@yandex.ru: > Hello Reindl, > >>> There are 2 sample m2ts files (about 84 MB each): >>> https://mir.cr/0Y8ROTYT (1) >>> https://mir.cr/RFI1MNOM (2) >>> >>> Stream a:5 in (1) and stream a:4 in (2) are identical (being binary >>> compared). Though

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread raistlin . mlists
Hello Reindl, >> There are 2 sample m2ts files (about 84 MB each): >> https://mir.cr/0Y8ROTYT (1) >> https://mir.cr/RFI1MNOM (2) >> >> Stream a:5 in (1) and stream a:4 in (2) are identical (being binary >> compared). Though ffmpeg reports they have different MD5 hashes: >> >> ffmpeg -loglevel 4

Re: [FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread Reindl Harald
Am 30.06.20 um 18:31 schrieb raistlin.mli...@yandex.ru: > Hello Ffmpeg-user, > > There are 2 sample m2ts files (about 84 MB each): > https://mir.cr/0Y8ROTYT (1) > https://mir.cr/RFI1MNOM (2) > > Stream a:5 in (1) and stream a:4 in (2) are identical (being binary > compared). Though ffmpeg

[FFmpeg-user] Different MD5 hashes for identical tracks

2020-06-30 Thread raistlin . mlists
Hello Ffmpeg-user, There are 2 sample m2ts files (about 84 MB each): https://mir.cr/0Y8ROTYT (1) https://mir.cr/RFI1MNOM (2) Stream a:5 in (1) and stream a:4 in (2) are identical (being binary compared). Though ffmpeg reports they have different MD5 hashes: ffmpeg -loglevel 4 -i 1.m2ts -map

[FFmpeg-user] Low CPU HQ format for local streaming?

2020-06-30 Thread Simon Roberts
Hi, I'm looking to monitor the output of an ffmpeg capture, and am investigating local streaming from ffmpeg to ffplay. The following command line takes input from a file, rather than a capture, but the file is an example of what the capture will generate, so I believe it's representative.

Re: [FFmpeg-user] Encoding Warnings

2020-06-30 Thread Jim
On 06/29/20 11:18, Moritz Barsnick wrote: On Mon, Jun 29, 2020 at 10:44:04 -0400, Jim wrote: AFAIK, ffmpeg does not have the ability to analyze the volume of every sample throughout an audio file, find the greatest amplitude, calculate the adjustment needed to make the loudest part of the file

Re: [FFmpeg-user] Encoding Warnings

2020-06-30 Thread Jim
On 06/29/20 17:39, Carl Eugen Hoyos wrote: Interesting that this warning is not present in the windows version of ffmpeg yet is on Linux. Any idea why that would be? Even more You do realize that FFmpeg offers neither a "windows version" nor a "Linux" version but only source code? I

Re: [FFmpeg-user] last 2 seconds are cut recording screen - hardware aceleration

2020-06-30 Thread Leonardo via ffmpeg-user
Hello, > For x264 compressed video use -crf 17see for other options > https://trac.ffmpeg.org/wiki/Encode/H.264 > For aac audio compression use -b:a 192k for the bitrate see for other > options https://trac.ffmpeg.org/wiki/Encode/AAC Thank you Kind regards, Leonardo

Re: [FFmpeg-user] last 2 seconds are cut recording screen - hardware aceleration

2020-06-30 Thread Tom Sparks
On 30/06/2020, Leonardo via ffmpeg-user wrote: > Hello, > > I'm trying to use ffmpeg to record the computer screen and also audio from > microfone. Googling I found a lot of "how to". Although I can now record, I > do have a few questions (3): > > 1) Using command > > $ ffmpeg -thread_queue_size

Re: [FFmpeg-user] write output of find_rect to a file?

2020-06-30 Thread Michael Koch
Am 29.06.2020 um 22:28 schrieb Moritz Barsnick: On Mon, Jun 29, 2020 at 17:35:50 +0200, Michael Koch wrote: Very good, that's exactly what I need. I did already make some tests with -show_entries before I posted this question. But I didn't know the names of the variables "lavfi.rect.x" and

Re: [FFmpeg-user] RTMP and proxy

2020-06-30 Thread Verachten Bruno
Thanks a lot Moritz, I figured the option placement later on, I thought it applied to the whole command. And you're right, all is done so that I can't stream from inside the company to outside the company... except the company now wants to stream outside. I will try to get a SOCKS proxy