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

burek burek021 at gmail.com
Sat Sep 5 02:05:01 CEST 2015


[00:01:24 CEST] <chungy> cryptopsy: not sure you can with ffmpeg... might need to encode with lame separately and use "-c:a copy" when using that output as ffmpeg's input
[00:04:18 CEST] <c_14> blahkat: probably too high bitrate?
[00:05:03 CEST] <c_14> cryptopsy: mp3 per definition is lossy. If your source is mp3 you can use -c:a copy to preserve the stream (note, this disables audio filters)
[00:05:30 CEST] <cryptopsy> c_14: well no not per definition
[00:05:48 CEST] <cryptopsy> it suffice only one example to disprove your claim and that would be recusrive combining, it will not degenerate into nothingness
[00:10:50 CEST] <blahkat> is there good examples of a configuration I can use with ffmpeg and a live stream?
[00:11:02 CEST] <blahkat> something that would stop this video stutter
[00:11:23 CEST] <blahkat> I am a tad new to ffmpeg, still learning the ropes
[00:18:14 CEST] <c_14> cryptopsy: The psychoacoustic model is part of the mp3 spec, even _if_ it didn't throw away any data it is still a theoretically lossy part of the encoding process.
[00:18:37 CEST] <c_14> blahkat: what are you using currently?
[00:21:03 CEST] <blahkat> c_14: I have tried multiple configurations, though the only thing I am playing through is VLC, I heard there might be an issue with rtmp and vlc itself.
[00:21:30 CEST] <blahkat> I have tried filters, as well as multiple stream rate types, etc..
[00:34:12 CEST] <blahkat> I was looking at this method
[00:34:14 CEST] <blahkat> http://nginx-rtmp.blogspot.com/2013/07/hls-variant-playlist.html
[00:34:34 CEST] <blahkat> but would this work for me to stream live still?
[00:35:23 CEST] <blahkat> also, would i need to rename the /hls/$name_low, etc.. to /stream/$name_low?, etc..
[00:35:29 CEST] <blahkat> or is that to remain as hls?
[00:39:39 CEST] <blahkat> Right now it just kind of plays for about a minute and then just cuts off completely
[00:41:42 CEST] <blahkat> here it would be easier to show ya rtmp://chat.elunacy.com/stream/test
[00:52:13 CEST] <c_14> blahkat: works fine here
[00:53:31 CEST] <blahkat> what player are you using might i ask
[00:54:06 CEST] <c_14> audio is fine, video is fine, no stutter
[00:54:07 CEST] <c_14> I'm using mpv
[00:55:13 CEST] <blahkat> damn
[00:55:23 CEST] <blahkat> I might have to make the switch...
[00:55:40 CEST] <blahkat> that even looks sexier than vlc
[00:56:20 CEST] <blahkat> that is wild, I think it might be something to do with the live555 settings in vlc, as I crank it up it seems to smooth out on the player
[00:56:44 CEST] <blahkat> unfortunate, vlc use to be good, this is just one more problem along with many others that they have been acrewing it seems
[00:58:55 CEST] <blahkat> thanks for the assistance c_14 :)
[00:59:00 CEST] <blahkat> it is very very much appreciated sir
[01:00:43 CEST] <xdexter> Hello, I use ffmpeg to stream rtsp to rtmp (http://pastebin.com/n7d8Z56w) and saved the video locally in .flv, however must be saved in MP4, it's possible?
[01:04:01 CEST] <blahkat> yes
[01:04:34 CEST] <xdexter> how? hehe
[01:04:37 CEST] <blahkat> ffmpeg -i /var/videos/sintel.mp4 -c:a copy -c:v copy -f flv rtmp://localhost/src/sintel;
[01:04:45 CEST] <blahkat> sintel being the name of your file
[01:05:08 CEST] <xdexter> but the entrance and there is a camera rtsp understand?
[01:05:12 CEST] <blahkat> I think anyway
[01:05:29 CEST] <xdexter> not a video
[01:05:48 CEST] <xdexter> file
[01:06:41 CEST] <c_14> xdexter: what are you currently using to save it locally as flv ?
[01:07:10 CEST] <xdexter> c_14, http://pastebin.com/n7d8Z56w
[01:07:51 CEST] <c_14> that's not saving it locally as flv, that's restreaming it over rtmp
[01:08:39 CEST] <xdexter> c_14, ah, I understand your question, who saves imagine to be the module of Nginx (https://github.com/arut/nginx-rtmp-module)
[01:10:15 CEST] <c_14> nginx has a record option for streams, but I think that's only for flv. what you could do is ffmpeg -i rtsp://www.site.com:1
[01:10:35 CEST] <c_14> 935/livre/cam1.stream -c copy -f flv rtmp://localhost/app/mycam -c copy out.mp4
[01:11:35 CEST] <c_14> Though, I honestly wouldn't use mp4 for this. If ffmpeg were to crash (or your computer went offline due to power failure) the mp4 file would be unreadable (due to a missing moov atom). You can get around this by using fragmented mov atoms, but most players won't support that.
[01:12:56 CEST] <xdexter> c_14, understand ... nginx the module is sharing videos per minute, so I need
[02:53:47 CEST] <cryptopsy> when i convert from 128cbr to 260vbr the file size increases,  how am i supposed to determined the VBR quality level that will not make the file noticeable?
[02:54:05 CEST] <cryptopsy> in this case since file size increaes, the conversion is pointless
[02:54:15 CEST] <cryptopsy>  mp3
[03:15:33 CEST] <ScottSteiner> Would an AMD 7400K be suitable for encoding a 720p screencast of a desktop?
[03:17:25 CEST] <DHE> based on comparing it to a CPU I have, I'd say most likely... but you'll need to use multi-threading and probably a veryfast type of preset. I suspect you'll be running it pretty close to the limit there
[03:57:33 CEST] <kylan> hello, I'm trying to install this but it said yasm/nasm not found or too old and at this point im completely lost. I'm on linux mint 17
[03:57:57 CEST] <c_14> Output of yasm --version ?
[03:59:55 CEST] <kylan> do i do that in a blank terminal, or in the directory with the files i downloaded for ffmpeg?
[04:00:03 CEST] <c_14> Doesn't matter
[04:00:08 CEST] <c_14> Well
[04:00:11 CEST] <c_14> Shouldn't matter
[04:01:44 CEST] <kylan> ok, it said it wasn't installed. so install it i guess?
[04:01:49 CEST] <c_14> yep
[04:02:26 CEST] <kylan> ok thank you, my head was hurting and I couldn't think clearly
[04:08:47 CEST] <kylan> Ok so i installed yasm, and compiled mpeg but when i tried to convert a couple videos using ff-multiconverter i got this error:http://pastebin.com/FfHLiE6N
[04:11:37 CEST] <c_14> you probably didn't install it into your path
[04:11:41 CEST] <c_14> what was your configure line?
[04:12:19 CEST] <kylan> I'm sorry I dont understand.
[04:12:33 CEST] <kylan> and to configure all I did was ./configure
[04:12:43 CEST] <c_14> And then make and make install?
[04:13:34 CEST] <kylan> wait nope i forgot that oops that might fix my problem sorry about that!
[04:14:18 CEST] <kylan> thank you for your help so much
[04:47:01 CEST] <ScottSteiner> thank DHE. maybe an 8350 will be better then
[08:50:27 CEST] <satiender> Hello Developers !! have a nice day !!
[09:31:20 CEST] <satiender> Hi can we use only filter library of ffmpeg ??
[10:40:50 CEST] <durandal_1707> satiender: possible but it would be pain
[10:44:19 CEST] <satiender> durandal_1707 : first of all thanks now my hstack and vstack are working perfectly
[10:45:40 CEST] <satiender> durandal_1707 : actually I want reduce the size of ffmpeg that is reason I want use only required library
[10:46:54 CEST] <ploopkazoo> is ffmpeg capable of converting an mkv with ordered chapters to a regular mkv with one video stream and regular chapter marks?
[10:47:03 CEST] <ploopkazoo> and if so, how would it be done?
[10:48:41 CEST] <JEEB> ploopkazoo: you probably mean segment linking and virtual timelines... no, ffmpeg cannot do that. if you are OK with re-encoding, look at mpv's encoding capabilities for it
[10:50:05 CEST] <ploopkazoo> JEEB: reencoding would mean loss, right?
[10:50:25 CEST] <JEEB> yes, unless you re-encode to a lossless format
[10:50:33 CEST] <JEEB> which of course will take a lot of space
[10:51:18 CEST] <ploopkazoo> yeah
[10:51:21 CEST] <satiender> Hi can we reduce the amount of blurbox means very light burring of video
[10:51:47 CEST] <satiender> if yes , then please give example
[11:08:39 CEST] <termos> is there a way in ffmpeg for setting max segment duration for mpeg-dash segments?
[13:07:04 CEST] <kathu> hi to all!
[13:09:13 CEST] <kathu> Could anybody help me with ffmpeg threading model for NUMA x64 working set?
[13:14:50 CEST] <DHE> under linux it's usually best practice to use control groups with pre-defined node configurations... right?
[14:41:05 CEST] <c2c> Hello, can somebody help me : I'm trying to combine the select=gt(scene) filter and the blackdetect and silencedetect functions on a ffprobe command
[14:41:47 CEST] <c2c> To detect scene cuts timestamps in a movie (black screen, silence, and scene change)
[14:42:02 CEST] <c2c> I really don't find how to do it in the doc
[14:42:54 CEST] <c2c> something like "ffprobe  -of json -f lavfi "movie=movie.avi:s=v+a[in0][in1],[in0]blackdetect=d=2:pic_th=0.9:pix_th=0.1[out0];[in1]silencedetect=n=-50dB:d=2[out1],select=gt(scene\,0.6)"
[14:43:00 CEST] <c2c> (which doesnt work)
[14:43:05 CEST] <c2c> anybody can help ?
[18:59:16 CEST] <FlorianBd> if I have 7000 frames (pictures) how can I blend them all together so I get a mix where each picture has the same weight ?
[18:59:44 CEST] <FlorianBd> The idea is that I will see where the character is moving in the entire clip, and where he never goes.
[19:00:15 CEST] <FlorianBd> or maybe imagemagick?
[19:24:18 CEST] <FlorianBd> ok here's the solution :  convert frames/* -evaluate-sequence mean output.png
[19:30:46 CEST] <durandal_1707> do you get anything sensible?
[20:59:30 CEST] <Grobo> How do I set the target average bitrate for DVD encoding? I tried -b:v but the final average was far below what I set.
[21:01:24 CEST] <DHE> -b:v is in bits per second, so use a suffix of "k" or "M" as appropriate
[21:01:53 CEST] <DHE> otherwise use 2-pass encoding so the codec can plan for the right bitrate
[21:03:16 CEST] <Grobo> DHE: I used 5500K and two passes but it turned out with an average of about half that
[21:03:38 CEST] <llogan> are you making standard mpeg2video for a video-DVD, or are you trying to crap as much video files on a DVD?
[21:03:52 CEST] <llogan> s/crap/cram
[21:03:56 CEST] <Grobo> llogan: I am making a standard DVD
[21:04:18 CEST] <Grobo> standard MPEG-2 encoding for video DVD, that is
[21:04:43 CEST] <llogan> the -target option should already set a bitrate
[21:05:40 CEST] <Grobo> how can I see what it uses? I'm using -target pal-dvd
[21:05:54 CEST] <Grobo> but I added a lot of other options to that
[21:05:54 CEST] <DHE> possible the content is just simple enough that the codec doesn't need the use all the bits?
[21:06:07 CEST] <DHE> it would have to be machine generated I'd say...
[21:06:14 CEST] <Grobo> no, it isn't that simple.
[21:06:18 CEST] <Grobo> it's natural video
[21:20:31 CEST] <Grobo> also, how can I get it to output the video stream only, without audio?
[21:20:59 CEST] <Grobo> does target pal-dvd mean that it will multiplex audio?
[21:24:50 CEST] <llogan> Grobo: you can see options -target *-dvd sets: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffmpeg_opt.c;h=55818e1b7341c6a684b14e42bbe0252d45c8fd9f;hb=HEAD#l2490
[21:25:55 CEST] <ploopkazoo> can I use ffmpeg to just remove an mkv audio track of a certain language from an mkv without transcoding or anything?
[21:26:47 CEST] <iive> you can, but using mkvtoolnix mmg would be better
[21:27:21 CEST] <ploopkazoo> iive: is that mkvmerge/mkvextract?
[21:27:34 CEST] <iive> they are part of that package too.
[21:27:48 CEST] <iive> mmg is gui that can remux at one go.
[21:28:17 CEST] <Grobo> llogan: thanks
[21:28:42 CEST] <ploopkazoo> I don't have mmg and it would be easier without a gui, is there anything that can do it from command line?
[21:28:47 CEST] <llogan> Grobo: if you want to override for whatever reason, just place the appropriate option after -target *-dvd
[21:29:03 CEST] <Laurenceb__> hi, I'm an ffmpeg n00b
[21:29:11 CEST] <llogan> ploopkazoo: you can use ffmpeg with -map and -c copy
[21:29:13 CEST] <Laurenceb__> can someone tell me what is wrong with this?
[21:29:28 CEST] <Laurenceb__> ffmpeg -ss 00:00:04 -i GOPR0090.MP4 -vf crop=200:500:200:350 -vf transpose=1 edit1.mp4 -ss 00:00:02
[21:29:42 CEST] <ploopkazoo> llogan: how would I copy an audio track in one language but not another?
[21:30:13 CEST] <iive> Laurenceb__: you should use one -vf , separate fileters by comma
[21:30:21 CEST] <llogan> Laurenceb__: you're using multiple filtergraphs and have a trailing option. placement matters. and you should *always* include the complete console output (via a pastebin site)
[21:30:21 CEST] <Laurenceb__> ok
[21:31:15 CEST] <Laurenceb__> http://pastebin.com/5awbNcum
[21:31:29 CEST] <llogan> ploopkazoo: i think c_14 provided such an example recently
[21:31:54 CEST] <Laurenceb__> can anyone rewrite my command line input so it makes more sense?
[21:32:07 CEST] <llogan> Laurenceb__: ancient and unsupported ffmpeg build
[21:32:07 CEST] <Laurenceb__> hopefully its possible to understand what Im trying to do
[21:32:08 CEST] <Laurenceb__> thanks
[21:32:32 CEST] <c_14> ploopkazoo: https://ffmpeg.org/ffmpeg.html#Stream-specifiers-1 basically -map m:lang:eng
[21:32:53 CEST] <llogan> Laurenceb__: go here http://johnvansickle.com/ffmpeg/
[21:35:03 CEST] <llogan> c_14: would be a good example for -map docs
[21:35:34 CEST] <c_14> llogan: It's already there.
[21:35:44 CEST] <c_14> https://ffmpeg.org/ffmpeg.html#Advanced-options
[21:35:46 CEST] Action: llogan is apparently too lazy to look
[21:35:48 CEST] <c_14> The last one
[22:17:27 CEST] <Mista-D> how do I skip message of "built on.." and all lib versions. trying to log FFmpeg ERROUT to a log file a little more compact.
[22:18:49 CEST] <Grobo> hmm, setting a "fixed quality scale (VBR)" seems to have made the difference (-q 1). I'm not sure how the quality scale relates to everything else, though
[22:26:48 CEST] <c_14> Mista-D: -hide_banner
[22:27:09 CEST] <Mista-D> c_14: Thank you, got it.
[22:34:05 CEST] <ploopkazoo> c_14: perfect, thanks
[22:42:38 CEST] <Grobo> ugh, then it ignores the maxrate... hmmm :/
[22:55:03 CEST] <TuckerD> Hello All
[22:55:24 CEST] <TuckerD> Hoping to get some help today. I'll describe in my next message
[22:59:43 CEST] <TuckerD> I want to create a video file from a bunch of jpeg images. (4000 px x 40000 px) I saw somewhere that the -i option allowed you to specify an input pattern but I can't seem to find out what patterns are usable. Right now I have all of the files that I want to use in a folder by themselves and they are listed in the order I want if you use the ls com
[22:59:44 CEST] <TuckerD> mand or *. I would like to avoid renaming them all to have numbers that are consecutive. Can anyone point me in the right direction?
[23:05:03 CEST] <llogan> TuckerD: see last example in http://ffmpeg.org/ffmpeg-formats.html#Examples
[23:06:59 CEST] <TuckerD> Thank you!
[23:10:18 CEST] <TuckerD> .
[00:00:00 CEST] --- Sat Sep  5 2015


More information about the Ffmpeg-devel-irc mailing list