Description
I used cocoaPods to install the ffmpeg-mobile-full-gpl in my application, and I am trying to select a video from the gallery of my emulated iPhone and to run Vidstabdetect on it. The vidstab command fails with ffmpeg: Invalid argument. The command is "ffmpeg -i \(NSString(string: url.relativeString) as String) -vf vidstabdetect -an -f null NUL", and I'm sure that the pathing of the video is correctly identified.
Code snippet:
`let command = "ffmpeg -i (NSString(string: url.relativeString) as String) -vf vidstabdetect -an -f null NUL"
print("******Printing vidstabdetect: \(command) **********")
let com = MobileFFmpeg.execute(command)
print("**********************VIDSTABDETECT DONE")`
Expected behavior
For Vidstab to work and for the file "transforms.trf" to be generated somewhere.
Current behavior
the FFmpeg command has an error
Logs
file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.89DBA9F6-3A20-4605-9CE6-63080C4326A1.MOV
FFMPEG HERE
******Printing vidstabdetect: ffmpeg -i file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.89DBA9F6-3A20-4605-9CE6-63080C4326A1.MOV -vf vidstabdetect -an -f null NUL **********
2020-05-25 02:49:40.382484-0700 Pickers[2131:88492] Loaded mobile-ffmpeg-full-gpl-x86_64-4.3.2-20200415
2020-05-25 02:49:40.383073-0700 Pickers[2131:88680] INFO: ffmpeg version v4.3-dev-2955
2020-05-25 02:49:40.383843-0700 Pickers[2131:88680] INFO: Copyright (c) 2000-2020 the FFmpeg developers
2020-05-25 02:49:40.384756-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.385476-0700 Pickers[2131:88680] INFO: built with Apple clang version 11.0.3 (clang-1103.0.32.29)
2020-05-25 02:49:40.385841-0700 Pickers[2131:88680] INFO: configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-x86_64/ffmpeg --enable-version3 --arch=x86_64 --cpu=x86_64 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='clang -arch x86_64 -target x86_64-ios-darwin -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel -DMOBILE_FFMPEG_X86_64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200415 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -O2 -mios-simulator-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include' --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --disable-neon --enable-cross-compile --enable-pic --disable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv
2020-05-25 02:49:40.386456-0700 Pickers[2131:88680] INFO: libavutil 56. 42.102 / 56. 42.102
2020-05-25 02:49:40.386676-0700 Pickers[2131:88680] INFO: libavcodec 58. 78.102 / 58. 78.102
2020-05-25 02:49:40.386831-0700 Pickers[2131:88680] INFO: libavformat 58. 42.100 / 58. 42.100
2020-05-25 02:49:40.387010-0700 Pickers[2131:88680] INFO: libavdevice 58. 9.103 / 58. 9.103
2020-05-25 02:49:40.387117-0700 Pickers[2131:88680] INFO: libavfilter 7. 77.101 / 7. 77.101
2020-05-25 02:49:40.387237-0700 Pickers[2131:88680] INFO: libswscale 5. 6.101 / 5. 6.101
2020-05-25 02:49:40.387365-0700 Pickers[2131:88680] INFO: libswresample 3. 6.100 / 3. 6.100
**********************VIDSTABDETECT DONE
2020-05-25 02:49:40.417323-0700 Pickers[2131:88680] INFO: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.89DBA9F6-3A20-4605-9CE6-63080C4326A1.MOV':
2020-05-25 02:49:40.419402-0700 Pickers[2131:88680] INFO: Metadata:
2020-05-25 02:49:40.419543-0700 Pickers[2131:88680] INFO: major_brand :
2020-05-25 02:49:40.420928-0700 Pickers[2131:88680] INFO: qt
2020-05-25 02:49:40.422721-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.423005-0700 Pickers[2131:88680] INFO: minor_version :
2020-05-25 02:49:40.423330-0700 Pickers[2131:88680] INFO: 0
2020-05-25 02:49:40.423691-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.424218-0700 Pickers[2131:88680] INFO: compatible_brands:
2020-05-25 02:49:40.424901-0700 Pickers[2131:88680] INFO: qt
2020-05-25 02:49:40.425157-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.425400-0700 Pickers[2131:88680] INFO: creation_time :
2020-05-25 02:49:40.425648-0700 Pickers[2131:88680] INFO: 2020-05-25T09:49:40.000000Z
2020-05-25 02:49:40.426437-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.426586-0700 Pickers[2131:88680] INFO: encoder :
2020-05-25 02:49:40.426713-0700 Pickers[2131:88680] INFO: Lavf57.83.100
2020-05-25 02:49:40.426829-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.426941-0700 Pickers[2131:88680] INFO: title :
2020-05-25 02:49:40.427219-0700 Pickers[2131:88680] INFO: A Few Moments Later HD 2 Seconds Video
2020-05-25 02:49:40.427483-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.427814-0700 Pickers[2131:88680] INFO: Duration:
2020-05-25 02:49:40.428314-0700 Pickers[2131:88680] INFO: 00:00:02.21
2020-05-25 02:49:40.428743-0700 Pickers[2131:88680] INFO: , start:
2020-05-25 02:49:40.429117-0700 Pickers[2131:88680] INFO: 0.000000
2020-05-25 02:49:40.430404-0700 Pickers[2131:88680] INFO: , bitrate:
2020-05-25 02:49:40.432212-0700 Pickers[2131:88680] INFO: 1712 kb/s
2020-05-25 02:49:40.433986-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.434696-0700 Pickers[2131:88680] INFO: Stream #0:0
2020-05-25 02:49:40.434912-0700 Pickers[2131:88680] INFO: (und)
2020-05-25 02:49:40.435247-0700 Pickers[2131:88680] INFO: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 124 kb/s
2020-05-25 02:49:40.435686-0700 Pickers[2131:88680] INFO: (default)
2020-05-25 02:49:40.435925-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.436660-0700 Pickers[2131:88680] INFO: Metadata:
2020-05-25 02:49:40.436901-0700 Pickers[2131:88680] INFO: creation_time :
2020-05-25 02:49:40.437143-0700 Pickers[2131:88680] INFO: 2020-05-25T09:49:40.000000Z
2020-05-25 02:49:40.437423-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.437661-0700 Pickers[2131:88680] INFO: handler_name :
2020-05-25 02:49:40.458975-0700 Pickers[2131:88680] INFO: Core Media Audio
2020-05-25 02:49:40.459175-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.459308-0700 Pickers[2131:88680] INFO: Stream #0:1
2020-05-25 02:49:40.459429-0700 Pickers[2131:88680] INFO: (und)
2020-05-25 02:49:40.459533-0700 Pickers[2131:88680] INFO: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x360 [SAR 1:1 DAR 16:9], 1607 kb/s
2020-05-25 02:49:40.459650-0700 Pickers[2131:88680] INFO: ,
2020-05-25 02:49:40.459824-0700 Pickers[2131:88680] INFO: 29.97 fps,
2020-05-25 02:49:40.459927-0700 Pickers[2131:88680] INFO: 29.97 tbr,
2020-05-25 02:49:40.460585-0700 Pickers[2131:88680] INFO: 90k tbn,
2020-05-25 02:49:40.460741-0700 Pickers[2131:88680] INFO: 180k tbc
2020-05-25 02:49:40.460920-0700 Pickers[2131:88680] INFO: (default)
2020-05-25 02:49:40.461103-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.461300-0700 Pickers[2131:88680] INFO: Metadata:
2020-05-25 02:49:40.461487-0700 Pickers[2131:88680] INFO: creation_time :
2020-05-25 02:49:40.485632-0700 Pickers[2131:88680] INFO: 2020-05-25T09:49:40.000000Z
2020-05-25 02:49:40.485819-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.487814-0700 Pickers[2131:88680] INFO: handler_name :
2020-05-25 02:49:40.487980-0700 Pickers[2131:88680] INFO: Core Media Video
2020-05-25 02:49:40.488186-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.488566-0700 Pickers[2131:88680] INFO: encoder :
2020-05-25 02:49:40.488896-0700 Pickers[2131:88680] INFO: H.264
2020-05-25 02:49:40.489178-0700 Pickers[2131:88680] INFO:
2020-05-25 02:49:40.489451-0700 Pickers[2131:88680] ERROR: Unable to find a suitable output format for 'ffmpeg'
2020-05-25 02:49:40.489594-0700 Pickers[2131:88680] ERROR: ffmpeg: Invalid argument
2020-05-25 02:49:40.569898-0700 Pickers[2131:88620] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000aa6360> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-05-25 02:49:40.579512-0700 Pickers[2131:88620] [ddagg] AggregateDevice.mm:790 couldn't get default input device, ID = 0, err = 0!
Environment
Can you try without ffmpeg at the beginning of your command?
It works, thank you! I would also like to ask the second part of my question: after using vidstab detect I called vidstabtransform with the command "-i \(url) -vf vidstabtransform=debug=1:input=\(trs) -an -f null NUL", where trs is the path of transforms.trf. The vidstabtransform command executes correctly, however I am not able to find the global_motions.trf file anywhere. I don't think it is possible to set a custom location for generating the global_motions file, is it?
I will include the logs, just in case
`Optional
2020-05-25 05:08:38.737699-0700 Pickers[3603:175665] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"
Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in
file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.5A6BE725-4E1C-4828-8920-0889DE907A6B.MOV
FFMPEG HERE
*Printing vidstabdetect: -i file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.5A6BE725-4E1C-4828-8920-0889DE907A6B.MOV -vf vidstabdetect=shakiness=10:accuracy=15:result=/Users/os01/Desktop/tutorials-master/iOS/Pickers/Pickers/Sources/transforms.trf -an -f null NUL **
2020-05-25 05:08:45.274366-0700 Pickers[3603:175665] Loaded mobile-ffmpeg-full-gpl-x86_64-4.3.2-20200415
2020-05-25 05:08:45.275077-0700 Pickers[3603:175994] INFO: ffmpeg version v4.3-dev-2955
2020-05-25 05:08:45.275275-0700 Pickers[3603:175994] INFO: Copyright (c) 2000-2020 the FFmpeg developers
2020-05-25 05:08:45.275415-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.275543-0700 Pickers[3603:175994] INFO: built with Apple clang version 11.0.3 (clang-1103.0.32.29)
2020-05-25 05:08:45.275678-0700 Pickers[3603:175994] INFO: configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-x86_64/ffmpeg --enable-version3 --arch=x86_64 --cpu=x86_64 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='clang -arch x86_64 -target x86_64-ios-darwin -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel -DMOBILE_FFMPEG_X86_64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200415 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -O2 -mios-simulator-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include' --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --disable-neon --enable-cross-compile --enable-pic --disable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv
2020-05-25 05:08:45.278100-0700 Pickers[3603:175994] INFO: libavutil 56. 42.102 / 56. 42.102
2020-05-25 05:08:45.278298-0700 Pickers[3603:175994] INFO: libavcodec 58. 78.102 / 58. 78.102
2020-05-25 05:08:45.278416-0700 Pickers[3603:175994] INFO: libavformat 58. 42.100 / 58. 42.100
2020-05-25 05:08:45.278605-0700 Pickers[3603:175994] INFO: libavdevice 58. 9.103 / 58. 9.103
2020-05-25 05:08:45.278822-0700 Pickers[3603:175994] INFO: libavfilter 7. 77.101 / 7. 77.101
2020-05-25 05:08:45.279003-0700 Pickers[3603:175994] INFO: libswscale 5. 6.101 / 5. 6.101
2020-05-25 05:08:45.279243-0700 Pickers[3603:175994] INFO: libswresample 3. 6.100 / 3. 6.100
2020-05-25 05:08:45.288068-0700 Pickers[3603:175994] INFO: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.5A6BE725-4E1C-4828-8920-0889DE907A6B.MOV':
2020-05-25 05:08:45.288226-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.289260-0700 Pickers[3603:175994] INFO: major_brand :
2020-05-25 05:08:45.289385-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.289526-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.289654-0700 Pickers[3603:175994] INFO: minor_version :
2020-05-25 05:08:45.289803-0700 Pickers[3603:175994] INFO: 0
2020-05-25 05:08:45.289934-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.290051-0700 Pickers[3603:175994] INFO: compatible_brands:
2020-05-25 05:08:45.290209-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.290324-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.290725-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.290842-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.290958-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.291071-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.291183-0700 Pickers[3603:175994] INFO: Lavf57.83.100
2020-05-25 05:08:45.291300-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.291428-0700 Pickers[3603:175994] INFO: title :
2020-05-25 05:08:45.291543-0700 Pickers[3603:175994] INFO: A Few Moments Later HD 2 Seconds Video
2020-05-25 05:08:45.291660-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.291782-0700 Pickers[3603:175994] INFO: Duration:
2020-05-25 05:08:45.292005-0700 Pickers[3603:175994] INFO: 00:00:02.21
2020-05-25 05:08:45.292375-0700 Pickers[3603:175994] INFO: , start:
2020-05-25 05:08:45.292664-0700 Pickers[3603:175994] INFO: 0.000000
2020-05-25 05:08:45.292959-0700 Pickers[3603:175994] INFO: , bitrate:
2020-05-25 05:08:45.293240-0700 Pickers[3603:175994] INFO: 1712 kb/s
2020-05-25 05:08:45.293477-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.293741-0700 Pickers[3603:175994] INFO: Stream #0:0
2020-05-25 05:08:45.294149-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.295120-0700 Pickers[3603:175994] INFO: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 124 kb/s
2020-05-25 05:08:45.295382-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.295662-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.295907-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.296376-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.297334-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.297440-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.297593-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.297689-0700 Pickers[3603:175994] INFO: Core Media Audio
2020-05-25 05:08:45.297784-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.297875-0700 Pickers[3603:175994] INFO: Stream #0:1
2020-05-25 05:08:45.298720-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.298823-0700 Pickers[3603:175994] INFO: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x360 [SAR 1:1 DAR 16:9], 1607 kb/s
2020-05-25 05:08:45.298925-0700 Pickers[3603:175994] INFO: ,
2020-05-25 05:08:45.299018-0700 Pickers[3603:175994] INFO: 29.97 fps,
2020-05-25 05:08:45.299110-0700 Pickers[3603:175994] INFO: 29.97 tbr,
2020-05-25 05:08:45.299202-0700 Pickers[3603:175994] INFO: 90k tbn,
2020-05-25 05:08:45.301765-0700 Pickers[3603:175994] INFO: 180k tbc
2020-05-25 05:08:45.302187-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.302487-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.303061-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.303225-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.303341-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.303976-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.304439-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.304754-0700 Pickers[3603:175994] INFO: Core Media Video
2020-05-25 05:08:45.305096-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.305465-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.305596-0700 Pickers[3603:175994] INFO: H.264
2020-05-25 05:08:45.306573-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.306856-0700 Pickers[3603:175994] INFO: Stream mapping:
2020-05-25 05:08:45.307313-0700 Pickers[3603:175994] INFO: Stream #0:1 -> #0:0
2020-05-25 05:08:45.307450-0700 Pickers[3603:175994] INFO: (h264 (native) -> wrapped_avframe (native))
2020-05-25 05:08:45.307576-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.307720-0700 Pickers[3603:175994] INFO: Press [q] to stop, [?] for help
2020-05-25 05:08:45.317485-0700 Pickers[3603:175994] WARNING: sws_param option is deprecated and ignored
2020-05-25 05:08:45.318614-0700 Pickers[3603:175994] INFO: Fieldsize: 48, Maximal translation: 51 pixel
2020-05-25 05:08:45.319371-0700 Pickers[3603:175994] INFO: Number of used measurement fields: 40 out of 40
2020-05-25 05:08:45.319479-0700 Pickers[3603:175994] INFO: Fieldsize: 16, Maximal translation: 16 pixel
2020-05-25 05:08:45.319575-0700 Pickers[3603:175994] INFO: Number of used measurement fields: 162 out of 162
2020-05-25 05:08:45.319669-0700 Pickers[3603:175994] INFO: Video stabilization settings (pass 1/2):
2020-05-25 05:08:45.319760-0700 Pickers[3603:175994] INFO: shakiness = 10
2020-05-25 05:08:45.320448-0700 Pickers[3603:175994] INFO: accuracy = 15
2020-05-25 05:08:45.320568-0700 Pickers[3603:175994] INFO: stepsize = 6
2020-05-25 05:08:45.320679-0700 Pickers[3603:175994] INFO: mincontrast = 0.250000
2020-05-25 05:08:45.320785-0700 Pickers[3603:175994] INFO: tripod = 0
2020-05-25 05:08:45.321721-0700 Pickers[3603:175994] INFO: show = 0
2020-05-25 05:08:45.321834-0700 Pickers[3603:175994] INFO: result = /Users/os01/Desktop/tutorials-master/iOS/Pickers/Pickers/Sources/transforms.trf
2020-05-25 05:08:45.322101-0700 Pickers[3603:175994] INFO: Output #0, null, to 'NUL':
2020-05-25 05:08:45.322283-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.322563-0700 Pickers[3603:175994] INFO: major_brand :
2020-05-25 05:08:45.322830-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.322997-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.323223-0700 Pickers[3603:175994] INFO: minor_version :
2020-05-25 05:08:45.323573-0700 Pickers[3603:175994] INFO: 0
2020-05-25 05:08:45.324550-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.324694-0700 Pickers[3603:175994] INFO: compatible_brands:
2020-05-25 05:08:45.324813-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.325221-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.325503-0700 Pickers[3603:175994] INFO: title :
2020-05-25 05:08:45.325767-0700 Pickers[3603:175994] INFO: A Few Moments Later HD 2 Seconds Video
2020-05-25 05:08:45.325993-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.326496-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.326618-0700 Pickers[3603:175994] INFO: Lavf58.42.100
2020-05-25 05:08:45.326901-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.328270-0700 Pickers[3603:175994] INFO: Stream #0:0
2020-05-25 05:08:45.328640-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.328845-0700 Pickers[3603:175994] INFO: : Video: wrapped_avframe, yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s
2020-05-25 05:08:45.329169-0700 Pickers[3603:175994] INFO: ,
2020-05-25 05:08:45.329283-0700 Pickers[3603:175994] INFO: 29.97 fps,
2020-05-25 05:08:45.329462-0700 Pickers[3603:175994] INFO: 29.97 tbn,
2020-05-25 05:08:45.329593-0700 Pickers[3603:175994] INFO: 29.97 tbc
2020-05-25 05:08:45.329867-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.330012-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.330128-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.330952-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.331210-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.331322-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.331425-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.331524-0700 Pickers[3603:175994] INFO: Core Media Video
2020-05-25 05:08:45.331625-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.331834-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.332247-0700 Pickers[3603:175994] INFO: Lavc58.78.102 wrapped_avframe
2020-05-25 05:08:45.332600-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.460079-0700 Pickers[3603:175994] INFO: frame= 65 fps=0.0 q=-0.0 Lsize=N/A time=00:00:02.20 bitrate=N/A speed=12.9x
2020-05-25 05:08:45.460304-0700 Pickers[3603:175994] INFO: video:34kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
2020-05-25 05:08:45.460476-0700 Pickers[3603:175994] INFO: unknown
2020-05-25 05:08:45.460627-0700 Pickers[3603:175994] INFO:
******VIDSTABDETECT DONE
0
Printing vidstabtransform: -i file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.5A6BE725-4E1C-4828-8920-0889DE907A6B.MOV -vf vidstabtransform=debug=1:input=/Users/os01/Desktop/tutorials-master/iOS/Pickers/Pickers/Sources/transforms.trf -an -f null NUL **
2020-05-25 05:08:45.462106-0700 Pickers[3603:175994] INFO: ffmpeg version v4.3-dev-2955
2020-05-25 05:08:45.462265-0700 Pickers[3603:175994] INFO: Copyright (c) 2000-2020 the FFmpeg developers
2020-05-25 05:08:45.462395-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.462524-0700 Pickers[3603:175994] INFO: built with Apple clang version 11.0.3 (clang-1103.0.32.29)
2020-05-25 05:08:45.462668-0700 Pickers[3603:175994] INFO: configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-x86_64/ffmpeg --enable-version3 --arch=x86_64 --cpu=x86_64 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='clang -arch x86_64 -target x86_64-ios-darwin -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel -DMOBILE_FFMPEG_X86_64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200415 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -O2 -mios-simulator-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include' --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --disable-neon --enable-cross-compile --enable-pic --disable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv
2020-05-25 05:08:45.463286-0700 Pickers[3603:175994] INFO: libavutil 56. 42.102 / 56. 42.102
2020-05-25 05:08:45.463409-0700 Pickers[3603:175994] INFO: libavcodec 58. 78.102 / 58. 78.102
2020-05-25 05:08:45.463607-0700 Pickers[3603:175994] INFO: libavformat 58. 42.100 / 58. 42.100
2020-05-25 05:08:45.463725-0700 Pickers[3603:175994] INFO: libavdevice 58. 9.103 / 58. 9.103
2020-05-25 05:08:45.463904-0700 Pickers[3603:175994] INFO: libavfilter 7. 77.101 / 7. 77.101
2020-05-25 05:08:45.464183-0700 Pickers[3603:175994] INFO: libswscale 5. 6.101 / 5. 6.101
2020-05-25 05:08:45.464519-0700 Pickers[3603:175994] INFO: libswresample 3. 6.100 / 3. 6.100
2020-05-25 05:08:45.469856-0700 Pickers[3603:175994] INFO: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///Users/os01/Library/Developer/CoreSimulator/Devices/42A522C4-53E3-4932-90D4-99F7F9124DD0/data/Containers/Data/PluginKitPlugin/8A3295F9-ECF0-4A8E-ACFF-2FCC275D66D0/tmp/trim.5A6BE725-4E1C-4828-8920-0889DE907A6B.MOV':
2020-05-25 05:08:45.470090-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.470217-0700 Pickers[3603:175994] INFO: major_brand :
2020-05-25 05:08:45.470421-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.470564-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.470682-0700 Pickers[3603:175994] INFO: minor_version :
2020-05-25 05:08:45.470812-0700 Pickers[3603:175994] INFO: 0
2020-05-25 05:08:45.471093-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.471253-0700 Pickers[3603:175994] INFO: compatible_brands:
2020-05-25 05:08:45.471387-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.471702-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.471849-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.472034-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.472368-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.472856-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.473028-0700 Pickers[3603:175994] INFO: Lavf57.83.100
2020-05-25 05:08:45.473302-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.473510-0700 Pickers[3603:175994] INFO: title :
2020-05-25 05:08:45.473659-0700 Pickers[3603:175994] INFO: A Few Moments Later HD 2 Seconds Video
2020-05-25 05:08:45.474127-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.474265-0700 Pickers[3603:175994] INFO: Duration:
2020-05-25 05:08:45.474566-0700 Pickers[3603:175994] INFO: 00:00:02.21
2020-05-25 05:08:45.474711-0700 Pickers[3603:175994] INFO: , start:
2020-05-25 05:08:45.474833-0700 Pickers[3603:175994] INFO: 0.000000
2020-05-25 05:08:45.474976-0700 Pickers[3603:175994] INFO: , bitrate:
2020-05-25 05:08:45.475324-0700 Pickers[3603:175994] INFO: 1712 kb/s
2020-05-25 05:08:45.475765-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.476128-0700 Pickers[3603:175994] INFO: Stream #0:0
2020-05-25 05:08:45.476385-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.476522-0700 Pickers[3603:175994] INFO: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 124 kb/s
2020-05-25 05:08:45.476894-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.477039-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.477373-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.477642-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.477887-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.478031-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.478172-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.478368-0700 Pickers[3603:175994] INFO: Core Media Audio
2020-05-25 05:08:45.478594-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.478846-0700 Pickers[3603:175994] INFO: Stream #0:1
2020-05-25 05:08:45.479207-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.479465-0700 Pickers[3603:175994] INFO: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x360 [SAR 1:1 DAR 16:9], 1607 kb/s
2020-05-25 05:08:45.479732-0700 Pickers[3603:175994] INFO: ,
2020-05-25 05:08:45.479925-0700 Pickers[3603:175994] INFO: 29.97 fps,
2020-05-25 05:08:45.480131-0700 Pickers[3603:175994] INFO: 29.97 tbr,
2020-05-25 05:08:45.480263-0700 Pickers[3603:175994] INFO: 90k tbn,
2020-05-25 05:08:45.480425-0700 Pickers[3603:175994] INFO: 180k tbc
2020-05-25 05:08:45.480638-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.480989-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.481344-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.481484-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.482067-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.482217-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.482347-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.482471-0700 Pickers[3603:175994] INFO: Core Media Video
2020-05-25 05:08:45.482739-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.482907-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.483074-0700 Pickers[3603:175994] INFO: H.264
2020-05-25 05:08:45.483238-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.483400-0700 Pickers[3603:175994] INFO: Stream mapping:
2020-05-25 05:08:45.483568-0700 Pickers[3603:175994] INFO: Stream #0:1 -> #0:0
2020-05-25 05:08:45.483727-0700 Pickers[3603:175994] INFO: (h264 (native) -> wrapped_avframe (native))
2020-05-25 05:08:45.483891-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.484052-0700 Pickers[3603:175994] INFO: Press [q] to stop, [?] for help
2020-05-25 05:08:45.485824-0700 Pickers[3603:175994] WARNING: sws_param option is deprecated and ignored
2020-05-25 05:08:45.485978-0700 Pickers[3603:175994] INFO: Video transformation/stabilization settings (pass 2/2):
2020-05-25 05:08:45.486097-0700 Pickers[3603:175994] INFO: input = /Users/os01/Desktop/tutorials-master/iOS/Pickers/Pickers/Sources/transforms.trf
2020-05-25 05:08:45.486208-0700 Pickers[3603:175994] INFO: smoothing = 15
2020-05-25 05:08:45.486382-0700 Pickers[3603:175994] INFO: optalgo = gauss
2020-05-25 05:08:45.486649-0700 Pickers[3603:175994] INFO: maxshift = -1
2020-05-25 05:08:45.486889-0700 Pickers[3603:175994] INFO: maxangle = -1.000000
2020-05-25 05:08:45.487017-0700 Pickers[3603:175994] INFO: crop = Keep
2020-05-25 05:08:45.487201-0700 Pickers[3603:175994] INFO: relative = True
2020-05-25 05:08:45.487375-0700 Pickers[3603:175994] INFO: invert = False
2020-05-25 05:08:45.487786-0700 Pickers[3603:175994] INFO: zoom = 0.000000
2020-05-25 05:08:45.488127-0700 Pickers[3603:175994] INFO: optzoom = Static (1)
2020-05-25 05:08:45.488341-0700 Pickers[3603:175994] INFO: interpol = Bi-Linear (2)
2020-05-25 05:08:45.491051-0700 Pickers[3603:175994] INFO: disabled (8+0)/86, residual: 0.000000 (1)
2020-05-25 05:08:45.491247-0700 Pickers[3603:175994] INFO: disabled (4+0)/87, residual: 0.000000 (1)
2020-05-25 05:08:45.491377-0700 Pickers[3603:175994] INFO: disabled (6+0)/71, residual: 0.000000 (1)
2020-05-25 05:08:45.491519-0700 Pickers[3603:175994] INFO: disabled (6+0)/69, residual: 0.000000 (1)
2020-05-25 05:08:45.491634-0700 Pickers[3603:175994] INFO: disabled (1+0)/61, residual: 0.000000 (1)
2020-05-25 05:08:45.491856-0700 Pickers[3603:175994] INFO: disabled (3+0)/58, residual: 0.000000 (1)
2020-05-25 05:08:45.492025-0700 Pickers[3603:175994] INFO: disabled (3+0)/61, residual: 0.000000 (1)
2020-05-25 05:08:45.492252-0700 Pickers[3603:175994] INFO: disabled (8+0)/70, residual: 0.000000 (1)
2020-05-25 05:08:45.492416-0700 Pickers[3603:175994] INFO: disabled (6+0)/72, residual: 0.000000 (1)
2020-05-25 05:08:45.492793-0700 Pickers[3603:175994] INFO: disabled (5+0)/69, residual: 0.000000 (1)
2020-05-25 05:08:45.493092-0700 Pickers[3603:175994] INFO: disabled (6+0)/67, residual: 0.000000 (1)
2020-05-25 05:08:45.493247-0700 Pickers[3603:175994] INFO: disabled (7+0)/68, residual: 0.000000 (1)
2020-05-25 05:08:45.493541-0700 Pickers[3603:175994] INFO: disabled (7+0)/72, residual: 0.000000 (1)
2020-05-25 05:08:45.493967-0700 Pickers[3603:175994] INFO: disabled (8+0)/73, residual: 0.000000 (1)
2020-05-25 05:08:45.494138-0700 Pickers[3603:175994] INFO: disabled (4+0)/56, residual: 0.000000 (1)
2020-05-25 05:08:45.494523-0700 Pickers[3603:175994] INFO: disabled (3+0)/57, residual: 0.000000 (1)
2020-05-25 05:08:45.494944-0700 Pickers[3603:175994] INFO: disabled (5+0)/64, residual: 0.000000 (1)
2020-05-25 05:08:45.495209-0700 Pickers[3603:175994] INFO: disabled (6+0)/70, residual: 0.000000 (1)
2020-05-25 05:08:45.495415-0700 Pickers[3603:175994] INFO: disabled (6+0)/74, residual: 0.000000 (1)
2020-05-25 05:08:45.495763-0700 Pickers[3603:175994] INFO: disabled (8+0)/76, residual: 0.000000 (1)
2020-05-25 05:08:45.496000-0700 Pickers[3603:175994] INFO: disabled (6+0)/74, residual: 0.000000 (1)
2020-05-25 05:08:45.496278-0700 Pickers[3603:175994] INFO: disabled (9+0)/83, residual: 0.000000 (1)
2020-05-25 05:08:45.496579-0700 Pickers[3603:175994] INFO: disabled (6+0)/74, residual: 0.000000 (1)
2020-05-25 05:08:45.496969-0700 Pickers[3603:175994] INFO: disabled (8+0)/76, residual: 0.000000 (1)
2020-05-25 05:08:45.497220-0700 Pickers[3603:175994] INFO: disabled (5+0)/77, residual: 0.000000 (1)
2020-05-25 05:08:45.497392-0700 Pickers[3603:175994] INFO: disabled (6+0)/78, residual: 0.000000 (1)
2020-05-25 05:08:45.497520-0700 Pickers[3603:175994] INFO: disabled (7+0)/79, residual: 0.000000 (1)
2020-05-25 05:08:45.497789-0700 Pickers[3603:175994] INFO: disabled (6+0)/78, residual: 0.000000 (1)
2020-05-25 05:08:45.498090-0700 Pickers[3603:175994] INFO: disabled (5+0)/75, residual: 0.000000 (1)
2020-05-25 05:08:45.498378-0700 Pickers[3603:175994] INFO: disabled (2+0)/55, residual: 0.000000 (1)
2020-05-25 05:08:45.498518-0700 Pickers[3603:175994] INFO: disabled (5+0)/82, residual: 0.000000 (1)
2020-05-25 05:08:45.498668-0700 Pickers[3603:175994] INFO: disabled (6+0)/90, residual: 0.000000 (1)
2020-05-25 05:08:45.498809-0700 Pickers[3603:175994] INFO: disabled (7+0)/69, residual: 0.000000 (1)
2020-05-25 05:08:45.498943-0700 Pickers[3603:175994] INFO: disabled (8+0)/79, residual: 0.000000 (1)
2020-05-25 05:08:45.499079-0700 Pickers[3603:175994] INFO: disabled (6+0)/78, residual: 0.000000 (1)
2020-05-25 05:08:45.499213-0700 Pickers[3603:175994] INFO: disabled (7+0)/80, residual: 0.000000 (1)
2020-05-25 05:08:45.499346-0700 Pickers[3603:175994] INFO: disabled (5+0)/91, residual: 0.000000 (1)
2020-05-25 05:08:45.499481-0700 Pickers[3603:175994] INFO: disabled (6+0)/93, residual: 0.000000 (1)
2020-05-25 05:08:45.499617-0700 Pickers[3603:175994] INFO: disabled (6+0)/88, residual: 0.000000 (1)
2020-05-25 05:08:45.500792-0700 Pickers[3603:175994] INFO: disabled (5+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.500956-0700 Pickers[3603:175994] INFO: disabled (5+0)/93, residual: 0.000000 (1)
2020-05-25 05:08:45.501080-0700 Pickers[3603:175994] INFO: disabled (5+0)/93, residual: 0.000000 (1)
2020-05-25 05:08:45.501203-0700 Pickers[3603:175994] INFO: disabled (6+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.501359-0700 Pickers[3603:175994] INFO: disabled (5+0)/90, residual: 0.000000 (1)
2020-05-25 05:08:45.501636-0700 Pickers[3603:175994] INFO: disabled (8+0)/80, residual: 0.000000 (1)
2020-05-25 05:08:45.501860-0700 Pickers[3603:175994] INFO: disabled (5+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.501996-0700 Pickers[3603:175994] INFO: disabled (4+0)/88, residual: 0.000000 (1)
2020-05-25 05:08:45.502338-0700 Pickers[3603:175994] INFO: disabled (9+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.502944-0700 Pickers[3603:175994] INFO: disabled (7+0)/84, residual: 0.000000 (1)
2020-05-25 05:08:45.503288-0700 Pickers[3603:175994] INFO: disabled (6+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.503450-0700 Pickers[3603:175994] INFO: disabled (7+0)/91, residual: 0.000000 (1)
2020-05-25 05:08:45.503973-0700 Pickers[3603:175994] INFO: disabled (7+0)/90, residual: 0.000000 (1)
2020-05-25 05:08:45.504183-0700 Pickers[3603:175994] INFO: disabled (8+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.504540-0700 Pickers[3603:175994] INFO: disabled (8+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.504888-0700 Pickers[3603:175994] INFO: disabled (7+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.505207-0700 Pickers[3603:175994] INFO: disabled (7+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.505644-0700 Pickers[3603:175994] INFO: disabled (7+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.506018-0700 Pickers[3603:175994] INFO: disabled (7+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.506157-0700 Pickers[3603:175994] INFO: disabled (6+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.506481-0700 Pickers[3603:175994] INFO: disabled (3+0)/64, residual: 0.000000 (1)
2020-05-25 05:08:45.506690-0700 Pickers[3603:175994] INFO: disabled (5+0)/89, residual: 0.000000 (1)
2020-05-25 05:08:45.506951-0700 Pickers[3603:175994] INFO: disabled (3+0)/92, residual: 0.000000 (1)
2020-05-25 05:08:45.507606-0700 Pickers[3603:175994] INFO: disabled (4+0)/94, residual: 0.000000 (1)
2020-05-25 05:08:45.508041-0700 Pickers[3603:175994] INFO: disabled (1+0)/95, residual: 0.000000 (1)
2020-05-25 05:08:45.508179-0700 Pickers[3603:175994] INFO: Final zoom: 0.000000
2020-05-25 05:08:45.508301-0700 Pickers[3603:175994] INFO: Output #0, null, to 'NUL':
2020-05-25 05:08:45.508527-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.508842-0700 Pickers[3603:175994] INFO: major_brand :
2020-05-25 05:08:45.509157-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.509566-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.509768-0700 Pickers[3603:175994] INFO: minor_version :
2020-05-25 05:08:45.509992-0700 Pickers[3603:175994] INFO: 0
2020-05-25 05:08:45.510240-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.510578-0700 Pickers[3603:175994] INFO: compatible_brands:
2020-05-25 05:08:45.510738-0700 Pickers[3603:175994] INFO: qt
2020-05-25 05:08:45.510950-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.511215-0700 Pickers[3603:175994] INFO: title :
2020-05-25 05:08:45.511611-0700 Pickers[3603:175994] INFO: A Few Moments Later HD 2 Seconds Video
2020-05-25 05:08:45.511779-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.511949-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.512117-0700 Pickers[3603:175994] INFO: Lavf58.42.100
2020-05-25 05:08:45.512283-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.512436-0700 Pickers[3603:175994] INFO: Stream #0:0
2020-05-25 05:08:45.512592-0700 Pickers[3603:175994] INFO: (und)
2020-05-25 05:08:45.512705-0700 Pickers[3603:175994] INFO: : Video: wrapped_avframe, yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s
2020-05-25 05:08:45.513034-0700 Pickers[3603:175994] INFO: ,
2020-05-25 05:08:45.513274-0700 Pickers[3603:175994] INFO: 29.97 fps,
2020-05-25 05:08:45.513657-0700 Pickers[3603:175994] INFO: 29.97 tbn,
2020-05-25 05:08:45.513787-0700 Pickers[3603:175994] INFO: 29.97 tbc
2020-05-25 05:08:45.514081-0700 Pickers[3603:175994] INFO: (default)
2020-05-25 05:08:45.514326-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.514564-0700 Pickers[3603:175994] INFO: Metadata:
2020-05-25 05:08:45.514932-0700 Pickers[3603:175994] INFO: creation_time :
2020-05-25 05:08:45.515063-0700 Pickers[3603:175994] INFO: 2020-05-25T12:08:44.000000Z
2020-05-25 05:08:45.515253-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.515579-0700 Pickers[3603:175994] INFO: handler_name :
2020-05-25 05:08:45.515700-0700 Pickers[3603:175994] INFO: Core Media Video
2020-05-25 05:08:45.515939-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.516320-0700 Pickers[3603:175994] INFO: encoder :
2020-05-25 05:08:45.516659-0700 Pickers[3603:175994] INFO: Lavc58.78.102 wrapped_avframe
2020-05-25 05:08:45.516868-0700 Pickers[3603:175994] INFO:
2020-05-25 05:08:45.543222-0700 Pickers[3603:175994] INFO: frame= 65 fps=0.0 q=-0.0 Lsize=N/A time=00:00:02.20 bitrate=N/A speed=30.2x
2020-05-25 05:08:45.543423-0700 Pickers[3603:175994] INFO: video:34kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
2020-05-25 05:08:45.543567-0700 Pickers[3603:175994] INFO: unknown
2020-05-25 05:08:45.543704-0700 Pickers[3603:175994] INFO:
*******VIDSTABTRANSFORM DONE
0
2020-05-25 05:08:45.712318-0700 Pickers[3603:177077] [plugin] AddInstanceForFactory: No factory registered for id
2020-05-25 05:08:45.722800-0700 Pickers[3603:177077] [ddagg] AggregateDevice.mm:790 couldn't get default input device, ID = 0, err = 0!`
See #376.
I looked at the issue and also the linked android code, however I do not think it answers my question. The transforms.trf file is in a directory with write permissions. What I need is the file global_motions.trf, which I will read and use in another script. When I use ffmpeg with python this file is created in the same directory as the script in which I use vidstabtransform, however with the emulator I am not able to find it. Since the vidstabtransform command success it means that the file should have been created somewhere
global_motions.trf is created inside the working directory of your application. However, default working directory is not always a path where you can create files. Can you change the working directory of your application to a path where you have write permissions? After making this change global_motions.trf will be created inside that working directory.
I'm using the following Objective-C code to do that.
[[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] bundlePath]];
Ok, I switched the working directory to the Documents folder in my app, and I can see that the global motions file is generated there. Thank you very much for the help Taner, I will close the issue