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

burek burek021 at gmail.com
Thu Sep 20 02:05:01 CEST 2012


[00:07] <DrSlony> rachelfish did you try opening it in avidemux?
[00:09] <JEEBsv> DrSlony: if that could open it, so could ffmpeg
[00:10] <JEEBsv> I am going to assume that ffmpeg was tried out
[00:11] <DrSlony> avidemux does try some recovery options when opening a file, and i've never seen ffmpeg print out that it was doing those tests, so either avidemux does more, or ffmpeg is not verbose enough
[00:12] <DrSlony> s/tests/recovery attempts/
[00:12] <JEEBsv> I'm pretty sure if avidemux does something extra, it's for AVI or something, where stuf can be done
[00:12] <DrSlony> guessing
[00:12] <JEEBsv> (you can recreate an AVI index IIRC)
[00:12] <DrSlony> i just suggest he try it and find out for sure instead of guessing
[00:13] <JEEBsv> with mp4 it's much more guesswork, and would be strictly specific to a certain output
[00:13] <JEEBsv> but sure, I'm not against testing -- I'm just generally pretty sure that damn thing isn't going to do anything
[00:14] <JEEBsv> heck, the last time I tried an Avidemux nightly it complained about bframes in matroska
[00:14] <JEEBsv> I wanted to cry
[00:14] <DrSlony> :]
[00:14] <JEEBsv> It's a warning/error clearly meant for AVI, where the b-frame hacks make a lot of stuff very derp
[00:15] <JEEBsv> with matroska you have a timestamp for every frame, and there are no hacks related to b-frames
[00:15] <JEEBsv> (just like with pretty much all relatively new containers)
[00:18] <zonemiderN00B> hii
[00:21] <zonemiderN00B> i work on ubuntu 12.04 with ffserver
[00:22] <zonemiderN00B> what it the different between /etc/ffserver.conf and /etc/avserver.conf
[00:22] <zonemiderN00B> someone here??
[00:22] <burek> zonemiderN00B
[00:22] <burek> avserver.conf is not part of ffmpeg
[00:23] <burek> avconv is a fork of ffmpeg
[00:23] <burek> so, either choose avconv or ffmpeg
[00:23] <burek> not both
[00:23] <zonemiderN00B> i'm try to do what you write to me..
[00:23] <burek> the good thing would be for you to first compile your ffmpeg/ffserver
[00:24] <burek> to make sure you are using latest (and greatest) version that hopefully works the best
[00:24] <zonemiderN00B> <burek> run ffmpeg and record from camera and send the stream to ffserver
[00:24] <burek> using ubuntu's repository.. well.. you won't even get ffmpeg, but avconv instead
[00:24] <burek> so just apt-get --purge remove ffmpeg
[00:25] <burek> and go to ffmpeg's download page, read about git
[00:25] <burek> or read this at wiki:
[00:25] <burek> http://ffmpeg.org/trac/ffmpeg/wiki#CompilingFFmpeg
[00:25] <zonemiderN00B> i have 4 command that start with ff   ffmpeg    ffplay    ffprobe   ffserver
[00:25] <burek> when you just type ffmpeg
[00:25] <burek> does it say copyright by ffmpeg developers
[00:25] <burek> or libav devels
[00:26] <rachelfish> DrSlony, JEEBsv I tried it with ffmpeg which gave me an error about a missing moov atom
[00:26] <rachelfish> I didn't try avidemux though
[00:27] <zonemiderN00B> burek, ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
[00:27] <zonemiderN00B>   built on Jun 12 2012 16:37:58 with gcc 4.6.3
[00:28] <burek> libav is not ffmpeg
[00:28] <burek> so apt-get --purge remove ffmpeg libav
[00:28] <burek> or whatever you installed
[00:30] <zonemiderN00B> and this is the version of my ffserver
[00:30] <zonemiderN00B> http://pastebin.ca/2205404
[00:32] <zonemiderN00B> burek, fuck! it remove zoneminder!
[00:34] <burek> well, you could read that it requires to remove zonemider too?
[00:34] <burek> are you reading messages your system shows?
[00:34] <zonemiderN00B> mmm no
[00:34] Action: cbsrobot- smells a nice meme here
[00:34] <zonemiderN00B> i trust you.. i'm new to all the video stuff in linux..
[00:36] <burek> hmh
[00:36] <burek> why do you need zoneminder?
[00:38] <cbsrobot-> http://cdn.memegenerator.net/instances/400x/26962070.jpg
[00:38] <zonemiderN00B> it is some how work for me... not perfect (7-8 FPS, no audio, jpeg images based, and 0 automation)
[00:40] <burek> yes, but why do you need it? what for?
[00:40] <burek> what can it do that ffmpeg can't
[00:40] <burek> (for you)
[00:41] <zonemiderN00B> burek, i'm only use this feature in zoneminder
[00:43] <zonemiderN00B> burek, http://i.imgur.com/Z1nYC.png
[00:43] <zonemiderN00B> "Pre Event Image Count" and "Post Event Image Count" options in zoneminder
[00:45] <zonemiderN00B> and i trigger the recording with script that start record and after 1 sec stop, but it take all the data from the "Pre Event Image Count" and "Post Event Image Count" buffers, and i get about 20 sec of video file
[00:46] <burek> i see
[00:46] <burek> so you're using zoneminder for your buffer thing, right?
[00:46] <zonemiderN00B> yes
[00:47] <burek> well, you can solve it using ffmpeg only
[00:47] <zonemiderN00B> how?
[00:49] <zonemiderN00B> to remove the current ffmpeg  again ?
[00:50] <burek> well
[00:50] <burek> 1. you are not using ffmpeg now
[00:51] <burek> 2. even if it was unmodified ffmpeg, it's too old
[00:51] <burek> so your best chance is to uninstall all that from ubuntu
[00:51] <burek> and compile your ffmpeg
[00:51] <burek> to have the clean latest binaries
[00:51] <burek> and then we can try to setup ffserver/ffmpeg to have it buffer the input for X seconds, so you can have what you need
[00:53] <zonemiderN00B> this ppa it updated?
[00:53] <zonemiderN00B> https://launchpad.net/~jon-severinsson/+archive/ffmpeg
[00:54] <zonemiderN00B> what do yo mean by "to have the clean latest binaries"
[00:54] <zonemiderN00B> i'm always install only from ppa or regular apt-get
[00:54] <burek> why
[00:55] <burek> things that you install through apt or ppa are usually a lot older than latest versions
[00:55] <burek> which fix many latest bugs, etc
[00:55] <burek> anyway, do like you whish
[00:55] <burek> I would suggest you compile your ffmpeg
[00:55] <burek> it takes about 10 minutes, not more
[00:56] <burek> on modern machines
[00:57] <zonemiderN00B> i'm never done something like that.
[00:58] <burek> it's easy, really :)
[00:58] <zonemiderN00B> you can guide me how to do it?
[00:58] <burek> apt-get install build-essential
[00:59] <zonemiderN00B> it is install in now
[00:59] <burek> ok
[00:59] <burek> after that
[00:59] <burek> http://pastebin.com/TwGRGcq3
[00:59] <zonemiderN00B> done
[01:00] <burek> if it says unknown command 'git'
[01:00] <burek> apt-get install git
[01:01] <zonemiderN00B> yes it say..
[01:01] <zonemiderN00B> install it now
[01:02] <zonemiderN00B> now the git command is running
[01:02] <burek> now pastebin url and step by step
[01:02] <burek> should be done in less than 10 minutes
[01:02] <burek> if you are not a root user, the last 2 commands should be run as root
[01:02] <zonemiderN00B> Receiving objects:  26%
[01:02] <burek> either sudo make install
[01:02] <burek> or su
[01:03] <burek> and when you login as root, continue with last 2 commands
[01:03] <zonemiderN00B> ok
[01:03] <zonemiderN00B> 67%
[01:03] <burek> good
[01:03] <zonemiderN00B> it is fast or slow?
[01:03] <zonemiderN00B> 100%
[01:04] <zonemiderN00B> and it stat count again..
[01:04] <zonemiderN00B> Resolving deltas:  67%
[01:04] <zonemiderN00B> what is git?
[01:04] <burek> it downloads all the source code from the ffmpeg git code repository
[01:05] <zonemiderN00B> cool stuff - is my first time that i'm using it!
[01:05] <zonemiderN00B> it done with the git command
[01:06] <burek> now pastebin
[01:06] <zonemiderN00B> now i'm go to root
[01:07] <zonemiderN00B> the ./configure give me text
[01:08] <burek> to show the text*
[01:08] <zonemiderN00B> http://pastebin.ca/2205410
[01:09] <burek> try apt-get install yasm
[01:09] <burek> to see if it will solve the problem
[01:10] <zonemiderN00B> yasm - done
[01:10] <burek> continue :)
[01:10] <burek> (do ./configure again)
[01:10] <zonemiderN00B> i'm running the ./configure again
[01:11] <zonemiderN00B> i get a-lots of text now
[01:12] <burek> did it say in the end creating config.log or something
[01:12] <zonemiderN00B> http://pastebin.ca/2205413
[01:12] <zonemiderN00B> yes
[01:12] <burek> that's good
[01:12] <burek> continue :)
[01:12] <burek> half way done
[01:13] <zonemiderN00B> now make running
[01:14] <zonemiderN00B> it is type cc cc cc cc and text..
[01:14] <zonemiderN00B> never see something like that..
[01:14] <burek> yes
[01:14] <burek> it is doing its thing now
[01:14] <burek> sit back and relax
[01:14] <burek> for next couple of minutes
[01:15] <burek> and when it's done, just install it and do ldconfig to refresh the libraries and that's it
[01:15] <zonemiderN00B> sounds cool!
[01:15] <burek> it is :)
[01:16] <zonemiderN00B> all the files after the cc ends with .o
[01:16] <burek> when it comes to STRIP instead of CC then you know it's near the end
[01:17] <zonemiderN00B> only cc :(
[01:17] <burek> well ok, it takes time, depending on your cpu
[01:17] <zonemiderN00B> Intel Atom N450..
[01:17] <zonemiderN00B> what is o file?
[01:18] <burek> object file
[01:18] <vlt> Hello. I have some .mts files from a Sony camera. Is this just another container format to hold ordinary h.264/avc streams and is there a way to convert it to something like .mp4 or .mkv without re-encoding using ffmpeg?
[01:18] <zonemiderN00B> i see..
[01:18] <burek> vlt, ffmpeg -i bla.mts -c copy -map 0 out.mp4
[01:21] <vlt> burek: So, I dont need "-vcodec copy -acodec copy"?
[01:21] <vlt> But "-map 0" &
[01:21] <burek> vlt, -c copy is a shorthand for "-acodec copy -vcodec copy"
[01:21] <vlt> burek: I see ·
[01:21] <burek> vlt, -c copy is a shorthand for "-acodec copy -vcodec copy -scodec copy -dcodec copy"
[01:21] <burek> like "*codec copy" :)
[01:22] <burek> well, -map 0 is something I mentioned that might be strange for ordinary users
[01:22] <burek> namely, ffmpeg by default chooses 1 audio and 1 video stream from your input
[01:22] <burek> whichever it finds "the best ones"
[01:22] <burek> don't ask how :) I don't know :)
[01:22] <vlt> burek: And "-map 0" takes all?
[01:23] <burek> so, if your input has more, than it's dumped
[01:23] <burek> yes, it takes all streams from input
[01:23] <vlt> burek: Perfect. Thanks.
[01:23] <burek> :beer: :)
[01:27] <zonemiderN00B> burek, i'm still get cc things.. :-S
[01:27] <burek> zonemiderN00B, how many cpu cores do you have
[01:28] <zonemiderN00B> 2 virtual core
[01:28] <burek> should be less than 5 minutes, but still
[01:28] <burek> which file is CC-ing
[01:28] <zonemiderN00B> http://ark.intel.com/products/42503
[01:29] <zonemiderN00B> CC	libavcodec/eatgq.o
[01:29] <burek> it will be soon done
[01:30] <burek> this is an example of the complete log: http://fate.ffmpeg.org/log.cgi?time=20120907032412&log=compile&slot=i386-darwin-gcc-4.3
[01:30] <burek> so just ctrl+f eatgq
[01:31] <zonemiderN00B> right in the middle :)
[01:32] <burek> yes, but it will go faster when it gets to libavutil
[01:32] <burek> :)
[01:33] <zonemiderN00B> you are ffmpeg genius!
[01:33] <burek> well, you should see how many of geniuses are in #ffmpeg-devel channel :)
[01:33] <burek> who actually built all that :)
[01:36] <zonemiderN00B> my boyfriend think that i'm a genius! but now i feel like dust.
[01:39] <burek> :)
[01:40] <burek> nobody was born skilled :)
[01:40] <burek> it just takes time, that's all :)
[01:40] <cbsrobot-> time for a beer then
[01:40] Action: cbsrobot- opens the freezer
[01:40] Action: cbsrobot- hands burek a beer
[01:44] <zonemiderN00B> it is look like that is left less then a quarter..
[01:50] <zonemiderN00B> burek, it is type YASM	libavcodec/x86/vp56dsp.o
[01:52] Action: burek sets mode: +beer cbsrobot-
[01:52] <burek> :)
[01:52] <burek> zonemiderN00B, be patient, it's almost there :)
[01:53] <zonemiderN00B> i'm ok.. but is the longest install that i'm ever did...
[01:56] <zonemiderN00B> burek, now it get to th strip and a-lot of text
[01:56] <zonemiderN00B> wow - it done!
[01:58] <zonemiderN00B> burek, this is the text
[01:58] <zonemiderN00B> http://pastebin.ca/2205415
[02:00] <zonemiderN00B> burek, go to the "make install" step?
[02:00] <Atlantic777> Hi! I want to conver a .flv to .avi or something but i either don't get video output or video is broken. Any ideas?
[02:01] <Atlantic777> here is the video I want to convert http://www.ustream.tv/recorded/25426273
[02:02] <Atlantic777> Btw, I can play the video normally.
[02:06] <burek> zonemiderN00B yes
[02:07] <burek> Atlantic777, why do you need to convert it to avi
[02:07] <Atlantic777> burek: avidemux doesn't get will with it.
[02:07] <Atlantic777> burek: I want to merge few video files to one.
[02:08] <burek> Atlantic777, can this help: http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20concatenate%20(join%2C%20merge)%20media%20files
[02:08] <zonemiderN00B> burek, the make install done
[02:08] <burek> zonemiderN00B, ldconfig
[02:08] <burek> and try ffmpeg --version
[02:09] <zonemiderN00B> ldconfig
[02:09] <Atlantic777> great, thank you, but I want to convert it to a more reasonable format than flv, too. :D
[02:09] <zonemiderN00B> the ldconfig do nothing
[02:10] <burek> well, ok, just using: "ffmpeg -i bla.flv -map 0 -b:v 3M bla.avi" would do the job
[02:10] <burek> Atlantic777 ^
[02:10] <burek> zonemiderN00B, that's normal
[02:11] <Atlantic777> burek: and I got this: https://paste.lugons.org/show/WwmXEFtfr9BwV6CJDRmu/
[02:11] <zonemiderN00B> burek, http://pastebin.ca/2205418
[02:12] <D4rkSilver> Hi, how does one convert mkv with subtitles into flv? I've been trying for a while but I don't seem able to get the subtitles in the file
[02:12] <zonemiderN00B> what is N vesion?
[02:13] <burek> zonemiderN00B, perfect :)
[02:13] <burek> it's a git commit hash
[02:13] <burek> kinda
[02:13] <burek> Atlantic777, just a sec
[02:13] <burek> D4rkSilver -scodec copy?
[02:13] <zonemiderN00B> i see
[02:16] <zonemiderN00B> burek, thank you a-lot for the new installation method that you teach me!
[02:16] <burek> Atlantic777, how did you install your ffmpeg
[02:16] <burek> you get: Error opening filters!
[02:16] <Atlantic777> burek: it's from archlinux repository
[02:17] <burek> zonemiderN00B, no problem :)
[02:17] <burek> now we can try ffserver/ffmpeg combination
[02:17] <burek> to see if we can work around that buffer thing
[02:17] <burek> Atlantic777, hmh.. can you try simply typing ldconfig
[02:17] <burek> just to see if that fixes things
[02:18] <zonemiderN00B> burek, so now the fun begin? :0
[02:18] <Atlantic777> burek: ok, will try it.
[02:18] <burek> zonemiderN00B pretty much :)
[02:19] <Atlantic777> burek: ldconfig didn't fix the problem.
[02:19] <burek> zonemiderN00B, from here: http://ffmpeg.org/sample.html
[02:19] <zonemiderN00B> COOL
[02:19] <burek> we will strip down things we don't need
[02:19] <burek> (awkward)
[02:19] <burek> and use ?buffer=10 param in ffmpeg's cmd
[02:19] <burek> and see how it works
[02:19] <burek> Atlantic777, I'm asking developers about that issue, so please hold a moment
[02:20] <burek> they are not usually very responsive, since they are always kinda busy
[02:20] <Atlantic777> burek: thanks, i'll be afk so just ping me if they respond :)
[02:20] <burek> ok
[02:20] <zonemiderN00B> where i can find this conf file?
[02:20] <burek> zonemiderN00B just a sec
[02:21] <zonemiderN00B> Ok. no problem.
[02:24] <burek> zonemiderN00B, try this http://pastebin.com/PLT7quVe
[02:24] <burek> save it as /etc/ffserver.conf
[02:24] <burek> (rename the default if it exists)
[02:27] <zonemiderN00B> cant fine this file /etc/ffserver.conf
[02:27] <zonemiderN00B> to create it?
[02:27] <burek> yes
[02:30] <zonemiderN00B> burek, done
[02:30] <burek> now start in one shell: ffserver -d -f /etc/ffserver.conf
[02:31] <burek> and in another: ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 http://localhost:8090/feed1.ffm
[02:31] <zonemiderN00B> as root?
[02:32] <burek> well, yes, just to avoid all the permission issues
[02:32] <burek> when we succseed, it's easy to switch to normal user
[02:32] <burek> succeed* :)
[02:32] <zonemiderN00B> ok
[02:33] <burek> and in 3rd shell (after 15-20 seconds) type: ffplay http://localhost:8090/test1.mpg
[02:33] <burek> and check if it is 15 seconds behind real time
[02:34] <zonemiderN00B> http://pastebin.ca/2205424
[02:34] <zonemiderN00B> i think it get an error because it back to the terminal..
[02:34] <burek> try without -d
[02:35] <zonemiderN00B> the same
[02:35] <zonemiderN00B> Tue Sep 18 20:35:22 2012 Could not open '': -2
[02:36] <burek> that should be /tmp/feed1.ffm
[02:36] <burek> do you have read/write access to /tmp
[02:36] <burek> are you root
[02:37] <zonemiderN00B> i'm root
[02:38] <zonemiderN00B> and i can write and read in /tmp
[02:38] <zonemiderN00B> (i make a file with nano)
[02:39] <burek> hmh..
[02:40] <burek> try ffserver -d -loglevel debug -f /etc/ffserver.conf
[02:41] <zonemiderN00B> same thing
[02:41] <kendooo> hmm are the presets from winff working in the ffmpeg UbuntuCompilationGuide ?
[02:41] <zonemiderN00B> http://pastebin.ca/2205427
[02:41] <burek> no
[02:42] <burek> kendooo, are you talking about x264 presets
[02:42] <kendooo> im not really sure winff has a large xml preset file, i was wondering if i can take those and run with the ffmpeg from  UbuntuCompilationGuide
[02:43] <burek> kendooo, can you use pastebin to show xml file
[02:43] <kendooo> let me find it again lol sorry hold on
[02:43] <burek> zonemiderN00B, let me check
[02:43] <zonemiderN00B> OK
[02:43] <zonemiderN00B> i'm here
[02:43] <burek> can you try what happens with simple: ffserver
[02:44] <zonemiderN00B> what do you mean?
[02:44] <burek> well, just type: ffserver
[02:44] <kendooo> here http://winff.googlecode.com/files/presets-r15824-v2.tar.gz
[02:44] <zonemiderN00B> the same error
[02:45] <kendooo> http://pastebin.com/jpy6V3Ts
[02:45] <burek> kendooo, if you view that xml file, you'll see there are actually embedded ffmpeg command lines
[02:45] <kendooo> these presets
[02:45] <burek> which you can just copy paste in the shell
[02:45] <burek> (just add "ffmpeg -i input.avi " before all that)
[02:45] <kendooo> yes i know that i was just wondering if they would work
[02:45] <burek> and add output.avi after
[02:45] <kendooo> im almost finish complie latest ffmpeg from git
[02:45] <burek> well most of them would
[02:46] <zonemiderN00B> burek, http://pastebin.ca/2205433
[02:46] <burek> zone, can you rename /etc/ffserver.conf
[02:46] <burek> and run ffserver again
[02:46] <burek> zonemiderN00B*
[02:46] <kendooo> hmm looks like i can not complie with 128mb :(
[02:46] <kendooo> is there precomplied ffmpeg? deb with the extras
[02:47] <burek> which distro/kernel
[02:47] <kendooo> ubuntu 12.04 64bit
[02:47] <kendooo> collect2: ld terminated with signal 9 [Killed]
[02:47] <burek> ubuntu switched to libavtools (ffmpeg fork)
[02:47] <kendooo> make: *** [ffmpeg_g] Error 1
[02:48] <kendooo> probably due to my low memory 128mb :(
[02:48] <burek> so, no deb file readily available (maybe debian multimedia repos)
[02:48] <burek> see there if you can use static builds
[02:48] <burek> and check your kernel with uname -a
[02:49] <kendooo>  2.6.32-042stab059.7 #1 SMP Tue Jul 24 19:12:01 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux
[02:49] <zonemiderN00B> http://pastebin.ca/2205434
[02:49] <zonemiderN00B> burek, ^
[02:49] <burek> kendooo, then use http://dl.dropbox.com/u/24633983/ffmpeg/index.html
[02:49] <kendooo> ok i will try that
[02:49] <burek> zonemiderN00B, I see, so definitely the wrong config file, let me try some other more simple conf file
[02:50] <kendooo> burek does it include xvid ?
[02:50] <burek> it says on that page
[02:50] <burek> what does it include
[02:50] <burek> btw, you don't need it for divx
[02:50] <zonemiderN00B> i'm here :)
[02:51] <burek> kendooo http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20encode%20Xvid%20/%20DivX%20video%20with%20ffmpeg
[02:51] <kendooo> thanks, im just about to install that link u gave me :D
[02:53] <burek> zonemiderN00B http://pastebin.com/aKLU4Km1
[02:54] <burek> I missed one line in config file and it created all that :)
[02:54] <burek> below <Stream test1.mpg> I just added "Feed feed1.ffm"
[02:55] <zonemiderN00B> i add it now
[02:55] <zonemiderN00B> i get blinking box..
[02:56] <burek> what do you mean
[02:57] <zonemiderN00B> the thing in the terminal that blinking where you type..
[02:57] <kendooo> burek, sorry to ask but after i extracted hmm what should i do next ?
[02:58] <kendooo> do i move the files into /usr/bin/ffmpeg ?
[02:58] <burek> no no
[02:58] <burek> you keep it in that dir
[02:58] <burek> and just type ./ffmpeg
[02:58] <burek> that's it
[02:58] <burek> no install needed :)
[02:58] <burek> unless you really want it
[02:58] <kendooo> ohh crap its workinggg
[02:59] <burek> :)
[02:59] <kendooo> why ./ ?
[02:59] <burek> to specify current dir
[02:59] <kendooo> what happends if i wanted to make it gloable
[02:59] <burek> and not /usr/bin or /usr/local/bin
[02:59] <kendooo> for example i want to use it like it has been installed
[02:59] <burek> well just copy it to /usr/local/bin
[02:59] <burek> it will work
[02:59] <burek> it's statically built
[02:59] <burek> one big fat exe file :)
[02:59] <kendooo> is that the only place do i need to do something else
[02:59] <zonemiderN00B> burek, after i run the other terminal the webcam LED start work
[02:59] <burek> zonemiderN00B that's great!
[02:59] <burek> :D
[03:00] <burek> now the third terminal :)
[03:00] <zonemiderN00B> third?
[03:00] <burek> kendooo, no, just copy ffmpeg (and ffserver, ffprobe, ffplay if there are any)
[03:00] <burek> if not, just ffmpeg
[03:00] <burek> [02:34:06] <burek> and in 3rd shell (after 15-20 seconds) type: ffplay http://localhost:8090/test1.mpg
[03:00] <burek> [02:34:19] <burek> and check if it is 15 seconds behind real time
[03:00] <burek> that was for zonemiderN00B
[03:01] <kendooo> do i need to create folder in /usr/local/bin/ffmpeg and add the binary inside ?
[03:01] <kendooo> or just cp the binary into /usr/local/bin
[03:01] <burek> kendooo the 2nd
[03:01] <kendooo> ok just cp thanks
[03:01] <burek> :beer:
[03:01] <burek> zonemiderN00B, are you working on the machine with gui
[03:01] <burek> or remote server without gui
[03:04] <rrnn> hi all. is there any ffmpeg filter taht would emulate CRT display?
[03:04] <burek> rrnn, in which way
[03:04] <rrnn> i mean introduce scanlines bleeding and whatnot into the video
[03:05] <kendooo> burek, im getting -bash: ./ffmpeg: Is a directory
[03:05] <kendooo>   
[03:05] <zonemiderN00B> burek, yes i work on ubuntu 12.04 with the default gui
[03:05] <burek> kendooo, when you copy ffmpeg to /usr/local/bin/ then you type just ffmpeg
[03:05] <burek> not ./ffmpeg
[03:05] <burek> :)
[03:05] <kendooo> :D ok i will try it again
[03:06] <burek> rrnn, check here: http://ffmpeg.org/ffmpeg.html#Video-Filters
[03:06] <rrnn> if not can you point me to some example filter code. is this up to date http://wiki.multimedia.cx/index.php?title=FFmpeg_filter_HOWTO
[03:06] <burek> zonemiderN00B, ok, then you can use ffplay to check
[03:06] <burek> ffplay http://localhost:8090/test1.mpg
[03:06] <zonemiderN00B> i get after 15 sec a fast video that record in the 15 sec that i waiting to loading the video
[03:07] <burek> rrnn, that's for developers, I guess
[03:07] <burek> zonemiderN00B, I didn't understand, can you rephrase that?
[03:08] <kendooo> burek, i think im doing it right, http://i49.tinypic.com/34np5pl.png
[03:08] <kendooo> but it seems to not work
[03:08] <zonemiderN00B> after that the image freeze
[03:08] <burek> kendooo yes
[03:08] <burek> now type hash -r
[03:08] <burek> and then ffmpeg
[03:08] <kendooo> trying without ./ gives me this -bash: /usr/bin/ffmpeg: No such file or directory
[03:08] <burek> zonemiderN00B, does it recover during time?
[03:08] <zonemiderN00B> i run the command "ffplay http://localhost:8090/test1.mpg"
[03:09] <burek> kendooo, chmod +x /usr/local/bin/ffmpeg
[03:09] <kendooo> i chmod 777 everything
[03:09] <kendooo> ops
[03:09] <burek> make it executable
[03:09] <rrnn> burek: yeah may google fu is weak but i will most likely end up coding my own filter or adapting one to work with ffmpeg
[03:09] <burek> zonemiderN00B, let's try something else, instead of ffplay
[03:09] <burek> try this
[03:09] <rrnn> *may be
[03:09] <zonemiderN00B> after 15 sec i get a  small window with video
[03:10] <burek> zonemiderN00B: ffmpeg -re -i http://localhost:8090/test1.mpg -t 20 -c copy output.mpg
[03:10] <burek> after 20 seconds the command will end and then try to play output.mpg
[03:10] <burek> to see if it looks ok
[03:10] <burek> rrnn, I thought you were asking for cli usage
[03:11] <burek> you might ask in #ffmpeg-devel maybe
[03:11] <zonemiderN00B> 15 sec left..
[03:11] <zonemiderN00B> and it start to do something
[03:11] <kendooo> this seems to work only /usr/local/bin/./ffmpeg
[03:11] <zonemiderN00B> frame=  381 fps= 11 q=-1.0 size=     962kB time=00:00:15.36 bitrate= 513.1kbits/s
[03:11] <kendooo> but not in terminal : ffmpeg
[03:11] <burek> kendooo, can you use pastebin to show the output of: ls -alF /usr/local/bin
[03:11] <kendooo> ok
[03:11] <zonemiderN00B> now it back to terminal
[03:12] <burek> zonemiderN00B, try to play output.mpg file now in video player
[03:12] <burek> see if it looks ok
[03:12] <zonemiderN00B> i get a video
[03:12] <kendooo> http://pastebin.com/e9CJw3yf
[03:12] <burek> kendooo, hash -r
[03:12] <burek> ffmpeg
[03:13] <zonemiderN00B> but it is not look normal speed, it is look like fast forward...
[03:13] <burek> if it doesn't work, type: which ffmpeg
[03:13] <zonemiderN00B> i play it
[03:13] <kendooo> you mean like ffmpeg  hash -r  or ./ffmpeg  hash -r ?
[03:13] <burek> # hash -r
[03:13] <burek> # ffmpeg
[03:13] <burek> # which ffmpeg
[03:13] <zonemiderN00B> with this command mplayer output.mpg
[03:13] <kendooo> yup its working now
[03:13] <kendooo> cool
[03:13] <kendooo> what is hash -r ?
[03:14] <burek> zonemiderN00B, can you try: ffplay http://localhost:8090/test1.mpg?buffer=10
[03:14] <burek> kendooo "clear cache of running commands"
[03:14] <kendooo> oh is it only for ffmpeg ? or for everything i do in the terminal
[03:14] <burek> not for ffmpeg
[03:14] <burek> for your shell :)
[03:15] <kendooo> good to know :D but that means all my cache of commands are lost lol
[03:15] <rrnn> rrnn it could be an acceptable solution. how do i do it then?
[03:15] <kendooo> oh they are still there
[03:15] <burek> http://linux.about.com/library/cmd/blcmdl1_hash.htm
[03:15] <burek> ctrl+f hash
[03:15] <zonemiderN00B> burek, i think i get a longer video
[03:15] <burek> kendooo "The -r option causes the shell to forget all remembered locations."
[03:16] <burek> ..of previously typed commands
[03:16] <kendooo> burek, under UbuntuCompilationGuide  ,  Optional Installation - Add lavf support to x264  is this enabled in the static build you provided
[03:16] <zonemiderN00B> but it look like 20 sec compress to 5 sec
[03:16] <burek> rrnn, like: ffmpeg -i input -vf filter_name=filter_options -vcodec <encoder> <options> output.avi
[03:17] <zonemiderN00B> and after that it stop
[03:17] <kendooo> the lastest ffmpeg uses --Pre or --vPre ?
[03:17] <burek> zonemiderN00B, I see
[03:17] <rrnn> yes and filter_name i should use is...?
[03:18] <burek> kendooo, ask relaxed when he is around
[03:18] <burek> I'm not sure
[03:18] <burek> if it doesn't say on that page, then I really can't tell
[03:18] <burek> rrnn, did you check the link I gave you earlier
[03:18] <kendooo> thanks, i think i figure it is for x264 , -pre
[03:18] <burek> there is a list of video filters
[03:18] <zonemiderN00B> i think it make about 20 sec of video
[03:18] <kendooo> thanks dude
[03:18] <burek> so check if there is one that can help you
[03:18] <burek> kendooo :beer: :)
[03:19] <burek> zonemiderN00B, hmh, it seems that the output
[03:19] <zonemiderN00B> (i count with my watch)
[03:19] <burek> was "stretched" into 5 seconds
[03:19] <burek> and is actually 20 seconds long
[03:20] <rrnn> burek yes, sadly didnt help much
[03:20] <burek> rrnn, then try asking in #ffmpeg-devel, they might help you more
[03:20] <zonemiderN00B> I guess the camera generate 10 -11 FPS.. and ffmpeg compes it to 25 FPS.
[03:20] <burek> zonemiderN00B, you can check it
[03:20] <burek> kill the 2nd shell ffmpeg
[03:20] <burek> with 'q'
[03:20] <burek> or ctrl+c
[03:21] <burek> and type just ffmpeg -i /dev/video0
[03:21] <rrnn> ok thanks for all the help
[03:21] <burek> it will default to optimum camera's frame rate
[03:21] <burek> rrnn :beer: :)
[03:22] <zonemiderN00B> i get this
[03:22] <zonemiderN00B> /dev/video0: Invalid argument
[03:23] <burek> pastebin?
[03:23] <burek> oh
[03:23] <burek> ffmpeg -f v4l2 -i /dev/video0
[03:24] <zonemiderN00B> i get - At least one output file must be specified
[03:24] <burek> ok, pastebin :)
[03:25] <zonemiderN00B> http://pastebin.ca/2205442
[03:25] <burek> ok, but you see
[03:25] <burek> Stream: ...
[03:25] <burek> 30 tbr/tbc
[03:25] <burek> that means like 30 fps
[03:26] <burek> so you can actually raise 25 fps to 30 :)
[03:26] <burek> it's not that bad camera :)
[03:27] <zonemiderN00B> but now it failed..
[03:27] <zonemiderN00B> if it run the speed go down..
[03:27] <burek> (don't forget to also edit ffserver.conf)
[03:27] <burek> VideoFrameRate
[03:28] <zonemiderN00B> what do you mean
[03:29] <zonemiderN00B> burek,
[03:29] <zonemiderN00B> ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 http://localhost:8090/feed1.ffm
[03:29] <zonemiderN00B> i get with it
[03:30] <zonemiderN00B> frame=  259 fps=7.5 q=5.7 size=     792kB time=00:00:10.28 bitrate= 631.1kbits/s
[03:30] <zonemiderN00B> 7.5 fps...
[03:30] <burek> maybe it's too dark in the area
[03:30] <burek> that happens with webcams, they lower the frame rate
[03:30] <burek> since they can't catch enough light when it's dark
[03:30] <burek> so they need to prolong the exposure time
[03:31] <zonemiderN00B> 25/7.5=3.333
[03:31] <burek> which results in having to lover the frame rate
[03:31] <burek> lower*
[03:31] <zonemiderN00B> no very light here..
[03:31] <burek> try to brighten up the room
[03:31] <burek> to see if the fps will raise
[03:32] <zonemiderN00B> direct to the lamp i get 8.4 fps :)
[03:32] <burek> :)))
[03:32] <burek> don't over expose it :)
[03:32] <burek> well, check your cpu usage
[03:33] <burek> maybe it's too slow cpu to encode the movie in time
[03:34] <zonemiderN00B> i kill some stuff and now i'm on 9 FPS!
[03:34] <burek> :)
[03:35] <zonemiderN00B> i can leave with that..
[03:35] <zonemiderN00B> it look ok
[03:35] <burek> ok :)
[03:37] <zonemiderN00B> wow!
[03:37] <zonemiderN00B> cpu MHz		: 1667.000
[03:37] <zonemiderN00B> in windows i was 1600
[03:37] <burek> :)
[03:38] <burek> cat /proc/cpuinfo
[03:38] <zonemiderN00B> it's from there..
[03:38] <burek> which model
[03:38] <zonemiderN00B> N450
[03:39] <zonemiderN00B> Atom
[03:39] <burek> http://ark.intel.com/products/42503
[03:39] <burek> it's 1.66
[03:40] <burek> anyway
[03:40] <zonemiderN00B> i get with it 7-8 hours of battery - other ways it is crap cpu
[03:40] <burek> does it work now?
[03:40] <burek> I mean
[03:40] <burek> when you run ffserver
[03:40] <burek> and ffmpeg that records from camera and sends the stream to ffserver
[03:40] <burek> all you have to do is setup a cmd when RF triggers
[03:40] <zonemiderN00B> it work like before - i did not change anything..
[03:41] <burek> that will start another ffmpeg, connect it to ffserver to get the video and save it
[03:41] <burek> do you want to capture the image of the lightning
[03:41] <burek> or the video
[03:41] <zonemiderN00B> video
[03:42] <zonemiderN00B> video of the creation..
[03:42] <burek> I see
[03:42] <zonemiderN00B> 10 sec before 10 sec after
[03:42] <burek> and do you really need it to be done in real-time
[03:42] <burek> I mean
[03:42] <burek> can you just record it for 1 hour
[03:42] <burek> and later just see the time points when RF triggered
[03:43] <burek> and extract those regions
[03:43] <zonemiderN00B> i try that
[03:43] <burek> if you decide to go that way, then you don't need ffserver
[03:44] <burek> just run 1 ffmpeg and later stop it with 'q' or ctrl+c
[03:44] <zonemiderN00B> not good at all..
[03:44] <burek> why
[03:45] <zonemiderN00B> i want to put a pc 24/7 all the winter and get lightning videos..
[03:45] <kendooo> is burek still here ?
[03:45] <burek> :)
[03:45] <zonemiderN00B> i think to do it with my other pc
[03:45] <kendooo> hmm none of the commands seem to work :O
[03:45] <zonemiderN00B> it has Q9650 CPU
[03:45] <kendooo> i think encoding to mp4 no work
[03:46] <zonemiderN00B> and 8GB ram
[03:46] <kendooo> ok
[03:46] <burek> hmh
[03:46] <kendooo> http://pastie.org/4751074
[03:46] <kendooo> include ffmepg version
[03:46] <zonemiderN00B> and normal camera.. not a poor webcam
[03:47] <burek> kendooo, INPUT should be a real file name :)
[03:48] <kendooo> burek, yes i know the thing is, it is not working when i try it
[03:48] <burek> and also can you paste a command which shows the real situation, not just ffmpeg --version
[03:48] <burek> zonemiderN00B, I see, well
[03:48] <burek> the problem is that buffering in general is kinda problematic
[03:48] <burek> because it needs to sync "creation" of frames with "consumption" of those
[03:48] <kendooo> this is the error http://pastie.org/4751077
[03:49] <burek> which in some cases can be tricky
[03:49] <burek> so you're best with just producing some output
[03:49] <burek> and buffering it without even knowing what the data is
[03:49] <burek> and when the trigger hits, just to copy the entire buffer into some file or something
[03:49] <zonemiderN00B> it is not need to be super precise..
[03:50] <burek> kendooo Unknown encoder 'libfaac'
[03:50] <burek> libfaac was not compiled with that static build
[03:50] <kendooo> hmm yes i saw that but is that not complied with the static
[03:50] <burek> try using: -acodec aac -strict experimental
[03:50] <kendooo> :(
[03:50] <burek> instead of -acodec libfaac
[03:50] <kendooo> ohh yes i remember that -strict experimental
[03:51] <zonemiderN00B> lats say that it will get 7-11 FPS.. if i make the final video in 10 FPS it is also ok.
[03:51] <burek> zonemiderN00B, you know what would I do?
[03:51] <burek> I would create one ffmpeg process that doesn't produce video, but images (png)
[03:51] <zonemiderN00B> but i want to add sound..
[03:51] <burek> and another process that follows that ffmpeg, but is back in time for 1 hour
[03:52] <burek> deleting the images
[03:52] <kendooo> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[03:52] <kendooo> er
[03:52] <burek> kendooo, try -ar 44100 instead of -ar 48000
[03:52] <kendooo> burek you got a working mp4 commandline i can try on this
[03:52] <kendooo> ok i will try that
[03:52] <burek> kendooo, well I don't know what is your goal
[03:52] <burek> zonemiderN00B, hm..
[03:53] <kendooo> convert to mp4
[03:53] <kendooo> after that i know how to use qt-faststart :D
[03:53] <burek> kendooo, ffmpeg -i bla.wmv -b 3M out.mp4
[03:53] <kendooo> lol what is 3M
[03:53] <burek> -b:v instead of -b
[03:53] <kendooo> that cant be that simpleee
[03:53] <burek> 3 mbps
[03:53] <burek> video bit rate
[03:54] <kendooo> oh isnt that to much :O
[03:54] <burek> influences quality
[03:54] <burek> well lower it down if you will
[03:54] <kendooo> ok im going to try that now
[03:54] <burek> anyway zonemiderN00B, I'm not sure what is the perfect way for that
[03:54] <zonemiderN00B> burek, and dont forget that now i have firefox open and flash.. and skype//
[03:54] <burek> the ffserver/ffmpeg way seemed natural for that
[03:55] <burek> but I don't know what is causing that speed up of the video
[03:55] <zonemiderN00B> how i can sync the fps..
[03:55] <burek> you can try the same example during the day
[03:55] <kendooo> get lost why is it this simple god its working
[03:55] <burek> I can guarantee you it will go above 15 fps easily
[03:55] <zonemiderN00B> this!
[03:55] <zonemiderN00B> -r 25
[03:56] <burek> kendooo, it's made to be simple :)
[03:56] <kendooo> burek after i run it through qt-faststart i can stream it on adobe flash player ?
[03:56] <zonemiderN00B> if i change it to 10
[03:56] <zonemiderN00B> i get 10 fps?
[03:56] <burek> kendooo, if you want that, why not saving it as flv container?
[03:56] <kendooo> those commandlines on google are all junk should be removed and replaced with what you said
[03:56] <burek> zonemiderN00B, yes
[03:56] <burek> kendooo
[03:56] <burek> try there instead of google
[03:56] <kendooo> flv is not better then mp4 :O
[03:56] <burek> kendooo, flv as a container
[03:56] <burek> not as a video encoder
[03:57] <burek> can you pastebin your command for mp4
[03:57] <burek> that you just tried
[03:57] <burek> and output
[03:57] <kendooo> hmm i didnt know you can mux x264 mp4 into flv
[03:57] <burek> you can mux h264 into flv, yes
[03:57] <kendooo> http://pastie.org/4751077
[03:57] <burek> not that one
[03:57] <burek> the one with 3M
[03:58] <kendooo> ok hold on
[03:58] <zonemiderN00B> burek, less then -r 20 i get error
[03:58] <kendooo> its still encoding
[03:58] <burek> zonemiderN00B, that's because you need to edit ffserver.conf also
[03:58] <burek> together with ffmpeg's command
[03:58] <burek> they need to be with the same params
[03:58] <zonemiderN00B> [mpeg1video @ 0x977c780] MPEG1/2 does not support 15/1 fps
[03:58] <burek> oh, well, then you can recompile ffmpeg to use libx264 :)
[03:59] <burek> which is really what you want
[03:59] <burek> if you target quality
[03:59] <burek> I just didn't want to bug you with that, because it was your first time :D
[03:59] <kendooo> i hate github
[03:59] <burek> kendooo, press Q
[03:59] <burek> and just give me the paste :)
[03:59] <kendooo> ok
[03:59] <zonemiderN00B> i edit the ffserver.
[04:00] <zonemiderN00B> conf*
[04:00] <kendooo> http://pastie.org/4751119
[04:00] <zonemiderN00B> but i get the error like the mpeg1/2 protocol dose not support 15 fps..
[04:01] <burek> zonemiderN00B, just a sec
[04:01] <zonemiderN00B> i try to go to low resolution
[04:01] <kendooo> never buy cheap vps with 128m and try to run ffmpeg, you get -bash: fork: Cannot allocate memory
[04:01] <kendooo>  
[04:02] <burek> zonemiderN00B, the VideoFrameRate in ffserver.conf
[04:02] <burek> defines the output frame rate
[04:02] <burek> the -r in ffmpeg command defines
[04:02] <burek> at what frame rate the webcam should capture the video
[04:02] <burek> those 2 can differ
[04:02] <burek> if -r 10 is defined and VideoFrameRate 30
[04:03] <burek> then some input frames will be duplicated at output
[04:03] <burek> which is still ok
[04:03] <burek> but why do you want to change fps anyway?
[04:03] <burek> kendooo, try this
[04:03] <kendooo> just rebooted vps back to ffmpeg
[04:04] <burek> ffmpeg -i GETD001_sample.wmv -vcodec libx264 -crf 20 -preset medium -acodec libvo_aacenc -ar 48k -ac 2 -ab 128k -f flv output.flv
[04:05] <burek> -crf and -preset define the speed/compression of your video
[04:05] <zonemiderN00B> burek, i want to check it the FPS issue is the reason to the increased speed
[04:05] <burek> kendooo, you can check here for more info about those native x264 params: http://mewiki.project357.com/wiki/X264_Settings
[04:05] <burek> zonemiderN00B, I think it's not
[04:05] <kendooo> thanks i will check rigth now
[04:05] <burek> but I'm not sure :)
[04:07] <burek> zonemiderN00B, there might be another solution
[04:08] <burek> I hope better
[04:08] <burek> to avoid ffserver
[04:08] <burek> because I strongly believe it is a source of problems
[04:08] <zonemiderN00B> http://pastebin.ca/2205456
[04:08] <zonemiderN00B> all is set to 20 FPS
[04:09] <burek> yes, missing keyframes, that can be fixed with gop size, but I still think it would act the same way
[04:09] <burek> anyway
[04:09] <zonemiderN00B> but the video that i get is very fast 1-2 sec
[04:11] <burek> 1st ffmpeg could constantly capture the webcam input and delay the output for seconds
[04:11] <burek> and 2nd ffmpeg could be triggered by RF sensor to capture the output of 1st ffmpeg, which would be delayed a little bit, so the lightning could be captured
[04:12] <burek> I just need to check with developers if the delay is possible at all using only ffmpeg
[04:12] <burek> without ffserver
[04:14] <zonemiderN00B> do you mean like to make a shift of 10 sec between them..
[04:14] <burek> yes
[04:15] <zonemiderN00B> sounds very interesting!
[04:15] <burek> let me just check something
[04:15] <zonemiderN00B> ok
[04:15] <zonemiderN00B> i'm here..
[04:16] <burek> hmh, I might just have found the solution
[04:17] <burek> 1. ffmpeg captures webcam and sends udp output to program named samplicator (which just duplicates udp packet it receives)
[04:17] <burek> 2. samplicator has an option of delaying the retransmission of received udp packets for X milliseconds
[04:17] <burek> effectivelly buffering our video :)
[04:17] <zonemiderN00B> COOOL!
[04:17] <burek> 3. RF sensor triggers 2nd ffmpeg which just starts and captures udp packets and saves to the file
[04:18] <burek> http://code.google.com/p/samplicator/
[04:18] <zonemiderN00B> beta or the regular?
[04:19] <burek> regular
[04:19] <burek> also, when you unpack it, read the README :)
[04:19] <zonemiderN00B> it is updated in 2009
[04:20] <burek> it still works well
[04:20] <burek> I use it every day
[04:20] <zonemiderN00B> ok
[04:20] <zonemiderN00B> i trust you :)
[04:24] <zonemiderN00B> i see an instruction how to use the program.. but how i convert it to deb?
[04:24] <burek> no need to
[04:24] <burek> just go into that dir
[04:24] <zonemiderN00B> or use your terminal trick to install it..
[04:24] <burek> and type ./configure
[04:24] <burek> make
[04:24] <burek> make install
[04:25] <zonemiderN00B> your trick :)!
[04:25] <burek> not mine :)
[04:25] <burek> that's the general way how to compile things on linuxes
[04:26] <zonemiderN00B> the gentoo users says that.. need to compile stuff...
[04:27] <zonemiderN00B> i'm regular desktop user :)
[04:27] <burek> :)
[04:29] <zonemiderN00B> i think it done...
[04:30] <zonemiderN00B> work fast compare to ffmpeg.....
[04:31] <burek> well yes, it's a lot smaller project :)
[04:31] <zonemiderN00B> yes..
[04:31] <burek> ffmpeg has a huge list of encoders/decoders it supports
[04:32] <zonemiderN00B> i have the samplicate command available!
[04:34] <burek> :)
[04:35] <burek> something like: ./samplicate -p 1234 -x 10000000 127.0.0.1/5678
[04:36] <burek> that will listen on 0.0.0.0:1234 and retransmit on port 5678
[04:36] <zonemiderN00B> ./?
[04:36] <burek> so 1st ffmpeg should do: ffmpeg -f v4l2 -i /dev/video0 -f mpegts udp://localhost:1234
[04:36] <zonemiderN00B> not without? the "./"
[04:37] <burek> and 2nd one (or ffplay) should just read udp://localhost:5678
[04:37] <burek> ./ means that the command is in the current directory
[04:37] <burek> but if you did make install
[04:37] <burek> then you copied that cmd into system path, so you can type the cmd even without ./
[04:37] <zonemiderN00B> i did make install
[04:37] <burek> ok then
[04:38] <zonemiderN00B> samplicate -p 1234 -x 10000000 127.0.0.1/5678 - running
[04:39] <burek> ok, read the rest of the text I wrote above
[04:39] <zonemiderN00B> ffmpeg -f v4l2 -i /dev/video0 -f mpegts udp://localhost:1234 - running
[04:41] <zonemiderN00B> i need to see something with the command "read udp://localhost:5678"
[04:44] <zonemiderN00B> burek,  http://pastebin.ca/2205464
[04:45] <zonemiderN00B> all the other 2 command do nothing..
[04:46] <burek> ok, this ffmpeg encodes webcam input and sends to localhost:1234
[04:46] <burek> samplicator buffers it
[04:46] <burek> and what's the pastebin of 2nd ffmpeg
[04:47] <zonemiderN00B> this command "ffplay udp://localhost:5678"
[04:47] <zonemiderN00B> give me this error
[04:48] <zonemiderN00B> [mpeg2video @ 0xb050fae0] mpeg_decode_postinit() failure
[04:48] <burek> pastebin
[04:49] <zonemiderN00B> http://pastebin.ca/2205465
[04:49] <zonemiderN00B> i try with VLC also.. and i get this error
[04:51] <zonemiderN00B> http://pastebin.ca/2205466
[04:51] <burek> just a sec
[04:51] <zonemiderN00B> OK
[04:51] <zonemiderN00B> i'm here :)
[04:53] <burek> the Libav developers
[04:53] <burek> it is avplay
[04:53] <burek> not ffplay
[04:54] <burek> with vlc, use udp://@:5678
[04:55] <zonemiderN00B> i get only that
[04:55] <zonemiderN00B> # avplay udp://localhost:5678
[04:55] <zonemiderN00B> avplay version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2003-2012 the Libav developers
[04:55] <zonemiderN00B>   built on Jun 12 2012 16:37:58 with gcc 4.6.3
[04:59] <zonemiderN00B> and VLC also not work
[04:59] <zonemiderN00B> http://pastebin.ca/2205467
[05:00] <zonemiderN00B> burek, ^
[05:01] <burek> main error: socket bind error (Address already in use)
[05:01] <burek> some other program is also trying to read from port 5678
[05:01] <burek> can't have 2 programs reading the same port
[05:02] <zonemiderN00B> to change the 5678 in the udp program
[05:03] <zonemiderN00B> i move it to 54399
[05:04] <burek> well, maybe you are trying both ffplay and vlc
[05:04] <burek> at the same time
[05:04] <burek> which won't work
[05:05] <zonemiderN00B> hoooooo
[05:05] <zonemiderN00B> ok
[05:05] <zonemiderN00B> i try again
[05:07] <burek> :)
[05:07] <burek> im trying too
[05:07] <zonemiderN00B> burek, something weird, in vlc  i dont get error, and i dont get video
[05:08] <zonemiderN00B> http://pastebin.ca/2205470
[05:09] <burek> try without -x param first
[05:09] <zonemiderN00B> i get a-loooots of this line
[05:09] <zonemiderN00B> sending datagram to 0.152.150.128:2000 failed: Invalid argument
[05:10] <zonemiderN00B> this is the command that i run
[05:10] <zonemiderN00B> samplicate -p 1234 10000000 127.0.0.1/54399
[05:10] <burek> not 0.152.150.128
[05:11] <burek> no no no
[05:11] <burek> remove 10000000 too
[05:11] <zonemiderN00B> hoo
[05:11] <burek> it interpreted that number as ip address :)
[05:11] <zonemiderN00B> ok
[05:11] <zonemiderN00B> look ok..
[05:12] <zonemiderN00B> COOOOOL
[05:12] <burek> now, try with low -x 1000
[05:12] <zonemiderN00B> i get video in the vlc
[05:13] <burek> and go to tools - codec options, tab statistics
[05:13] <burek> see the bit rate
[05:13] <burek> and monitor it while you increase -x value
[05:15] <zonemiderN00B> with out the -x 1000 the input bit rate is ~250kb/s
[05:15] <zonemiderN00B> and the Content bit rate is ~ 180-200 kb/s
[05:15] <zonemiderN00B> now i add  the -x 1000
[05:18] <zonemiderN00B> the bit rate look + -  the same
[05:20] <zonemiderN00B> i try to change it to 1000000
[05:20] <zonemiderN00B> 1000000 us = 1 sec
[05:21] <zonemiderN00B> burek, and the video is freeze
[05:22] <burek> yup.. I see the same issue
[05:22] <burek> it seems there is a bug... :)
[05:22] <burek> yay..
[05:24] <zonemiderN00B> it is look like a packets lost..
[05:25] <zonemiderN00B> i put 50000 and i get image with noise and artifacts
[05:25] <burek> yes, the bigger the delay, the more trouble it introduces..
[05:27] <zonemiderN00B> what do you think?
[05:28] <burek> I'm thinking of patching samplicator and fixing the bug :)
[05:28] <zonemiderN00B> here is after morning...
[05:28] <burek> here too :)
[05:28] <burek> anyway, I'll see if I make anything out of this
[05:28] <zonemiderN00B> so i go to grub some sleep..
[05:28] <burek> to write a wiki page about that
[05:29] <burek> ok
[05:29] <burek> good night :)
[05:30] <zonemiderN00B> i promise to back in few hours :)
[05:30] <burek> :)
[05:30] <zonemiderN00B> thank you sooo much for everything
[05:30] <burek> you're welcome :beer: :)
[05:31] <zonemiderN00B> 6 pack
[10:38] <ideea> hi, what is ffmpeg.core file?
[10:38] <ideea> oO
[10:40] <Yexo> core dump from the last time ffmpeg crashed probably
[10:40] <Yexo> try "file ffmpeg.core" in your console
[11:45] <Kingsy> alright peeps
[11:48] <Kingsy> I am looking to put some files on a standard video dvd with menus. They are mkv files ~250MB per file. So I assume I need to convert these to mpeg2 to make them compatible over all players. What in general is the smallest I could hope to get them without any quality loss?
[11:49] <Kingsy> I heard using a vbr of around 5000 was the way to go..
[11:50] <Kingsy> and something called "2 pass" ? does this mean anything to anyone?
[12:11] <quizme> why do people say that the GPL license bad to use if you're using ffmpeg in non-server (client, distributed) code?
[12:14] <JEEB> quizme, some people don't want to have their whole app under the GPL? And other reasons.
[12:15] <quizme> jeeb oh it basically turns everything all the code in the app into a GPL license if used together with other GPL
[12:16] <JEEB> if you include a GPL header/link to GPL code, your whole app becomes GPL. It's basically viral.
[12:18] <JEEB> there's a reason to have a GPL ffmpeg only in cases when you have linked some GPL library to it, though
[12:18] <JEEB> and in those cases not like you can really do something
[12:19] <JEEB> (although f.ex. with x264 if you want to make a closed source app you could license it commercially separately, and use libavformat/codec for input/muxing separately as an LGPL library)
[12:21] <JEEB> also, your code could actually be with whatever license you want, but! If you link stuff together with GPL, that stuff becomes GPL and thus it is also under the GPL. For example, you have the ffmpegsource project, which is under IIRC MIT, but if a binary has been linked with GPL ffmpeg, you have to release the sources under GPL for that binary.
[12:21] <Kingsy> anyone have an idea about my question?
[12:22] <JEEB> Kingsy, there's AFAIK a setting for DVDs
[12:22] <JEEB> which should set some default bit rate, and maxrate/bufsize accordingly to DVD needs
[12:23] <JEEB> and with bitrate-based encoding 2pass is recommended because it lets the encoder go once over the whole thing, see how much every frame takes size-wise under some quantizer, log that, and then do a final second pass with the knowledge of how "hard to encode" various parts of the clip are
[12:25] <JEEB> ok, it was -target pal-dvd or film-dvd or ntsc-dvd (25fps, 24000/1001fps, 30000/1001fps methinks)
[12:25] <Kingsy> JEEB: hmm is it difficult?
[12:25] <JEEB> what is difficult?
[12:27] <Kingsy> I mean is it difficult to convert a clip from mkv to mpeg2 using the criteria we mentioned?
[12:27] <Kingsy> basically the aim is to fit as many as possible onto a dual layered dvd
[12:27] <Kingsy> hence the smallest file size I can get without taking a quality hit
[12:29] <JEEB> you would basically have to find that bitg rate for the content then :P
[12:29] <JEEB> and then see how many things you could fit onto a platter with that bit rate
[12:30] <JEEB> (now you can see why ye olde folk just went lazy and decided X clips per DVD)
[12:31] <Kingsy> why do you have to find out the bitrate of the content? don't you just have to choose a taget bitrate ?
[12:31] <JEEB> oh, and let's not forget that most content is different, there is no "one bitrate fits all" kind of thing :)
[12:32] <JEEB> Kingsy, you defined it as 1) find the lowest bit rate that still doesn't cause a big enough quality hit 2) then see how many clips you can fit
[12:32] <JEEB> with your own words
[12:33] <Kingsy> right.. so why do you have to find out the current bitrate? I just want to try a vbr of 4000 and see what its like
[12:33] <JEEB> huh? where did I say something about the /current/ bit rate of your content?
[12:33] <JEEB> (whatever it may be in the matroska files)
[12:34] <Kingsy> oh sorry I misunderstood then :)
[12:34] <Kingsy> so, can you give me a typical ffmpeg command to get my started?
[12:35] <Kingsy> me/my
[12:36] <JEEB> not sure if the -target option resizes, you should check what exactly it does, and add resizing and possible padding/aspect ratio flags to it (it seems to set at least video format, a common bit rate for that target, maxrate and bufsize to keep within the buffer limitations of the target)
[12:37] <JEEB> but otherwise it should be something like ffmpeg -i input.mkv -target your-target out.vob
[12:37] <JEEB> or ffmpeg -i input.mkv -target your-target -c:a ac3 -b:a 192k out.vob to specify that you want AC3 audio with 192kbps
[12:39] <Kingsy> what is -target your-target in reference to?
[12:39] <JEEB> <JEEB> ok, it was -target pal-dvd or film-dvd or ntsc-dvd (25fps, 24000/1001fps, 30000/1001fps methinks)
[12:39] <JEEB> depending on what you want to create
[12:40] <JEEB> f.ex. if those matroska files contain 24000/1001fps content, you probably want film-dvd
[12:40] <JEEB> oh, and if you want to set a bit rate for video, the switch is -b:v
[12:40] <JEEB> f.ex. -b:v 4000k
[12:44] <JEEB> Kingsy, info on most ffmpeg options can be found from http://ffmpeg.org/ffmpeg.html
[12:55] <level09> has any one tried to integrate ffmpeg with Avid
[13:23] <DrSlony> 33 seconds waiting for a response, woohoo
[14:10] <Kingsy> JEEB: cool let me try one of them out :)
[14:15] <Kingsy> hmm so I am getting Failed to set value 'ac3' for option 'c:a'   does that mean I don't have ac3 installed?
[14:15] <JEEB> full command line and output into pastebin, thank you :)
[14:15] <JEEB> and then link your pastebin here
[14:16] <Kingsy> http://pastie.org/4753206  <--- looks like ffmpeg is depreciated too.. but that doesnt matter for now
[14:16] <JEEB> ah, you're using libav
[14:16] <JEEB> you should use avconv in that case :)
[14:17] <JEEB> the ffmpeg binary was deprecated (in libav)
[14:17] <JEEB> and it thus doesn't have the -c:a way of setting a codec
[14:17] <Kingsy> oh :S
[14:17] <JEEB> just switch s/ffmpeg/avconv/ in that case
[14:17] <JEEB> (libav has a support channel at #libav , too, if you want to switch there)
[14:18] <Kingsy> cheers man! :)
[14:52] <burek> to display a text overlay on the video at specified time interval, is it enough to do something like -vf drawtext=...:draw=(n>10 && n<20)"
[14:52] <burek> to draw text for example from 10th until 20th second
[14:55] <RoyK> hi all
[14:57] <RoyK> I'm trying to find a way to understand and perhaps even setup adaptive streaming over HTTP. For what I can understand, this involves transcoding a video, say, 30 minutes long, to a bunch of small clips, for instance 2 minutes each, in different bandwidths. How can I do this with transcoding with ffmpeg?
[14:59] <saste> RoyK, check segment muxer, you can specify several outputs at the same time
[14:59] <burek> (i meant 't' not 'n')
[15:00] <RoyK> ok, thanks
[15:09] <saste> burek: that's not valid expression syntax
[15:09] <saste> what you want is draw=gt(t, 10)*lt(t, 20)
[15:10] <burek> oh, thanks saste :)
[15:11] <burek> do all these http://ffmpeg.org/ffmpeg.html#Expression-Evaluation apply to the drawtext filter expressions too?
[15:12] <saste> of course
[15:12] <burek> cool
[15:13] <burek> I can make wavy text like y=sin(t) :D
[17:13] <t4nk232> need help getting File for preset 'slow' not found
[17:13] <t4nk232> how do i get the slow preset?
[17:16] <t4nk232> anyone?
[17:18] <JEEBsv> it's no longer used from files
[17:18] <JEEBsv> but via libx264's internal preset system
[17:18] <JEEBsv> set via -preset
[17:38] <t4nk232> i got it working
[17:39] <t4nk232> the new ffmpeg dosnt have it in it anymore
[17:39] <t4nk232> -__-
[17:40] <JEEBsv> yes, libx264 presets are now using internal ones from libx264 itself
[17:48] <JEEBsv> nice
[17:48] <burek> :beer: :)
[17:56] <DelphiWorld> any dev arround guys?
[17:56] <DelphiWorld> saste: SUP
[17:57] <DelphiWorld> hi Rathann
[17:57] <Rathann> hi
[17:58] <DelphiWorld> Rathann: you're a FF dev ?
[17:59] <Rathann> I contributed a small patch or two and I maintain Fedora packages
[18:00] <DelphiWorld> cool Rathann
[18:00] <DelphiWorld> Rathann: mind if i pm you ?
[18:00] <Rathann> no, go ahead
[18:02] <DelphiWorld> i done it Rathann :P
[18:17] <RoyK> thanks to saste for tip about the segment muxer, but then, is it possible to create a single m3u8 playlist or otherwise something standard with all files with different bitrates to allow for adaptive streaming?
[18:17] Action: RoyK is fairly new to this
[18:18] <burek> RoyK, doesn't segment_list do that
[18:19] <RoyK> I just add that to the end of all outputs?
[18:19] <saste> RoyK, a single m3u8 playlist  => not possible
[18:19] <RoyK> ok
[18:19] <saste> you can create several playlist with different bitrate profiles
[18:20] <RoyK> ic
[18:31] <RoyK> saste: so something like this isn't supported (yet)? http://tools.ietf.org/html/draft-pantos-http-live-streaming-08
[19:02] <DelphiWorld> hi ubitux
[19:04] <ubitux> hi
[19:08] <DelphiWorld> ubitux: there MUMUDVB was using ffmpeg 0.6.x but api got old and removed. would you suggest something?
[19:10] <saste> RoyK, section 6.2.4
[19:10] <DelphiWorld> saste saste any SUGGESTION bro?
[19:10] <DelphiWorld> saste: your last answer was kit usefull, distcleaned it and worked
[19:10] <saste> you just need to create a master playlist, containing references to the several m3u8 files
[19:11] <saste> DelphiWorld, suggestion for what?
[19:11] <RoyK> saste: ic, thanks
[19:11] <DelphiWorld> saste: mumuDVB use FFmpeg for transcoding purpose
[19:11] <DelphiWorld> but was using the Old API
[19:12] <DelphiWorld> how we can upgrade it to the latest FFmpeg?
[19:13] <saste> DelphiWorld, how can i do X thing?
[19:13] <saste> => by doing X thing
[19:13] <DelphiWorld> saste: mean?
[19:13] <DelphiWorld> lol
[19:13] Action: DelphiWorld didnt understand
[19:13] <saste> your question is vague
[19:14] <DelphiWorld> saste: i say was using OLD API look like 0.6.x
[19:14] <DelphiWorld> so i want to atempt upgrading it
[19:14] <DelphiWorld> a compile log is good for you?
[19:14] <burek> you obviously need to "upgrade" both
[19:14] <DelphiWorld> or the c code?
[19:14] <burek> since api changed
[19:14] <saste> DelphiWorld, so what's the problem
[19:15] <saste> you will have to find out which are the dumped functions, and replace them with the new ones
[19:15] <DelphiWorld> saste: i'lle try to give a compile log
[19:15] <JEEBsv> of course, in most cases you can't just do s/herp/derp/ and actually have to take a look at the related header files
[19:15] <JEEBsv> and rewrite some things to use new interfaces
[19:19] <DelphiWorld> saste: http://paste.debian.net/190944/
[19:19] <DelphiWorld> that's the log
[19:24] <DelphiWorld> saste ?
[19:25] <saste> DelphiWorld, CODEC_ID => AV_CODEC_ID
[19:26] <DelphiWorld> saste: where that
[19:26] <saste> for the other you may need to read headers and understand what has been dropped and replaced by what
[19:26] <saste> sometimes it is a matter of a rename, something it is not that simple
[19:26] <saste> the url_* interface is not anymore public for example
[19:27] <DelphiWorld> saste: i'm not a good C dev :-)
[19:27] <saste> DelphiWorld, no I don't have all this time to do the work for you
[19:28] <llogan> DelphiWorld: can you work with the mumuDVB people to help you?
[19:29] <DelphiWorld> llogan: do you know why i'm here: cause MumuDVB people is looking for a contributor.
[19:44] <DelphiWorld> anyway: if anyone wanna contribute let me know
[20:23] <burek> donations could maybe speed up the process
[20:30] <DelphiWorld> see ya
[20:32] <sacarasc> That site DelphiWorld linked in the part message is AWESOME!
[21:47] <DrSlony> ffmpeg's deshake filter improves the clip, but there are still some small shakes left in the resulting video. How can I tune it to remove those small shakes? Also can I tune it to smooth out larger shakes more?
[22:51] <DrSlony> deshaking using ffmpeg results in a video that isn't as smooth as the original.. any idea why?
[22:51] <DrSlony> shakes less but jerks more
[23:10] <teratorn> what option do I give on ffmpeg command-line so it keeps the bitrate/quality of the source video approximately the same?
[23:14] <llogan> teratorn: depends on the encoder
[23:14] <JEEBsv> teratorn: you either keep the bitrate the same, or the quality more or less same. And it depends on the encoder used as llogan said
[23:15] <teratorn> thanks, I'll try -sameq first and see if that is oK
[23:15] <JEEBsv> that's not it
[23:15] <JEEBsv> it's not it
[23:15] <llogan> ah...sameq. the retard of the family.
[23:15] <JEEBsv> sameq = copy QUANTIZERS from the source
[23:16] <JEEBsv> Does NOT do what you think it does
[23:16] <JEEBsv> I repeat
[23:16] <JEEBsv> Does NOT do what you think it does
[23:16] <teratorn> uh
[23:16] <JEEBsv> it was renamed to have a better name but the old setting still works
[23:16] <teratorn> ok!
[23:16] <llogan> or maybe misunderstood cousin is more accurate.
[23:16] <teratorn> uh
[23:16] <teratorn> the
[23:16] <teratorn> ugh
[23:16] <teratorn> stackoverflow :(((
[23:17] <JEEBsv> it's easy to mistake it when ffmpeg used to have 200kbps as the default or all encoders before
[23:17] <JEEBsv> and sameq would in most cases look better than that
[23:17] <JEEBsv> + the name was quite derp
[23:17] <llogan> and the docs were also derp
[23:17] <JEEBsv> yeah
[23:18] <JEEBsv> now it has a new name and proper docs that say it's not same quality
[23:18] Action: llogan blames the docs mostly for oversamequsage
[23:18] <JEEBsv> but the old name still works :s
[23:18] <llogan> *old docs.
[23:19] <JEEBsv> teratorn: anyways, I guess you want "more or less the same quality"?
[23:19] <teratorn> right
[23:19] <JEEBsv> which is the video codec of choice you're going to use?
[23:19] <teratorn> im just adding a template png to the video
[23:19] <teratorn> h264 (x264)
[23:19] <JEEBsv> ok, that is at least the easiest of the pack
[23:20] <JEEBsv> now let's get down to some basics
[23:20] <teratorn> lay it on me
[23:20] <JEEBsv> 1) there is no algorithm that will give you 'same visual quality' automagically with the minimum bit rate needed for it
[23:21] <JEEBsv> aka "We don't have thousands of chinese kids looking at your video in the basement"
[23:21] <llogan> (patch welcome)
[23:21] <JEEBsv> 2) the closest to setting a "constant quality" is libx264's crf rate control mode (Constant Rate Factor), controlled by the -crf switch, default is 23
[23:22] <JEEBsv> 3) The idea of crf is to find the highest crf value for your content that still looks good, and use that
[23:22] <teratorn> I see
[23:22] <JEEBsv> that will be the lowest bit rate needed to keep that visual quality level you want
[23:22] <teratorn> ah
[23:23] <llogan> but wait, there's more!
[23:23] <JEEBsv> (and you can then use the same crf value on all similar clips)
[23:23] Action: llogan lays down some beats for JEEBsv rap
[23:23] <JEEBsv> in other words, encode a few thousand frames of a clip you're going to be encoding with various crf values, starting with 23
[23:23] <teratorn> i'll have to cut a short clip to test with
[23:23] <JEEBsv> if it looks good, go higher
[23:23] <JEEBsv> teratorn: -ss and -t
[23:24] <JEEBsv> ss seeks to a time
[23:24] <teratorn> oh
[23:24] <teratorn> ok
[23:24] <teratorn> no need to cut first
[23:24] <JEEBsv> t encodes time amount of stuff
[23:24] <teratorn> very cool
[23:24] <teratorn> is -qsame at all useful?
[23:24] <teratorn> or just bogus
[23:24] <teratorn> for this
[23:24] <JEEBsv> nothing you'd want to do
[23:24] <JEEBsv> ignore it
[23:24] <teratorn> cool
[23:25] <JEEBsv> http://ffmpeg.org/ffmpeg.html <- you can ctrl+f this for -ss and -t to check what kind of timestamps they take in
[23:26] <JEEBsv> basically you can then start with ffmpeg -ss -t -i input -c:v libx264 -crf 23 -an -as out.mkv for testing (outputs an mkv file without audio or subtitles for checking of video quality)
[23:27] <JEEBsv> with -ss and -t having values in them of course
[23:27] <JEEBsv> personally I do around 2500 frames or so
[23:27] <JEEBsv> for testing
[23:27] <JEEBsv> if it looks bad, lower the crf
[23:27] <JEEBsv> if it looks good, higher the crf to check if you can compress more
[23:28] <cbsrobot-> JEEBsv: does adding the -preset:v change qulity aswell ?
[23:28] <cbsrobot-> *quality
[23:28] <cbsrobot-> when using -crf ?
[23:28] <JEEBsv> yes, crf changes somewhat between settings because the algorithms used to calculate the rate factor change as well
[23:28] <JEEBsv> but it's usually minor
[23:29] <JEEBsv> I was just going to get to that, after you find your highest crf value that still looks good, you can then check out the presets
[23:29] <JEEBsv> http://mewiki.project357.com/wiki/X264_Settings#preset
[23:29] <JEEBsv> you set these with -preset presetname
[23:29] <JEEBsv> (or -preset:v if you like to set it specifically for video)
[23:30] <JEEBsv> everything other than ultrafast and placebo is generally "usable", but the general recommendation is to use the slowest preset that is "fast enough" for your use
[23:30] <teratorn> hmmm
[23:30] <JEEBsv> because the faster the preset gets
[23:31] <JEEBsv> the less it will be able to compress
[23:31] <teratorn> even though it could do a better job at the same equivalent bitrate, because the coder doesn't take as long, it doesn't do it as smartly?
[23:31] <teratorn> all that video shit, technically speaking?
[23:32] <JEEBsv> more like less features get used, faster algorithms picked
[23:32] <JEEBsv> what you care about is that slower presets can compress more, and encode slower
[23:32] <cbsrobot-> now let's move to the profiles
[23:32] <JEEBsv> while fater presets (try to) compress less, and encode faster
[23:33] <teratorn> ok
[23:33] <JEEBsv> I don't know i he needs profiles
[23:33] <JEEBsv> *if
[23:33] <cbsrobot-> llogan: stop the beats
[23:33] <JEEBsv> he hasn't told what he will be encoding for, and if it's flash or something it can as well be high profile
[23:34] <teratorn> my video quality is extremely poor due to being a nasty 100' powered VGA signal
[23:34] <teratorn> haha, so hopefully I can compress the hell out of it before it starts losing quality
[23:34] <teratorn> otoh i need to post 18h of 1024x768 video
[23:34] <teratorn> and i dont have a week to do it
[23:34] <llogan> cbsrobot-: i...i can't!
[23:35] <JEEBsv> well, first find your "pain line" with the crf
[23:35] <teratorn> maybe I should just upload to zencoder or something haha
[23:35] <JEEBsv> as in the highest crf that still looks good enough
[23:35] <teratorn> yeah- will do :)
[23:35] <JEEBsv> then see the presets
[23:35] <JEEBsv> and pick the slowest that is fast enough for your needs
[23:35] <JEEBsv> then just encode
[23:36] <JEEBsv> teratorn: if it's that service that promises all kind of bullshit -- it is bullshit :)
[23:42] <teratorn> is there any filter that can clean up some of the noise and jitter in this video? http://teratorn.org/tmp/out_23.mp4
[23:42] <teratorn> or would that just be an exercise in futility?
[23:43] <JEEBsv> there are denoisers available but not sure if you want to sprinkle that all around
[23:44] <teratorn> i doubt it would help much - the video is quite bad
[23:44] <JEEBsv> reminds me of writing a raping avisynth script to fix some bad footage ages ago :P
[23:44] <JEEBsv> or...
[23:45] <JEEBsv> no, that certainly wasn't "fixing"
[23:45] <JEEBsv> sorry
[23:45] <JEEBsv> it was rape
[23:45] <JEEBsv> just made it a bit less bad for the eyes, in a way
[23:46] <DrSlony> Help, I'm testing transcode to deshake video and I need to have the resulting video saved with higher compression than the default value (whatever that is), how do I specify ffmpeg options in transcode? I want to use the following: -acodec libmp3lame -ar 41k -aq 2 -vcodec libx264 -preset slower -crf 25
[23:47] <teratorn> seems like it would be *possible* to develop a filter specifically for cleaning up VGA noise
[23:47] <JEEBsv> teratorn: high probability that avisynth has something useful
[23:47] <teratorn> if it detected scene-changes well enough, it could interpolate all the frames in parts of the video where the scene is detected to be static
[23:47] <DrSlony> the transcode line I use now is: transcode -g 1920x1080 -x mplayer,mplayer -J transform -i shaky.mp4 -y ffmpeg,ffmpeg -F huffyuv -o out_transcode.mp4
[00:00] --- Thu Sep 20 2012


More information about the Ffmpeg-devel-irc mailing list