Re: [FFmpeg-user] h264 support in webm containers?

2017-08-20 Thread Andy Baird
Hey Carl,

Here's a sample: https://www.dropbox.com/s/sf9agwlxxij5g93/replay-
1503297479867.webm?dl=0

And here's the ffmpeg output of a copy operation:

$ ./bin/ffmpeg.exe -i replay-1503297479867.webm -c copy test.webm
ffmpeg version N-86848-g03a9e6f Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda
--enable-cuvid --e
 nable-d3d11va --enable-dxva2
--enable-libmfx --enable-nvenc --enable-avisynth --

 enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv
  --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-li
   bfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -

 -enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enabl
 e-libopenh264
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li

 bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolam
 e --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx

  --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable
   -libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-zlib
  libavutil  55. 68.100 / 55. 68.100
  libavcodec 57.102.100 / 57.102.100
  libavformat57. 76.100 / 57. 76.100
  libavdevice57.  7.100 / 57.  7.100
  libavfilter 6. 95.100 /  6. 95.100
  libswscale  4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc54.  6.100 / 54.  6.100
Input #0, matroska,webm, from 'replay-1503297479867.webm':
  Metadata:
encoder : Chrome
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive),
854x480, SAR 1:1 DAR 427:240, 30.30
fps, 29.50 tbr, 1k tbn, 60 tbc (default)
Output #0, webm, to 'test.webm':
  Metadata:
encoder : Lavf57.76.100
Stream #0:0(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive),
854x480 [SAR 1:1 DAR 427:240],
q=2-31, 30.30 fps, 29.50 tbr, 1k tbn, 1k tbc (def
   ault)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[webm @ 025d4de0] Only VP8 or VP9 video and Vorbis or Opus audio
and Web
 VTT subtitles are supported for WebM.
av_interleaved_write_frame(): Invalid argument
Error writing trailer of test.webm: Invalid argument
frame=1 fps=0.0 q=-1.0 Lsize=   0kB time=00:00:00.00
bitrate=2864.0kbits
 /s speed=N/A
video:52kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing ov
   erhead: unknown
Conversion failed!


On Fri, Aug 18, 2017 at 4:17 AM, Carl Eugen Hoyos 
wrote:

> 2017-08-17 21:24 GMT+02:00 Andy Baird :
>
> > Are there any plans for ffmpeg to support h264 for webm?
>
> Please provide a sample.
>
> Carl Eugen
> ___
> 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 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] 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".