Re: [FFmpeg-user] v360 filter output eac resolution
On Fri, Jul 12, 2024 at 4:04 AM Jimmie wrote: > Hi, > > I'm currently working on a project about Equi-Angular Cubemap (EAC). > > I need to sample an EAC texture but couldn't find one readily available. > After some googling, I found that FFmpeg could be used to convert > other 360 pictures to EAC, so I gave it a try. > > The input is an equirectangular texture with 3000x1500 resolution and > the output is an EAC texture with a standard 3x2 format, as expected. > > What confuses me is that the EAC texture has a resolution of 3000x1688. > To my understanding, EAC is just a special case of cubemap, which should > consist of six square faces. Apparently, that is not the case for this > output. > > Can anyone help me understand why the output EAC texture does not have > square faces as in regular cubemaps? Thank you! > https://paulbourke.net/panorama/youtubeformat/ > > Alex > > Command: ffmpeg -i pond.jpg -vf v360=e:eac eac.png > The log is as below. > > ffmpeg version 7.0.1-essentials_build-www.gyan.dev Copyright (c) > 2000-2024 the FFmpeg developers > built with gcc 13.2.0 (Rev5, 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-bzlib --enable-lzma --enable-zlib --enable-libsrt > --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 > --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid > --enable-libaom --enable-libopenjpeg --enable-libvpx > --enable-mediafoundation --enable-libass --enable-libfreetype > --enable-libfribidi --enable-libharfbuzz --enable-libvidstab > --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm > --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va > --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc > --enable-vaapi --enable-libgme --enable-libopenmpt > --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora > --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb > --enable-libopus --enable-libspeex --enable-libvorbis > --enable-librubberband > libavutil 59. 8.100 / 59. 8.100 > libavcodec 61. 3.100 / 61. 3.100 > libavformat61. 1.100 / 61. 1.100 > libavdevice61. 1.100 / 61. 1.100 > libavfilter10. 1.100 / 10. 1.100 > libswscale 8. 1.100 / 8. 1.100 > libswresample 5. 1.100 / 5. 1.100 > libpostproc58. 1.100 / 58. 1.100 > Input #0, image2, from 'pond.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: 154676 kb/s > Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, > bt470bg/unknown/unknown), 3000x1500 [SAR 240:240 DAR 2:1], 25 fps, 25 > tbr, 25 tbn > Stream mapping: > Stream #0:0 -> #0:0 (mjpeg (native) -> png (native)) > Press [q] to stop, [?] for help > [swscaler @ 02ad6cac5540] deprecated pixel format used, make sure > you did set range correctly > Last message repeated 3 times > Output #0, image2, to 'eac.png': > Metadata: > encoder : Lavf61.1.100 > Stream #0:0: Video: png, rgb24(pc, gbr/unknown/unknown, > progressive), 3000x1688 [SAR 1:1 DAR 375:211], q=2-31, 200 kb/s, 25 > fps, 25 tbn > Metadata: > encoder : Lavc61.3.100 png > [image2 @ 02ad6cc35fc0] The specified filename 'eac.png' does not > contain an image sequence pattern or a pattern is invalid. > [image2 @ 02ad6cc35fc0] Use a pattern such as %03d for an image > sequence or use the -update option (with -frames:v 1 if needed) to > write a single image. > [out#0/image2 @ 02ad6c9e0040] video:9207KiB audio:0KiB > subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: > unknown > frame=1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A > speed=0.0467x > ___ > 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 filter output eac resolution
Am 12.07.2024 um 03:56 schrieb Jimmie: What confuses me is that the EAC texture has a resolution of 3000x1688. To my understanding, EAC is just a special case of cubemap, which should consist of six square faces. Apparently, that is not the case for this output. Can anyone help me understand why the output EAC texture does not have square faces as in regular cubemaps? Thank you! you can overwrite the default output size with the w and h options: v360=e:eac:w=3000:h=2000 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] discontinuity_indicator
Is FFmepg doing anything with the discontinuity_indicator bit in the TS adaptation_field? --Mark. ___ 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] Lossless concatenation of 2 MP4 files with video and multiple audio streams plus subtitles and chapter markers
I'm trying to lossless concatenate two MP4 files using FFMPEG. The files have 1 video stream, 2 audio streams, subtitle stream and chapter markers. Here is the info for one file (the two files have identical stream configurations). D:\Users\Rick\Videos>ffmpeg -i BOTRK1.mp4 ffmpeg version 7.0-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers built with gcc 13.2.0 (Rev5, 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-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --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 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BOTRK1.mp4': Metadata: major_brand : mp42 minor_version : 512 compatible_brands: mp42dby1iso2avc1mp41 creation_time : 2024-07-12T13:34:48.00Z encoder : HandBrake 1.8.1 2024062200 Duration: 01:21:21.75, start: 0.00, bitrate: 3386 kb/s Chapters: Chapter #0:0: start 0.00, end 411.186000 Metadata: title : Chapter 1 Chapter #0:1: start 411.186000, end 663.805000 Metadata: title : Chapter 2 Chapter #0:2: start 663.805000, end 937.645000 Metadata: title : Chapter 3 Chapter #0:3: start 937.645000, end 1096.137000 Metadata: title : Chapter 4 Chapter #0:4: start 1096.137000, end 1260.735000 Metadata: title : Chapter 5 Chapter #0:5: start 1260.735000, end 1866.073000 Metadata: title : Chapter 6 Chapter #0:6: start 1866.073000, end 1968.675000 Metadata: title : Chapter 7 Chapter #0:7: start 1968.675000, end 2091.097000 Metadata: title : Chapter 8 Chapter #0:8: start 2091.097000, end 2326.332000 Metadata: title : Chapter 9 Chapter #0:9: start 2326.332000, end 2663.77 Metadata: title : Chapter 10 Chapter #0:10: start 2663.77, end 3024.23 Metadata: title : Chapter 11 Chapter #0:11: start 3024.23, end 3492.998000 Metadata: title : Chapter 12 Chapter #0:12: start 3492.998000, end 3610.582000 Metadata: title : Chapter 13 Chapter #0:13: start 3610.582000, end 3936.741000 Metadata: title : Chapter 14 Chapter #0:14: start 3936.741000, end 4182.353000 Metadata: title : Chapter 15 Chapter #0:15: start 4182.353000, end 4481.486000 Metadata: title : Chapter 16 Chapter #0:16: start 4481.486000, end 4704.542000 Metadata: title : Chapter 17 Chapter #0:17: start 4704.542000, end 4878.882000 Metadata: title : Chapter 18 Chapter #0:18: start 4878.882000, end 4881.685000 Metadata: title : Chapter 19 Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 710x340 [SAR 32:27 DAR 1136:459], 3027 kb/s, 23.99 fps, 120 tbr, 90k tbn (default) Metadata: creation_time : 202