BtbN changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.0 is released
xx has quit [Ping timeout: 260 seconds]
iive has quit [Quit: They came for me...]
Nact has joined #ffmpeg
HarshK23 has quit [Quit: Connection closed for inactivity]
acresearch has joined #ffmpeg
<acresearch> BtbN: how can i find these values from the camera? I have an Insta360 X3 camera, and i can't find these values in the internet nor its manual. where/how can i find them? or derive them from the images it takes?
Suchiman has quit [Quit: Connection closed for inactivity]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
waleee has quit [Ping timeout: 246 seconds]
mven97 has joined #ffmpeg
bitbinge has quit [Remote host closed the connection]
bitbinge has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
swamp_ has quit [Read error: Connection reset by peer]
zmt00 has joined #ffmpeg
Pixi has joined #ffmpeg
Juest has quit [Ping timeout: 256 seconds]
bitbinge has quit [Ping timeout: 260 seconds]
stolen has joined #ffmpeg
kts has joined #ffmpeg
TheSilentLink has quit [Ping timeout: 264 seconds]
TheSilentLink has joined #ffmpeg
Tinos has quit [Ping timeout: 250 seconds]
jagannatharjun has joined #ffmpeg
kts has quit [Read error: Connection reset by peer]
Juest has joined #ffmpeg
georgereynolds8 has quit [Ping timeout: 245 seconds]
georgereynolds8 has joined #ffmpeg
robobub has joined #ffmpeg
Tinos has joined #ffmpeg
coldfeet has joined #ffmpeg
lec_thege804272 has quit [Ping timeout: 268 seconds]
lec_thege804272 has joined #ffmpeg
lec_thege804272 has quit [Client Quit]
lec_thege804272 has joined #ffmpeg
e^pi-1 has joined #ffmpeg
e^pi-1 has quit [Client Quit]
e^pi-1 has joined #ffmpeg
e^pi-1 has quit [Client Quit]
e^pi-1 has joined #ffmpeg
stolen has quit [Quit: Connection closed for inactivity]
rv1sr has joined #ffmpeg
Tinos has quit [Remote host closed the connection]
HarshK23 has joined #ffmpeg
Tinos has joined #ffmpeg
<acresearch> BtbN: how can i find the hFOV and vFOV values from the camera? I have an Insta360 X3 camera, and i can't find these values in the internet nor its manual. where/how can i find them? or calculate them from the images it takes?
Livio has joined #ffmpeg
jemius has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.2]
Livio has quit [Ping timeout: 268 seconds]
mven979 has joined #ffmpeg
xx has joined #ffmpeg
mven97 has quit [Ping timeout: 268 seconds]
mven979 is now known as mven97
<CounterPillow> Is there a way to use ffprobe in order to calculate the container overhead? I thought about -show_streams but it can't figure out the bitrate of the video stream inside this MPEG-TS fragment.
<JEEB> -show_packets
<JEEB> and some math :)
<CounterPillow> ty
deus0ww has quit [Ping timeout: 245 seconds]
deus0ww has joined #ffmpeg
<acresearch> how can i find the hFOV and vFOV values from the camera? I have an Insta360 X3 camera, and i can't find these values in the internet nor its manual. where/how can i find them? or calculate them from the images it takes? i found out that the focal length is 6.7 and the sensor is 1/2" (what ever that means) can i use these values to calcularte the hFOV & vFOV?
kts has joined #ffmpeg
waleee has joined #ffmpeg
bitbinge has joined #ffmpeg
kts has quit [Ping timeout: 268 seconds]
<noobaroo> Is there a way to concat two files that have a different FPS (29.97 and 30) without re-encoding?
coldfeet has quit [Remote host closed the connection]
jemius has quit [Quit: Leaving]
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
Some_Person has joined #ffmpeg
waleee has quit [Ping timeout: 255 seconds]
MootPoot has quit [Quit: Connection closed for inactivity]
kts has joined #ffmpeg
vlm has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #ffmpeg
bitbinge has quit [Ping timeout: 260 seconds]
zmt01 has joined #ffmpeg
swamp_ has joined #ffmpeg
zmt00 has quit [Ping timeout: 260 seconds]
zmt01 has quit [Ping timeout: 260 seconds]
coldfeet has joined #ffmpeg
lavaball has joined #ffmpeg
hightower4 has quit [Remote host closed the connection]
hightower3 has joined #ffmpeg
bitbinge has joined #ffmpeg
rsx has joined #ffmpeg
bitbinge has quit [Ping timeout: 260 seconds]
flom84 has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
coldfeet has quit [Remote host closed the connection]
xx has quit [Remote host closed the connection]
xx has joined #ffmpeg
waleee has joined #ffmpeg
jagannatharjun has joined #ffmpeg
bitbinge has joined #ffmpeg
flom84 has quit [Ping timeout: 256 seconds]
kts has quit [Ping timeout: 256 seconds]
kts has joined #ffmpeg
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ffmpeg
Suchiman has joined #ffmpeg
ivanich has joined #ffmpeg
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg
kts has quit [Ping timeout: 240 seconds]
ivanich_ has joined #ffmpeg
ivanich has quit [Ping timeout: 255 seconds]
SystemError has quit [Ping timeout: 260 seconds]
SystemError has joined #ffmpeg
ivanich_ has quit [Remote host closed the connection]
ivanich has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
Keshl_ has quit [Ping timeout: 245 seconds]
<acresearch> how can i find the hFOV and vFOV values from the camera? I have an Insta360 X3 camera, and i can't find these values in the internet nor its manual. where/how can i find them? or calculate them from the images it takes? i found out that the focal length is 6.7 and the sensor is 1/2" (what ever that means) can i use these values to calcularte the hFOV & vFOV?
<noobaroo> What is hFOV & vFOV?
<acresearch> noobaroo: horizantal field of view, vertical field of view
<BtbN> Does the manufacturer not document that?
<acresearch> BtbN: no, i am have been talking to their support for 2 days now, and whom ever they have as support seems not to understand what i am talking about
<BtbN> well, they you're out of luck and will have to trial&error it
<acresearch> they keep copy/pasting text from the internet, text i have already searched and read
<acresearch> BtbN: i tried, but i am reading online that ffmpeg cannot do it. i see people attempting to correctly "stitch" dual fish eye images and videos and they say, the best possible with ffmpeg is images with the an panorama picture, but you the stitch sesion not done correctly: https://www.trekview.org/blog/using-ffmpeg-process-gopro-fusion-fisheye/
<acresearch> you can see from this results, that it doesn't work
<BtbN> That trial&error does not work?
<acresearch> BtbN: yeh, i am current; generating 8,000 images for vFOV and hFOV between 180 and 250 each
Tinos has quit [Ping timeout: 250 seconds]
<acresearch> but it seems it gets REALLLLY close but then not spot on
<BtbN> Are you sure the camera even generated images in the format you think it does?
<acresearch> BtbN: yes, their software does it perfectly but they have a problem
<BtbN> Of course the proprietary software knows how to handle it
<BtbN> but that doesn't mean anything
<acresearch> they only allow you to generate one image at a time, if we take 2000 images that takes a whole day to export manuall clickling each image
<acresearch> BtbN: so what does it mean?
<BtbN> Nothing really. Of course they have an algorithm that deals with their stuff perfectly
<BtbN> but obviously it's not quite what v360 is made to deal with
<BtbN> Without further details from the manufacturer, there's not much you can do, outside of straight up reverse engineering their tool
<acresearch> BtbN: what is v360 made to deal with?
<acresearch> what further information is required? if they don't know their own vFOV hFOV, how can i calculate it from the info in the images? or what type of info can i use to calcualte it?
<BtbN> You can't calculate it
<acresearch> and is there other values requires to stitch a dual fish eye ?
<acresearch> BtbN: why?
<BtbN> It's a property of the device
<BtbN> You need to know it
<acresearch> but don't all images function within the rules of trigonometry?
<acresearch> heights and widths and focal points?
<BtbN> If you want to go into some research about it, I'm sure an algorithm could be derived somehow. But you're on your own with that.
<acresearch> i don't mind using their own propreitry software, but the problem is that its broken, they stopped maintaining it
<acresearch> insta360 is a famouse camera or is it a scammy china production?
<BtbN> Google finds v360=input=dfisheye:output=equirect:pitch=-22:roll=-20:ih_fov=193:iv_fov=193
<acresearch> BtbN: let me try it
<BtbN> The dude on SO also notes that "Please note that once you find the right FOV for your camera, it will remain the same for all your photos, but PICTH and ROLL will be different for each photo"
<acresearch> BtbN: ffmpeg -i fish.jpg v360=input=dfisheye:output=equirect:pitch=-22:roll=-20:ih_fov=193:iv_fov=193 out.jpg there must be an error i get : Unable to find a suitable output format
<BtbN> You at the very least forgot -vf
<acresearch> interesting it moved the position, but if pitch and roll are different for each photo it means they must be somehwere in the meta datta right?
<BtbN> if the camera is kind enough. But I wouldn't bet on it
<BtbN> could also be proprietaty metadata or something
<acresearch> but i think after trying this command that pitch/roll might not be useful to me, at least for now, because i need it with 0 pitch roll
<acresearch> i think my only requirement is vFOV and hFOV. i am surprised it is not possible to calcualte them from triangulation.
<acresearch> after trial and error, i feel they are around the value of 202 degrees each
waleee has quit [Ping timeout: 264 seconds]
<BtbN> What do you expect to calculate them from? All you got are a lot of pixels
<BtbN> They're inherent properties of the lenses and their layout
<acresearch> BtbN: from the meta data and some info about the camera, i know the that focul length is either 6.7mm or 1.24mm the sensor is 12.7mm diagonally and its aspect ratio is 2:1
<BtbN> I don't see how that's helpful for calculating the lense layout
lexano has quit [Remote host closed the connection]
<acresearch> i know the the equirectangular image is 11968x5984 px
<acresearch> well there is a formula that says: hFOV = 2 arctan (x/2f) but when i used it, it didn't work
<frankplow> I have a YUV file with varying resolution. How can I use ffmpeg to convert this into a sequence of BMP files? I have available the resolution of each frame.
<another|> frankplow: one file with multiple frames with different resolutions?
<frankplow> another|: Yeah. It's a nasty file, it's crashed a few tools I've tried to use it with.
<BtbN> If it doesn't have any kind of container, and is just random pixels thrown together, you'll have to manually calculate offets, split it apart with dd/tail/head, and then feed the individual files to ffmpeg together with their format and res
<frankplow> I suppose I could write a simple script which calculates the byte offsets from the resolutions + bitdepth + subsampling format, then divide the YUV file into frames like that, but I was hoping there'd be something a little easier
<BtbN> using a proper container would have been easier :D
<frankplow> BtbN: No choice really, it's from the VVC reference software which will only output YUV
<BtbN> And it outputs random changing resolutions, just straight up as raw pixels?
<BtbN> That's messed up and near useless if so
<frankplow> Or it has Y4M output but it was a bit buggy for sequences without changing resolution so I don't really fancy testing that. I don't even think a resolution-changing Y4M is possible.
<frankplow> BtbN: Yeah it's annoying
rpthms has quit [Read error: Connection reset by peer]
rpthms has joined #ffmpeg
<noobaroo> acresearch Found this on reddit: ffmpeg.exe -i input.mp4 -vf "lenscorrection=k1=-0.227:k2=0.045" -acodec copy -crf 20 output.mp4
jemius has joined #ffmpeg
<noobaroo> I find it hard to believe that h264 and h265 have bitstream filters to crop, but not av1? Is it not a thing, or it exists but just isn't implemented in ffmpeg?
<jkqxz> It's not a thing. AV1 has no cropping information - the coded size is the output size.
chiselfuse has quit [Remote host closed the connection]
hussein1 has quit [Remote host closed the connection]
fling has quit [Remote host closed the connection]
xx has quit [Read error: Connection reset by peer]
bitbinge has quit [Read error: Connection reset by peer]
hightower3 has quit [Remote host closed the connection]
xx has joined #ffmpeg
hussein1 has joined #ffmpeg
chiselfuse has joined #ffmpeg
hightower3 has joined #ffmpeg
bitbinge has joined #ffmpeg
fling has joined #ffmpeg
<acresearch> noobaroo: interesting, but i am doing individual images, not videos
<acresearch> noobaroo: but it still works with images, what are the k1 and k2 values? and what are their range?
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ffmpeg
hightower3 has quit [Ping timeout: 240 seconds]
hightower2 has joined #ffmpeg
<acresearch> BtbN: some progress on reverse engineering the algorithm: https://github.com/Insta360Develop/CameraSDK-Android?tab=readme-ov-file#MediaSDK%E5%AF%BC%E5%87%BA
<acresearch> the problem is i don't know where are these JS functions being called from, where are their scripts?
vlm has quit [Remote host closed the connection]
ajshell19 has quit [Quit: The Lounge - https://thelounge.chat]
ajshell19 has joined #ffmpeg
ajshell19 is now known as ajshell1
iive has joined #ffmpeg
noobaroo has quit [Read error: Connection reset by peer]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
coldfeet has joined #ffmpeg
waleee has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
xx has joined #ffmpeg
Livio has joined #ffmpeg
beastd has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
beastd has joined #ffmpeg