[FFmpeg-user] When capturing rawvideo from camera (avfoundation), ffmpeg adds extra 32 bytes for each frame.
Peter Gusev
gpeetonn at gmail.com
Wed Sep 19 21:20:13 EEST 2018
It still fails:
$ ./ffmpeg -f avfoundation -pixel_format 0rgb -framerate 25 -video_size
640x480 -i "0" -map 0:v -c copy -f rawvideo -vframes 1 /tmp/frame.0rgb
ffmpeg version N-91984-gba175578d1 Copyright © 2000-2018 the FFmpeg
developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/Users/peetonn/Documents/Work/ffmpeg/build
libavutil 56. 19.101 / 56. 19.101
libavcodec 58. 30.100 / 58. 30.100
libavformat 58. 18.101 / 58. 18.101
libavdevice 58. 4.103 / 58. 4.103
libavfilter 7. 32.100 / 7. 32.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
2018-09-19 14:15:01.633 ffmpeg[22078:16253460] Error loading
/Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn:
dlopen(/Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn,
262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn:
mach-o, but wrong architecture
/Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin/Contents/MacOS/SeratoVirtualAudioPlugIn:
mach-o, but wrong architecture
2018-09-19 14:15:01.634 ffmpeg[22078:16253460] Cannot find function pointer
New_SHP_PlugIn for factory 834FC054-C1CC-11D6-BD01-00039315CD46 in
CFBundle/CFPlugIn 0x7fad5f139350
</Library/Audio/Plug-Ins/HAL/SeratoVirtualAudioPlugIn.plugin> (bundle, not
loaded)
Input #0, avfoundation, from '0':
Duration: N/A, start: 2781.315433, bitrate: N/A
Stream #0:0: Video: rawvideo ([0]RGB / 0x42475200), 0rgb, 640x480, 25
fps, 25 tbr, 1000k tbn, 1000k tbc
Output #0, rawvideo, to '/tmp/frame.0rgb':
Metadata:
encoder : Lavf58.18.101
Stream #0:0: Video: rawvideo ([0]RGB / 0x42475200), 0rgb, 640x480,
q=2-31, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 ©
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=-1.0 Lsize= 1200kB time=00:00:00.00
bitrate=9830656000.0kbits/s speed=0.00117x
video:1200kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
$ wc -c /tmp/frame.0rgb
1228832 /tmp/frame.0rgb
See the frame file here
<https://drive.google.com/open?id=1-8HK-4ztllzWa-7lAwyiwmDrQDL8bRQf> (
https://drive.google.com/open?id=1-8HK-4ztllzWa-7lAwyiwmDrQDL8bRQf).
OS version:
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G1510
Thanks!
On Wed, 19 Sep 2018 at 13:01, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-09-19 18:24 GMT+02:00, Peter Gusev <gpeetonn at gmail.com>:
> > The issue hasn't changed.
>
> Of course not since you are testing a six-months old version.
>
> Please test current FFmpeg git head, this may have changed
> this week.
>
> If it still fails, please provide (complete, uncut console output
> and) an output frame.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
--
Peter Gusev <https://www.linkedin.com/in/peter-gusev-8135441a/>
*gpeetonn at gmail.com <gpeetonn at gmail.com>*
*+1 213 587-27-48*
*Research Scholar @ REMAP UCLA <http://www.remap.ucla.edu/home/about>Video
streaming/ICN networks/Creative Coding/Interactive Media*
*dj peetonn <https://soundcloud.com/peter-gusev>*
More information about the ffmpeg-user
mailing list