[FFmpeg-user] Slideshow+audio causes huge amount of memory allocated
hello, the following command line plays a web radio while showing a picture slide show. ffmpeg -loop 1 -framerate 1/10 -i img%3d.png -i http://webradio:port -vcodec rawvideo -pix_fmt yuv420p -vf fps=fps=25 -acodec pcm_s16le -ac 2 -af aresample=48000:first_pts=0,asetnsamples=n=1920:p=1 -f asf - | ffplay - The longer is the time between pictures, the bigger is the memory allocated (> 1gb). I suppose this is caused by fps filter that every 10 seconds generates 250 frames and the multiplexer, trying to keep proper interleaving, buffers a lot of frames. Can you suggest some alternative that allow me to do this in realtime? (the script should run 24/7) thanks, MB ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Failed to resolve hostname: Ubuntu static builds
Using the binaries from http://johnvansickle.com/ I get an error when using a http input, "failed to resolve hostname": (using ffprobe, but also with ffmpeg): ffprobe version N-41351-g676110e- http://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2014 the FFmpeg developers built on Oct 15 2014 01:22:19 with gcc 4.8 (Debian 4.8.3-11) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8 libavutil 54. 10.100 / 54. 10.100 libavcodec 56. 5.100 / 56. 5.100 libavformat56. 9.100 / 56. 9.100 libavdevice56. 1.100 / 56. 1.100 libavfilter 5. 1.106 / 5. 1.106 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 [tcp @ 0x3f82100] Failed to resolve hostname mirrorblender.top-ix.org: Name or service not known http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov: Input/output error Note I have tried with various http sources/hosts, all same result. Using the builds from ffmpeg.gusari.org it works fine: ffprobe version N-63893-gc69defd Copyright (c) 2007-2014 the FFmpeg developers built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1) configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx libavutil 52. 89.100 / 52. 89.100 libavcodec 55. 66.101 / 55. 66.101 libavformat55. 43.100 / 55. 43.100 libavdevice55. 13.101 / 55. 13.101 libavfilter 4. 8.100 / 4. 8.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2008-05-27 18:32:32 timecode: 00:00:00:00 Duration: 00:09:56.46, start: 0.00, bitrate: 3342 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 854x480, 2899 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default) Metadata: creation_time : 2008-05-27 18:32:32 handler_name: Apple Alias Data Handler encoder : H.264 Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default) Metadata: creation_time : 2008-05-27 18:32:32 handler_name: Apple Alias Data Handler timecode: 00:00:00:00 Stream #0:2(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 437 kb/s (default) Metadata: creation_time : 2008-05-27 18:32:32 handler_name: Apple Alias Data Handler The error from http://johnvansickle.com/ffmpeg/ is the same for the nightly and version 2.4. The gusari.org binaries havent been built since July 16, for now I am using ffprobe from gusari for http sources and for file sources johnvansickle. From where are you getting your (supposedly stable) binaries? Ubuntu x86_64 GNU/Linux -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Failed-to-resolve-hostname-Ubuntu-static-builds-tp4667782.html Sent from the FFmpeg-users mailing list archive at Nabble.com. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Right audio channel shifted
Alex wrote > VLC still said: > > http://s14.directupload.net/images/141014/r7h73d5b.jpg > > One other thing: I checked my database again and I have to verify over 300 > videos which are possibly affected by this bug. Is there a possibility > with ffmpeg to repair those files automatically or at least see if a file > is affected. Otherwise I am going to do this job manually via a > vectorscope. :) > > Thanks, > Alex Okay, when I check the trimmed file with ffmpeg it looks okay: C:\>ffmpeg -i test_new.mxf ffmpeg version N-66809-g20df026 Copyright (c) 2000-2014 the FFmpeg developers built on Oct 11 2014 23:42:02 with gcc 4.9.1 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable- libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc -- enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib libavutil 54. 10.100 / 54. 10.100 libavcodec 56. 4.101 / 56. 4.101 libavformat56. 9.100 / 56. 9.100 libavdevice56. 1.100 / 56. 1.100 libavfilter 5. 1.103 / 5. 1.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 1.100 / 53. 1.100 [mxf @ 00350280] index entry 5095 + TemporalOffset 1 = 5096, which is out of bounds Guessed Channel Layout for Input Stream #0.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Input #0, mxf, from 'test_new.mxf': Metadata: uid : adab4424-2f25-4dc7-92ff-29bd000b generation_uid : adab4424-2f25-4dc7-92ff-29bd000b0001 company_name: FFmpeg product_name: OP1a Muxer product_version : 56.9.100 product_uid : adab4424-2f25-4dc7-92ff-29bd000b0002 modification_date: -01-01 00:00:00 timecode: 00:00:00:00 Duration: 00:03:32.55, start: 0.00, bitrate: 52515 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s But: "[mxf @ 00350280] index entry 5095 + TemporalOffset 1 = 5096, which is out of bounds" What does this mean? An why does VLC identifies different channel values? Best, Alex -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Right-audio-channel-shifted-tp4667730p4667781.html Sent from the FFmpeg-users mailing list archive at Nabble.com. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] How to create trapezoid videos with ffmpeg?
Hi: New to ffmpeg. How can one create a trapezoid shaped video as a overlay to the background as seen at http://www.youtube.com/watch?v=_380o5B9MrA (starts at 00:02:25) using ffmpeg command? Thanks! /z ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user