[FFmpeg-user] Create webm, m4v and swf slideshow of images

Pascal purrie at gmail.com
Sun Jun 9 22:15:00 CEST 2013


Hi,

>> No that codec works just fine:
> That makes it difficult to test / reproduce...

Unfortunatly. I have not tested it with Jplayer yet. But the website says it needs H264 coded mpeg4 files. I am not that familiar with all that different codecs these days. I have not worked with video files for a couple of years :-)


> This looks different from what you originally tried,
> please provide command line etc.

Ahh my apologies. I copied the output of the wrong command.

ffmpeg -y -loop 1 -f image2 -pattern_type glob -i '*.jpg' -i ./Red\ 
Balloon.mp3 -shortest -s 800x800 -r 15 out.webm


ffmpeg version N-40316-g3289670 Copyright (c) 2000-2013 the FFmpeg 
developers
   built on Jun  4 2013 23:00:47 with gcc 4.7 (Debian 4.7.3-4)
   configuration: --extra-cflags=-I../static/include 
--extra-ldflags='-L../static/lib -static' --enable-gpl --enable-version3 
--enable-static --disable-shared --disable-debug 
--enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 
--enable-libspeex --enable-libvorbis --enable-libvpx 
--enable-libfreetype --enable-libxvid --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc 
--enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg 
--disable-ffserver
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 15.100 / 55. 15.100
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 75.101 /  3. 75.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from '*.jpg':
   Duration: 00:00:00.84, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj444p, 800x800 [SAR 72:72 DAR 1:1], 
25 fps, 25 tbr, 25 tbn, 25 tbc
[mp3 @ 0x3084da0] max_analyze_duration 5000000 reached at 5015510 
microseconds
[mp3 @ 0x3084da0] Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from './Red Balloon.mp3':
   Metadata:
     title           : Red Balloon
     artist          : Frances England
     album_artist    : Frances England
     TCM             : Frances England
     album           : Mind of My Own
     track           : 4/15
     encoded_by      : iTunes 10.1.1.4
     genre           : Children's Music
     date            : 2010
   Duration: 00:02:17.57, start: 0.000000, bitrate: 160 kb/s
     Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 160 kb/s
[libvpx @ 0x3087ea0] v1.2.0-2110-gb71542d
Output #0, webm, to 'out.webm':
   Metadata:
     encoder         : Lavf55.8.102
     Stream #0:0: Video: vp8 (libvpx), yuv420p, 800x800 [SAR 1:1 DAR 
1:1], q=-1--1, 200 kb/s, 1k tbn, 15 tbc
     Stream #0:1: Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp
Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg -> libvpx)
   Stream #1:0 -> #0:1 (mp3 -> libvorbis)
Press [q] to stop, [?] for help
overread, skip -7 enddists: -6 -6  3419kB time=00:00:55.46 bitrate= 
505.0kbits/s dup=0 drop=552
overread, skip -6 enddists: -4 -4  5930kB time=00:01:37.53 bitrate= 
498.1kbits/s dup=0 drop=973
frame= 2062 fps= 22 q=0.0 Lsize=    8305kB time=00:02:17.46 bitrate= 
494.9kbits/s dup=0 drop=1373
video:6309kB audio:1884kB subtitle:0 global headers:4kB muxing overhead 
1.313559%





-- 
Groet,
Pascal



More information about the ffmpeg-user mailing list