[FFmpeg-user] Hosting builds

2020-10-11 Thread Noah Dall
Hi FFMPEG,

I love your software! It’s so handy, and I use it almost every day.

Just thought I’d let you know that I would be willing to host any builds on my 
website: https://pigeonburger.xyz/ffmpeg/

I already host some on my site, so my friends can download it faster from my 
local server, but I’d be really happy to host them officially! I’d like to use 
my website for something good, like that 😊. This might be a bit late, but I saw 
that Zeranoe had stopped hosting, so I thought I might offer any help if you 
need it!

I’m not the most advanced FFMPEG user, but I’ve used it for long enough that I 
know my way around a lot of it.  I’m not sure how the process works for stuff 
like this, but I thought I’d just express my interest!

If not, then I’ll take this opportunity to give some feedback – it’s an amazing 
piece of software and I don’t know where I’d be without it!

Have a great day!

Noah

Sent from Mail for Windows 10

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

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

Re: [FFmpeg-user] DNG images

2020-10-11 Thread Michael Koch

Am 11.10.2020 um 20:56 schrieb Paul B Mahol:

On Sun, Oct 11, 2020 at 07:37:25PM +0200, Michael Koch wrote:

I tested all 4 DNG images again with the latest FFmpeg version (Gyan's build
from today).
I tested with and without zscale filter. All tests failed. When testing with
IrfanView, all DNG input images seem to be ok.


Your issues is that you do not know how to use zscale properly.

DNG decoding is just fine, what is missing is colorspace stuff in swscale,
for proper display.


Can you please give an example for the correct zscale options?



[tiff @ 019996d6fe40] non increasing IFD offset
[tiff @ 019996d6fe40]  is not implemented. Update your FFmpeg version to
the newest one from Git. If the problem still occurs, it means that your
file has a feature which has not been implemented.
[tiff @ 019996d6fe40] If you want to help, upload a sample of this file
to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
list. (ffmpeg-de...@ffmpeg.org)
Error while decoding stream #0:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finisheda

As message simple says, if you want to help upload that image that fails to
decode somewhere and post link to upload here.


The link was already in my last message.
www.astro-electronic.de/Pentax_K5.DNG

Michael

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

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

Re: [FFmpeg-user] DNG images

2020-10-11 Thread Carl Eugen Hoyos
Am So., 11. Okt. 2020 um 20:57 Uhr schrieb Paul B Mahol :
>
> On Sun, Oct 11, 2020 at 07:37:25PM +0200, Michael Koch wrote:

> > [tiff @ 019996d6fe40] If you want to help, upload a sample of this file
> > to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing
> > list. (ffmpeg-de...@ffmpeg.org)
> > Error while decoding stream #0:0: Invalid data found when processing input
> > Cannot determine format of input stream 0:0 after EOF
> > Error marking filters as finisheda
>
> As message simple says, if you want to help upload that image that fails to
> decode somewhere and post link to upload here.

www.astro-electronic.de/Pentax_K5.DNG

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] DNG images

2020-10-11 Thread Paul B Mahol
On Sun, Oct 11, 2020 at 07:37:25PM +0200, Michael Koch wrote:
> I tested all 4 DNG images again with the latest FFmpeg version (Gyan's build
> from today).
> I tested with and without zscale filter. All tests failed. When testing with
> IrfanView, all DNG input images seem to be ok.
>

Your issues is that you do not know how to use zscale properly.

DNG decoding is just fine, what is missing is colorspace stuff in swscale,
for proper display.

> 
> Test 1:
> 
> Images from
> https://drive.google.com/drive/folders/1u5m7aVAFPpEsL4YtDVsfSpfcve9PFG4m
> 
> c:\ffmpeg\ffmpeg -i sample_r0.dng -y out.jpg
> 
> The image is converted without error message, but the result is much too
> dark.
> 
> c:\ffmpeg\ffmpeg -i sample_r0.dng -vf zscale -y out.jpg
> 
> Error message: "code 3074: no path between colorspaces"
> The full console output is copied below.
> 
> 
> Test 2:
> 
> This is a RAW image from a Canon 6D which was converted to DNG with Adobe
> DNG
> Converter V12.4:  www.astro-electronic.de/IMG_3459.dng
> 
> c:\ffmpeg\ffmpeg -i IMG_3459.dng -y out.jpg
> 
> The image is converted without error message, but the result is much too
> dark.
> 
> c:\ffmpeg\ffmpeg -i IMG_3459.dng -vf zscale -y out.jpg
> 
> Error message: "code 3074: no path between colorspaces"
> The full console output is copied below.
> 
> 
> Test 3:
> 
> This is a RAW image from a Canon 5D-MK4 which was converted to DNG with
> Adobe DNG
> Converter V12.4. The problem is exactly the same as in test 2.
> 
> 
> Test 4:
> 
> This is a DNG image that was directly written by a Pentax K5 camera.
> www.astro-electronic.de/Pentax_K5.DNG
> 
> c:\ffmpeg\ffmpeg -i Pentax_K5.DNG -y out.jpg
> 
> Error message: "Error while decoding stream #0:0: Invalid data found when
> processing input"
> The full console output is copied below.
> 
> c:\ffmpeg\ffmpeg -i Pentax_K5.DNG -vf zscale -y out.jpg
> 
> Same error message as above.
> 
> 
> Michael
> 
> 
> 
> 
> 
> C:\Users\astro\Desktop\dng>c:\ffmpeg\ffmpeg -i sample_r0.dng -vf zscale
> -y out.jpg
> ffmpeg version 2020-10-11-git-7ea4bcff7b-full_build-www.gyan.dev Copyright
> (c) 2000-2020 the FFmpeg developers
>   built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
>   configuration: --enable-gpl --enable-version3 --enable-static
> --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv
> --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma
> --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh
> --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca
> --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e
> --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx
> --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf
> --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
> --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx
> --enable-libglslang --enable-vulkan --enable-libcdio --enable-libgme
> --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb
> --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame
> --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
> --enable-libopencore-amrnb --enable-libopus --enable-libspeex
> --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
> --enable-libmysofa --enable-librubberband --enable-libsoxr
> --enable-chromaprint
>   libavutil  56. 60.100 / 56. 60.100
>   libavcodec 58.111.100 / 58.111.100
>   libavformat    58. 62.100 / 58. 62.100
>   libavdevice    58. 11.102 / 58. 11.102
>   libavfilter 7. 87.100 /  7. 87.100
>   libswscale  5.  8.100 /  5.  8.100
>   libswresample   3.  8.100 /  3.  8.100
>   libpostproc    55.  8.100 / 55.  8.100
> [tiff @ 0234bf57f780] Assuming black level pattern values are identical
> [tiff_pipe @ 0234bf57d700] Stream #0: not enough frames to estimate
> rate; consider increasing probesize
> Input #0, tiff_pipe, from 'sample_r0.dng':
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: tiff, bayer_rggb16le, 6016x3200, 25 tbr, 25 tbn, 25
> tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
> Press [q] to stop, [?] for help
> [tiff @ 0234bf5900c0] Assuming black level pattern values are identical
> code 3074: no path between colorspaces
> Error while filtering: Generic error in an external library
> Failed to inject frame into filter network: Generic error in an external
> library
> Error while processing the decoded data for stream #0:0
> Conversion failed!
> 
> 
> 
> 
> 
> C:\Users\astro\Desktop\dng>c:\ffmpeg\ffmpeg -i IMG_3459.dng -vf zscale -y
> out.jpg
> ffmpeg version 2020-10-11-git-7ea4bcff7b-full_build-www.gyan.dev Copyright
> (c) 2000-2020 the FFmpeg developers
>   built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
>   configuration: --enable-gpl --en

[FFmpeg-user] search a DVD via the following regex - small correction

2020-10-11 Thread Mark Filipak (ffmpeg)

Sorry, I left out a '|', now corrected.

I need a way to search a DVD via the following regex, then display the hex of the captured bytes; 
either a Windows or a Linux method will do.


/\x00\x00\x01\xB5(\x11.|\x12.|\x13.|\x14[^\x82]|\x15.|\x16.|\x17.|\x18.|\x19.|\x1A.|\x1B.|\x1C.|\x1D.|\x1E.|\x1F.)/

The DVD barcode and returned captured bytes would be very valuable to me (and perhaps to many 
users). A script that I could run on my own would really float my boat.


Thanks so much,
Mark.

Of course you want to know why, eh?

I have yet to see a DVD that has this: 0x00 00 01 B5 1? ??, where '? ??' is other than '4 82' (i.e. 
MP@ML plus !progressive_sequence plus 4:2:0). The above regex performs such a match.


It's the 'sequence_extension' header ID metadata followed by 'profile_and_level_indication' -- the 
allowed combinations are shown in the table, below -- followed by 'progressive_sequence' followed by 
'chroma_format'.


0x00 00 01 B5 11 2 High@HighP
0x00 00 01 B5 11 4 High@High
0x00 00 01 B5 11 6 High@High1440
0x00 00 01 B5 11 8 High@Main
0x00 00 01 B5 11 A High@Low
0x00 00 01 B5 12 2 SpaciallyScalable@HighP
0x00 00 01 B5 12 4 SpaciallyScalable@High
0x00 00 01 B5 12 6 SpaciallyScalable@High1440
0x00 00 01 B5 12 8 SpaciallyScalable@Main
0x00 00 01 B5 12 A SpaciallyScalable@Low
0x00 00 01 B5 13 2 SNRScalable@HighP
0x00 00 01 B5 13 4 SNRScalable@High
0x00 00 01 B5 13 6 SNRScalable@High1440
0x00 00 01 B5 13 8 SNRScalable@Main
0x00 00 01 B5 13 A SNRScalable@Low
0x00 00 01 B5 14 2 Main@HighP
0x00 00 01 B5 14 4 Main@High
0x00 00 01 B5 14 6 Main@High1440
0x00 00 01 B5 14 8 Main@Main<<== all DVDs?
0x00 00 01 B5 14 A Main@Low
0x00 00 01 B5 15 2 Simple@HighP
0x00 00 01 B5 15 4 Simple@High
0x00 00 01 B5 15 6 Simple@High1440
0x00 00 01 B5 15 8 Simple@Main
0x00 00 01 B5 15 A Simple@Low
0x00 00 01 B5 18 E Multi-view@Low
0x00 00 01 B5 18 D Multi-view@Main
0x00 00 01 B5 18 B Multi-view@High1440
0x00 00 01 B5 18 A Multi-view@High
0x00 00 01 B5 18 5 4:2:2@Main
0x00 00 01 B5 18 2 4:2:2@High

--
COVID-19 update:
28 Sep, U.S. deaths pass half of all U.S. dead in 4 years of WWII.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] V360 stabilization

2020-10-11 Thread Michael Koch

Am 29.09.2020 um 22:54 schrieb Michael Koch:

Hello all,

I've programmed a C# workaround for stabilization of 360° videos. The 
procedure is as follows:


1. FFmpeg: From each frame of the equirectangular input video, extract 
two small images which are 90° apart in the input video. I call them A 
and B images.


2. C# code: Analyze the x and y image shift from subsequent A and B 
images. Calculate how the equirectangular frames must be rotated (yaw, 
pitch, roll) to compensate the image shifts. This part wasn't easy. 
Two rotation matrices and one matrix multiplication are required. 
Write the results to a *.cmd file.


3. FFmpeg: Read the *.cmd file and apply the rotations with the v360 
filter. The output video is stabilized.


For details and source code please have a look at chapter 2.78 in my 
book:

http://www.astro-electronic.de/FFmpeg_Book.pdf

If anyone wants to implement this in FFmpeg, please feel free to do it.


I've written and tested an improved version for 360° stabilization, it's 
in chapter 2.79.


Michael

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

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

[FFmpeg-user] DNG images

2020-10-11 Thread Michael Koch
I tested all 4 DNG images again with the latest FFmpeg version (Gyan's 
build from today).
I tested with and without zscale filter. All tests failed. When testing 
with IrfanView, all DNG input images seem to be ok.



Test 1:

Images from 
https://drive.google.com/drive/folders/1u5m7aVAFPpEsL4YtDVsfSpfcve9PFG4m


c:\ffmpeg\ffmpeg -i sample_r0.dng -y out.jpg

The image is converted without error message, but the result is much too 
dark.


c:\ffmpeg\ffmpeg -i sample_r0.dng -vf zscale -y out.jpg

Error message: "code 3074: no path between colorspaces"
The full console output is copied below.


Test 2:

This is a RAW image from a Canon 6D which was converted to DNG with 
Adobe DNG

Converter V12.4:  www.astro-electronic.de/IMG_3459.dng

c:\ffmpeg\ffmpeg -i IMG_3459.dng -y out.jpg

The image is converted without error message, but the result is much too 
dark.


c:\ffmpeg\ffmpeg -i IMG_3459.dng -vf zscale -y out.jpg

Error message: "code 3074: no path between colorspaces"
The full console output is copied below.


Test 3:

This is a RAW image from a Canon 5D-MK4 which was converted to DNG with 
Adobe DNG

Converter V12.4. The problem is exactly the same as in test 2.


Test 4:

This is a DNG image that was directly written by a Pentax K5 camera.
www.astro-electronic.de/Pentax_K5.DNG

c:\ffmpeg\ffmpeg -i Pentax_K5.DNG -y out.jpg

Error message: "Error while decoding stream #0:0: Invalid data found 
when processing input"

The full console output is copied below.

c:\ffmpeg\ffmpeg -i Pentax_K5.DNG -vf zscale -y out.jpg

Same error message as above.


Michael





C:\Users\astro\Desktop\dng>c:\ffmpeg\ffmpeg -i sample_r0.dng -vf 
zscale -y out.jpg
ffmpeg version 2020-10-11-git-7ea4bcff7b-full_build-www.gyan.dev 
Copyright (c) 2000-2020 the FFmpeg developers

  built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt 
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray 
--enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi 
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg 
--enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype 
--enable-libfribidi --enable-libvidstab --enable-libvmaf 
--enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid 
--enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va 
--enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan 
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt 
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine 
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc 
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb 
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa 
--enable-libbs2b --enable-libflite --enable-libmysofa 
--enable-librubberband --enable-libsoxr --enable-chromaprint

  libavutil  56. 60.100 / 56. 60.100
  libavcodec 58.111.100 / 58.111.100
  libavformat    58. 62.100 / 58. 62.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter 7. 87.100 /  7. 87.100
  libswscale  5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[tiff @ 0234bf57f780] Assuming black level pattern values are identical
[tiff_pipe @ 0234bf57d700] Stream #0: not enough frames to estimate 
rate; consider increasing probesize

Input #0, tiff_pipe, from 'sample_r0.dng':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: tiff, bayer_rggb16le, 6016x3200, 25 tbr, 25 
tbn, 25 tbc

Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[tiff @ 0234bf5900c0] Assuming black level pattern values are identical
code 3074: no path between colorspaces
Error while filtering: Generic error in an external library
Failed to inject frame into filter network: Generic error in an external 
library

Error while processing the decoded data for stream #0:0
Conversion failed!





C:\Users\astro\Desktop\dng>c:\ffmpeg\ffmpeg -i IMG_3459.dng -vf zscale 
-y out.jpg
ffmpeg version 2020-10-11-git-7ea4bcff7b-full_build-www.gyan.dev 
Copyright (c) 2000-2020 the FFmpeg developers

  built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt 
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray 
--enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi 
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 
--ena

[FFmpeg-user] search a DVD via the following regex

2020-10-11 Thread Mark Filipak (ffmpeg)
I need a way to search a DVD via the following regex, then display the hex of the captured bytes; 
either a Windows or a Linux method will do.


/\x00\x00\x01\xB5(\x11.|\x12.|\x13.|\x14[^\x82]|\x15.|\x16.|\x17.|\x18.|\x19.|\x1A.|\x1B.|\x1C.|\x1D.|\x1E.\x1F.)/

The DVD barcode and returned captured bytes would be very valuable to me (and perhaps to many 
users). A script that I could run on my own would really float my boat.


Thanks so much,
Mark.

Of course you want to know why, eh?

I have yet to see a DVD that has this: 0x00 00 01 B5 1? ??, where '? ??' is other than '4 82' (i.e. 
MP@ML plus !progressive_sequence plus 4:2:0). The above regex performs such a match.


It's the 'sequence_extension' header ID metadata followed by 'profile_and_level_indication' -- the 
allowed combinations are shown in the table, below -- followed by 'progressive_sequence' followed by 
'chroma_format'.


0x00 00 01 B5 11 2 High@HighP
0x00 00 01 B5 11 4 High@High
0x00 00 01 B5 11 6 High@High1440
0x00 00 01 B5 11 8 High@Main
0x00 00 01 B5 11 A High@Low
0x00 00 01 B5 12 2 SpaciallyScalable@HighP
0x00 00 01 B5 12 4 SpaciallyScalable@High
0x00 00 01 B5 12 6 SpaciallyScalable@High1440
0x00 00 01 B5 12 8 SpaciallyScalable@Main
0x00 00 01 B5 12 A SpaciallyScalable@Low
0x00 00 01 B5 13 2 SNRScalable@HighP
0x00 00 01 B5 13 4 SNRScalable@High
0x00 00 01 B5 13 6 SNRScalable@High1440
0x00 00 01 B5 13 8 SNRScalable@Main
0x00 00 01 B5 13 A SNRScalable@Low
0x00 00 01 B5 14 2 Main@HighP
0x00 00 01 B5 14 4 Main@High
0x00 00 01 B5 14 6 Main@High1440
0x00 00 01 B5 14 8 Main@Main<<== all DVDs?
0x00 00 01 B5 14 A Main@Low
0x00 00 01 B5 15 2 Simple@HighP
0x00 00 01 B5 15 4 Simple@High
0x00 00 01 B5 15 6 Simple@High1440
0x00 00 01 B5 15 8 Simple@Main
0x00 00 01 B5 15 A Simple@Low
0x00 00 01 B5 18 E Multi-view@Low
0x00 00 01 B5 18 D Multi-view@Main
0x00 00 01 B5 18 B Multi-view@High1440
0x00 00 01 B5 18 A Multi-view@High
0x00 00 01 B5 18 5 4:2:2@Main
0x00 00 01 B5 18 2 4:2:2@High

--
COVID-19 update:
28 Sep, U.S. deaths pass half of all U.S. dead in 4 years of WWII.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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