[Ffmpeg-devel-irc] ffmpeg.log.20141016

burek burek021 at gmail.com
Fri Oct 17 02:05:01 CEST 2014


[03:21] <fourkay> Hi
[03:23] <fourkay> May i ask a user question here ?
[03:26] <fourkay> Just in case some one is readind. Here it is.
[03:27] <fourkay> I have a delay of 3.3 sec between the video stream and the audio stream
[03:29] <fourkay> I'heve tried the parameter -itsoffset "3.3" and it didn"t correct the problem. Any other idea ?
[03:36] <fourkay> Here is the compete command i used:
[03:36] <fourkay> ffmpeg.exe -i "input.mp4" -metadata title=" "  -ss "00:00:00" -t "23:00:00" -itsoffset "3.3" -s 640x360 -ab 128k -ar 44100 -ac 2 -acodec libfaac -r 25 -vcodec libx264 -fpre "libx264-medium.ffpreset" -fpre "libx264-baseline.ffpreset" -aspect 16:9 -f mp4 -b 1123328 -y "output.mp4"
[04:06] <fourkay> thnks for your support.  I'll try to apply each and every recommandation i received so far.  thnks agan !!
[08:16] <yoyowinwin> c_14: we found the root cause !
[08:17] <yoyowinwin> static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
[08:17] <yoyowinwin> {
[08:17] <yoyowinwin>   if ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_KEY ||
[08:17] <yoyowinwin>             stream_type == FLV_STREAM_TYPE_AUDIO)
[08:17] <yoyowinwin>             av_add_index_entry(st, pos, dts, size, 0, AVINDEX_KEYFRAME);
[08:17] <yoyowinwin> }
[08:18] <yoyowinwin> thanks again for your note.
[08:28] <polysics> hello! I am going mad over this very simple issue
[08:29] <polysics> ffmpeg -i my_file.m2v -filter_complex "[0:v]colorbalance=rs=.3[vout0];" -map "vout" dest.mp4
[08:29] <polysics> https://gist.github.com/polysics/c047df1094aca7e09d76
[08:30] <polysics> No such filter: ''
[08:30] <polysics> the above is simple enough I thought I would be able to spot it
[08:30] <polysics> the error occurs with any filter, by the way
[08:36] <xeoncore> polysics Are you sure your shell isn't detecting the `;`
[08:42] <Baked_Cake> can avi files handle vbr aac
[08:42] <Baked_Cake> it doesnt seem to want to convert the container to mkv
[08:43] <polysics> xeoncore: on both bash and zsh?
[08:44] <c_14> polysics: get rid of the ';'
[08:44] <polysics> although removing the ; seems to fix it
[08:44] <c_14> and it should be -map "[vout0]"
[08:44] <polysics> yup, that's a typi
[08:44] <polysics> typo
[08:44] <polysics> but the ; is what was causing it
[08:44] <c_14> If you put a ';' it expects another filter after it
[08:44] <polysics> I think ffmpeg is trying to run a filter
[08:44] <c_14> since you didn't write anything there it's expecting the filter [empty string]
[08:44] <polysics> well, thanks to both of you, saved my morning :)
[08:46] <xeoncore> Plorkyeran c_14 :)
[08:46] <xeoncore> I knew it was the ;
[08:46] <xeoncore> just didnt know why ;)
[09:08] <zenny> Good morning!
[09:10] <zenny> Can ffmpeg record and stream live the composite video?
[09:12] <zenny> or is concurrent recording and streaming is possible only with the servers like red5? I love the simplicity of ffmpeg command line, but finding it difficult to figure out. Inputs appreciated!
[09:27] <c_14> yoyowinwin: did you open a bug report?
[09:40] <Baked_Cake> ffmpeg is like the most rewarding command line stuff ive learnt in my whole life
[09:41] <Baked_Cake> tho i use mkvtoolnix to ez mux and avidemux to ez cut samples
[09:42] <Baked_Cake> also https://trac.ffmpeg.org/wiki/StreamingGuide
[09:45] <polysics> another question: I am getting the video clipped to the overlay size, which is smaller than the video source
[09:45] <polysics> is htere a switch to avoid that or am I doing things in the wrong order?
[10:01] <zenny> Baked_Cake: very truly said, but it whines on times ;-) when something that one wants cannot be achieved. (happening to me)
[10:06] <Akagi201> LD_LIBRARY_PATH="/home/akagi201/libs-a5s/lib" ./configure --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --arch=armel --target-os=linux --prefix=/home/akagi201/libs-a5s --enable-gpl --enable-libx264 --enable-nonfree --enable-libaacplus --enable-librtmp --extra-cflags="-I/home/akagi201/libs-a5s/include" --extra-ldflags="-L/home/akagi201/libs-a5s/lib"
[10:06] <Akagi201> I got rtmp not found
[10:06] <Akagi201> What's wrong?
[10:08] <Akagi201> How can I modify the configure file and write the fixed librtmp lib path?
[10:55] <mansi> hi ! i am trying to do ffmpeg -i image.jpeg. However i get : Operation not permitted. why is that? i have read/write permission for the image
[11:01] <ubitux> just a return -1 in the code somewhere
[11:12] <mansi> http://sprunge.us/LXcZ. ubitux . i am trying make and install again.
[11:13] <ubitux> can you upload the jpeg?
[11:13] <ubitux> (maybe that's actually a permission issue though)
[11:14] <mansi> ubitux,  i checked the permission read and write access to all users (which i gave and tried again)
[11:14] <ubitux> then upload the file
[11:16] <mansi> http://imgur.com/1mW9hx8 . not sure how much this will help. image pretty much summarizes my mood
[11:16] <ubitux> ffprobe 'http://i.imgur.com/1mW9hx8.jpg'
[11:16] <ubitux> no error here
[11:22] <mansi> fresh install and it works for me too. ubitux  thanks
[11:27] <mansi> ubitux, after a change to a file, i do a make and i get this http://sprunge.us/SBSe. i should do a make clean again?
[11:28] <ubitux> you have something broken in the permissions of your system
[11:28] <ubitux> as if you build in root once or something
[11:29] <ubitux> or maybe the binary is in use
[11:29] <ubitux> no idea
[11:29] <ubitux> that's not a ffmpeg issue, it's an issue on your end
[11:29] <ubitux> fix your system
[11:37] <zenny> mansi: which linux distro and version do you use?
[11:39] <mansi> zenny, 3.12.24-1-MANJARO
[11:56] <zenny> mansi: can you execute 'ffmpeg -report -i anyvideofile.ext' and share the log?
[11:58] <mansi> zenny, http://sprunge.us/GQEg
[12:00] <zenny> mansi: the log shows it works fine with the specified video. What are you trying to do?
[12:01] <mansi> yeah. it showed me some permission errors previously when i edited a file and did make again http://sprunge.us/SBSe i keeping doing make clean and make then
[12:01] <mansi> zenny,
[13:43] <FunnyLookinHat> Is there any good documentation explaining the differences between FFMPEG 1.x and 2.x ?  I just noticed that this PPA only has 1.x builds: https://launchpad.net/~jon-severinsson/+archive/ubuntu/ffmpeg
[13:57] <Mavrik> FunnyLookinHat, this is as good as it gets: https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog
[13:59] <FunnyLookinHat> Mavrik, hehe - that works!
[14:02] <FunnyLookinHat> Mavrik, Is it safe to say that 1.2.x is maintenance mode at this point?  Only bugfixes?
[14:02] <Mavrik> FunnyLookinHat, yes, pretty much anything that's not current master is in maintenance mode
[14:02] <FunnyLookinHat> Mavrik, cool thx
[14:02] <Mavrik> release are just "snapshots" at points of time where people decide ffmpeg kinda works OK
[14:06] <Jenser> hi everyone. i don't get a filter problem solved... can s/o please tell me how to get the "interlace" filter into my ffmpeg installation. i run ffmpeg on linux wheezy and installed ffmpeg via deb-multimedia. ffmpeg is at version 1.0.10, libavfilter is at 3.17.100.
[15:25] <Mavrik> Jenser, grab a new static build from links in topic
[15:25] <Mavrik> the filter name is "yadif"
[15:26] <c_14> Mavrik: he wanted to interlace, not deinterlace.
[15:26] <c_14> The interlace filter is called 'interlace'.
[15:33] <Mavrik> and my reading comprehension sucks arse
[15:33] <Mavrik> thanks c_14
[15:38] <Jenser> @Mavric yadif is the deinterlacing filter, i need to deinterlace -> ... -> interlace
[15:39] <Mavrik> yes, I misread you :)
[15:40] <Jenser> i have a 2013 static build with libavfilter version 3.7xxx, which includes the filter "interlace"
[15:41] <Mavrik> you probably have to do something in lines of -vf fps=50,interlace -x264opts=tff -codec:v x264 ...
[15:41] <Jenser> yeah, that's what i want. problem is: error no such filter "interlace"
[15:42] <Jenser> ffmpeg -filters outputs me that the interlace filter is not acutally installed
[15:42] <Mavrik> Jenser, are you claling the proper ffmpeg binary? what does -filters say?
[15:42] <Jenser> it says NO interlace
[15:43] <Jenser> if i manually start the old 2013 build, theres 3.77.01 @ libav_version
[15:43] <Jenser> the new one (installed yesterday via deb-multimedia is at 3.17.100
[15:44] <Mavrik> um
[15:44] <Jenser> -filters @ old one HAS "interlace", the same @ new one has NOT
[15:45] <Mavrik> I don't really understand the issue, if your build doesn't have interlace built in, why don't you take a new 2.4.2 build that certanly has it?
[15:45] <Jenser> as static build?
[15:46] <Mavrik> yes, you download it, unzip it and run it
[15:46] <c_14> Jenser: grab http://johnvansickle.com/ffmpeg/
[15:46] <c_14> It has interlace
[15:47] <Jenser> gonna give it a try
[16:12] <Jenser> c_14 thank you so much!!!
[16:12] <Jenser> this sources builds seem to be exactly what i need
[17:53] <akiselev> When I transcode an MP4 file to m3u8 (using HLS muxer), the resulting video basically stutters/loops over a few frames every second. i.e., during the first second it will loop over frames #1-5 (approx), during the next second it will loop over frames ~25-30, etc.
[17:54] <akiselev> Is this because I'm doing something wrong with the PTS/DTS or could this be cause by some other mistake? (I am using libavformat + codec, not ffmpeg)
[17:55] <akiselev> I am using several filters and have memory pools as well, so could this be a problem with packets or frames deallocated early?
[18:06] <BtbN> m3u8 is a playlist, not a video container
[18:30] <akiselev> BtbN, yes, but the HLS muxer that writes the m3u8 also writes the .ts files directly with the mpegts muxer
[19:40] <zenny> Does anyone know of a way to remove a known background from the foreground using ffmpeg? I tried many a ways, but did not work. Appreciate any input! Thanks
[19:49] <DocC> Hi all.  I'm encountering an issue when capturing with ffmpeg on windows using a blackmagic decklink 4k card and the -f dshow interface.  FFmpeg gives a very large start time, on the order of 7M seconds, but only when the frame rate is set higher than 24 fps
[19:50] <DocC> and ffmpeg drops frames rather than capturing while it counts down this high start time
[19:51] <DocC> when frame rate is set to 24 fps, it captures fine.  Resolution is 1920x1080p, vcodec is v210
[19:52] <DocC> the older generation blackmagic decklink (with no 4k support) captures fine at 24, 29.97, and 30 fps at 1920x1080p
[20:20] <[1]Ian> hello
[20:25] <[1]Ian> I'm trying to figure out how to take a bunch of ivf files and opus files representing a conference with the ivf files being screen shares and the opus files being the voices of the participents, and turn them into a single webm file.
[20:26] <[1]Ian> something like this:
[20:26] <[1]Ian> merging video:
[20:26] <[1]Ian> black 10 seconds
[20:26] <[1]Ian>   video 1:
[20:26] <[1]Ian> 	offset 10 seconds
[20:26] <[1]Ian> 	length 300 seconds
[20:26] <[1]Ian> black 50 seconds
[20:26] <[1]Ian>   video 2:
[20:26] <[1]Ian> 	offset 360 seconds
[20:26] <[1]Ian> 	length 300 seconds
[20:26] <[1]Ian> black 40 seconds
[20:26] <[1]Ian> total 700 seconds
[20:26] <[1]Ian> merging audio:
[20:26] <[1]Ian> silence 1 second
[20:26] <[1]Ian>   audio 1:
[20:26] <[1]Ian>     offset 1 seconds
[20:26] <[1]Ian> 	length 320 seconds
[20:26] <[1]Ian>   audio 2:
[20:27] <[1]Ian>     offset 10 seconds
[20:27] <[1]Ian> 	length 690 seconds
[20:27] <[1]Ian>   audio 3:
[20:27] <[1]Ian>     offset 240 seconds
[20:27] <[1]Ian> 	length 420 seconds
[20:27] <[1]Ian> total 700 seconds
[20:44] <llogan> use a video editor. or a big filterchain involving trim, atrim, setpts, color, aevalsrc, and concat filters
[20:45] Action: kepstin-laptop notes that he wrote some recording processing stuff for bigbluebutton which basically is just a ruby script that builds the filter chain for the latter
[20:46] <kepstin-laptop> (but rather than using concat, it outputs to a bunch of mpeg-ts files that are concatenated)
[20:55] <[1]Ian> My goal is to run this batch style on the command line from .net
[20:57] <kepstin-laptop> so yeah, you'd have the .net app read the info about which video/audio goes where, have it build a filter chain, then run ffmpeg with that. shouldn't be too bad.
[21:09] <DocC> anybody familiar with capturing via dshow in ffmpeg?
[21:26] <RoyK> hi al. how can I package a DVD into an mkv file with ffmpeg?
[21:27] <RoyK> s/al\./all./
[21:43] <llogan> RoyK: perhaps look at tools/dvd2concat
[21:44] <RoyK> llogan: is that normally installed with an apt-get install, or just in the repos?
[21:44] <llogan> i don't know anything about apt-get
[21:48] <llogan> if it's a commercial disc then you'll probably have to use something that uses libdvdread first (tccat, vobcopy, etc)
[21:49] <llogan> *libdvdcss
[21:51] <RoyK> got that, but
[21:51] <RoyK> Your lsdvd version does not print cell sectors.
[21:51] <RoyK> Make sure your lsdvd version has the two following patches applied:
[21:51] <RoyK> http://sourceforge.net/p/lsdvd/feature-requests/1/
[21:51] <RoyK> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603826
[22:07] <VLADIMER_PUTIN> putin here!
[22:07] <VLADIMER_PUTIN> hi!
[22:23] <timezone> hey guys, i have some binary files in ARGB but i'm not sure how to encode them, they are just raw pixel buffers, what flags do i need to hint ffmpeg? -pix_fmts shows IO... argb 4 32
[22:46] <[2]Ian> Putin, when are you going to deal with the feminist problem?
[22:46] <ChocolateArmpits> timezone: Do you need them preserved? probabyl rawvideo and specify the pixel format
[22:47] <[2]Ian> I admired what you did to those dirty punks, but... when are you going to take it to the next level?
[22:49] <ChocolateArmpits> timezone: or 'bmp', supports rgb with alpha
[23:15] <timezone> ChocolateArmpits: yeah got it working, cheers mate
[23:51] <sourpulse> A commercial program (not GPL or LGPL) has the ability to launch any other program via user-configurable command line, and output raw video frames to it through a pipe. FFmpeg (such as a Zeranoe static build for Windows) is able to encode that pipe into a movie file. Does FFmpeg's license allow it to be used that way?
[23:56] <llogan> i don't see how the license should restrict what inputs you use
[23:58] <akiselev> sourpulse, IANAL but: it depends on how you package it. If the user of the software downloads ffmpeg binaries or builds it themselves and points your software to it, there is (basically) no restriction whatsoever on what you can do
[00:00] --- Fri Oct 17 2014


More information about the Ffmpeg-devel-irc mailing list