[FFmpeg-user] bmp images to stream

Jacobs jacobhameiri at gmail.com
Mon Apr 15 09:35:32 CEST 2013


I tried rawvideo codec and this is the output:

ffmpeg started on 2013-04-15 at 10:23:24
Report written to "ffmpeg-20130415-102324.log"
Command line:
/bin/ffmpeg -rtbufsize 4096000 -an -f image2pipe -vcodec rawvideo -bufsize
14336k -s 1280x800 -pix_fmt rgb32 -r 8 -i - -vcodec libx264
/sdcard/viddd44.avi -report
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 18 2012 21:53:10 with gcc 4.6.x-google (GCC) 20120106
(prerelease)
  configuration: --arch=arm --cpu=cortex-a8 --target-os=linux
--enable-runtime-cpudetect --prefix=/data/ --disable-shared --enable-static
--cross-prefix=/home/oz/android-ndk-r8b//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-
--sysroot=/home/oz/android-ndk-r8b//platforms/android-8/arch-arm
--extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -mfpu=vfpv3-d16'
--extra-ldflags='-L../x264 ' --enable-version3 --enable-gpl --disable-doc
--enable-libfreetype --enable-hwaccels --disable-ffprobe --enable-ffserver
--enable-pthreads --enable-libx264 --disable-fast-unaligned
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[image2pipe @ 0x171b6d0] File position before avformat_find_stream_info() is
0
[image2pipe @ 0x171b6d0] parser not found for codec rawvideo, packets or
times may be invalid.
[image2pipe @ 0x171b6d0] parser not found for codec rawvideo, packets or
times may be invalid.
[image2pipe @ 0x171b6d0] max_analyze_duration 5000000 reached at 5000000
[image2pipe @ 0x171b6d0] Estimating duration from bitrate, this may be
inaccurate
[image2pipe @ 0x171b6d0] File position after avformat_find_stream_info() is
176128
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 42, 1/8: Video: rawvideo (BGRA / 0x41524742), bgra,
1280x800, 8 fps, 8 tbr, 8 tbn, 8 tbc
[buffer @ 0x17159d0] Setting entry with key 'video_size' to value '1280x800'
[buffer @ 0x17159d0] Setting entry with key 'pix_fmt' to value '30'
[buffer @ 0x17159d0] Setting entry with key 'time_base' to value '1/8'
[buffer @ 0x17159d0] Setting entry with key 'pixel_aspect' to value '0/1'
[buffer @ 0x17159d0] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0x17159d0] Setting entry with key 'frame_rate' to value '8/1'
[graph 0 input from stream 0:0 @ 0x1715990] w:1280 h:800 pixfmt:bgra tb:1/8
fr:8/1 sar:0/1 sws_param:flags=2
[format @ 0x17160a0] auto-inserting filter 'auto-inserted scaler 0' between
the filter 'Parsed_null_0' and the filter 'format'
[auto-inserted scaler 0 @ 0x17186c0] picking yuv420p out of 4 ref:bgra
alpha:1
[graph 0 input from stream 0:0 @ 0x1715990] TB:0.125000 FRAME_RATE:8.000000
SAMPLE_RATE:NaN
[auto-inserted scaler 0 @ 0x17186c0] w:1280 h:800 fmt:bgra sar:0/1 -> w:1280
h:800 fmt:yuv420p sar:0/1 flags:0x4
[libx264 @ 0x1714e60] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x1714e60] profile High, level 3.2
Output #0, avi, to '/sdcard/viddd44.avi':
  Metadata:
    ISFT            : Lavf54.29.104
    Stream #0:0, 0, 1/8: Video: h264 (H264 / 0x34363248), yuv420p, 1280x800,
q=-1--1, 8 tbn, 8 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument
[rawvideo @ 0x172a050] Invalid buffer size, packet size 4096 < expected
length 4096000
Error while decoding stream #0:0: Invalid argument



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/bmp-images-to-stream-tp4658482p4658483.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list