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

burek burek021 at gmail.com
Sat Apr 4 02:05:01 CEST 2015


[00:01:00 CEST] <alesan^> even with -crf 18 the quality is much inferior to libx264 (and the bandwidth is about two thirds)
[00:36:18 CEST] <Prelude2004c> hey guys.. question...  " http://pastebin.com/KspmF0ws " ..
[00:36:32 CEST] <Prelude2004c> can anyone help me so it always selects the correct audio for that program ID
[00:36:40 CEST] <Prelude2004c> its like random, keeps changing
[00:36:43 CEST] <Prelude2004c> soooo od
[01:16:18 CEST] <t4nk264> Hello
[01:17:04 CEST] <t4nk264> I need the help for running ffmpeg in mac osx
[01:18:14 CEST] <MuthuSelvan> Hello
[01:18:27 CEST] <MuthuSelvan> I need the help for running ffmpeg in mac osx ..
[01:28:10 CEST] <MuthuSelvan> hi
[01:28:42 CEST] <MuthuSelvan> i am trying to record the screen using the command
[01:32:59 CEST] <MuthuSelvan> ok
[01:33:05 CEST] <MuthuSelvan> i will do that ..
[01:33:20 CEST] <MuthuSelvan> ffmpeg -f qtkit  -video_device_index 1 -i "" ~/Desktop/capture.mpeg
[01:33:31 CEST] <MuthuSelvan> This my command and its working fine
[01:34:07 CEST] <MuthuSelvan> but it capturing entire screen but i want capture particualar window postion , how to do that ?
[01:36:10 CEST] <llogan> MuthuSelvan: i don't think that is possible according to the docs. http://ffmpeg.org/ffmpeg-devices.html#avfoundation
[01:36:52 CEST] <MuthuSelvan> yes , i know so i tried with diffrent commanf
[01:36:56 CEST] <MuthuSelvan> but getting this error
[01:37:16 CEST] <Prelude2004c> ey guys.. question...  " http://pastebin.com/KspmF0ws "
[01:37:21 CEST] <Prelude2004c> can soneone look at that
[01:37:33 CEST] <Prelude2004c> my audio is messed up.. can't seem to grab the correct audio for all my HLS segments
[01:37:43 CEST] <MuthuSelvan> ffmpeg -f x11grab -framerate 25 -video_size cif -i :0.0 out.mpg
[01:37:57 CEST] <MuthuSelvan> Error : Unknown input format: 'x11grab'
[01:38:23 CEST] <MuthuSelvan> so how to enable x11grab in mac for ffmpeg ?
[01:38:45 CEST] <llogan> i don't think you can use x11grab for OS X desktop (unless perhaps if you're actually running an X session)
[01:39:14 CEST] <llogan> Prelude2004c: which audio do you want?
[01:39:23 CEST] <MuthuSelvan> not audion
[01:40:03 CEST] <MuthuSelvan> my requirement , i want capture the screen as video format ,,,not entire screen particular screen in OSX
[01:40:29 CEST] <llogan> as far as i can tell that is not currently possible.
[01:40:34 CEST] <MuthuSelvan> like passing X,Y postion as argument or window title name
[01:41:46 CEST] <MuthuSelvan> is it not avaialble on OSX ? or ubuntu also
[01:43:46 CEST] <llogan> oh, apparently the video_size and framerate options have been added to avfoundation. just not documented.
[01:44:19 CEST] <MuthuSelvan> ok , please share the command for running with "avfoundation" to captute that
[01:44:22 CEST] <llogan> "For screen captures, only the framerate option is taken into account."
[01:44:27 CEST] <llogan> not sure what that means though
[01:44:44 CEST] <llogan> see http://ffmpeg.org/ffmpeg-devices.html#avfoundation
[01:44:49 CEST] <llogan> and come up with your own command
[01:45:04 CEST] <llogan> try the -video_size option in the same manner as you would use it with x11grab.
[01:45:17 CEST] <llogan> although that commit message is confusing, so it may not work for you
[01:46:56 CEST] <MuthuSelvan> so avfoundation is only supported in mac osx ? right ?
[01:47:18 CEST] <llogan> i'm guessing iOS and OS X.
[01:47:36 CEST] <MuthuSelvan> and that will not capture the screen by position , thats your conclusion ?
[01:47:38 CEST] <MuthuSelvan> right ?
[01:49:40 CEST] <MuthuSelvan> How about ubuntu 14.04 ?
[01:49:59 CEST] <MuthuSelvan> what is the command shoould i use to record in particulat positopm ?
[01:53:35 CEST] <MuthuSelvan> any update please ?
[02:28:27 CEST] <llogan> MuthuSelvan: i already told you what you need to try in avfoundation
[02:28:51 CEST] <llogan> as for ubuntu, i would need to see the complete console output of "ffmpeg"
[02:28:53 CEST] <MuthuSelvan> yes
[02:29:02 CEST] <MuthuSelvan> but i asked one more question
[02:29:10 CEST] <MuthuSelvan> How about ubuntu 14.04 ?
[02:29:26 CEST] <llogan> as for ubuntu, i would need to see the complete console output of "ffmpeg" command
[02:29:36 CEST] <MuthuSelvan> what is the command shoould i use to record in particular screen  ?
[02:30:13 CEST] <llogan> i can't answer that without seeing the information i requested
[02:30:42 CEST] <MuthuSelvan> ok
[03:12:51 CEST] <Prelude2004c> anyone around to give me some help with audio pids ?
[03:28:33 CEST] <klaxa> just state your problem
[03:28:59 CEST] <klaxa> don't ask to ask
[03:44:43 CEST] <Prelude2004c> hey anyone around
[03:44:46 CEST] <Prelude2004c> can i get some help..
[03:44:46 CEST] <Prelude2004c>   Program 1404
[03:44:46 CEST] <Prelude2004c>     Stream #0:6[0x1811]: Video: h264 (High) ([27][0][0][0] / 0x001B), none, 60 tbr, 90k tbn
[03:44:46 CEST] <Prelude2004c>     Stream #0:3[0x1814]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
[03:45:01 CEST] <Prelude2004c> the Stream # 0:6 and 0:3 keep changing
[03:45:34 CEST] <Prelude2004c> i am not sure what do do but i always say pickup -map 0:p:1404 and then just leave it to do the rest but... everytime i keep getting content from other channels on the transport stream
[03:45:38 CEST] <Prelude2004c> there are like 10 there..
[03:45:45 CEST] <Prelude2004c> i am trying to get one and just the video/audio of that one
[03:57:40 CEST] <klaxa> can you specify audio and videostreams instead of the program stream?
[04:03:04 CEST] <klaxa> also, please don't paste in the channel
[04:34:02 CEST] <klaxa> Prelude2004c?
[08:37:52 CEST] <ruby_on_tails> when encoding videos why is transitions like fadeout the most common place for quality degradation?
[09:56:23 CEST] <killer> hello...! what values i must chage for increase  the brightness from this filter ? -vf colorlevels=rimin=0.439:gimin=0.439:bimin=0.439:rimax=0.96:gimax=0.96:bimax=0.96:romin=0.4:gomin=0.4:bomin=0.4 -b 500k output.mpg
[10:26:40 CEST] <seasc> killer, try bimin=0.439 --> bimin=0.8
[10:29:06 CEST] <killer> only this change seasc ?
[10:30:59 CEST] <seasc> killer, i have no idea of fading or brightness, but thats the most appealing value/variable
[10:31:13 CEST] <seasc> :D
[10:32:23 CEST] <killer> i will try it now ....
[10:34:15 CEST] <killer> the video color is yellow lol :P
[10:34:29 CEST] <killer> other options for change the brightness?
[13:28:26 CEST] <kalohr> does anybody know how I may apply a filter (eg increase brightness) only within a given time period (eg from 00:00:05 to 00:00:20) without chopping the output?
[13:30:54 CEST] <kalohr> the command ffmpeg -i intput.mpg -ss 00:00:05 -to 00:00:20 -vf colorlevels=rimin=0.439:gimin=0.439:bimin=0.439 applies the filter thoughout the input
[13:31:18 CEST] <kalohr> It is supposed to be applied within the given time period
[13:31:28 CEST] <kalohr> or am I missing something?
[15:25:12 CEST] <QuakePhil8000> I'm using the command from here https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images (the one under "glob pattern") to make a video from some pngs.  But when I run the command, it tells me error while opening encoder for output stream #0:0 - maybe incorrect paramters such as bit_rate
[15:25:29 CEST] <QuakePhil8000> I'm guessing its because my pngs are different size and it can't detect the dimensions to use?  What's the best way to fix this without touching the png files?
[15:30:32 CEST] <QuakePhil8000> Ah, I let myself google it for myself, and saw that I needed to use something like -vf scale=720:-1 after my -i (re: http://stackoverflow.com/questions/13877031/error-while-opening-encoder-for-output-stream-0-0-maybe-incorrect-parameters )
[15:31:01 CEST] <QuakePhil8000> Are there any pre-made scripts that use ffmpeg (and perhaps something like imagemagick) to seamlessly create slideshows from images/videos/audio?
[15:31:09 CEST] <QuakePhil8000> That you guys have experience with and can recommend?  Thanks!
[15:33:34 CEST] <JEEBsv> the actual error is usually before that error
[15:33:46 CEST] <JEEBsv> so pastebin your current line and terminal output
[15:33:47 CEST] <JEEBsv> and link it here
[15:33:48 CEST] <JEEBsv> kthx
[16:32:43 CEST] <QuakePhil8000> JEEBsv: my last one was less of an error, and more of a request for knowledge
[16:33:17 CEST] <JEEBsv> well that error by itself doesn't really mean anything so nothing useful can be said solely by it
[16:34:10 CEST] <JEEBsv> and one cannot just assume that a random person on the internets can actually interpret whatever he is being thrown correctly
[16:39:41 CEST] <QuakePhil8000> JEEBsv: right, but I allready solved the error myself by googling (see the last link I pasted for solution) ... now I just would like to know if anybody here has experience using something like a bash script or similar, to create slideshows from images+videos+audio
[16:40:03 CEST] <JEEBsv> well I had no idea if you had actually found a solution or accidentally fixed it
[16:40:11 CEST] <JEEBsv> and I cannot assume on the internet
[16:40:14 CEST] <QuakePhil8000> Don't worry about it
[16:40:28 CEST] <JEEBsv> I'm not :)
[16:40:33 CEST] <QuakePhil8000> :)
[16:44:38 CEST] <poypoy> hello everyone
[16:45:15 CEST] <poypoy> i'm trying to create a ts cbr stream with raw hevc and aac inputs
[16:46:07 CEST] <poypoy> so i use this command: ./ffmpeg -i /mnt/data/test.265 -codec:v copy -f mpegts -muxrate 5000000 -pcr_period 39 /mnt/data/test.ts  (just with the hevc)
[16:46:52 CEST] <poypoy> but i get these errors: [mpegts @ 0x34fb700] first pts value must be set     and      av_interleaved_write_frame(): Invalid data found when processing input
[16:47:26 CEST] <poypoy> (i'm using the last git version of ffmpeg)
[16:48:14 CEST] <ChocolateArmpits> poypoy: It says here http://ffmpeg.org/pipermail/ffmpeg-user/2015-January/024957.html that around January ffmpeg only supported demuxing
[16:49:14 CEST] <poypoy> when i encapsulate the hevc in a mp4, i can mux it in a ts file with the same command
[16:49:58 CEST] <ChocolateArmpits> Did you try setting input format to hevc ?
[16:52:20 CEST] <poypoy>  how can i do that ? -f hevc before -i ?
[16:54:49 CEST] <ChocolateArmpits> or maybe "h265", don't have my ffmpeg compiled with h265 so not certain, try both
[16:54:57 CEST] <JEEBsv> it's hevc
[16:55:13 CEST] <JEEBsv> since that's the ISO/IEC name which was set way before the ITU-T name was given
[16:55:25 CEST] <poypoy> it dosn't works
[16:55:47 CEST] <ChocolateArmpits> oh yeah it should be hevc " DE hevc            raw HEVC video"
[16:55:48 CEST] <poypoy> same error
[16:56:16 CEST] <JEEBsv> full command line and terminal output in a pastebin, link here
[16:58:08 CEST] <poypoy> http://pastebin.com/tjP5U4W0
[16:59:39 CEST] <JEEBsv> hmm, I guess while the default is to 25fps with the raw muxer, I guess PTS are not getting set at that point yet. I wonder if -r your_actual_frame_rate would do it (it goes before -i as it's an input parameter)
[16:59:52 CEST] <JEEBsv> although I don't remember if there's a new parameter instead of -r available, just try it out for now
[17:00:44 CEST] <poypoy> same error
[17:02:04 CEST] <poypoy> i can easely produce a pes file (with correct pts/dts) with my hevc, can ffmpeg read it ?
[17:03:04 CEST] <JEEBsv> if that's just an elementary stream then possibly not. although I'm surprised you can't mux raw HEVC into mpeg-ts
[17:04:44 CEST] <JEEBsv> poked another channel about this since muxing a raw elementary stream seems like something rather standard for one to do
[17:08:01 CEST] <poypoy> i can send a hevc sample if necessary
[17:09:41 CEST] <JEEBsv> does it also happen with https://fushizen.eu/u/jeeb/2014-12-26_hyouka_op/bitstreams/2014-12-26-hyouka_op_placebo_psyrd08_rdoq_2_crf33_8bit.hevc ?
[17:10:04 CEST] <JEEBsv> if it does, then it's not sample-specific
[17:11:04 CEST] <poypoy> yes, same problem
[17:11:11 CEST] <JEEBsv> okies
[17:12:08 CEST] <_Vi> How do I specify arguments for decoder? In "ffmpeg -some-option qqq -v decodername -i ..." the decoder still gets default value instead of "qqq".
[17:12:21 CEST] <JEEBsv> encoder options always after input
[17:12:28 CEST] <JEEBsv> decoder options always before input
[17:15:34 CEST] <ChocolateArmpits> I'm outputting two files: mp4 (video and audio) and ismv (only audio) via tee muxer, but my ismv gets it's start time delayed by about 0.08. Does anyone know why and if possible how could I alter it within the same command line?
[17:19:06 CEST] <QuakePhil8000> bbl <3
[17:28:07 CEST] <selsta> is there a difference between AVPacket pkt.buf->data instead of directly accessing pkt.data?
[17:31:12 CEST] <growery> hi
[17:32:13 CEST] <growery> How can i do a direct transcoding? like passing from one server to the other without using cpu recoding everything?
[17:34:07 CEST] <Mavrik> so you just want to send the file?
[17:34:49 CEST] <growery> Mavrik it's like from one rtmp server to another rtmp server but the coding is the same
[17:36:41 CEST] <growery> so it's using the ffmpeg just to pass the information
[17:37:20 CEST] <Mavrik> -codec copy
[17:41:36 CEST] <growery> Mavrik i did
[17:41:43 CEST] <growery> ffmpeg -i rtmp://localhost:1936/live/livestream2 -codec copy rtmp://localhost:1936/hls/livestream2
[17:41:59 CEST] <growery> it return error
[17:42:05 CEST] <growery> returned*
[17:42:30 CEST] <growery> unable to find a suitable output format
[17:42:37 CEST] <growery> and invalid argument
[17:43:15 CEST] <Mavrik> probably need to do something like -f flv
[17:48:46 CEST] <growery> Mavrik perfect! thanks a lot!
[17:54:55 CEST] <poypoy> i have the same problem with a h264 file as input, so i suppose that ffmpeg can't generate dts/pts with the mpets muxer
[18:53:59 CEST] <simias> hi
[18:54:51 CEST] <simias> is it possible to use ffplay to convert video frames to a PNG/JPG image?
[18:55:13 CEST] <simias> ffplay -encoders lists "png" as a possibility but I can't figure out how one is supposed to use it
[18:58:38 CEST] <klaxa> simias: you can use ffmpeg, try running something like: ffmpeg -i video.mp4 %05d-output.png
[19:02:10 CEST] <simias> klaxa: unfortunately I don't have ffmpeg on this machine :(
[19:02:13 CEST] <simias> because debian
[19:02:18 CEST] <simias> but I do have ffplay
[19:02:33 CEST] <simias> I'll try building ffmpeg I suppose
[19:02:40 CEST] <klaxa> you can also get a static build
[19:03:17 CEST] <simias> ah, nice, I'll try that first
[19:03:18 CEST] <simias> thanks
[19:03:26 CEST] <c_14> The gusari builds aren't up to date though, so use the johnvansickle bulids.
[19:05:28 CEST] <simias> it worked!
[19:05:30 CEST] <simias> thank you both
[19:28:58 CEST] <_Vi> There are two decoders for the given codec (for example, "dec1" and "dec2"). I do "ffmpeg -vcodec dec2 -dec2-option smth -i inputfile", but the "dec2-option" does not get to dec2 because of it got stopped by filter_codec_opts because of it uses avcodec_find_encoder which returns "dec1" that has not "dec2-option". Shall I report a bug?
[19:43:42 CEST] <BenMcLean> Hey folks. I'm trying to convert all the mp3s of our podcasts into video files for YouTube with a still image
[19:43:54 CEST] <BenMcLean> I found this batch script online that should do it: for %%i in ("*.mp3") do ffmpeg -f image2 -loop 1 -i picture.jpg -framerate 60 ^ -i "%i" -c:v libx264 -tune stillimage -c:a copy "%%~ni.mp4"
[19:44:12 CEST] <BenMcLean> But it says "No such file or directory" on all of them
[19:45:01 CEST] <BenMcLean> Anybody know what I'm doing wrong?
[19:45:08 CEST] <BenMcLean> btw i'm on windows 8.1
[19:52:38 CEST] <BenMcLean> I think I found the problem. ffmpeg is unable to pass a filename correctly with a colon in it apparently
[20:06:38 CEST] <BenMcLean> I ended up using for %%i in (*.mp3) do ffmpeg -loop 1 -i image.jpg -i %%i -c:a copy -c:v libx264 -shortest %%~ni.mp4
[20:06:58 CEST] <BenMcLean> and just running a file renamer to remove the colons
[20:49:42 CEST] <kate_24> Hi, I am trying to create a dynamic zoom in effect using ffmpeg. Here is my code: ffmpeg -i in.mp4 -filter_complex "crop=iw-t*10:ih-t*10:iw/2:ih/2" out.mp4. I am getting the following error: Error when evaluating the expression 'iw-t*10'. Failed to configure input pad on Parsed_crop_0
[20:50:42 CEST] <llogan> kate_24: try zoompan filter instead
[20:51:02 CEST] <llogan> http://ffmpeg.org/ffmpeg-filters.html#zoompan
[20:51:15 CEST] <kate_24> Got it. Thanks, llogan. :)
[20:52:50 CEST] <kate_24> But, why would it throw an error when using the t constant, crop clearly accepts the t constant. Just for knowledge
[20:55:24 CEST] <llogan> i'm not sure
[20:56:05 CEST] <kate_24> Ah! Okay. I'll keep looking then! You've been helpful nevertheless. Thanks, again! :)
[20:58:09 CEST] <llogan> kate_24: it's because t 'n friends can be applied to x and y, but not to w and h, AFAIK
[20:58:13 CEST] <maqr> i'm building with --enable-static, but the binary that comes out still relies on a bunch of .so's... what's up with that and how can i make a truly static build of ffmpeg?
[20:59:31 CEST] <kate_24> That seems valid, llogan! Thanks, again! You're the best!
[21:02:52 CEST] <maqr> i followed the directions in the wiki, and i did produce an ffmpeg binary that has all of the things that i need in it, all built from source, with --enable-static on the ffmpeg build... but if i copy that binary to another system, i get errors about libav, libass, libSDL, etc
[21:08:09 CEST] <maqr> it seems like there must be something beyond --enable-static that i need to make a static build, but google is coming up short
[21:19:19 CEST] <iive> maqr: you need static version of all libraries that link to ffmpeg.
[21:22:33 CEST] <maqr> iive: oh, i didn't realize that, but that explains it
[21:23:23 CEST] <maqr> iive: is there a practical way to achieve that?
[21:23:44 CEST] <maqr> ffmpeg has a lot of libaries
[21:25:23 CEST] <smo_> hi, i have some strange results when reading avi files with custom ffmpeg build in chromium here s avideo of the problem, on the right the avi file playing in node-webkit (so thru ffmpegsumo.so) and on the left in the same app but live transcoded thru ffmpeg in x264, you can see the right video is like slow , image jumping or don t know how ot describe it :p https://www.streamstudio.me/StreamStudio/compareavi.webm
[21:28:50 CEST] <maqr> iive: it's occurred to me that i may be trying to do a silly thing, and i actually need to learn how to make a deb with common dependencies, and statically link the important ones like x264 and fdk
[21:33:17 CEST] <iive> maqr: right.
[21:47:48 CEST] <llogan> smo_: i'm confused. what does webm have to do with x264?
[21:51:34 CEST] <smo_> hi llogan
[21:51:44 CEST] <smo_> i recorded the two videos
[21:52:28 CEST] <smo_> look the video you ll understand
[21:54:32 CEST] <llogan> how do you know it's not the player. you're using two different players
[21:55:24 CEST] <smo_> 1/ i started the same avi in the same player (my node-webkit app) then ecorded my desktop
[21:55:53 CEST] <smo_> 2/ i launched the 2 video in 2 players for you to see them at the same time
[21:57:39 CEST] <smo_> in my test it seems that when i have a avi file with this message in ffmpeg " Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it"
[21:57:57 CEST] <smo_> ffmpegsumo in chromium has some difficulties to decode it
[21:58:21 CEST] <llogan> i don't know what ffmpegsumo is, but only offical FFmpeg tools are supported here.
[22:00:07 CEST] <smo_> i know i know llogan... but it s related, i ll ask in chromium channel too...
[23:32:53 CEST] <maqr> is there a way that i could run my specific ffmpeg command and see all of the buildconf that would be required to run that command? i think i'm compiling in way more stuff than i actually need
[23:33:41 CEST] <BtbN> Well, pasting your command might be a good start.
[23:38:11 CEST] <maqr> BtbN: there's a few and it's kind of complicated, but: ffmpeg -i input.mp4 -c:v libx264 -preset:v medium -level:v 3.0 -profile:v baseline -b:v 200k -framerate 12 -b:a 64k -ar 44100 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -hls_time 5 -s 400x300 -hls_list_size 0 ts/264k-400x300.m3u8
[23:38:18 CEST] <maqr> they're mostly variants on that
[23:38:26 CEST] <maqr> obviously i need libx264 and libfdk_aac
[23:38:36 CEST] <maqr> but i don't know about anything else
[23:39:13 CEST] <BtbN> The decoders for whatever is in that mp4
[23:39:29 CEST] <maqr> one aac stream and one x264 stream
[23:39:43 CEST] <maqr> should be the same two libraries, unless the decoding libraries are different
[23:39:45 CEST] <BtbN> x264 is not a codec, but an encoder.
[23:39:53 CEST] <BtbN> x264 is purely an encoder, nothing else.
[23:40:01 CEST] <maqr> oh, what's the decoder for x264 then?
[23:40:17 CEST] <BtbN> The codec is called h264, and ffmpeg is the decoder.
[23:40:21 CEST] <BtbN> Same for aac.
[23:43:47 CEST] <maqr> hmm, ok
[23:44:27 CEST] <emmicelik> has anyone worked with nginx-rtmp-module before..? that could guide me to a guide on how to install it on a debian. im trying use ffmpeg with nginx-rtmp as a re-streamer but cant find a guide on howto
[23:45:19 CEST] <BtbN> Did you try just entering those keywords into google? Cause i find pages full of stuff that looks like guides.
[23:45:27 CEST] <BtbN> Even ones on the official Debian wiki.
[23:46:46 CEST] <BtbN> Don't follow the ones that have anything like "sudo make install" or "make install" as root in them though.
[23:54:44 CEST] <maqr> heh
[00:00:00 CEST] --- Sat Apr  4 2015


More information about the Ffmpeg-devel-irc mailing list