Advertisement
yunhaveto

FFMpeg OMX

Apr 21st, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. root@raspberrypi4:~# ffmpeg -i small.mp4 -vcodec h264_omx grb_2-v4l2.mkv
  2. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  3. built with gcc 9.3.0 (GCC)
  4. configuration: --disable-stripping --enable-pic --enable-shared --enable-pthreads --cross-prefix=arm-poky-linux-gnueabi- --ld='arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot' --cc='arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot' --cxx='arm-poky-linux-gnueabi-g++ -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot' --arch=arm --target-os=linux --enable-cross-compile --extra-cflags=' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0=/usr/src/debug/ffmpeg/4.2.2-r0 -fdebug-prefix-map=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0=/usr/src/debug/ffmpeg/4.2.2-r0 -fdebug-prefix-map=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot= -fdebug-prefix-map=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot-native= -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot' --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now' --sysroot=/home/roman-ubu/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/ffmpeg/4.2.2-r0/recipe-sysroot --libdir=/usr/lib --shlibdir=/usr/lib --datadir=/usr/share/ffmpeg --disable-mipsdsp --disable-mipsdspr2 --cpu=cortex-a7 --pkg-config=pkg-config --enable-encoder=mpeg4_omx --enable-encoder=h264_omx --enable-omx --enable-v4l2-m2m --enable-omx-rpi --enable-hwaccel=omx --enable-mmal --extra-cflags=-I/home/roman-ubu/yocto/poky/build/tmp/work/aarch64-poky-linux/ffmpeg/4.2.2-r0/recipe-sysroot/usr/include/IL --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now' --disable-static --enable-alsa --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avresample --disable-bzlib --disable-libfdk-aac --enable-gpl --disable-libgsm --disable-indev=jack --disable-libvorbis --disable-lzma --disable-libmfx --disable-libmp3lame --disable-openssl --enable-postproc --disable-sdl2 --disable-libspeex --enable-swresample --enable-swscale --disable-libtheora --disable-vaapi --disable-vdpau --disable-libvpx --disable-libx264 --disable-libx265 --disable-libxcb --disable-outdev=xv --enable-zlib
  5. libavutil 56. 31.100 / 56. 31.100
  6. libavcodec 58. 54.100 / 58. 54.100
  7. libavformat 58. 29.100 / 58. 29.100
  8. libavdevice 58. 8.100 / 58. 8.100
  9. libavfilter 7. 57.100 / 7. 57.100
  10. libavresample 4. 0. 0 / 4. 0. 0
  11. libswscale 5. 5.100 / 5. 5.100
  12. libswresample 3. 5.100 / 3. 5.100
  13. libpostproc 55. 5.100 / 55. 5.100
  14. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'small.mp4':
  15. Metadata:
  16. major_brand : mp42
  17. minor_version : 0
  18. compatible_brands: mp42isomavc1
  19. creation_time : 2010-03-20T21:29:11.000000Z
  20. encoder : HandBrake 0.9.4 2009112300
  21. Duration: 00:00:05.57, start: 0.000000, bitrate: 551 kb/s
  22. Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 560x320, 465 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
  23. Metadata:
  24. creation_time : 2010-03-20T21:29:11.000000Z
  25. encoder : JVT/AVC Coding
  26. Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 83 kb/s (default)
  27. Metadata:
  28. creation_time : 2010-03-20T21:29:11.000000Z
  29. Stream mapping:
  30. Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx))
  31. Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
  32. Press [q] to stop, [?] for help
  33. [h264_omx @ 0x6cb860] Using OMX.broadcom.video_encode
  34. Output #0, matroska, to 'grb_2-v4l2.mkv':
  35. Metadata:
  36. major_brand : mp42
  37. minor_version : 0
  38. compatible_brands: mp42isomavc1
  39. encoder : Lavf58.29.100
  40. Stream #0:0(und): Video: h264 (h264_omx) (H264 / 0x34363248), yuv420p, 560x320, q=2-31, 200 kb/s, 30 fps, 1k tbn, 30 tbc (default)
  41. Metadata:
  42. creation_time : 2010-03-20T21:29:11.000000Z
  43. encoder : Lavc58.54.100 h264_omx
  44. Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, mono, fltp, 96 kb/s (default)
  45. Metadata:
  46. creation_time : 2010-03-20T21:29:11.000000Z
  47. encoder : Lavc58.54.100 ac3
  48. frame= 166 fps=145 q=-0.0 Lsize= 205kB time=00:00:05.58 bitrate= 300.0kbits/s speed=4.87x
  49. video:135kB audio:65kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.882267%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement