Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Rodolfo Medina writes: > Leonardo via ffmpeg-user writes: > >> Since you have an AMD cpu/apu, one last resort that I can think of is to >> capture webcam with hardware acceleration. >> >> > > > Nothing, the problem remains... it gets stuck for so

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > Since you have an AMD cpu/apu, one last resort that I can think of is to > capture webcam with hardware acceleration. > > > Extracted from https://trac.ffmpeg.org/wiki/Hardware/VAAPI > > Also, you need to verify what "-vaapi_device" is the correct one for your

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > What is the output of > > $ cat /proc/cpuinfo > > ? Here it is: processor : 0 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode :

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Leonardo via ffmpeg-user writes: > Hello, > > as an alternative, you can display your webcam at screen with mplayer > > $ mplayer tv:// -tv > driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 > -noborder -geometry 640x480+0+0 > > and record your screen+audio with ffmpeg

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Carl Zwanzig writes: > On 7/22/2020 6:22 AM, Rodolfo Medina wrote: >> Same problem also with simply: >> >> $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg >> >> , and audio completely out of sync... > > And complete command outpu

Re: [FFmpeg-user] Webcam capture

2020-07-22 Thread Rodolfo Medina
Paul B Mahol writes: > On 7/20/20, Rodolfo Medina wrote: >> Hi all. >> >> When capturing video from webcam, with: >> >> $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg > > 3200x2400 is very big resolution Same problem also with

[FFmpeg-user] Webcam capture

2020-07-20 Thread Rodolfo Medina
Hi all. When capturing video from webcam, with: $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg , out.mpg stops, freezes, gets stuck at the beginning for a few seconds. Only at the beginning and only for a few seconds. I thought the problem was related to the cheap

Re: [FFmpeg-user] flac format

2017-09-01 Thread Rodolfo Medina
Cley Faye <cleyf...@gmail.com> writes: > 2017-09-01 10:55 GMT+02:00 Rodolfo Medina <rodolfo.med...@gmail.com>: > >> Hi to all ffmpeg users. >> >> In order to backup store my audio CDs, I collect them into wav files using >> icedax, because I read that wa

[FFmpeg-user] flac format

2017-09-01 Thread Rodolfo Medina
Hi to all ffmpeg users. In order to backup store my audio CDs, I collect them into wav files using icedax, because I read that wav format is lossless. Now, I've just read that also flac format would be, with the advantage of occupying much less memory space than wav. As far as you listers know,

Re: [FFmpeg-user] Compare quality of 2 audio files

2017-07-01 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Harold Tessmann <htessm...@control-tec.com> writes: > >> On Thu, Jun 29, 2017 at 12:37 PM, Moritz Barsnick <barsn...@gmx.net> wrote: >> >>> And unlike video, it seems there are few, if any, methods to

Re: [FFmpeg-user] Compare quality of 2 audio files

2017-07-01 Thread Rodolfo Medina
Harold Tessmann writes: > On Thu, Jun 29, 2017 at 12:37 PM, Moritz Barsnick wrote: > >> And unlike video, it seems there are few, if any, methods to measure >> the *perceived* quality of audio. Check here for some ramblings: >>

Re: [FFmpeg-user] Compare quality of 2 audio files

2017-06-29 Thread Rodolfo Medina
With Maik's kind help, I managed to sync the two files I wanted to compare: within Audacity I had to shift one of the two exactly 34ms to the right. Then, after inverting it, by playing them together their difference can be heard. Now, supposed one doesn't know, how is it possibile to tell which

Re: [FFmpeg-user] Compare quality of 2 audio files

2017-06-24 Thread Rodolfo Medina
Maik Waschfeld <maik.waschf...@maik-waschfeld.de> writes: > Hi Rodolfo, > >> Am 24.06.2017 um 13:17 schrieb Rodolfo Medina <rodolfo.med...@gmail.com>: >> >> the first >> one is inverted and second isn't. Playing them together is louder than each >&g

Re: [FFmpeg-user] Compare quality of 2 audio files

2017-06-24 Thread Rodolfo Medina
Maik Waschfeld <maik.waschf...@maik-waschfeld.de> writes: >> Am 24.06.2017 um 09:22 schrieb Rodolfo Medina <rodolfo.med...@gmail.com>: > […] >> In this case, I import file1.mp3, I invert it, then I import file2.mp3: the >> game does not succeed: what I hear i

Re: [FFmpeg-user] Conversion wav -> mp3 -> wav

2017-06-23 Thread Rodolfo Medina
Steve Boyer <steveboye...@gmail.com> writes: > On Fri, Jun 23, 2017 at 7:11 AM, Rodolfo Medina <rodolfo.med...@gmail.com> > wrote: > >> Steve Boyer <steveboye...@gmail.com> writes: >> >> > If you want to see what really happened, import both file

Re: [FFmpeg-user] Conversion wav -> mp3 -> wav

2017-06-23 Thread Rodolfo Medina
Steve Boyer writes: > If you want to see what really happened, import both files into Audacity, > use a filter to invert one of the files, and slide it around until they are > 1:1 (it's off slightly IIRC) and then hit "Play" or downmix to a single > track. If both tracks

Re: [FFmpeg-user] Conversion wav -> mp3 -> wav

2017-06-22 Thread Rodolfo Medina
Kieran O Leary writes: >> As an experiment, I converted a .wav file to mp3 format and then back into >> wav >> again, just to see what happens: >> >> $ ffmpeg -i file1.wav file1.mp3 >> $ ffmpeg -i file1.mp3 file2.wav >> >> I've always heard and read that the first

[FFmpeg-user] Conversion wav -> mp3 -> wav

2017-06-22 Thread Rodolfo Medina
Hi all. As an experiment, I converted a .wav file to mp3 format and then back into wav again, just to see what happens: $ ffmpeg -i file1.wav file1.mp3 $ ffmpeg -i file1.mp3 file2.wav I've always heard and read that the first step produces a loss in quality. So I would expect that to be seen

Re: [FFmpeg-user] Adding metadata tags to wav files

2017-06-11 Thread Rodolfo Medina
Paul B Mahol <one...@gmail.com> writes: > On 6/11/17, Rodolfo Medina <rodolfo.med...@gmail.com> wrote: >> I successfully add metadata tags (album, artist, title, genre...) to mp3 >> files >> using ffmpeg: >> >> $ ffmpeg -i input.mp3 -c copy -metadata

[FFmpeg-user] Adding metadata tags to wav files

2017-06-11 Thread Rodolfo Medina
Hi. I successfully add metadata tags (album, artist, title, genre...) to mp3 files using ffmpeg: $ ffmpeg -i input.mp3 -c copy -metadata title="Yesterday" output.mp3 . When I try to do the same with wav format, the tags are then properly shown by ffmpeg itself, but they aren't by common media

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Rodolfo Medina <rodolfo.med...@gmail.com> writes: > >> Moritz Barsnick <barsn...@gmx.net> writes: >> >>> On Wed, May 31, 2017 at 13:10:18 +0200, Cley Faye wrote: >>>> A shot in the

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Moritz Barsnick <barsn...@gmx.net> writes: > On Wed, May 31, 2017 at 13:56:40 +0100, Rodolfo Medina wrote: >> well, how could I work it out...? > [...] >> ...then, after a while, say some hours, it suddenly detects the changes and >> shows the right new fil

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Moritz Barsnick <barsn...@gmx.net> writes: > >> On Wed, May 31, 2017 at 13:10:18 +0200, Cley Faye wrote: >>> A shot in the dark here since I didn't have the patience to look at how >>> -write_id3v1 wor

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Moritz Barsnick writes: > On Wed, May 31, 2017 at 13:10:18 +0200, Cley Faye wrote: >> A shot in the dark here since I didn't have the patience to look at how >> -write_id3v1 work; but if I remember correctly, id3v1 tags are actually >> appended at the end of the mp3 stream in

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Moritz Barsnick <barsn...@gmx.net> writes: > >> On Mon, May 29, 2017 at 18:37:31 -0400, Ron Sparks wrote: >>> > ... I also tried to remove all the tags with: >>> > $ ffmpeg -i inp

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-31 Thread Rodolfo Medina
Moritz Barsnick writes: > On Mon, May 29, 2017 at 18:37:31 -0400, Ron Sparks wrote: >> > ... I also tried to remove all the tags with: >> > $ ffmpeg -i input.mp3 -map 0:a -map_metadata -1 -c copy out.mp3 >> > and then put them again, but the problem remains... >> >> I

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-29 Thread Rodolfo Medina
Ron Sparks <sanitychall...@gmail.com> writes: > On 05/29/2017 06:03 PM, Rodolfo Medina wrote: >> Rodolfo Medina <rodolfo.med...@gmail.com> writes: >> >>> Rodolfo Medina <rodolfo.med...@gmail.com> writes: >>> >>>> Gyan <gyando..

Re: [FFmpeg-user] id3 tags not really removed?

2017-05-29 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Rodolfo Medina <rodolfo.med...@gmail.com> writes: > >> Gyan <gyando...@gmail.com> writes: >> >>> Unless specified otherwise, ffmpeg will transcode streams. You have to add >>> >>&

Re: [FFmpeg-user] id3 tags not really removed? (was: Output file size)

2017-05-29 Thread Rodolfo Medina
Rodolfo Medina <rodolfo.med...@gmail.com> writes: > Gyan <gyando...@gmail.com> writes: > >> Unless specified otherwise, ffmpeg will transcode streams. You have to add >> >> -c copy >> >> to force stream copy (if the output format supports it). S

Re: [FFmpeg-user] Output file size

2017-05-29 Thread Rodolfo Medina
Gyan <gyando...@gmail.com> writes: > On Mon, May 29, 2017 at 9:29 PM, Rodolfo Medina <rodolfo.med...@gmail.com> > wrote: > >> I'm adding id3 tags to a 208M mp3 file, with: >> >> $ ffmpeg -i input.mp3 -metadata artist="Caterina Pontrandolfo Quartett&quo

[FFmpeg-user] Output file size

2017-05-29 Thread Rodolfo Medina
Hi all. I'm adding id3 tags to a 208M mp3 file, with: $ ffmpeg -i input.mp3 -metadata artist="Caterina Pontrandolfo Quartett" -metadata album="concerto di Fonte Avellana" -metadata genre="popular" -metadata composer="tradizione lucana" output.mp3 . Now, the output.mp3 is only 83M. Why