Re: [FFmpeg-user] Generating a difference map

2017-08-20 Thread Jonathan Baecker

Am 16.08.2017 um 17:58 schrieb Evert Vorster:

Hi there.

I have a video stream that has been generated via Hugin and some fancy
scripting.
I also have a video stream, using the same input and remapped with ffmpeg
remap filter.

The problem that I am having is that there are some color differences
between the two streams, with the ffmpeg remapped stream not correcting for
vignetting and color balances.

Since the same pixels are in the same place, would it be possible to create
a difference map between the two that I can re-use later as a layer over
the remapped stream to do color corrections?

I have been trying with the vignette and eq filters, but it has been
driving me insane, as the color variations are just not linear enough
across the canvas.

Any help would be greatly appreciated.


Hi,

maybe you can use the blend filter: blend the two streams with the 
difference blend mode, and the result blend again with difference over 
the stream where the color variance is missing. Something like:


   -i video_without_vignette.mov -i video_with_vignette.mov
   -filter_complex "[0:v]split[a][b];
   [a][1:v]blend=difference[c];[b][c]blend=difference[out]" -map [out]

I have only test this with a compositing software, not in ffmpeg 
directly. But try and see if it works.


Jonathan

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Video/Audio speed reduces when recording started

2017-08-20 Thread Mayuresh
Hi Gurus,

I have connected my bluetooth device to my mac (AirPods) and try to record
the mic as well as a running youtube video by running the command:

ffmpeg -f avfoundation -video_size 640x480 -framerate 30
-video_device_index  0 -i ":2" outsf.avi

However when I start the recording I see 2 problems:
1. The sound thats coming in the airpods has gaps - like it stops for a
couple of milli seconds
2. The speed of the running youtube autio/video reduces to 1/2 or even lower

What am I doing wrong?

If I use the built-in audio and mic, the recording runs fine without any
problem.

I am using the soundflower 2ch to capture and redirect the output to the
recording input, and have created the aggregate devices and multi-output
devices.

Let me know.

Thanks,
Mayuresh
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] EXR displayWindow != dataWindow

2017-08-20 Thread Martin Vignali
2017-08-09 0:12 GMT+02:00 sdas :

> I'm using ffmpeg on windows, and creating a movie file from a series of
> uncropped frames, ffmpeg chokes with this message:
> Could not find codec parameters for stream 0 (Video: exr, rgb48le):
> unspecified size
>
> Googling, I see that other people have hit this bug and fixes have
> apparently been submitted.  But I just downloaded the latest version I
> could
> find (N-86950-g1bef008 or ffmpeg-20170807-1bef008-win64-static), it still
> has the same problem.
>
> Is there a version of ffmpeg in which this has been properly fixed?  Or are
> there any flags I can use to specify that for an EXR file, it should use
> only the display window, and not the data window?
>
> Thanks!
>
>
Hello,

Display window is not correctly support for all case in ffmpeg exr decoder.
Only datawindow < display window is supported, and if i correctly remember,
not for < 0 coordinates.

I begin to work on a patch for this, but i doesn't find time to finish it.
I will probably take a better look on this (but not soon), and it's
probably better to modify the decoder
to use planar format before implementing a full display/data window support.

Martin
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Wav to Flac conversion: Invalid data found when processing input

2017-08-20 Thread Cley Faye
2017-08-20 10:56 GMT+02:00 Raman :

> input.wav 
>

​No idea if this is related, but this file isn't a .wav (or PCM) file.​
ffprobe and ffplay detect it as an mkv containing opus audio, and since it
is properly decoded, I assume it is.

It's a good idea to provide the full console output of ffmpeg as-is when
you get an error.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Wav to Flac conversion: Invalid data found when processing input

2017-08-20 Thread Raman
input.wav   

Thanks for replying. I have uploaded a sample file and this is the command I
am using to convert wav to flac format: 

ffmpeg -i input.wav output.flac

when I run this command, 20% of the time, it converts the wav files
(generated in exactly the same way) and 80% of the time it gives me the
error I posted in my first comment. 



--
View this message in context: 
http://www.ffmpeg-archive.org/Wav-to-Flac-conversion-Invalid-data-found-when-processing-input-tp4680949p4680952.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Wav to Flac conversion: Invalid data found when processing input

2017-08-20 Thread Lou
On Sat, Aug 19, 2017, at 10:53 PM, Lou wrote:
> Please provide a link to a sample input file so we can attempt to
> duplicate whatever issue you're experiencing.

...and show your actual command.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Wav to Flac conversion: Invalid data found when processing input

2017-08-20 Thread Lou
On Sat, Aug 19, 2017, at 07:09 PM, Raman wrote:
> I am creating audio wav files from html5 getUserMedia. I need to convert
> the
> wav files to flac format. 
> Out of 10 files, 2 files don't have any issues getting converted but 8 of
> them are giving me error saying: 
> 
> ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
>   built with Apple LLVM version 7.0.2 (clang-700.1.81)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.3 --enable-shared
> --enable-pthreads --enable-gpl --enable-version3
> --enable-hardcoded-tables
> --enable-avresample --cc=clang --host-cflags= --host-ldflags=
> --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl
> --disable-lzma --enable-vda
>   libavutil  55. 58.100 / 55. 58.100
>   libavcodec 57. 89.100 / 57. 89.100
>   libavformat57. 71.100 / 57. 71.100
>   libavdevice57.  6.100 / 57.  6.100
>   libavfilter 6. 82.100 /  6. 82.100
>   libavresample   3.  5.  0 /  3.  5.  0
>   libswscale  4.  6.100 /  4.  6.100
>   libswresample   2.  7.100 /  2.  7.100
>   libpostproc54.  5.100 / 54.  5.100
> 
> 
> I am not sure why am I getting these errors on random files. 

Please provide a link to a sample input file so we can attempt to
duplicate whatever issue you're experiencing.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Wav to Flac conversion: Invalid data found when processing input

2017-08-20 Thread Raman
I am creating audio wav files from html5 getUserMedia. I need to convert the
wav files to flac format. 
Out of 10 files, 2 files don't have any issues getting converted but 8 of
them are giving me error saying: 

ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.3 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=
--enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl
--disable-lzma --enable-vda
  libavutil  55. 58.100 / 55. 58.100
  libavcodec 57. 89.100 / 57. 89.100
  libavformat57. 71.100 / 57. 71.100
  libavdevice57.  6.100 / 57.  6.100
  libavfilter 6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale  4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc54.  5.100 / 54.  5.100


I am not sure why am I getting these errors on random files. 



--
View this message in context: 
http://www.ffmpeg-archive.org/Wav-to-Flac-conversion-Invalid-data-found-when-processing-input-tp4680949.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".