[FFmpeg-user] Newbie needs help on capture video/audio using ffmpeg on RPI

Ram Shaffir ram at ram.sh
Thu May 14 00:00:18 EEST 2020


Hi Carl, 

Got some progress ,however, whenever I use the h264_omx I still get low-quality video output compared with libx264 (increasing the bitrate didn't do too much), my current command is:

ffmpeg -y -f alsa -thread_queue_size 15000 -ac 2 -itsoffset -0.5 -i hw:1,0 -f v4l2 -thread_queue_size 15000 -i /dev/video0 -acodec ac3 -ab 51k -s 896x504 -r 30 -vcodec h264_omx -b:v 10000K -pix_fmt yuv420p -f mp4 /usr/ramDisk/h264_omx.mp4 -loglevel debug 2> /usr/ramDisk/h264_omx.mp4.log

the full output log for a 9 secods video:
ffmpeg version 4.1.4-1+rpt7~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (Raspbian 8.3.0-6+rpi1)
  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
  WARNING: library configuration mismatch
  avutil      configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avcodec     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avformat    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avdevice    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avfilter    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  swscale     configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  swresample  configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  postproc    configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'alsa'.
Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '15000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-itsoffset' ... matched as option 'itsoffset' (set the input ts offset) with argument '-0.5'.
Reading option '-i' ... matched as input url with argument 'hw:1,0'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '15000'.
Reading option '-i' ... matched as input url with argument '/dev/video0'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'ac3'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '51k'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '896x504'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264_omx'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '10000K'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
Reading option '/usr/ramDisk/h264_omx.mp4' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url hw:1,0.
Applying option f (force format) with argument alsa.
Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 15000.
Applying option ac (set number of audio channels) with argument 2.
Applying option itsoffset (set the input ts offset) with argument -0.5.
Successfully parsed a group of options.
Opening an input file: hw:1,0.
[alsa @ 0x748310] All info found
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:1,0':
  Duration: N/A, start: 1589402974.746268, bitrate: 1536 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Successfully opened the file.
Parsing a group of options: input url /dev/video0.
Applying option f (force format) with argument v4l2.
Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 15000.
Successfully parsed a group of options.
Opening an input file: /dev/video0.
[video4linux2,v4l2 @ 0x75bb30] fd:3 capabilities:84a00001
[video4linux2,v4l2 @ 0x75bb30] Current input_channel: 0, input_name: HDMI, input_std: 0
[video4linux2,v4l2 @ 0x75bb30] Querying the device for the current frame size
[video4linux2,v4l2 @ 0x75bb30] Setting frame size to 1920x1080
[video4linux2,v4l2 @ 0x75bb30] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559
[video4linux2,v4l2 @ 0x75bb30] Trying to set codec:rawvideo pix_fmt:yuv420p
[video4linux2,v4l2 @ 0x75bb30] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559
[video4linux2,v4l2 @ 0x75bb30] Trying to set codec:rawvideo pix_fmt:yuv420p
[video4linux2,v4l2 @ 0x75bb30] The V4L2 driver changed the pixel format from 0x32315659 to 0x56595559
[video4linux2,v4l2 @ 0x75bb30] Trying to set codec:rawvideo pix_fmt:yuv422p
[video4linux2,v4l2 @ 0x75bb30] The V4L2 driver changed the pixel format from 0x50323234 to 0x56595559
[video4linux2,v4l2 @ 0x75bb30] Trying to set codec:rawvideo pix_fmt:yuyv422
[video4linux2,v4l2 @ 0x75bb30] All info found
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 963.335659, bitrate: 1988671 kb/s
    Stream #1:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 1920x1080, 0/1, 1988671 kb/s, 59.94 fps, 59.94 tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output url /usr/ramDisk/h264_omx.mp4.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument ac3.
Applying option ab (audio bitrate (please use -b:a)) with argument 51k.
Applying option s (set frame size (WxH or abbreviation)) with argument 896x504.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_omx.
Applying option b:v (video bitrate (please use -b:v)) with argument 10000K.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option f (force format) with argument mp4.
Successfully parsed a group of options.
Opening an output file: /usr/ramDisk/h264_omx.mp4.
[file @ 0x764c90] Setting default whitelist 'file,crypto'
Successfully opened the file.
Stream mapping:
  Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> ac3 (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 59 times
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
detected 4 logical cores
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'pix_fmt' to value '1'
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'time_base' to value '1/1000000'
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 1:0 @ 0x7671e0] Setting 'frame_rate' to value '7013/117'
[graph 0 input from stream 1:0 @ 0x7671e0] w:1920 h:1080 pixfmt:yuyv422 tb:1/1000000 fr:7013/117 sar:0/1 sws_param:flags=2
[scaler_out_0_0 @ 0x767940] Setting 'w' to value '896'
[scaler_out_0_0 @ 0x767940] Setting 'h' to value '504'
[scaler_out_0_0 @ 0x767940] Setting 'flags' to value 'bicubic'
[scaler_out_0_0 @ 0x767940] w:896 h:504 flags:'bicubic' interl:0
[format @ 0x767ea0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x766130] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[scaler_out_0_0 @ 0x767940] w:1920 h:1080 fmt:yuyv422 sar:0/1 -> w:896 h:504 fmt:yuv420p sar:0/1 flags:0x4
[h264_omx @ 0x762000] Using OMX.broadcom.video_encode
[h264_omx @ 0x762000] OMX state changed to 2
[h264_omx @ 0x762000] OMX state changed to 3
[h264_omx @ 0x762000] OMX port 201 settings changed
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[graph_1_in_0_0 @ 0x8534c0] Setting 'time_base' to value '1/48000'
[graph_1_in_0_0 @ 0x8534c0] Setting 'sample_rate' to value '48000'
[graph_1_in_0_0 @ 0x8534c0] Setting 'sample_fmt' to value 's16'
[graph_1_in_0_0 @ 0x8534c0] Setting 'channel_layout' to value '0x3'
[graph_1_in_0_0 @ 0x8534c0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[format_out_0_1 @ 0x853eb0] Setting 'sample_fmts' to value 'fltp'
[format_out_0_1 @ 0x853eb0] Setting 'channel_layouts' to value '0x4|0x3|0x103|0x7|0x603|0x33|0x107|0x607|0x37|0xc|0xb|0x10b|0xf|0x60b|0x3b|0x10f|0x60f|0x3f'
[format_out_0_1 @ 0x853eb0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[AVFilterGraph @ 0x852c00] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0x854df0] [SWR @ 0x855000] Using s16p internally between filters
[auto_resampler_0 @ 0x854df0] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
Output #0, mp4, to '/usr/ramDisk/h264_omx.mp4':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0, 0, 1/15360: Video: h264 (h264_omx), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive), 896x504, 0/1, q=2-31, 10000 kb/s, 30 fps, 15360 tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.35.100 h264_omx
    Stream #0:1, 0, 1/48000: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, delay 256, 48 kb/s
    Metadata:
      encoder         : Lavc58.35.100 ac3
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Clipping frame in rate conversion by 0.499565
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 11 times
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Past duration 0.998985 too large
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 5 from stream 0 at ts 3
frame=    6 fps=0.0 q=-0.0 size=       0kB time=00:00:00.16 bitrate=   2.4kbits/s dup=0 drop=1 speed=0.31x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 6 from stream 0 at ts 4
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 7 from stream 0 at ts 5
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 8 from stream 0 at ts 6
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 9 from stream 0 at ts 7
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 10 from stream 0 at ts 8
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 11 from stream 0 at ts 9
frame=   12 fps= 12 q=-0.0 size=       0kB time=00:00:00.35 bitrate=   1.1kbits/s dup=0 drop=7 speed=0.339x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 12 from stream 0 at ts 10
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 13 from stream 0 at ts 11
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.987709 too large
*** dropping frame 14 from stream 0 at ts 12
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 17 from stream 0 at ts 15
frame=   18 fps= 12 q=-0.0 size=       0kB time=00:00:00.54 bitrate=   0.7kbits/s dup=0 drop=11 speed=0.352x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 18 from stream 0 at ts 16
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 19 from stream 0 at ts 17
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.980217 too large
*** dropping frame 22 from stream 0 at ts 20
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 25 from stream 0 at ts 23
frame=   26 fps= 13 q=-0.0 size=       0kB time=00:00:00.80 bitrate=   0.5kbits/s dup=0 drop=15 speed=0.39x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 26 from stream 0 at ts 24
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.975502 too large
*** dropping frame 27 from stream 0 at ts 25
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 30 from stream 0 at ts 28
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 31 from stream 0 at ts 29
frame=   32 fps= 12 q=-0.0 size=       0kB time=00:00:01.02 bitrate=   0.4kbits/s dup=0 drop=19 speed=0.401x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 32 from stream 0 at ts 30
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 33 from stream 0 at ts 31
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 34 from stream 0 at ts 32
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.968086 too large
*** dropping frame 35 from stream 0 at ts 33
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 38 from stream 0 at ts 36
frame=   39 fps= 13 q=-0.0 size=       0kB time=00:00:01.24 bitrate=   0.3kbits/s dup=0 drop=24 speed=0.408x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 39 from stream 0 at ts 37
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 40 from stream 0 at ts 38
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 41 from stream 0 at ts 39
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 42 from stream 0 at ts 40
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.960518 too large
*** dropping frame 43 from stream 0 at ts 41
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=   45 fps= 12 q=-0.0 size=       0kB time=00:00:01.44 bitrate=   0.3kbits/s dup=0 drop=29 speed= 0.4x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
Past duration 0.957573 too large
*** dropping frame 46 from stream 0 at ts 44
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 5 times
*** dropping frame 51 from stream 0 at ts 49
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
frame=   54 fps= 13 q=-0.0 size=       0kB time=00:00:01.76 bitrate=   0.2kbits/s dup=0 drop=31 speed=0.426x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 54 from stream 0 at ts 52
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 55 from stream 0 at ts 53
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 58 from stream 0 at ts 56
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 59 from stream 0 at ts 57
frame=   60 fps= 13 q=-0.0 size=       0kB time=00:00:01.95 bitrate=   0.2kbits/s dup=0 drop=35 speed=0.42x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 60 from stream 0 at ts 58
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.943260 too large
*** dropping frame 61 from stream 0 at ts 59
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Clipping frame in rate conversion by 0.442238
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Past duration 0.941719 too large
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
frame=   68 fps= 13 q=-0.0 size=       0kB time=00:00:02.21 bitrate=   0.2kbits/s dup=0 drop=37 speed=0.427x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.937065 too large
*** dropping frame 68 from stream 0 at ts 66
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 71 from stream 0 at ts 69
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.933327 too large
*** dropping frame 72 from stream 0 at ts 70
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Clipping frame in rate conversion by 0.431587
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
Past duration 0.931511 too large
frame=   75 fps= 13 q=-0.0 size=       0kB time=00:00:02.43 bitrate=   0.2kbits/s dup=0 drop=40 speed=0.427x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 5 times
*** dropping frame 79 from stream 0 at ts 77
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 80 from stream 0 at ts 78
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 81 from stream 0 at ts 79
frame=   82 fps= 13 q=-0.0 size=       0kB time=00:00:02.69 bitrate=   0.1kbits/s dup=0 drop=43 speed=0.432x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 84 from stream 0 at ts 82
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.918831 too large
*** dropping frame 87 from stream 0 at ts 85
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=   89 fps= 13 q=-0.0 size=       0kB time=00:00:02.91 bitrate=   0.1kbits/s dup=0 drop=45 speed=0.43x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
*** dropping frame 90 from stream 0 at ts 88
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 91 from stream 0 at ts 89
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 94 from stream 0 at ts 92
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 95 from stream 0 at ts 93
frame=   96 fps= 13 q=-0.0 size=     256kB time=00:00:03.13 bitrate= 668.4kbits/s dup=0 drop=49 speed=0.429x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.908836 too large
*** dropping frame 98 from stream 0 at ts 96
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.906075 too large
*** dropping frame 101 from stream 0 at ts 99
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
frame=  104 fps= 13 q=-0.0 size=     256kB time=00:00:03.42 bitrate= 612.2kbits/s dup=0 drop=51 speed=0.435x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.901360 too large
*** dropping frame 106 from stream 0 at ts 104
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.898506 too large
*** dropping frame 109 from stream 0 at ts 107
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=  111 fps= 13 q=-0.0 size=     256kB time=00:00:03.65 bitrate= 574.6kbits/s dup=0 drop=53 speed=0.436x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
Past duration 0.895531 too large
*** dropping frame 112 from stream 0 at ts 110
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 5 times
*** dropping frame 117 from stream 0 at ts 115
frame=  118 fps= 13 q=-0.0 size=     512kB time=00:00:03.87 bitrate=1082.7kbits/s dup=0 drop=55 speed=0.433x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 120 from stream 0 at ts 118
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.885323 too large
*** dropping frame 123 from stream 0 at ts 121
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
frame=  126 fps= 13 q=-0.0 size=     512kB time=00:00:04.16 bitrate=1007.8kbits/s dup=0 drop=57 speed=0.439x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 126 from stream 0 at ts 124
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 127 from stream 0 at ts 125
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 128 from stream 0 at ts 126
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 129 from stream 0 at ts 127
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 130 from stream 0 at ts 128
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 131 from stream 0 at ts 129
frame=  132 fps= 13 q=-0.0 size=     768kB time=00:00:04.35 bitrate=1444.9kbits/s dup=0 drop=63 speed=0.436x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 132 from stream 0 at ts 130
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 135 from stream 0 at ts 133
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 136 from stream 0 at ts 134
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 137 from stream 0 at ts 135
frame=  138 fps= 13 q=-0.0 size=     768kB time=00:00:04.54 bitrate=1383.9kbits/s dup=0 drop=67 speed=0.433x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 138 from stream 0 at ts 136
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 139 from stream 0 at ts 137
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 140 from stream 0 at ts 138
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 141 from stream 0 at ts 139
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 144 from stream 0 at ts 142
frame=  145 fps= 13 q=-0.0 size=    1024kB time=00:00:04.77 bitrate=1758.5kbits/s dup=0 drop=72 speed=0.433x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 147 from stream 0 at ts 145
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 148 from stream 0 at ts 146
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 149 from stream 0 at ts 147
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 150 from stream 0 at ts 148
frame=  151 fps= 13 q=-0.0 size=    1280kB time=00:00:04.99 bitrate=2099.6kbits/s dup=0 drop=76 speed=0.431x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.859169 too large
*** dropping frame 151 from stream 0 at ts 149
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 154 from stream 0 at ts 152
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 157 from stream 0 at ts 155
frame=  158 fps= 13 q=-0.0 size=    1280kB time=00:00:05.21 bitrate=2009.4kbits/s dup=0 drop=79 speed=0.432x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 160 from stream 0 at ts 158
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 161 from stream 0 at ts 159
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.848488 too large
*** dropping frame 162 from stream 0 at ts 160
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=  164 fps= 13 q=-0.0 size=    1536kB time=00:00:05.41 bitrate=2325.7kbits/s dup=0 drop=82 speed=0.428x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
*** dropping frame 165 from stream 0 at ts 163
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 166 from stream 0 at ts 164
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 169 from stream 0 at ts 167
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
frame=  172 fps= 13 q=-0.0 size=    1536kB time=00:00:05.66 bitrate=2220.6kbits/s dup=0 drop=85 speed=0.43x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 172 from stream 0 at ts 170
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 173 from stream 0 at ts 171
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 174 from stream 0 at ts 172
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 175 from stream 0 at ts 173
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 176 from stream 0 at ts 174
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.834648 too large
*** dropping frame 177 from stream 0 at ts 175
frame=  178 fps= 13 q=-0.0 size=    1792kB time=00:00:05.89 bitrate=2492.2kbits/s dup=0 drop=91 speed=0.429x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 180 from stream 0 at ts 178
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 183 from stream 0 at ts 181
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 184 from stream 0 at ts 182
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 185 from stream 0 at ts 183
frame=  186 fps= 13 q=-0.0 size=    1792kB time=00:00:06.14 bitrate=2388.4kbits/s dup=0 drop=95 speed=0.432x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 186 from stream 0 at ts 184
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 187 from stream 0 at ts 185
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 188 from stream 0 at ts 186
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 189 from stream 0 at ts 187
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 190 from stream 0 at ts 188
frame=  191 fps= 13 q=-0.0 size=    1792kB time=00:00:06.30 bitrate=2327.8kbits/s dup=0 drop=100 speed=0.428x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.821495 too large
*** dropping frame 191 from stream 0 at ts 189
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 194 from stream 0 at ts 192
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 195 from stream 0 at ts 193
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 196 from stream 0 at ts 194
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 197 from stream 0 at ts 195
frame=  198 fps= 13 q=-0.0 size=    2048kB time=00:00:06.56 bitrate=2556.5kbits/s dup=0 drop=105 speed=0.431x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 198 from stream 0 at ts 196
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 199 from stream 0 at ts 197
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 200 from stream 0 at ts 198
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.812126 too large
*** dropping frame 201 from stream 0 at ts 199
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
frame=  204 fps= 13 q=-0.0 size=    2048kB time=00:00:06.75 bitrate=2483.8kbits/s dup=0 drop=109 speed=0.429x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 206 from stream 0 at ts 204
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.806480 too large
*** dropping frame 207 from stream 0 at ts 205
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
Past duration 0.803627 too large
*** dropping frame 210 from stream 0 at ts 208
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=  212 fps= 13 q=-0.0 size=    2048kB time=00:00:07.01 bitrate=2393.1kbits/s dup=0 drop=112 speed=0.431x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
Past duration 0.800606 too large
*** dropping frame 213 from stream 0 at ts 211
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 216 from stream 0 at ts 214
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 217 from stream 0 at ts 215
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 218 from stream 0 at ts 216
frame=  219 fps= 13 q=-0.0 size=    2048kB time=00:00:07.23 bitrate=2319.0kbits/s dup=0 drop=116 speed=0.431x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 221 from stream 0 at ts 219
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.791496 too large
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
*** dropping frame 226 from stream 0 at ts 224
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 227 from stream 0 at ts 225
frame=  228 fps= 13 q=-0.0 size=    2304kB time=00:00:07.55 bitrate=2498.4kbits/s dup=0 drop=119 speed=0.436x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 228 from stream 0 at ts 226
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 229 from stream 0 at ts 227
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 230 from stream 0 at ts 228
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 231 from stream 0 at ts 229
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.783028 too large
*** dropping frame 232 from stream 0 at ts 230
frame=  233 fps= 13 q=-0.0 size=    2304kB time=00:00:07.71 bitrate=2446.6kbits/s dup=0 drop=124 speed=0.433x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 5 times
Past duration 0.777214 too large
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.775520 too large
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=  242 fps= 13 q=-0.0 size=    2560kB time=00:00:08.00 bitrate=2620.6kbits/s dup=0 drop=124 speed=0.436x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 2 times
*** dropping frame 243 from stream 0 at ts 241
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 244 from stream 0 at ts 242
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
Past duration 0.770775 too large
*** dropping frame 245 from stream 0 at ts 243
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 3 times
frame=  250 fps= 13 q=-0.0 size=    2560kB time=00:00:08.29 bitrate=2529.6kbits/s dup=0 drop=127 speed=0.44x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 250 from stream 0 at ts 248
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 1 times
*** dropping frame 251 from stream 0 at ts 249
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 5 times
*** dropping frame 256 from stream 0 at ts 254
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
frame=  258 fps= 13 q=-0.0 size=    2560kB time=00:00:08.54 bitrate=2453.7kbits/s dup=0 drop=130 speed=0.441x    
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 4 times
*** dropping frame 261 from stream 0 at ts 259
[rawvideo @ 0x760830] PACKET SIZE: 4147200, STRIDE: 3840
    Last message repeated 4 times
*** dropping frame 265 from stream 0 at ts 263
[h264_omx @ 0x762000] OMX event 4 c9 1
frame=  266 fps= 13 q=-0.0 Lsize=    2930kB time=00:00:08.83 bitrate=2717.3kbits/s dup=0 drop=132 speed=0.44x    
video:2869kB audio:54kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.229398%
Input file #0 (hw:1,0):
  Input stream #0:0 (audio): 3850 packets read (1781860 bytes); 3850 frames decoded (445465 samples); 
  Total: 3850 packets (1781860 bytes) demuxed
Input file #1 (/dev/video0):
  Input stream #1:0 (video): 398 packets read (1650585600 bytes); 398 frames decoded; 
  Total: 398 packets (1650585600 bytes) demuxed
Output file #0 (/usr/ramDisk/h264_omx.mp4):
  Output stream #0:0 (video): 266 frames encoded; 266 packets muxed (2937807 bytes); 
  Output stream #0:1 (audio): 290 frames encoded (445440 samples); 290 packets muxed (55680 bytes); 
  Total: 556 packets (2993487 bytes) muxed
4248 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x764d90] Statistics: 2 seeks, 15 writeouts
[h264_omx @ 0x762000] OMX state changed to 2
[h264_omx @ 0x762000] OMX state changed to 1


Many thanks again!
Best,
RS


More information about the ffmpeg-user mailing list