[FFmpeg-user] JPG/PNGs only create at end from .FLV

dom dom.forrest at gmail.com
Thu Feb 6 18:57:09 CET 2014


On 6 Feb 2014, at 16:24, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> I cannot reproduce this here, output starts while data is 
> still being pushed through the pipe (tested on Linux).
> Please add the complete, uncut console output.
> 
> Carl Eugen


This is Ubuntu 12.04 64 bit

dom at dev1:~/test/ffmpeg-2.1/images$ uname -a
Linux dev1.xxxxxx.com 3.2.0-44-generic #69-Ubuntu SMP Thu May 16 17:35:01 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Output below:

dom at dev1:~/test/ffmpeg-2.1/images$ cat /var/www/videos/c752bbf5c86a5ed28cfbfdf91c22e82aa3df14d3.flv | pv -q -L 20k | ../ffmpeg   -i pipe:0  ./%03d.jpg
ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov  7 2013 13:22:12 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: 
  libavutil      52. 48.100 / 52. 48.100
  libavcodec     55. 39.100 / 55. 39.100
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
[flv @ 0x1e62940] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, flv, from 'pipe:0':
  Metadata:
    creationdate    : Sun Feb 2 17:41:33
    encoder         : Lavf55.21.100
  Duration: 00:00:02.44, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: none, 0 channels
[swscaler @ 0x1edf440] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to './%03d.jpg':
  Metadata:
    creationdate    : Sun Feb 2 17:41:33
    encoder         : Lavf55.19.104
    Stream #0:0: Video: mjpeg, yuvj420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
frame=   62 fps=0.0 q=0.0 Lsize=N/A time=00:00:02.48 bitrate=N/A    
video:1673kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.001284%


Build options..

dom at dev1:~/bin$ ./ffmpeg 
ffmpeg version git-2014-02-06-474db7a Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb  6 2014 17:50:37 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --prefix=/home/dom/ffmpeg_build --extra-cflags=-I/home/dom/ffmpeg_build/include --extra-ldflags=-L/home/dom/ffmpeg_build/lib --bindir=/home/dom/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.101 / 55. 49.101
  libavformat    55. 30.100 / 55. 30.100
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.102 /  4.  1.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Dom


More information about the ffmpeg-user mailing list