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

burek burek021 at gmail.com
Wed Oct 31 02:05:01 CET 2012


[00:11] <Sashmo> Anyone have an idea why my video output looks like its strobing? My source is 30fps, and my output is 30FPS.  I am transcoding a live transport stream from h.264 to a lower bit rate h.264
[00:11] <Sashmo> The source does not have the strobe.  The source is interlaced, and I deinterace the output, could it be coming from there?
[00:13] <relaxed> Perhaps, pastebin the command and all output.
[00:31] <njbair> I have a bunch of videos with different aspect ratios and resolutions. Should I use -s to set a max width and height?
[00:33] <relaxed> njbair: What is your goal?
[00:33] <njbair> I want to make mobile-friendly versions of all my videos, for phones mainly
[00:35] <relaxed> Is there a target resolution?
[00:35] <njbair> I'm thinking 432x320
[00:36] <njbair> I think widescreen for mobile is 480x272
[00:38] <Sashmo> can anyone help out with mpegts and selecting a program,  I know the program is there at 7001, and the separate pa/v pids at 7011 and 7012, but any combination of -map 0:p or -map 0:a or v does not work, any help? http://pastebin.com/Vj5FC0U1
[00:38] <bjrohan> I still can not for the life of me figure out what is horribly wrong with my video recording/converting settings, I am really messed up!
[00:38] <relaxed> njbair: maybe for phones 3+ years ago
[00:42] <relaxed> Sashmo: -map 0:17 -map 0:33  (for 7011)
[00:43] <njbair> is -s the right option or is there another way to scale video?
[00:43] <relaxed> njbair: -filter:v scale=
[00:44] <bjrohan> I have uninstalled, re installed, ffmpeg the libav53 plus the extras and STILL problems
[00:44] <relaxed> read about the scale and pada filters in the man page
[00:44] <relaxed> bjrohan: problems with ffmpeg or other software?
[00:45] <bjrohan> althought I think the issues may be from my recordmydesktop ogv files, again probably from ffmpeg
[00:45] <bjrohan> BRB
[00:45] <relaxed> bjrohan: yes, I'm pretty sure that program sucks.
[00:45] <bjrohan> RecordMyDesktop?
[00:45] <relaxed> yes
[00:45] <bjrohan> do you have a good one to use to record my desktop?
[00:46] <relaxed> ffmpeg
[00:46] <bjrohan> I tried Kazam but it hangs
[00:46] <bjrohan> is their a GUI for it?
[00:46] <relaxed> not that I'm aware of
[00:47] <relaxed> I believe the ffmpeg wiki shows you how to do it on the command line.
[00:48] <bjrohan> Will give it a try, what format does it record to?
[00:49] <relaxed> anything
[00:50] <bjrohan> I think that is the issue, I don't know that ffmpeg will convert to amything for me :-( I am stuck. I tried to use WinFF, says it can't find ffmpeg
[00:50] <bjrohan> what is a simple line I can try from an expert to show me that it does work
[00:50] <bjrohan> and will save as say mpeg4
[00:51] <relaxed> spend 5 minutes reading the wiki on how to do this and I'll show you.
[00:52] <bjrohan> ok
[00:54] <bjrohan> I found : ffmpeg -f x11grab -r 25 -s 1280x720 -i :0.0+0,24 -vcodec libx264 -vpre lossless_ultrafast -threads 0 video.mkv
[00:54] <bjrohan> for this I can just input my screen res right?
[00:54] <bjrohan> which is 1680 x 1050
[00:54] <bjrohan> a wrog size
[00:54] <bjrohan> weird size
[00:56] <durandal_1707> bjrohan: so tried it?
[00:56] <bjrohan> http://paste.ubuntu.com/1316762/
[00:57] <relaxed> ffmpeg -f x11grab -r 25 -s 1680x1050 -i :0.0 -vcodec mpeg4 -qscale 4 output.avi
[00:58] <bjrohan> http://paste.ubuntu.com/1316765/
[00:59] <relaxed> and?
[00:59] <bjrohan> It recorded :-). No audio, but I ca figure that out. Why no mkv?
[01:00] <relaxed> change the output extension to mkv if that's what you want
[01:01] <bjrohan> Not sure what I want. Here is what I want. Thank you for your help.
[01:01] <bjrohan> THank you
[01:01] <bjrohan> I want to record my desktop with audio
[01:01] <bjrohan> Save audio, import it into an editor for fading etc.
[01:02] <bjrohan> then render to a file of common type for web
[01:19] <Sashmo> anyone have luck with mapping a mpegts stream as an input?  every time I check the stream, it says that video is 0:0 and audio is 0:1 and when I map it, it shows after that the source has changed to 0:2 and 0:3, check my pastebin, I put both ffmpeg -i and ffmpeg command to see whats happening, I think its a bug!!
[01:19] <Sashmo> http://pastebin.com/0atMjHiv
[01:25] <durandal_1707> hmm i think similar problem is reported for vob files
[01:28] <Sashmo> durandal_1707: well technically vob is the same thing
[01:31] <durandal_1707> it is definitely bug
[01:32] <Sashmo> actually, it wont even accept just transcoding video, that will map properly, but the output just keeps dropping frames
[01:33] <Sashmo> I am able to use the -map 0:p:7001 to select program, but the output is all dropped, I can see the counter climbing
[01:33] <durandal_1707> what counter?
[01:33] <Sashmo> frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=0 drop=1833
[01:36] <Xgates> hi guys
[01:37] <Xgates> is 0.10 safe to use on LInux? I found this online; http://www.h-online.com/security/news/item/Microsoft-and-Secunia-warn-of-FFMpeg-vulnerabilities-1732963.html
[01:38] <Xgates> I'm assuming that's for on Windows based OS, not Nix...
[01:40] <Xgates> 0.10.6 was released on 2012-10-26 so I'm assuming it's good
[01:40] Action: Xgates trys that
[01:43] <durandal_1707> Xgates: not sure, ask michaelni , he usually backport fixes to older branches
[01:43] <Xgates> ok I'm sure 0.10.6 is ok thanks
[02:07] <Xgates> oops got a compile error; vaapi not found, I'm assuming that there's been an update to 0.10.6 that now requires this?
[02:09] <Xgates> or I thought this was in libva?
[02:11] <durandal_1707> Xgates: you are using custom configure options?
[02:12] <Xgates> I'm compiling from source yes and I'm going to grab the latest libva here 1.1.0; http://www.freedesktop.org/software/vaapi/releases/libva/
[02:17] <bjrohan> Hey durandal_1707 I could use some more help if you are willing.  I will just record my desktop straight from the commandline, I was able to do so without audio, I want to add in audio. In your opinion what is the best general codec to use for those for the best quality, then I will try to put that into the editor
[02:19] <durandal_1707> whatever editor you use supports
[02:20] <bjrohan> It appears to support the desktoprecorder ogv, but the track are offsync, so let's rule that out I really won't know until I record with audio and am sure it imports okay. mpeg-4 is what I would like to try
[02:21] <bjrohan> Here is my screenshot from the successful avi recording with some errors, what is the keyring error that keeps coming up? http://paste.ubuntu.com/1316765/
[02:21] <bjrohan> One of the errors is th mpeg-4 seend here: Incompatible pixel format 'bgra' for codec 'mpeg4', auto-selecting format 'yuv420p'
[02:26] <bjrohan> durandal_1707: I tried to record audio by using the sample line in ffmpeg.org and here is what I ended up with: http://paste.ubuntu.com/1316880/
[02:27] <durandal_1707> your crippled build is really compiled with x264 support?
[02:27] <bjrohan> I dunno :-(
[02:28] <durandal_1707> find out
[02:28] <bjrohan> How?
[02:28] <bjrohan> I don't think it is, I did get a lot of errors from the gui about not having x264. How can I get it?
[02:29] <durandal_1707> bjrohan: there are static ffmpeg builds
[02:30] <bjrohan> But If I want to use a GUI to export an edited video file, won't I need the regular install?
[02:30] <bjrohan> Or the gui will use what crap I have, and the static will go in my home directory for only me
[02:31] <durandal_1707> gui what?
[02:31] <durandal_1707> you could use static build to recoder vidoe and audio
[02:32] <durandal_1707> there are even debian and ubuntu packages
[02:34] <bjrohan> durandal_1707: I seriously appreciate your help.  So if I understand there are static builds that I can use that system wide? What is the diff between this and the packages from my package manager?
[02:34] <bjrohan> I have to go but will be back on in about 20 minutes. Thank you very much!!!
[02:34] <durandal_1707> static builds are one big ffmpeg
[02:53] <bjrohan> Can anyone who is here help me regarding a static ffmpeg build for Ubuntu so that I can record my desktop with audio effeciently?
[03:13] <grepper> bjrohan: http://ffmpeg.gusari.org/static/
[03:15] <bjrohan> grepper, do you have some time to help me get over my issues with video/audio recording?
[03:15] <grepper> maybe, what issues ?  I'm no expert
[03:17] <bjrohan> Well, lots. I am trying to record my desktop with audio, the edit the movie. I can record in recordmydesktop to an ogv file (I have tried Kazam, but after 10 seconds it records, but in playback it was glitchy like it was overloaded)
[03:17] <bjrohan> I import the ogv to OpenSHot and the video and audio are out of sync
[03:17] <bjrohan> playing in vlc they are in sync
[03:18] <bjrohan> I try to convert the ogv file in vlc player or via ffmpeg command line I get all kinds of errors,looks like i don't have libx264, however I do have libx264-123 from repo
[03:19] <bjrohan> so basically it was recommended I use a staitc ffmpeg by some, as I have uninstalled everything in the repo, did a compliation I found on ffmpeg.org still nothing going
[03:20] <bjrohan> grepper, do you know how to install/use a static ffmpeg?
[03:20] <grepper> bjrohan: just put it somewhere on your PATH and use it
[03:20] <bjrohan> so would I put it in my home dir, or put it in my root system?
[03:21] <grepper> I'd put it in ~/bin/ since that is in my PATH, and call it ffmpeg-static or somesuch so you don't get confused
[03:21] <grepper> echo $PATH , to find out your PATH
[03:22] <grepper> or in /usr/local/bin if you prefer, but I save /usr/local for packages I compile and install myself
[03:23] <bjrohan> How will other programs know to use it if I put it in ~/bin
[03:23] <bjrohan> symlink?
[03:24] <bjrohan> Do I uninstall the ffmpeg mess I have
[03:26] <grepper> bjrohan: its an executable, you can just run it from the current directory by doing ./name_of_downloaded_ffmpeg ...
[03:26] <grepper> since your linux knowledge seems limited wrt the executable search path
[03:28] <bjrohan> it is very limited, but I was happy I knew the diff between ~/ and / :-D
[03:29] <bjrohan> so put the file in ~/bin/    I want to export.convert files from programs like VLC and OpenSHot video editor, how do I tell them where it is?
[03:30] <bjrohan> Or am I way off base as to how  those programs work
[03:32] <grepper> do "echo $PATH" as I asked you to.
[03:32] <grepper> if ~/bin is not contained within it putting it there won't work
[03:33] <bjrohan> here is the output: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/bjrohan/android-sdk-linux/tools:/home/bjrohan/android-sdk-linux/platform-tools
[03:33] <bjrohan> Gotcha!
[03:33] <bjrohan> now it clicked.
[03:33] <bjrohan> If I out ffmpeg in ANY of those it is as if I put it in /usr/bin
[03:34] <grepper> gotta go, good luck
[03:34] <bjrohan> NOW what if I have ffmpeg that doesn/t work in /usr/bin (or wherever it is)
[03:34] <grepper> rename it
[03:34] <bjrohan> where would it normally be located
[03:34] <bjrohan> rename it ffmpeg.old
[03:34] <bjrohan> ffmpeg.carp
[03:35] <bjrohan> ffmpeg.crap
[03:35] <grepper> sure.  you could use /usr/local/bin/ as its ahead in the PATH of /usr/bin
[03:36] Action: grepper late, see ya 
[03:36] <bjrohan> thanks
[03:36] <bjrohan> see ya
[03:55] <bjrohan> HELP. I installed a static ffmpeg build. I am trying to do a desktop record, and I get an error message when I paste a command from a wiki page saying how to do it without audio, here is my command and output: http://paste.ubuntu.com/1317005/
[03:55] <leeboo> hello~
[03:55] <bjrohan> hi leeboo
[03:55] <bjrohan> are you a noob?
[03:56] <bjrohan> I ask because I need help :-)
[03:56] <leeboo> i need help too
[04:01] <bjrohan> You can ask, I know very little
[04:04] <leeboo> in my case,  av_read_frame return -110, i don't know how to fix it and why. can you give me some help?
[04:11] <bjrohan> Nope, sorry :-(
[04:11] <bjrohan> Can someone give me pointers/help on recording my desktop with audio using ffmpeg commandline into mpeg-4? Thanks.
[04:15] <mudkipz> Well, I'm not an ffmpeg user, I came in to ask for help too. Though I've done desktop video and audio capture before.
[04:16] <mudkipz> To capture your desktop you can use x11grab, and to capture audio it will depend in if you're using alsa, oss, or pulse, you can also combine multiple audio streams with sox.
[04:17] <Xgates> when I try to compile 0.10.6 I'm getting vaapi not found and I have libva-1.1.0
[04:18] <mudkipz> You may need to compile your ffmpeg with "--enable-libx11grab" though in order to get it to work.
[04:18] <bparker> Xgates: do you have the dev package installed for libva?
[04:18] <bjrohan> here is my dilemna, I had tried to capture with some help, and was able to record avi no audio. I then tried audio but a no go I will paste what I got
[04:18] <mudkipz> You may also need to enable stereo mix on your card's settings if they're not already enabled by default.
[04:18] <bparker> bjrohan: gstreamer can record both audio/video from practically any source
[04:18] <Xgates> this is slack and I'm compiling from source so not sure what dev package you are referring to...
[04:19] <Xgates> never had this issue in the past, with older versions
[04:19] <bparker> if you compiled libva from source then hopefully it installed everything you need
[04:19] <bparker> headers etc.
[04:19] <bjrohan> bparker I am in a conundrum now. Do you have some time while I go though it
[04:19] <bparker> I don't ,sorry
[04:20] <mudkipz> Try something like this bjrohan. $ffmpeg -f x11grab -r 25 -s 640x480 -i :0.0+0,0 -f alsa -b:a 128k -ac 2 -i hw:0,0,0 -vcodec libx264 -preset medium -acodec libmp3lame cast.mkv
[04:20] <mudkipz> assuming you're using alsa.
[04:23] <bjrohan> I think I am using pulse, I am on Kubuntu.  Here is my dilema. I couldn't get things to work, so I installed a static build, renamin my stock one from ppa ffmpeg.old. I ran WINFF it still said no ffmpeg.I found the preferences were wrong. I pointed it to ffmpeg.old and it converted just fine. HOWEVER via commandline it was not working
[04:23] <bjrohan> running the command you gave me via the static I receive:
[04:23] <bjrohan> bjrohan at bjrohan-MM061:~$ $ffmpeg -f x11grab -r 25 -s 640x480 -i :0.0+0,0 -f alsa -b:a 128k -ac 2 -i hw:0,0,0 -vcodec libx264 -preset medium -acodec libmp3lame cast.mkv
[04:23] <bjrohan> -f: command not found
[04:23] <bjrohan> bjrohan at bjrohan-MM061:~$
[04:24] <mudkipz> oh, remove the dollar sign.
[04:24] <mudkipz> still though, if you're using pulse it won't work probably.
[04:24] <leeboo> i build ffmpeg on android, and connect with wifi, everything ok, but connect with 3g, av_read_frame return -110, how to fix it?
[04:24] <mudkipz> Unfortunately I have little to no exprience with pulse.
[04:25] <bjrohan> I knew that sorry
[04:26] <bjrohan> This is what I get from my static ffmpeg build I installed: http://paste.ubuntu.com/1317029/
[04:26] <bjrohan> BTW my screen size is 1680x150
[04:27] <bjrohan> 1050
[04:27] <bjrohan> 1680x1050 I want to record to MPEG-4 if possible
[04:27] <mudkipz> This is probably a longshot, but try this. $ ffmpeg -f x11grab -r 25 -s 640x480 -i :0.0+0,0 -f alsa -b:a 128k -ac 2 -i pulse -vcodec libx264 -preset medium -acodec libmp3lame cast.mkv
[04:28] <mudkipz> oh
[04:28] <mudkipz> it has no x11grab
[04:29] <mudkipz> There are other ways to capture the desktop I think, x11grab is just one of them. How did you get it to work before?
[04:29] <mudkipz> When you said you got video but no audio.
[04:29] <bjrohan> I had used my system installed ffmpeg. I will reenable it hold on
[04:32] <bjrohan> Uh oh. Here is what I have my orignal ffmpeg in /usr/bin, my static in /usr/local/bin
[04:32] <bjrohan> I changed my /usr/local/bin to ffmpeg.old, and my other one from .old to just ffmpeg
[04:33] <bjrohan> bash: /usr/local/bin/ffmpeg: No such file or directory
[04:33] <bjrohan> is the error I get, how do I refresh it to /usr/bin
[04:34] <mudkipz> I'm not sure you can swap binaries like that.
[04:35] <bjrohan> Here is what I have now:
[04:35] <bjrohan> http://paste.ubuntu.com/1317041/
[04:35] <bjrohan> this is the original ffmpeg. Is it recording? I don't see the ctrl-c to stop
[04:36] <mudkipz> kubuntu is switching ti libav?
[04:36] <mudkipz> I'm not sure, try hitting q or ctrl+c and checking the file.
[04:39] <bjrohan> hold on, computer is going slloooowww
[04:40] <bjrohan> cast.mkv should be in home dir correct
[04:40] <bjrohan> it is not
[04:40] <mudkipz> it should be in the same directory you ran the ffmpeg command from
[04:40] <bjrohan> yep
[04:41] <bjrohan> not there
[04:41] <bjrohan> I ran command in ~
[04:41] <bjrohan> I don't recall what I did to get avi no audio
[04:42] <bjrohan> Check this out mudkipz: http://paste.ubuntu.com/1317061/
[04:42] <mudkipz> hmm
[04:43] <bjrohan> I just pulled that off of an ffmpeg help wiki
[04:44] <bjrohan> I dunno why that failed at all
[04:44] <bjrohan> I am clueless
[04:44] <mudkipz> I have no idea.
[04:44] <bjrohan> ok
[04:45] <mudkipz> As I said though, I'm not an ffmpeg dude or anything so maybe someone else can shine some light on this.
[04:46] <bjrohan> I htink I can limp along. My issue had been recordmy desktop gave me ogv file, which if I put in OpenSHot the video and audio wa way off. Now i am able to convert the ogv to mp4 with WINFF, import it to OpenSHot and it seems to work
[04:46] <bjrohan> Thank you for your help!
[04:46] <mudkipz> good luck
[04:47] <bjrohan> Thanks :-)
[04:48] <mudkipz> I'm having trouble capturing video from a video4linux2 source. I can get it to work in vlc but not ffmpeg and I'm not sure why. I think I need to pass a parameter to ffmpeg telling it that it's NTSC M or something but I don't know how.
[04:48] <mudkipz> It spits out these two errors.
[04:48] <mudkipz> [video4linux2,v4l2 @ 0x25ed260] The v4l2 frame is 701280 bytes, but 524880 bytes are expected
[04:48] <mudkipz> /dev/video0: Invalid data found when processing input
[04:48] <mudkipz> Here is a pastebin of a bunch of stuff. http://pastebin.com/jDTi2V07
[04:57] <bparker> mudkipz: according to some random amazon reviewer, the ones with SMI chips are fake
[04:57] <bparker> I noticed your output says SMI
[04:58] <mudkipz> Yea, that's something that's been thrown around, though I've also heard that all the companies were manufacturing in china and one of them changed manufactuers and started calling the others fake to take over the market share.
[04:59] <mudkipz> Either way, the specific kernel driver I'm using is designed specifically for this chipset.
[04:59] <mudkipz> It's still experimental, but it works with vlc.
[04:59] <mudkipz> I just can't figure out why I can get it to work for vlc and not ffmpeg.
[05:00] <mudkipz> My intention is to push the capture device to an rtmp server through ffmpeg. I've already got everything else worked out except for this.
[05:03] <bparker> mudkipz: it looks related to the frame size difference
[05:03] <bparker> "524880 bytes are expected" <- which means it thinks the frame is 720x487 (720 * 487 (Y) * 2 (UV) = 524880)
[05:03] <mudkipz> Yea, but I'm not very knowledgable on video stuff, so I'm not really sure what it means or how to fix it?
[05:04] <bparker> err, I meant equals 701280
[05:04] <bparker> so ok
[05:04] <bparker> mudkipz: check this out
[05:04] <mudkipz> hehe, yea I was about to say.. I was checking the math on my end too.
[05:04] <bparker>     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x486, 125845 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
[05:04] <bparker> this is your problem
[05:04] <bparker> the card outputs UYVY
[05:04] <bparker> and ffmpeg assumes I420
[05:05] <bparker> you need to add -pix_fmt uyvy422 to your cmdline
[05:05] <mudkipz> okay, let me try that.
[05:10] <bparker> and if the card really does capture at 720x487 instead of the normal 720x486, might want to add -s 720x487 to the cmdline also
[05:10] <bparker> or else you might get the bottom line of video stuck at the top of the next frames
[05:12] <mudkipz> hmm, I'm getting the same error, but with different numbers now.
[05:12] <mudkipz> http://pastebin.com/DWhTwW7a
[05:12] <mudkipz> Here it is running twice.
[05:13] <mudkipz> I had that in earlier, I'll add it back in just to be sure.
[05:14] <bparker> ok
[05:14] <bparker> it's also possible that your card is just outputting crap
[05:15] <bparker> maybe it can be ignored
[05:15] <mudkipz> hmm
[05:17] <mudkipz> I added in that -s value and it seemed like it was working for a bit, but now I think it crashed my window manager.
[05:17] <mudkipz> hahaha
[05:20] <mudkipz> it did work for a bit it seems, kind of.
[05:21] <mudkipz> How would I go about making ffmpeg ignore any 'crap'?
[06:08] <bparker> mudkipz: I have no idea
[06:09] <bparker> I usually capture with gstreamer, it tends to ignore any weird stuff
[06:09] <mudkipz> Sorry, after that I restarted my computer and it's been running fsck on my hard drive because it's been mounted more than 20 times.
[06:10] <mudkipz> It's just finishing up now. I'll do some more tests in a bit.
[06:10] <bparker> ok, I'll probably be in bed soon
[06:11] <bparker> after 1am here
[06:12] <mudkipz> Yea, no worries, I've been at this for some time now and am not going to give up any time soon.
[06:13] <bparker> if you don't have success with vlc and you're not married to it, I could show you how to do it with gstreamer later
[06:14] <mudkipz> Oh, no that's the thing it DOES work in vlc, not initially, for some reason I have to manually tell it it's "NTSC M" the first time after I boot up, but afterwards it seems to just know.
[06:14] <mudkipz> I want it to work with ffmpeg, the reason is because ffmpeg can output to rtmp servers which are used for livestreaming.
[06:14] <bparker> yea that's a v4l2 thing
[06:15] <bparker> gstreamer can send to rtmp also
[06:15] <bparker> when you set something like the video standard (ntsc) on a v4l2 device, it's remembered the next time some device opens it and doesn't explicitly set it itself
[06:16] <mudkipz> ooh
[06:16] <bparker> you can do it on the commandline right before the ffmpeg command if it doesn't have an option for it
[06:16] <mudkipz> I see
[06:16] <bparker> like v4l2-ctl --set-standard blah -d /some/dev or something like that
[06:16] <mudkipz> Oh I see!
[06:16] <mudkipz> That's good to know
[06:17] <bparker> --set-standard=ntsc-m should work
[06:17] <mudkipz> I'd also be interested in learning how to use gstreamer sometime.
[06:17] <bparker> ok
[06:17] <mudkipz> Thanks!
[06:18] <bparker> np
[06:24] <mudkipz> seems that with the -s it sometimes works for a little while and sometiems does not.
[06:25] <bparker> hmm
[06:27] <mudkipz> well I can always play it in vlc and then use ffmpeg's x11grab to capture it on the desktop. hahaha
[06:28] <mudkipz> I'll play around with this some more to see if I can get it more stable. Thanks for your help.
[06:29] <bparker> are you just trying to play it back for now?
[06:34] <mudkipz> Yea, well I'm trying to get it to output to a file
[06:36] <mudkipz> http://pastebin.com/uYqux3Ye
[06:36] <mudkipz> It runs for a while before crashing
[06:36] <mudkipz> sometimes
[06:36] <mudkipz> but yea, I figure if I can get it to output to a file then I can get it to output to an rtmp stream.
[06:41] <mudkipz> Trying to send it to an rtmp stream does seem to spit out some more errors. I'll have to deal with those later on.
[06:48] <bparker> mudkipz: I'd also add -tune zerolatency after -preset
[06:48] <bparker> not that it will make a difference for the current problem
[06:49] <mudkipz> yea, seems to be about the same.
[06:49] <mudkipz> that changes the frequency of i-frames with x264, right?
[06:50] <bparker> no it just decreases latency
[06:50] <mudkipz> It seems to work for longer now, doesn't break after a little while
[06:51] <mudkipz> The file it creates plays back fine with vlc, but it seems to have messed up seeking. Like the times on it are just ridiculous and the bar itself doesn't seem to be movable.
[06:52] <bparker> you could try something like this: gst-launch-0.10 -e v4l2src ! video/x-raw-yuv, width=720, height=487, framerate=2997/100, format=UYVY ! ffmpegcolorspace ! x264enc preset=ultrafast tune=zerolatency bitrate=5000 ! matroskamux ! filesink location=test.mkv
[06:52] <bparker> and ctrl-c when done
[06:53] <mudkipz> cloest thing to an error in vlc playback of the file is this.
[06:53] <mudkipz> main warning: clock gap, unexpected stream discontinuity
[06:53] <mudkipz> main warning: feeding synchro with a new reference point trying to recover from clock gap
[06:53] <mudkipz> ok, I'll try that command now.
[06:54] <mudkipz> I get this
[06:54] <mudkipz> WARNING: erroneous pipeline: no property "preset" in element "x264enc0"
[06:54] <bparker> speed-preset
[06:54] <bparker> sorry
[06:55] <mudkipz> Now this one. WARNING: erroneous pipeline: could not link v4l2src0 to ffmpegcsp0
[06:56] <mudkipz> I've never used gstreamer so I have no idea about the syntax.
[06:57] <bparker> try this and pastebin the output: gst-launch-0.10 -v v4l2src ! decodebin2 ! xvimagesink sync=false
[06:57] <bparker> it should show a video on screen
[06:58] <mudkipz> haha, got that same frame size error as before, guessing it's in the wrong pixel format. One sec lemme pastebin.
[06:58] <bparker> having actual console access would be so much faster to debug lol
[06:59] <mudkipz> http://pastebin.com/6nbGXn0G
[06:59] <mudkipz> Yea, I don't trust myself enough to set proper permissions though.
[07:00] <bparker> hah
[07:00] <bparker> so it seems apps have issues finding the correct framesize
[07:00] <bparker> and honestly, 487 is weird to me
[07:00] <bparker> I always see 486 or 480 coming from capture cards
[07:00] <bparker> but whatever
[07:00] <mudkipz> Yea, it is weird
[07:01] <mudkipz> I think I saw it say 486 one time earlier, but I figured it was a fluke.
[07:01] <bparker> the problem with this one: WARNING: erroneous pipeline: could not link v4l2src0 to ffmpegcsp0
[07:01] <bparker> is probably because it can't negotiate the format with the card
[07:01] <bparker> you could try using 486 instead of 487 in the gst-launch line
[07:02] <bparker> or just 480
[07:02] <bparker> or might have to add interlaced=true
[07:02] <bparker> there's a bunch of different things I could try and could probably get it working but, it's too difficult to relay it all over IRC
[07:03] <mudkipz> both just give the same warning.
[07:03] <mudkipz> hmm
[07:03] <bparker> try with GST_DEBUG=3 in front and see if you can find the actual error
[07:05] <mudkipz> In front of which element?
[07:05] <bparker> in front of the whole command
[07:08] <mudkipz> I don't think I'm doing this right.
[07:08] <mudkipz> http://pastebin.com/S9C1hTTB
[07:10] <bparker> it goes before gst-launch
[07:10] <bparker> it's an environment variable
[07:10] <mudkipz> oh wait I got it
[07:10] <mudkipz> yea
[07:10] <mudkipz> sorry, one sec
[07:11] <mudkipz> http://pastebin.com/hxxYQXtS
[07:12] <bparker> hmm
[07:12] <bparker> remove the debug thing, change the height back to 487 and change the framerate to 30000/1001
[07:12] <bparker> see if you get the same error
[07:13] <bparker> also add interlaced=true
[07:13] <bparker> after either format or framerate
[07:15] <mudkipz> same thing I think http://pastebin.com/BemAi1PL
[07:16] <bparker> ok I know what it is
[07:16] <bparker> herp derp
[07:16] <bparker> replace format=UYVY with format="(fourcc)"UYVY
[07:17] <mudkipz> that did different stuff.
[07:18] <mudkipz> http://pastebin.com/MkrUxHvd
[07:18] <bparker> ok now we're getting somewhere
[07:18] <bparker> try changing the height again
[07:18] <bparker> to 486 and/or 480
[07:19] <mudkipz> Same exact output with each of those.
[07:19] <bparker> hmm
[07:19] <bparker> ok sec
[07:21] <bparker> I would like you to pastebin the output of these commands: v4l2-ctl -I       v4l2-ctl -P      v4l2-ctl -S      v4l2-ctl --list-formats-ext-mplane
[07:21] <bparker> and v4l2-ctl -V
[07:22] <bparker> let's see what the driver says it will actually negotiate, and try to work with that
[07:22] <mudkipz> alright, I also grabbed a gst_debug of this last thing. http://pastebin.com/wd0DbjMC I'll run those commands now.
[07:22] <bparker> thanks
[07:23] <bparker> oh I see something interesting in there
[07:23] <bparker> same gst command we've been using, but change interlaced to false, and UYVY to I420
[07:23] <bparker> I bet that will work
[07:24] <mudkipz> http://pastebin.com/Z14jLE8C
[07:24] <bparker> you can probably even take out the ffmpegcolorspace element at that point, might improve the latency/cpu usage
[07:26] <mudkipz> http://pastebin.com/HtkGsFe5
[07:26] <bparker> k change to 486
[07:26] <mudkipz> The first one gave a new error about the dimensions, so I changed it to 486 and tried again
[07:26] <mudkipz> that's the second output
[07:26] <mudkipz> it stopped after that, is it writing to a file?
[07:26] <bparker> oh ok
[07:26] <bparker> yes
[07:26] <bparker> New clock: GstSystemClock
[07:26] <bparker> it is encoding now.
[07:27] <bparker> ctrl-c to stop when you're ready
[07:27] <bparker> then try to play it back
[07:27] <mudkipz> woah, yea I ctrl+c and played it. It plays back great.
[07:27] <bparker> :)
[07:27] <mudkipz> I think it may be interlaced.
[07:28] <mudkipz> So this means that it is I420 afterall? with a resolution of 720x486?
[07:28] <bparker> well, couple things.
[07:28] <bparker> one of your pastes showed what gstreamer probed from the driver as possible combinations that work
[07:28] <bparker> it supports multiple colorspaces, UYVY, YV12, I420 etc.
[07:29] <bparker> but x264 typically only uses I240 so that's why I said to use that one, and it's the most common encoded video format
[07:29] <mudkipz> ohh I see
[07:29] <bparker> and it also said that the driver does not support interlaced video
[07:29] <bparker> or at least, it makes no distinction
[07:29] <bparker> it only supports interlaced=false
[07:30] <mudkipz> I see, yea, I just noticed setting it to true makes it not work.
[07:30] <bparker> if your source is really interlaced and the driver is just broken, you can add interlaced=true to the x264enc options
[07:33] <bparker> now if you want to send that video to a streaming server, replace matroskamux ! filesink with flvmux ! rtmpsink location="rtmp://blah/mystream"
[07:33] <mudkipz> hmm, I'm getting an error if I add interlaced=true after x264enc
[07:33] <bparker> what's the exact line you're using? and the error
[07:34] <mudkipz> also the commas are confusing me, seems pastebin says I've hit my limit of 10 pastes in 24 hours.. one sec
[07:35] <mudkipz> http://pastebin.pl/68046
[07:35] <mudkipz> haha, polish pastebin
[07:35] <bparker> there's dpaste.com and pastebin.ca also
[07:36] <mudkipz> pastebin.ca was taking a long time to load for me, I'll use dpaste next time.
[07:36] <mudkipz> I'm going to try giving it an RTMP url.
[07:36] <bparker> hmm yea I get the same error with interlaced=true
[07:37] <mudkipz> should I be using commas after x264enc?
[07:37] <bparker> actually no, it works for me
[07:37] <bparker> and no, no commas
[07:38] <bparker> I see why it doesn't work though
[07:38] <bparker> you can't encode 720x486 with x264
[07:38] <bparker> because 486 isn't divisible by 4
[07:38] <bparker> it has to be 480
[07:38] <bparker> if it won't let you capture at that height then you'll have to add another element in there to resize it
[07:38] <mudkipz> ohhh
[07:39] <mudkipz> I noticed that earlier when I was trying to send the stream with ffmpeg, but I didn't understand why exactly.
[07:39] <mudkipz> ffmpeg was saying divisible by 2 though, for 487
[07:40] <mudkipz> The input is just coming in from my PS2 right now, so it should be 720x480 I think. I'm guessing some extra lines are being added to the input by the capture device.
[07:40] <mudkipz> So, maybe cropping it would be easier than resizing?
[07:40] <bparker> well, see if it will capture at 480
[07:41] <bparker> just change the 486 to 480 and see what happens
[07:43] <mudkipz> I just replaced the rtmp in that last command.
[07:43] <mudkipz> http://www.livestream.com/restisgoodfortheblood
[07:43] <mudkipz> It seems to kind of work kind of.
[07:43] <mudkipz> It wasn't this jittery when I encoded to a file.
[07:43] <mudkipz> I'll try changing to 480
[07:44] <mudkipz> more or less the same thing
[07:44] <bparker> hmm
[07:45] <bparker> if it works at 480 but it's all weird... let's make double sure it's not the stream stuff
[07:45] <bparker> can you paste me the command you're using now
[07:45] <bparker> you can omit the rtmp location
[07:45] <mudkipz> okay
[07:45] <bparker> I want to have it output directly to the screen and see if it's wonky there
[07:46] <mudkipz> http://dpaste.com/820523/
[07:47] <bparker> you tried with height=480 right?
[07:47] <mudkipz> oh right, yea I changed it to 480 right after that.
[07:47] <bparker> ok
[07:48] <bparker> try:
[07:48] <bparker> gst-launch-0.10 -e v4l2src ! video/x-raw-yuv, width=720, height=480, framerate=30000/1001, format="(fourcc)"I420, interlaced=false ! ffmpegcolorspace ! x264enc speed-preset=ultrafast tune=zerolatency bitrate=5000 ! flvmux ! flvdemux ! ffdec_h264 ! xvimagesink sync=false
[07:49] <bparker> that will encode and mux, then turn around demux/decode and output to screen
[07:49] <bparker> so it should show you exactly what the server should see
[07:50] <mudkipz> okay
[07:50] <mudkipz> comes through clear as day.
[07:51] <surfn_> hi
[07:51] <bparker> hmm
[07:52] <bparker> I wonder if it's them
[07:52] <bparker> or some congestion/net problem
[07:52] <surfn_> bparker: I noticed something you just wrote...  ! xvimagesink sync=false
[07:52] <mudkipz> I do get a little bit of flickering it seems, just really rarely.
[07:52] <mudkipz> like almost unnoticeable.
[07:52] <surfn_> will that fix my issue of: The v4l2 frame is 367 bytes, but 153600 bytes are expected
[07:53] <bparker> surfn_: no
[07:53] <surfn_> dammit
[07:54] <bparker> mudkipz: try adding h264parse before flvmux
[07:54] <bparker> with a ! inbetween
[07:54] <bparker> then do rtmp
[07:55] <mudkipz> okay, one sec
[07:55] <surfn_> bparker: do you know what causes my error?  I'm happy to read, I just don't even know where to look
[07:56] <surfn_> the rest of the line btw is: /dev/video0: Invalid data found when processing input
[07:56] <mudkipz> Still getting the flickering.
[07:56] <bparker> weird
[07:56] <bparker> surfn_: I'd have to see more output than that, but I really don't have the time right now
[07:56] <bparker> girlfriend is in bed without me as it is
[07:57] <bparker> 3am
[07:57] <bparker> lol
[07:57] <surfn_> bparker: understood.  I'll make a pastebin anyway
[07:57] <mudkipz> man
[07:57] <mudkipz> You should probably crash out, you've helped a lot already and I'll stick around while I get this sorted out.
[07:57] <bparker> you'll have to show me how to setup a livestream thingy, that's pretty neat. I signed up for the free one but can't figure out how to get the URL to send to
[07:57] <bparker> yea I'd like to go now.
[07:57] <bparker> :p
[07:58] <mudkipz> Oh, yea, I have a bunch of streamers I help out. I made a post on it recently.
[07:58] <mudkipz> http://www.ffsplit.com/forums/viewtopic.php?f=4&t=869&p=3652#p3652
[07:58] <surfn_> FYI http://pastebin.com/V7VnbAP1
[07:58] <bparker> cool
[07:58] <bparker> well thanks
[07:58] <mudkipz> The basic urls for livestream and ustream are there, but I'd be glad to help out more.
[07:59] <mudkipz> well, not group of streamers I help out, but a group of streamers who all help each other.
[07:59] <surfn_> mudkipz: can you give me a hand?
[07:59] <mudkipz> thanks again bparker :D
[07:59] <bparker> no problem
[07:59] <bparker> talk to you later
[08:00] <mudkipz> surfn_ I'm afraid that frame sizes and pixel formats are pretty over my head.
[08:00] <surfn_> mudkipz: :) mine too....
[08:03] <surfn_>  do you know where I could find info about my problem?
[08:05] <mudkipz> If I did I would tell you, personally I wouldn't mind having some good reading material on video4linux2 stuff as well.
[08:10] <bparker> mudkipz: real quick, how the $!@# do you create a channel
[08:10] <mudkipz> it's been a while since I made one so maybe they changed it, but you need to create a user account first
[08:10] <bparker> I did
[08:11] <mudkipz> and then from there you should have some options to create channels somewhere.
[08:11] <bparker> I've been looking for 5 minutes, nothing ><
[08:11] <bparker> well, tomorrow.
[08:11] <bparker> good night
[08:12] <mudkipz> Yea, I'm checking now, I forgot their new site was so crazy
[08:13] <mudkipz> wow I have no idea
[08:24] <mudkipz> I figured it out I think. Seems old and new livestream are separate systems. Old livestream has ads but your viewers don't have to be logged in. https://secure.livestream.com/myaccount/launchchannel
[08:24] <mudkipz> new livestream is sucky http://new.livestream.com/plans
[08:27] <ashwin> how can i create a video from a list of images and audio file?
[09:07] <surfn_> ok, so I've found this http://web.archiveorange.com/archive/v/yR2T4eDRCIV1ZzyRoBve which is created to deal with the problem I have - I just don't know what it is or what it means... or how I'm supposed to use it
[09:59] <tikasukaz> hi
[10:05] <tikasukaz> i have 2 server ( same hardware ) i am getting different encoding speed on both of the server.
[10:05] <tikasukaz> server 1: 350+ fps
[10:05] <tikasukaz> server 2: 150 fps max
[10:06] <tikasukaz> what could be the possible reason for this ? :(
[10:06] <tikasukaz> using x264 as video encoder on both of the server.
[10:20] <ashwin_>  how can i create a video from a list of images and audio file?
[10:32] <ne2k> can the current ffmpeg access all options of x264 now, such as --tune, --intra-refresh, --vbv-maxrate and --vbv-bufsize ?
[10:33] <surfn_> is there an ignore errors option?
[10:34] <ne2k> surfn_: you can't ignore an error. if it were ignorable, it would be a warning. surely?
[10:34] <surfn_> I'm getting this:  The v4l2 frame is 367 bytes, but 153600 bytes are expected
[10:35] <surfn_> which shuts down the stream
[10:35] <surfn_> and I just want it to keep barrelling on through
[11:29] <tr33fall> hi all
[11:30] <tr33fall> im with a doubt that i think its related to pts but not sure about it
[11:30] <tr33fall> http://pastebin.com/2YBJVpSC
[11:30] <tr33fall> that is C code for an example application that im using with ffmpeg
[11:30] <tr33fall> and i can stream and everything is working
[11:31] <tr33fall> however i got some video stops when im streaming
[11:31] <tr33fall> and then it continues after a small pause
[11:35] <tr33fall> but the final video is all there
[11:50] <tr33fall> any ideas on why the pauses in the streaming?
[11:52] <tikasukaz> maybe flash player.. i m gonna try it on flowplayer
[12:30] <ne2k> can the current ffmpeg access all options of x264 now, such as --tune, --intra-refresh, --vbv-maxrate and --vbv-bufsize ?
[12:46] <tr33fall> ne2k i use -tune:v zerolatency and so far no error was shown
[12:46] <tr33fall> about the others i dont know
[12:50] <JEEB> ne2k, -tune yes, intra-refresh might be available somehow (x264opts? check libx264.c in libavcodec), -maxrate and -bufsize
[13:18] <relaxed> JEEB: ffmpeg has -intra-refresh
[13:26] <ne2k> JEEB: I see something about rc_max_vbv_use and rc_min_vbv_use
[13:29] <relaxed> it's -maxrate and -bufsize as he already said.
[13:37] <JEEB> I'm not sure if those are maxrate/bufsize
[13:38] <JEEB> but yes, maxrate|bufsize set vbv-maxrate and vbv-bufsize
[13:39] <ne2k> JEEB: yep, I found a document that describes that
[13:39] <ne2k> thanks
[13:40] <ne2k> if I'm compiling x264 and ffmpeg from source, which depends on which, and what needs to be compiled/installed in which order?
[13:40] <ne2k> or does it not matter?
[13:42] <JEEB> x264 can use ffmpeg's libavcodec/format, but do you want that (for the x264 command line app)?
[13:43] <JEEB> you should just disable it if you don't need that
[13:43] <JEEB> if you're going to use only the library you can just --enable-static (or shared), and --disable-cli (if that's what it was)
[13:43] <ne2k> I am trying to encode and stream h264 with RTP using ffmpeg. so ffmpeg will use libx264. I have done make install-lib-shared on x264 but it doesn't actually seem to have put a libx264.so in /usr/local/lib, which seems a bit odd
[13:44] <ne2k> I wondered whether ffmpeg compiles statically against libx264, in which case it would need to be done last
[13:44] <JEEB> that's because by default x264 only compiles the x264cli
[13:44] <JEEB> --enable-static and --enable-shared in the configure will enable library compilation
[13:44] <JEEB> and then you probably will want to disable the cli
[13:45] <ne2k> I want the cli as well, for separate testing
[13:45] <JEEB> do you need lavf input?
[13:45] <ne2k> ok, my mistake was to assume that cd x264; ./configure; make; would install everything
[13:46] <ne2k> JEEB: I'm not sure. I'm streaming either from yuyv422 or yuv420p files/streams
[13:46] <JEEB> ...
[13:47] <ne2k> ...?
[13:47] <ne2k> so I don't know whether that means I need lavf input.
[13:47] <JEEB> if you want x264's command line encoder to load compressed files, then you need lavf input -- otherwise you don't need it if you're just going to read up y4m/raw yuv without headers
[13:47] <ne2k> oh, right
[13:48] <JEEB> the command line encoder not being ffmpeg or anything, the x264 binary
[13:48] <ne2k> I think I'm sorted. I'll see how I get on. thanks for your help
[13:49] <JEEB> if you need it, then you will have to build the ffmpeg libraries once, build the x264 command line app with that, install that. Then recompile x264 without cli and lavf etc. as library only, and then finally link those x264 libraries with a ffmpeg build that has libx264 enabled
[13:49] <JEEB> IIRC that's how it goes
[13:49] <ne2k> how would I check that the ffmpeg I now have is picking up the correct libx264.so?
[13:51] <JEEB> ne2k, ldd is the tool you're looking for
[13:52] <ne2k> hmm. it doesn't mention libx264. I guess I have to pass it a command line that would make it use it
[13:52] <JEEB> nope
[13:52] <ne2k> hm.
[13:52] <JEEB> it should list all dependencies if they are shared
[13:53] <JEEB> if you built a static x264 then it's not listed naturally
[13:53] <ne2k> so have I compiled ffmpeg wrongly, then?
[13:53] <JEEB> no --enable-gpl --enable-libx264?
[13:53] <ne2k> that would be my other mistake, then ;-)
[13:54] <ne2k> lesson of the day: do not assume that ./configure will do what you want it to do by default ;-)
[13:54] <JEEB> yeah
[13:55] <JEEB> ffmpeg's defaults base on the fact that the library/application by default is LGPL
[13:55] <JEEB> (aka it enables everything internal that is LGPL)
[13:55] <JEEB> everything not within that will have to be enabled manuall
[13:55] <JEEB> *manually
[13:56] <ne2k> so libx264 is not LGPL, then?
[13:56] <JEEB> nope
[13:56] <JEEB> x264 is GPL (and then there's the corporate license)
[14:00] <ne2k> success
[14:04] <ne2k> is there a way to set slice-max-size from ffmpeg?
[14:07] <JEEB> no idea, dive into libavcodec/libx264.c where the settings are set that are set'able via -x264opts
[14:08] <ne2k> e.g.? ffmepg -x264opts slice-max-size=1500
[14:09] <JEEB> x264opts are set like that yes, but I would guess you would have to check from libavcodec/libx264.c to what they're limited to
[15:43] <arpu> hello i get skipping 1 segments ahead, expired from playlists with applehttp hls
[15:44] <arpu> is this a ffmpeg problem or maybe network problem ?
[16:36] <bparker> mudkipz: I wonder how long the old livestream will still be working for
[16:54] <Guest7049> hello any body here
[17:04] <markus____> hey guys, quick question - where is the best place to talk about FFMpeg's avcodec API?
[17:05] <markus____> as in, this channel or #ffmpeg-devel?
[17:06] <cbsrobot> markus____: this channel
[17:07] <markus____> cbsrobot: thanks - does that include questions relating to cross compiling avcodec for Windows on Ubuntu?
[17:08] <cbsrobot> well I guess compiling is also a user question
[17:09] <markus____> great, i'm about to start an attempt at building but I can almost guarantee that I will need some guidance at some point so it's good to know where to ask in advance! thanks again
[17:39] <markus____> I need to be able to load multiple versions of the avcodec dll's in the same executable. Problem is that some of the dll's are old and are named the same which means potential overwriting and crashing when trying to run. Is there any way to "segregate" the dll's so that different versions can be loaded simultaneously?
[19:31] <vitalik> Hello, I saw many internet-streaming using HDS (http dynamic streaming), i tried download files, but I don't know how play it, using wireshark I can get "crossdomain.xml", "manifest.f4m", metadata (in base64), and Seg1-Frag1, Seg1-Frag2, etc ... How I can open/play those files ?
[19:41] <vitalik> Example: http://goo.gl/64w7v
[19:44] <durandal_1707> vitalik: is that hls ?
[19:45] <cbsrobot> hds is adobe, hls apple - no ?
[19:45] <vitalik> HDS (http dynamic streaming)
[19:48] <vitalik> Playlist and some part of Seg1-Frag5 http://goo.gl/hkMqq
[19:50] <vitalik> https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php This code can download video and save into flv, but I need only concate fragments to mp4 (stream already in mp4 container)
[20:22] <jthomas_> I've tried to RTFM and searched Google but I can't figure out how to tunnel an RTP stream over HTTP (or preferrably HTTPS).  Can anyone work with me a bit on this?  I'm running ffmpeg 1.0 on Debian Sid, trying to stream my soundcard.  I have rtp multicast working but our network doesn't allow that
[20:24] <jthomas_> this is my RTP command, which works on a less restrictive network:   /usr/bin/ffmpeg -f alsa -i pulse -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://234.5.5.5:1234
[22:05] <odigem> How to set quality of screenshot maked with ffmpeg?
[22:32] <cbsrobot> odigem: -qscale 0
[22:32] <relaxed> 1
[22:33] <cbsrobot> damn it - off by one
[22:35] <odigem> cbsrobot: it work only with jpg?
[22:36] <cbsrobot> yes, you were very brief with what you do - so i guessed a bit
[22:37] <odigem> how to set copy to streams of video?
[22:37] <odigem> i want add watermark, fast
[22:38] <sacarasc> You'd need to re-encode to add a watermark, not just copy.
[22:38] <odigem> mmm
[22:38] <odigem> ffmpeg -i 1757283.mp4  -vf "movie=water.png [logo]; [in][logo] overlay=10 [out]" -vcodec copy xxx.mp4
[22:38] <odigem> dnt work
[22:39] <odigem> spam in console and not add watermark
[22:39] <odigem> help me fix overlay
[22:39] <relaxed> he just said it wouldn't work
[22:39] <relaxed> rtfm
[22:39] <odigem> )))
[22:39] <relaxed> nobody says rtfm anymore but I'm bringing it back
[22:40] <odigem> manual out to date
[22:40] <relaxed> online manual up to date
[22:41] <relaxed> there are examples someone spent time writing, so spend some time reading
[22:43] <odigem> wtf pts has no value?
[22:50] <durandal_1707> adding watermark with copy is not possible
[22:56] <saste> someone has a good idea of how to warn or abort the command in that case
[22:56] <saste> this befuddles users all the time
[22:56] <saste> (especially the kind of users which see no problem with filtering and copy at the same time)
[23:10] <llogan> odigem: quality scale is 1-31 for jpg. 31 being worst quality.
[23:13] <llogan> saste: another ubernoob trend is to not supply "-i" and saying yes when asked to overwrite.
[23:14] <llogan> resulting in a 0 byte output
[23:55] <mudkipz> bparker, I'm not sure. Though I did manage to get the stream to work last night by messing with the bitrate. I forget that livestream has a limit of 500kpbs with audio+video. If it goes over that it does strange things.
[23:56] <JEEB> you should use -maxrate and -bufsize with anything that has rate constraints
[23:56] <JEEB> maxrate being what you think it is, and bufsize being the buffer over which that bufsize is calculated
[23:57] <mudkipz> Yea, last night we were messing with gstreamer. I'm capturing from a video4linux2 source and outputting to rtmp. For some reason I can get it to work with gstreamer and vlc but not ffmpeg. or well it kind of works with ffmpeg but acts weird once I point it at an rtmp stream.
[23:57] <JEEB> so for example if you have a 1.5 second buffer, and your maxrate is 500kbps, you would then set bufsize to 1.5*500k
[23:57] <mudkipz> I am using maxrate and bufsize with all of my other ffmpeg commands though and it works wonders.
[23:58] <JEEB> well, I'm just noting that you need maxrate and bufsize, that's all
[23:58] <JEEB> if you are doing something over limited bandwidth
[23:59] <mudkipz> right
[23:59] <JEEB> you would be surprised how many people don't even know of their existence
[00:00] --- Wed Oct 31 2012


More information about the Ffmpeg-devel-irc mailing list