Re: [FFmpeg-user] Trying to write to disk the output of a USB capture card and can't combine video and audio

2020-12-16 Thread Carl Eugen Hoyos
> Am 17.12.2020 um 00:47 schrieb Geoff Sweet : > > ffmpeg -y -f alsa -ac 2 -i front:CARD=Capture,DEV=0 -f video4linux2 -i > /dev/video0 out.mpeg Unrelated: „mpeg“ output will not make you happy. > But that command kinda falls on its face. I get the audio, but no video: > > ffmpeg -y -f alsa

Re: [FFmpeg-user] decimate=ppsrc question

2020-12-16 Thread Carl Eugen Hoyos
> Am 17.12.2020 um 06:23 schrieb Mark Filipak (ffmpeg) : > > ffmeg -i SOURCE -vf decimate=ppsrc TARGET The decimate filter only makes sense in a filter chain after the fieldmatch filter. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] decimate=ppsrc question

2020-12-16 Thread Mark Filipak (ffmpeg)
Can anyone kindly give me a usage example of this: ffmeg -i SOURCE -vf decimate=ppsrc TARGET I'm totally dumbfounded by this: "ppsrc Mark main input as a pre-processed input and activate clean source input stream. This allows the input to be pre-processed with various filters to help the met

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread Lingjiang Fang
On Wed, 16 Dec 2020 18:25:59 +0100 Michael Koch wrote: >Am 16.12.2020 um 17:34 schrieb adam smith via ffmpeg-user: >> Hi guys, >> >> I am looking at turning 16x9 content into 1x1 >> I want to be able to specify the source area that should be used for >> the output in 1 second increments and move

[FFmpeg-user] Trying to write to disk the output of a USB capture card and can't combine video and audio

2020-12-16 Thread Geoff Sweet
I've been doing a fair bit of digging into this as this is my first project to convert some old magnetic tape media to digital. ffmpeg seems like exactly what I want be using. I'm kinda newbie to this so I'm hoping for some guidance. I'm using ffmpeg on Arch linux and trying to convert some ol

Re: [FFmpeg-user] FFMPEG with VMAF - dyld: Library not loaded: @rpath/libvmaf.1.dylib

2020-12-16 Thread Carl Zwanzig
On 12/16/2020 11:51 AM, kumarsnathan wrote: Also, I tried removing the libvmaf.dylib and libvmaf.1.dylib and just retain the libvmaf.a (since I only care for a static build). Now I have a problem configuring ffmpeg. What happens if you put those files back? If everything works then, leave them

Re: [FFmpeg-user] What does -write_xing 0 do?

2020-12-16 Thread MediaMouth
> On Dec 16, 2020, at 12:15 AM, Tobias Rapp wrote: > > On 14.12.2020 01:52, MediaMouth wrote: >> The -write_xing 0 option seems to be fixing it. I'm curious what it's >> actually doing. >> What was the issue to begin with / what problem is it solving? >> Is it doing other things to the conver

Re: [FFmpeg-user] Generate single MPEGTS HLS segment based on fragmented input data

2020-12-16 Thread Jan Marlewski
Thank you for your response Lingjiang Fang. Unfortunately concatenating all files before generating MPEG TS segments would require to download all data from storage, which is not possible in my scenario! When you say "padding and frame size requirement of encoder" do you mean AAC encoder or MPEG TS

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
Having tried it out, this was exactly what I was looking for and makes it simple to implement. Thanks for your help Michael, you should write a book ;) Adam > On 16 Dec 2020, at 17:39, adam smith via ffmpeg-user > wrote: > > I will give it a whirl. ___

Re: [FFmpeg-user] FFMPEG with VMAF - dyld: Library not loaded: @rpath/libvmaf.1.dylib

2020-12-16 Thread kumarsnathan
OK, I did do away with using sudo and with a few permissions related changes, I was able to build ffmpeg. But the problem remains. Also, I tried removing the libvmaf.dylib and libvmaf.1.dylib and just retain the libvmaf.a (since I only care for a static build). Now I have a problem configuring ff

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
> On 16 Dec 2020, at 17:25, Michael Koch wrote: > > I think in this case it's better to use the crop filter, because it supports > commands. Thank you for your advice Michael; thanks even more for the examples to go with the advice, it is very much appreciated. I will give it a whirl. Hav

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread Michael Koch
Am 16.12.2020 um 17:34 schrieb adam smith via ffmpeg-user: Hi guys, I am looking at turning 16x9 content into 1x1 I want to be able to specify the source area that should be used for the output in 1 second increments and move between them smoothly. It looks like I could perhaps use the crop fi

Re: [FFmpeg-user] FFMPEG with VMAF - dyld: Library not loaded: @rpath/libvmaf.1.dylib

2020-12-16 Thread Carl Zwanzig
On 12/16/2020 9:03 AM, kumarsnathan wrote: (b) sudo make clean First things first- 'sudo' is almost never needed when building software; no idea why you're using it but please don't. (If 'make clean' fails without it, you have permission/access problems that need to be solved.) About the on

[FFmpeg-user] FFMPEG with VMAF - dyld: Library not loaded: @rpath/libvmaf.1.dylib

2020-12-16 Thread kumarsnathan
I built libVMAF (libvmaf_v2.0.0) using the following procedure: (a) Modified Makefile to add /--default-library static/ and a prefix as meson setup args. (b) sudo make clean (c) sudo make (d) sudo mae install => This created the binary, libraries, pkg, and include files in the /$prefixdir/bin, $pr

[FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
Hi guys, I am looking at turning 16x9 content into 1x1 I want to be able to specify the source area that should be used for the output in 1 second increments and move between them smoothly. It looks like I could perhaps use the crop filter or the zoompan filter to achieve this. Does anyone have

Re: [FFmpeg-user] h264_v4l2m2m Failed to set gop size: Invalid argument

2020-12-16 Thread Ram Shaffir
Success!! I've applied your patch, and it works. You're a lifesaver!! Thank you so very much, RS. > -Original Message- > From: ffmpeg-user On Behalf Of Andriy > Gelman > Sent: Wednesday, December 16, 2020 7:56 AM > To: FFmpeg user questions > Subject: Re: [FFmpeg-user] h264_v4l2m2m Fail

Re: [FFmpeg-user] FFMPEG has trouble processing file while VLC plays mp2ts just fine

2020-12-16 Thread Carl Eugen Hoyos
Am Di., 15. Dez. 2020 um 10:06 Uhr schrieb serge2school : > I have a major problem trying to read a video file using ffmpeg, while VLC > has no trouble replaying it. I see very similar issues with vlc playback as with FFmpeg - everything else would be a surprise: The recording has issues which ca

Re: [FFmpeg-user] What does -write_xing 0 do?

2020-12-16 Thread Tobias Rapp
On 14.12.2020 01:52, MediaMouth wrote: The -write_xing 0 option seems to be fixing it. I'm curious what it's actually doing. What was the issue to begin with / what problem is it solving? Is it doing other things to the converted file that might be worth knowing about? Any down sides to using