[00:12] <salamanderrake> Ok I got it to work but now its just black [00:14] <salamanderrake> terminal output http://pastebin.com/tTAHg7eq [00:14] <salamanderrake> command http://bpaste.net/show/117407/ [00:14] <llogan> add -pix_fmt yuv420p as an output option [00:16] <salamanderrake> thanks that helped [00:17] <llogan> you should suggest that to the script maker [00:30] <salamanderrake> I did [00:30] <salamanderrake> still need to adjust the quality because of my isp [00:31] <brontosaurusrex> salamanderrake, i don't think you should use crf and b:v in the same sentence [00:32] <brontosaurusrex> its either one or another [00:33] <salamanderrake> crf? [00:34] <klaxa> i uh... salamanderrake, i would change your twitch-tv api key now [00:34] <klaxa> since you pasted it publicly on pastebin [00:34] <brontosaurusrex> salamanderrake, http://bpaste.net/show/117407/ , line 21? [00:34] <salamanderrake> I know [00:34] <klaxa> and it expires never [00:34] <salamanderrake> how do I change it? [00:34] <klaxa> there's some option for it, let me find it [00:37] <salamanderrake> I'm good now [00:38] <klaxa> did you find where to change it? [00:53] <salamanderrake> klaxa, yah [00:54] <salamanderrake> but now the script is broke again. lol [01:25] <salamanderrake> the problem this time was positional [08:16] <posciak> would anyone be able t ohelp me with open gop setting please? I can't seem to be able to produce a stream with SEI recovery instead of IDRs, which I think this is for. [08:16] <posciak> I tried: ffmpeg -i in.mp4 -c:v libx264 -x264opts open_gop=1 -c:a copy out.mp4 and some variations of open_gop argument, but x264 keeps reporting "open_gop=0"... what am I doing wrong? [09:09] <posciak> l [10:42] <Belliash> hello [10:44] <Belliash> id like to ask whats wrong with ffplay, or what do i do incorrectly? [10:44] <Belliash> when i try to play a stream using rtmpdump, its playing fine using this command: rtmpdump -r rtmp://95.211.186.67:1936/live/nick?token=gxqZr6H70ga1UQ5HOMoRrA -W http://goodcast.tv/jwplayer/player.swf -p http://goodcast.tv [10:45] <Belliash> but when i try to use ffplay for this, then i got error... here is the command: ffplay "rtmp://95.211.186.67:1936/live/nick?token=gxqZr6H70ga1UQ5HOMoRrA swfUrl=http://goodcast.tv/jwplayer/player.swf pageUrl=http://goodcast.tv" [10:45] <Belliash> and here is the output: http://wklej.org/hash/92fa8d131ba/ [11:04] <Belliash> http://wklej.org/hash/1785aaa92f5/ [11:12] <pyBlob> http://pastebin.com/BJfc2bMf [11:13] <pyBlob> getting a "operation not permitted", why? [11:15] <spaam> you are not allowed to read that file.. [11:16] <pyBlob> can't think of having set up a read-restriction [11:18] <spaam> its something with ffprobe. [11:18] <spaam> not your file :) [11:18] <spaam> i guess it just show the wrong error code. [11:19] <pyBlob> what was the option to make ffprobe more verbose? [11:20] <praveenmarkandu> hi. for some reasons my hls segments are not the same from .ts file to ts file [11:31] <Belliash> any1? [11:33] <saste> pyBlob, report on trac [11:34] <saste> what the file is supposed to contain? what is "srf"? [11:34] <saste> i mean in terms of stream formats [11:34] <pyBlob> saste: it's probably because the file is encrypted or something like that ^^ [11:34] <saste> pyBlob, a return value of -1 is weird anyway [11:35] <saste> especially since ffmpeg gives no indication of what's wrong with the file [11:35] <pyBlob> it's the recording of my new samsung-tv [11:36] <saste> pyBlob, create a ticket with the sample, at least we can improve the feedback [11:36] <pyBlob> ... but I already thought that it isn't as easy as giving the file to ffmpeg/ffprobe [11:37] <pyBlob> the sample is ~1.4GB ... curently I don't have a smaller one [11:37] <saste> you can cut only the first few megs [11:38] <pyBlob> I'll do that, when I've got time for that [11:39] <pyBlob> ... the format itself seems to be an mpeg-transport-stream [13:44] <blippyp> Hi everyone - I'm trying to join two video clips (basically, one is a background 'video' image and the other is smaller video centered on the screen) - I can do this fine, but I'm trying to set the top video (the smaller one centered on the screen) to have transparency... I can use the blend filter and what not, but I'm basically looking for a way to 'blend' the two images with the top one having a specified % of opacity - Anyone know h [13:46] <blippyp> I haven't tried the fade filter - but my guess is that it's something like that, only without a fade in/out time - I want the fade to be permanent and constant... [13:53] <blippyp> I think that the blend filter is what I want to use - but I can't figure out how to use the all_opacity option - so that I can set the alpha bit...??? [14:51] <zap0> how do you say "don't copy the meta data to the result file" > [14:51] <zap0> ? [15:04] <zap0> how do you create a .wav file? [15:04] <durandal_1707> !doc [15:07] <zap0> can anyone help? [15:08] <blippyp> zap0: I don't think it does copy metadata by default - what command are you using? [15:09] <zap0> blippyp an mp3 to a wav file. it copied meta data. so i'm trying to go via raw PCM, but now i'm having trouble getting it to make a wav file, i say out.wav as filename, yet it makes raw pcm file. [15:11] <blippyp> hmm, not sure about that - if you man ffmpeg and search for 'meta' you will see a way to 'clear' each meta tag, but you will have to specify each tag... [15:13] <zap0> too complicated. i'll just convert to raw, then back to wav. [15:13] <durandal_1707> so you are still not going to read documentation? [15:19] <zap0> thanks blip. i think i got it now. [15:22] <durandal_1707> there is switch to disable metadata and it is mentioned in documentation [16:13] <blippyp> if anyone was curious about my problem, the solution I just found was with using the geq filter... [16:13] <durandal_1707> blippyp: geq is generic and thus very slow.... [16:14] <blippyp> I'm all ears if you have a better solution - geq is working.... [16:14] <durandal_1707> and you can also use overlay filter [16:14] <blippyp> how? [16:14] <blippyp> overlay doesn't have the option for opacity??? [16:16] <durandal_1707> its opacity is derived from alpha plane [16:16] <durandal_1707> and you can set opacity with blend filter .... [16:16] <blippyp> yes - so how do you set that using the overlay filter? [16:17] <durandal_1707> i already told you, you modify alpha plane.... [16:18] <durandal_1707> alpha plane specify opacity for each pixel [16:18] <blippyp> I played with the blend filter - no matter what I did this image was only 'barely' visible - I couldn't get one to show more than the other... [16:18] <blippyp> I need an example - I obviously don't know what you mean... [16:19] <durandal_1707> i do not know what you are actually really doing [16:19] <blippyp> blending two videos - with one showing thru more than the other... [16:20] <blippyp> Basically - two videos, one as a backdrop - the other to be resized as I want with opacity so that I can still see the background video thru it (but only barely) [16:20] <durandal_1707> that is what blend filter do [16:20] <durandal_1707> so your need give more precise description [16:21] <blippyp> blend would only allow me to use a number between 0 and 1 and no matter what I set it to, both images were barely visible... maybe I was using it wrong, but I don't think... [16:21] <blippyp> think so... [16:22] <durandal_1707> you can do that with crop: crop what images you want to blend (and how to blend) and than overlay that overlays blended image on top of bigger one.... [16:22] <blippyp> that's what I did - i cropped it out and blended it with geq [16:22] <durandal_1707> you can't blend wit geq... [16:22] <blippyp> yes you can - I just did it [16:22] <durandal_1707> geq can only "blend" with color [16:23] <blippyp> there ya go... [16:23] <durandal_1707> so you just blend something with background color, that is not much .... [16:24] <blippyp> blend doesn't work right [16:24] <durandal_1707> really? [16:24] <blippyp> I literally tried pretty much everything... [16:24] <blippyp> seriously [16:24] <blippyp> both images were extremely transparent - I couldn't get one to be the 'parent' and show thru more [16:25] <durandal_1707> then you did not cropped at all [16:25] <blippyp> although I didn't play around with all_expr too much, perhaps that would have helped... [16:25] <blippyp> not with blend I didn't [16:25] <blippyp> maybe that was the 'key' [16:25] <durandal_1707> also blend filter have expressions too, so you can do same as with geq, but much more than blending just static color [16:27] <durandal_1707> but using combination of crop,blend and overlay may be faster [16:27] <blippyp> brb, my kids up - I gotta go change here diaper and give her a bottle... [16:31] <salamanderrake> the error trying to capture output from a window to put in a webm file http://pastebin.com/BBz0aMNT the script http://bpaste.net/show/117599/ [16:31] <salamanderrake> is the -s flag for video out a scale option? [16:31] <pyBlob> I'm searching for an option that tells ffmpeg to start decoding at a specific frame ... but "-ss" or the other options seem to accept a timestamp only, not frames [16:33] <zap0> pyBlob, what is a 'frame' ? [16:34] <pyBlob> it's one image of the video [16:34] <zap0> what is an image of the video? [16:34] <durandal_1707> salamanderrake: that error is nonsense - there should not be such error at all.... [16:35] <salamanderrake> durandal_1707, really [16:35] <pyBlob> zap0: so how would you call it? [16:35] <salamanderrake> would it be a libvpx limitation? [16:35] <zap0> pyBlob, call what? [16:35] <salamanderrake> an image of a video is a frame [16:36] <durandal_1707> you build it yourself? [16:36] <salamanderrake> durandal_1707, gentoo [16:36] <durandal_1707> salamanderrake: one thing i dont unerstand: why you scale to 1x480 image? [16:36] <zap0> pyBlob, not being difficult. you really do need to think quite hard about this. the reason there is no 'frame', is because you define it as a point in time. [16:37] <salamanderrake> thats what I got from here https://www.virag.si/2012/01/webm-web-video-encoding-tutorial-with-ffmpeg-0-... [16:37] <durandal_1707> salamanderrake: 1x480 is not watchable at all [16:37] <salamanderrake> durandal_1707, what should I set that as? [16:37] <salamanderrake> or drop it [16:37] <durandal_1707> it is -1 not 1 [16:37] <pyBlob> zap0: that's the point ... I don't specify a framerate, so I also can't use the time to get the n-th frame of the video [16:38] <salamanderrake> durandal_1707, so it should be -1:480 ? [16:38] <durandal_1707> yes [16:38] <durandal_1707> use your brain cells [16:39] <salamanderrake> thanks [16:39] <salamanderrake> and learn to read [16:39] <salamanderrake> cause its right there [16:39] <zap0> pyBlob, you can't get the "what?-th" of the video? you are going in circles cause you still think a 'frame' is something a video has. [16:40] <blippyp> pyBlob: http://superuser.com/questions/459313/how-to-cut-at-exact-frames-using-ffmpe... [16:40] <pyBlob> -.- [16:41] <blippyp> Also, you cannot copy, you MUST re-encode the video to do precision cuts... [16:42] <zap0> pyBlob, do you `get it` yet? [16:44] <pyBlob> that's what I've figured out too, so there is no straightforward way to do that, even if there is no audio in the video? [16:45] <zap0> audio is irrelevant. [16:45] <pyBlob> nice [16:49] <salamanderrake> with the script I showed you and the fix I got no audio [16:49] <pyBlob> with "-vframes" you can specify how many frames should be recorded, why isn't there something similar to specify the start-offset using a framecount? [16:50] <pyBlob> theoretically I could use "-r 1 -ss <framecount>"? [16:50] <durandal_1707> salamanderrake: that is probably not ffmpeg issue [16:51] <salamanderrake> I get audio with other scripts [16:51] <salamanderrake> if anything its vorbis [16:52] <salamanderrake> the streaming script http://bpaste.net/show/117609/ [16:53] <blippyp> -ss num is the miliseconds - not framecount... [16:54] <pyBlob> ooops ... so I have to set -r to 1000 [16:55] <blippyp> -r is your framerate, you don't want it at 1000 [16:56] <salamanderrake> and the video is like altra fast [16:57] <durandal_1707> salamanderrake: with rtmp or with webm? [16:59] <salamanderrake> ohh sorry with webm [16:59] <salamanderrake> I changed the fps and it made it wors [16:59] <salamanderrake> *worse [17:01] <durandal_1707> salamanderrake: set -framerate for x11grab [17:01] <durandal_1707> default one is ntsc [17:01] <salamanderrake> oh ok [17:01] <durandal_1707> so if you record at ntsc and than trascode to !ntsc funny things happen [17:02] <salamanderrake> what about this -quality option I can not find it in the wiki [17:02] <salamanderrake> sorry this is the webm wiki not the ffmpeg wiki http://wiki.webmproject.org/ffmpeg [17:03] <durandal_1707> look at libvpx wrapper documentation... [17:08] <salamanderrake> what is the scale for 16:10 ? [17:09] <salamanderrake> the -vf scale=-1:1.6 [17:09] <durandal_1707> salamanderrake: there is documetnation for scale filter [17:10] <durandal_1707> where -1 thing is explained.... [17:10] <durandal_1707> and bunch of others nice features [17:13] <salamanderrake> reading the wrong page then http://trac.ffmpeg.org/wiki/Scaling%20(resizing)%20with%20ffmpeg [17:13] <durandal_1707> what is wiki [17:14] <salamanderrake> https://ffmpeg.org/ffmpeg-filters.html#scale is what I am looking fore [17:14] <salamanderrake> *for [17:15] <salamanderrake> so I basicly don't need it unless I am resizing it [17:16] <durandal_1707> yes [17:29] <salamanderrake> I set the fps back to 25 fps for the x11grab and its still plays fast. [17:32] <salamanderrake> here is the new script http://bpaste.net/show/117623/ [17:48] <durandal_1707> salamanderrake: you still do not set framerate at wich you record [17:49] <durandal_1707> default framerate at which x11grab records is ~30 [17:49] <durandal_1707> reported as 29.97 [17:50] <durandal_1707> i already said that -framerate cotrols fps at which x11grab records [17:50] <durandal_1707> and same one is already explained in, guess where, documentation [18:02] <gerion> https://github.com/OpenHEVC/openHEVC just discovered, is this known? maybe this could be used to implement hevc nativly in ffmpeg [18:03] <gerion> openHEVC is an open source compliant HEVC video decoder created as a fork of Libav for research purposes [18:03] <JEEBsv> gerion: openhevc's decoder is smarter's :P [18:04] <JEEBsv> they just hacked on it :D [18:04] <JEEBsv> and smarter is on #ffmpeg-devel and #libav-devel [18:04] <JEEBsv> so yes, it is known [18:04] <gerion> JEEBsv: ah ok [18:04] <JEEBsv> the problem with openhevc folk was that they basically only cared about their herpy derpy API [18:04] <JEEBsv> thus breaking compatibility with normal libavcodec in all ways possible [18:05] <JEEBsv> lately they finally started backporting their changes into proper libavcode [18:05] <JEEBsv> *libavcodec [18:05] <JEEBsv> (the libav repo under openhevc) [18:07] <gerion> nice to know, that there are efforts ;) [18:21] <salamanderrake> thanks I missunderstood what you said earlyer [18:22] <salamanderrake> oh and there is audio now. [18:42] <sekh> hi [18:42] <sekh> can you help me, I'm trying to use the alsa output of ffmpeg [18:43] <sekh> I'm not sure of how to use it [18:43] <sekh> ffmpeg -f lavfi -i aevalsrc="0::duration=10" -f alsa - [18:44] <sekh> thanks, but I already read it [18:47] <sekh> https://pastee.org/dmb2h [18:51] <pfloyd> When I use -vf "transpose=1" the resulting video is all black. full command line is: ffmpeg -y -i in.mp4 -vf "transpose=1" out.mp4 and this is the latest ffmpeg as of a few mins ago and a fresh git clone (ffmpeg version N-54954-g7ac736a) [19:00] <durandal_1707> pfloyd: what you use to play? [19:00] <pfloyd> it's just windows media player. I suppose I could try vlc [19:02] <pfloyd> it does play in vlc, hmm [19:09] <sekh> I finally found how to do it, but it's not clear in the documentation http://ffmpeg.org/ffmpeg-devices.html#alsa :-) [19:10] <sekh> maybe just a link to the input alsa format can be useful [19:10] <sekh> (about the syntax) [23:05] <linemimic> I made a simple script for streaming a video file with ffmpeg or avconv: http://pastebin.com/4ypbkNDh3 [23:29] <Fjorgynn> Dang! [23:29] <Fjorgynn> linemimic: :) [23:31] <linemimic> :) [00:00] --- Sat Jul 27 2013
participants (1)
-
burek