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

burek burek021 at gmail.com
Sat May 18 02:05:01 CEST 2013


[00:05] <relevante> ubitux: should I paste all of those logs into the ticket directly, or is using a paste service preferred?
[00:06] <relevante> the complete log is over 14k lines
[00:06] <ubitux> relevante: no it's ok
[00:06] <ubitux> i've added the relevant information, i believe
[00:07] <relevante> cehoyos asked again for the "complete, uncut console output"
[00:08] <ubitux> relevante: i've pasted what's necessary
[00:08] <ubitux> relevante: do you have other decoder we can compare against?
[00:10] <relevante> is a player ok?
[00:10] <ubitux> you can point out anything able to play the file
[00:11] <relevante> ok sure
[00:11] <relevante> having trouble accessing trace now
[00:11] <relevante> trac*
[00:12] <ubitux> yeah, same here :)
[00:17] <relevante> ok great, it's back
[00:22] <mgeary> hi folks
[00:23] <mgeary> i'm trying to convert a fly audio file to ogg. I'm getting the error: "Unable to set CBR to 22050: not supported"
[00:23] <mgeary> what do i need to change?
[00:25] <mgeary> ubitux: http://pastebin.com/BLanLRTN
[00:25] <ubitux> wow this is old :)
[00:25] <ubitux> it works fine here with a more recent version
[00:26] <mgeary> interesting
[00:26] <mgeary> iirc, it was no small trick to get this compiled and configured on this machine
[00:26] <mgeary> so i'm reluctant to go through that again :S
[00:26] <ubitux> you can try another audio bitrate anyway
[00:26] <ubitux> like 44100
[00:26] <ubitux> (-f ogg should not be necessary btw)
[00:27] <mgeary> every other rate i try fails in the same way
[00:27] <mgeary> can i just keep it CBR?
[00:27] <mgeary> if i don't specify a bitrate, it works, but my file ends up being huge
[00:28] <ubitux> it's hard to tell; 0.10 is too old i have no idea how it behaves
[00:29] <mgeary> this machine is Ubuntu 10.04, is there an apt-get repo i could point to to get a newer version?
[00:29] <mgeary> i had to compile this version by hand, iirc, looping in a bunch of plugins
[00:30] <mgeary> yeah, but those don't have mp3 support compiled in, do they?
[00:30] <ubitux> i see "--enable-libmp3lame" in the configure options
[00:31] <mgeary> hmm
[00:31] <mgeary> where can i see those options?
[00:31] <mgeary> the readme seems empty
[00:31] <mgeary> oh
[00:31] <mgeary> i'm down too deep. sorry
[00:31] <mgeary> was in the 64-bit dir
[00:35] <mgeary> hmm. no --enable-libfaac. Does that mean i won't be able to read AAC files?
[00:35] <ubitux> no, you just won't be able to encode them with libfaac
[00:35] <mgeary> don't need to encode. just decode
[00:35] <ubitux> (but libvo-aacenc is available in that build)
[00:35] <ubitux> decode is native
[00:35] <ubitux> just like mp3
[00:36] <mgeary> hmm. trying with the latest static build i now get: [libvorbis @ 0x2792820] encoder setup failed
[00:36] <mgeary> pastebinning
[00:37] <mgeary> http://pastebin.com/M8dkmMTd :S
[00:38] <ubitux> oh i'm stupid
[00:38] <ubitux> i didn't realized you were using audio *bitrate*
[00:38] <ubitux> you are looking to -ar, not -ab
[00:38] <ubitux> s/to/for/
[00:39] <mgeary> huh
[00:39] <mgeary> ah, sampling rate versus data rate, yes?
[00:39] <mgeary> duh
[00:40] <mgeary> that actually might explain why a mp3 file i produced isn't playing back as expected in IE
[00:43] <ubitux> relevante: as a workaround, you can try to revert the hash cehoyos pointed out
[00:44] <relevante> great, will try it now
[00:53] <relevante> ubitux: i'm getting this build error:
[00:53] <relevante> Undefined symbols for architecture x86_64:
[00:53] <relevante>   "_MM_FIX_0_541196100", referenced from:
[00:53] <relevante>       _filter in libavfilter.a(vf_fspp.o)
[00:53] <relevante>   "_MM_FIX_0_707106781", referenced from:
[00:53] <relevante>       _filter in libavfilter.a(vf_fspp.o)
[00:53] <relevante> ld: symbol(s) not found for architecture x86_64
[00:53] <ubitux> relevante: did you check out the revision or just revert the commit?
[00:53] <relevante> sounds like i need to force gcc instead of letting it use llvm.  do you know off the top of your head how i do that
[00:53] <relevante> i checked out
[00:54] <ubitux> stay on master
[00:54] <ubitux> and revert the commit
[00:54] <relevante> oh ok
[00:54] <relevante> standby :)
[00:54] <ubitux> or --disable-filter=mp should be enough to fix that build
[00:54] <relevante> on master?
[00:54] <relevante> with that flag
[00:57] <ubitux> on master you don't need it
[00:57] <ubitux> it's fixed afaik
[00:57] <ubitux> (or maybe not)
[00:57] <relevante> ok cool
[00:57] <relevante> thanks
[00:58] <ubitux> iirc it's a llvm failure
[00:58] <ubitux> i wonder now if we workarounded it
[00:59] <relevante> hmm, i have conflicts on the revert
[01:00] <relevante> https://gist.github.com/relevante/4dbcc6a370e1068ec86f
[01:00] <relevante> https://gist.github.com/relevante/7ad4126149567a139a31
[01:01] <relevante> i guess i should take the old one everywhere?
[01:05] <relevante> oops, guess not.  that didn't work
[01:11] <roboman2444> whats the best way to use ffserver. ffmpeg, and v4l2 to stream a basic webcam?
[01:12] <roboman2444> i dont want to waste processing power converting the mjpeg output of the webcam to something else
[01:15] <roboman2444> If i dont set things like bitrate or framerate, will ffmpeg just pass the video data through and not try to encode it at all?
[01:21] <relevante> ubitux: I couldn't get the reverted build to work.  i also tried checking out the old one (c9c7a77) and building it with the flag you suggested, which built, but still doesn't convert the file properly.  I also tried the previous commit with the same result.
[01:21] <relevante> looks like they boosted the priority of the ticket though, which is good :)
[01:55] <Pcmad> it seems i can't use windows path to my file when i want to use the overlay filter with a image file... any patch or any other version i could use to fix it ?
[02:13] <Magicking> Pcmad: As a workaround can't you execute ffmpeg with the current working directory defined as the directory of your image ?
[02:13] <Magicking> I know, it's dirty
[02:20] <Pcmad> i can use the same directory as the input but it's a problem to do like that
[02:21] <Pcmad> and when i ffmpeg the result with rtmp i get no overlayed image
[02:21] <Pcmad> to rtmp
[02:22] <Pcmad> the is no way to fix that window's path problem ?
[03:38] <roboman2444> bleh
[03:38] <roboman2444> i need a ffmpeg that runs on a 486
[03:38] <roboman2444> dont ask
[03:43] <roboman2444> flags           : fpu tsc cx8
[03:43] <mapreduce> I'm using valgrind on a program I'm writing and it's complaining about stuff within av_calloc
[03:44] <mapreduce> Is it normal for ffmpeg's code to give valgrind warnings?
[03:44] <mapreduce> libav*
[03:53] <highgod> Hi, I want to ask a question about audio, I found that ffmpeg out put a frame after decoding audio, and I want to save the content of it, what format should I save, wav or something? how can I play it, thanks.
[06:23] <Guest90973> HHello all
[06:23] <Guest90973> for some reason my nickname changed back =(
[06:23] <Guest90973> can i possibly bother someone for some help?
[06:26] <Guest90973> anyoen?
[09:49] <xlinkz0> can i apply a filter for a specific part of the video and copy the rest?
[09:59] <saste> xlinkz0, check timeline
[10:01] <burek> xlinkz0, yes you can
[10:07] <xlinkz0> well i think the fade filter already does that
[10:07] <xlinkz0> but i basically want to c:v copy after it is finished
[10:08] <xlinkz0> is it possible not to transcode the whole video just for the few seconds of fade?
[10:10] <highgod>  Hi, all ,I want to ask a question, I saw that the audio is decoded in a avframe, is it a pcm format?
[10:12] <burek> xlinkz0, no, I thinkt it's not
[10:13] <burek> using -vf assumes re-encoding
[10:14] <burek> xlinkz0, try using some advanced video editor to cut your original video on keyframes, that surround your interval where you want your filter applied, use the filter only on that chunk and try to merge it back into original video
[10:14] <xlinkz0> so i have to make 3 cuts..
[10:14] <burek> this might be easier if you use HLS, since you'll be working with chunks anyway
[10:14] <xlinkz0> hls?
[10:14] <burek> google it
[10:15] <xlinkz0> that's a vastly used acronym..
[10:15] <burek> highgod, it might be, but it could also be some internal format that makes ffmpeg work more fast, etc
[10:15] <burek> highgod, why do you ask anyway?
[10:16] <burek> oh ok
[10:17] <xlinkz0> oh i'm not using that, i need to cut parts from various mp4's and concat them together but with certain transition effects
[10:17] <xlinkz0> they already have a keyframe each second so i can cut fast
[10:28] <highgod> burek:we decode it out and pass it to the next module to use, so we don't konw what format it is and we want to test whether the result we got is correct
[10:29] <burek> highgod, did you take a look at the source code?
[10:29] <highgod> yes
[10:29] <highgod> audio docode
[10:29] <highgod> burek:yes, but not firmilar
[10:29] <burek> well, did you get the idea in what format is it ?
[10:29] <burek> which*
[10:31] <highgod> no, just copy the data to a file
[10:54] <xlinkz0> is there any transition filter that acts something like zooming?
[10:55] <xlinkz0> like scale a frame to 10% put it at x,y then slowly scale it bigger and bigger until it fills the screen
[10:55] <xlinkz0> i mean scale consecutive frames bigger and bigger
[10:58] <highgod> burek:the fromat is AV_SAMPLE_FMT_FLTP
[11:04] <highgod> buerk:is there any player to player this format audio?
[11:08] <highgod> Can I use the swscale to transfer it to pcm?
[11:11] <burek> xlinkz0 ^
[11:11] <burek> highgod, my point is that you shouldn't do it the way you are describing it
[11:12] <burek> ffmpeg uses (or can use, in the future) the internal format suitable for faster processing of audio
[11:12] <csteve> hi everyone, it's the first time i use irc, and i have two question about ffmpeg dev...anyone can help me?
[11:12] <burek> so, you shouldn't rely on its structure for your ongoing projects, rather you should encode the audio into some standard audio format
[11:13] <retard> csteve: channels have topics, you might want to look at the one for this channel
[11:13] <burek> hi csteve, just feel free to ask your questions
[11:15] <csteve> thank, so i'm implementing ffmpeg for mpeg2 xdcamhd422 encoding, works already well, but i would like to be clear with two encoding options
[11:16] <highgod> burek:but I don't konw whether the data we get is correct, do you konw which player can play this format?
[11:16] <burek> highgod, let me repeat, this time more clearly: no player, except ffmpeg, should ever be able to play any ffmpeg-internal data format
[11:17] <bomzaiya> hi I am Bom from Thailand
[11:17] <burek> that's kinda the point of internal formats
[11:17] <burek> highgod, try using latest ffmpeg to convert your input audio into pcm output (wav) and see if the output is correct
[11:18] <burek> that would pretty much mean that internal representation of that same audio is correct too
[11:18] <highgod> burek:if I transcode it to  AV_SAMPLE_FMT_S16, then it can use pcm player to pcm
[11:18] <highgod> yes
[11:18] <bomzaiya> Any one has experience on opening transparent video on android?
[11:19] <highgod> burek:but how can I imput the file? it has no format,wav or ....
[11:19] <bomzaiya> Or what are commands I could tell ffmpeg to give me respond back to java?
[11:23] <csteve> First question: how can i set the "qscale" parameter of the codec, and secondly how can i set the color matrix coefficient?
[11:45] <burek> highgod: ffmpeg -i input.mp4 output.wav
[11:46] <bomzaiya> hi
[11:46] <burek> bomzaiya, you might try: ffmpeg -i INPUT -c copy -c:v libx264 -
[11:47] <burek> "-" at the end means that ffmpeg should redirect the output stream to the stdout
[11:47] <burek> which you might capture in your java app
[11:47] <bomzaiya> oh
[11:47] <bomzaiya> interesting.
[11:48] <burek> csteve, did you try reading the ffmpeg documentation first?
[11:49] <bomzaiya> I read.
[11:49] <bomzaiya> But I might miss something like that.
[11:49] <bomzaiya> actually, I only saw those about conversion.
[11:51] <burek> bomzaiya, try here: http://www.ffmpeg.org/ffmpeg-all.html
[11:51] <bomzaiya> ok thx
[12:18] <deviant695> hi all
[12:18] <deviant695> i am doing hls and using the segmenter but i am having a problem with the adaptive streaming
[12:19] <deviant695> the video starts form the begining when i change bitrate trough jw player
[12:19] <deviant695> i have tried many variants but nothing so far
[12:19] <deviant695> can anyone sugest something?
[13:52] <deviant695> welli guess its useless when nobody is active here
[14:08] <xlinkz0> say i input a lot of files with -i 1.mp4 -i 2.mp4 etc, how do i reference these in filtergraphs?
[14:09] <deviant695> do not bother nobody will reply
[14:12] <durandal_1707> xlinkz0: read documentation, its mentioned there
[14:13] <xlinkz0> L1, L2 ?
[14:16] <durandal_1707> names can be anything
[14:19] <durandal_1707> with -filter_complex, and without any mapping inputs are named by default like this: [0], [1]....
[14:32] <xlinkz0> thanks
[14:50] <t4nk684> i can use the overlay filter with an image file and output to a flv file but when i try to output to rtmp i get no overlay.... any idea ?
[14:58] <t4nk684> it seems i found the problem but i don't know how fix it, the overlay filter works when i remove the scale filter... why ? do we need to write both filters in the same vf= ?
[15:05] <t4nk684> i finally found the solution :) i had to seperate the filters with commas
[15:06] <t4nk684> but the window's path for the image doesn't work it's a bug we can't use a : to specify a drive
[15:06] <t4nk684> it's very boring
[15:07] <t4nk684> do you know a patch for that problem ?
[15:47] <Mickey_> hi ! i overlay my animated image over a video but it uses only the first image ?!
[15:51] <Mickey_> http://pastebin.com/J5zDPbRM
[15:52] <durandal_1707> that is incomplete and cut output, only way i can help you is if you provide exactly what was requested
[15:52] <Mickey_> incomplete ???
[15:53] <Mickey_> not it's not ...
[15:53] <Mickey_> no it's complete o_O
[15:54] <ubitux> "and the COMPLETE console output"
[15:54] <Mickey_> it works but the image is not animated
[15:56] <ubitux> my guess is that you are using a too old ffmpeg, so without animated gif support
[15:56] <ubitux> but no one can tell since your output is incomplete
[15:56] <Mickey_> it's the last version i downloaded it 3 days ago
[15:56] <ubitux> what is "last version"?
[15:56] <durandal_1707> and wrom where is it downloaded?
[15:56] <durandal_1707> *from
[15:58] <Mickey_> http://ffmpeg.zeranoe.com/builds/
[15:59] <ubitux> Mickey_: can you share the gif?
[16:00] <ubitux> ok.
[16:05] <durandal_1707> using amovie with vf is really awkward, use -filter_complex
[16:06] <ubitux> he left
[16:07] <ubitux> and ./ffmpeg -f lavfi -i testsrc -ignore_loop 0 -i test.gif -lavfi overlay=... works just fine here
[16:13] <durandal_1707> he asked same before as t4nk684
[17:16] <robertzaccour> Is ffmpeg not supported in Ubuntu 13.04?
[17:17] <robertzaccour> It used to work for recording screencasts but now says its "deprecated"
[17:17] <durandal_1707> that is not ffmpeg but fork libav
[17:17] <robertzaccour> What do you mean? I installed ffmpeg.
[17:18] <durandal_1707> nope, that is not ffmpeg
[17:18] <robertzaccour> but in the previous OS it didn't say it was deprecated, it recorded perfectly
[17:19] <robertzaccour> here's the paste I used ffmpeg -f alsa -i pulse -f x11grab -r 30 -s 1366x768 -i :0.0 -vcodec libx264 -preset ultrafast -threads 4 -y screencast.mkv
[17:19] <robertzaccour> Which part of that might need to be changed in order for it to work properly?
[17:19] <durandal_1707> if you read carefuly output of that program you would notice its fork
[17:20] <robertzaccour> libx264?
[17:21] <dv-> i can't believe they still have that message going
[17:21] <durandal_1707> robertzaccour: no, but read "ffmpeg" output carefully
[17:22] <ubitux> robertzaccour ^
[17:23] <robertzaccour> I'm still not getting it.
[17:24] <durandal_1707> robertzaccour: what you use to watch screencast files?
[17:25] <robertzaccour> durandal_1707: vlc
[17:26] <durandal_1707> so created video have some issues or?
[17:27] <robertzaccour> it says this program is deprecated
[17:27] <robertzaccour> and says Unrecognized option 'preset' and Failed to set value 'ultrafast' for option 'preset'
[17:28] <robertzaccour> In Mint 14 it works fine, but now using the 15 RC it doesn't. It's based on Ubuntu 13.04
[17:30] <robertzaccour> durandal_1707: Any idea why what works in the last distro release doesn't work in this one?
[17:31] <durandal_1707> you are not using ffmpeg from FFmpeg project, and thus its seems ilogical to ask help on #ffmpeg
[17:31] <robertzaccour> durandal_1707: Can you help me fix what's messed up? And it is the ffmpeg from the default repos
[17:31] <dv-> robertzaccour: ffmpeg in ubuntu is actually libav, not ffmpeg
[17:32] <dv-> if you want ffmpeg, you'll have to download it manually
[17:32] <robertzaccour> dv-: How do I do that? And would Kdenlive still work if I do?
[17:35] <dv-> robertzaccour: http://ffmpeg.org/download.html
[17:41] <robertzaccour> Actually I think I'd rather use what's supported in the distro release. Is there a libav channel?
[19:44] <durandal_1707> i once managed to map metadata from one file to another but forgot how its done again
[19:45] <durandal_1707> ffmpeg -y -i IN -i METADATA -map_metadata 1 -c copy OUT <<< does not work
[20:01] <rendar> which is the best codec after the h264 which is lgpl?
[20:03] <Plorkyeran> vp8, maybe?
[20:03] <rendar> Plorkyeran: thanks, is vp8 paragonable to h264 for compression and quality?
[20:04] <JEEB> if you are limited to baseline H.264, then possibly
[20:05] <Plorkyeran> uh, if by "paragonal" you mean similar or something
[20:05] <Plorkyeran> libvpx is nontrivially worse than x264
[20:05] <Plorkyeran> but not terrible
[20:05] <JEEB> yup
[20:06] <Plorkyeran> and I can't really think of anything better that's realistically usable
[20:06] <Plorkyeran> it's certainly better than xvid or theora
[20:06] <JEEB> yes
[20:06] <JEEB> definitely
[20:06] <JEEB> after june 17th the bit stream specification for VP9 should get set, and then you could try using vp9 instead. But the encoding speed for that is slow as hell at the moment.
[20:06] <rendar> i see
[20:07] <rendar> well, i need a video codec for remote desktop, so the images will be quite static, does vp8 fit for me?
[20:08] <JEEB> btw, if you're a company you could just license x264
[20:08] <JEEB> it's double-licensed after all
[20:09] <rendar> JEEB: really? a friend of mine told me that x264 is only GPL
[20:10] <JEEB> nope
[20:10] <rendar> so, GPL + commercial?
[20:10] <JEEB> http://www.x264licensing.com/
[20:10] <JEEB> yup
[20:10] <rendar> oh, thanks! i see
[20:11] <rendar> does it cost much?
[20:11] <JEEB> I think it's relatively cheap, and you can ask them a quote for your use case
[20:12] <rendar> cool, thanks
[20:16] <Nick__> hi
[20:17] <Nick__> i use this : http://pastebin.com/qKBSB9D8 and i get loop option not found, how do i use it ?
[20:32] <Nick__> anybody home ?
[20:39] <t4nk747> in an overlay filter is it possible to make the animated image play more than once ?
[20:39] <t4nk747> i can't find the option
[20:55] <t4nk747> help:(
[20:56] <ubitux> t4nk747: there is nothing really to loop
[20:56] <ubitux> unless it's a gif
[20:57] <t4nk747> ???? it plays only once i want to play it many times
[20:57] <t4nk747> it's a animated gif above a video
[20:58] <ubitux> use -ignore_loop 0 if you want it to loop
[20:58] <ubitux> you can't do it with a movie= filterthing
[20:58] <ubitux> so use complex filter etc
[20:58] <ubitux> ./ffmpeg -f lavfi -i testsrc -ignore_loop 0 -i test.gif -lavfi overlay=...
[20:58] <ubitux> this should just work
[20:59] <t4nk747> ok i try ignore_loop , wait
[21:00] <t4nk747> it says option not found
[21:01] <ubitux> upgrade
[21:01] <ubitux> it's been recently added
[21:01] <t4nk747> this is the last version of ffmpeg...
[21:01] <ubitux> use git/master
[21:02] <ubitux> 1.2 is pretty old
[21:02] <t4nk747> ffmpeg version N-52045-g694fa00
[21:03] <ubitux> this is too old
[21:03] <t4nk747> i downloaded it one week ago...
[21:03] <t4nk747> are you kidding me...
[21:03] <ubitux> mmh one week, should be enough
[21:03] <t4nk747> ????????????
[21:03] <ubitux> would you mind pasting the complete output?
[21:04] <ubitux> yes it is too old.
[21:04] <ubitux> i added the ignore_loop exactly one day after the release you use
[21:04] <ubitux> just upgrade.
[21:04] <ubitux> commit a16c20569db6cecceb988b5b6ecac451af84e15d
[21:04] <ubitux> Date:   Thu Apr 18 22:21:58 2013 +0200
[21:04] <ubitux>     lavf/gifdec: add loop support.
[21:05] <ubitux> well not one day, a bit after
[21:05] <ubitux> you're using a release from ~12 april
[21:06] <t4nk747> http://pastebin.com/uN2dLhc1
[21:06] <t4nk747> ok but may be it's not in the windows version...
[21:07] <ubitux> it's too old./
[21:07] <ubitux> just upgrade.
[21:07] <t4nk747> :( amazing... one week ago so where could i find the latest one for windows ?
[21:08] <ubitux> the same place you fetch it the first time i guess.
[21:08] <ubitux> look at the download page.
[21:08] <t4nk747> i think it's still the same one ...
[21:08] <ubitux> ah right it's being stalled
[21:08] <ubitux> maybe it's because of the windows bug
[21:08] <ubitux> recent versions of ffmpeg crash the windows antivirus
[21:09] <ubitux> (lol)
[21:11] <ubitux> you can try to build it yourself
[21:14] <t4nk747> thanks a lot :)
[21:15] <t4nk747> i don't know how but apparently i used the old one in place of the new one lol
[21:15] <t4nk747> now it works :)
[21:15] <t4nk747> too bad i can't pay you some beers ;P
[21:16] <t4nk747> it's weird i can't find that option anywhere on internet
[21:16] <t4nk747> you're the one :) have a nice day
[21:16] <ubitux> i don't drink alcohol, so no worry
[21:16] <t4nk747> ;P
[21:17] <ubitux> see you
[21:17] <t4nk747> see you B)
[21:20] <esing> hi
[21:21] <esing> Should I use yv12 or uyvy (or even other color spaces) for 'video grabbing (usb adapter)' an old vhs tape? (The vhs tape is in PAL and around 15-19 years old)
[21:22] <esing> (I encode it in mpeg-2 with a bitrate of  9800kbps
[21:24] <esing> (Oh.. and it is interlaced video)
[21:51] <JodaZ> can anyone tell me if i read the mpeg-ts format, and it says the "Transport Error Indicator"-bit is after the sync byte, is that the highest order bit or the lowest order bit of the next byte ?
[21:58] <JEEB> JodaZ, I did it tsheader.transport_error_indicator = !!( up_to_pid & BIT16 ); and biTStream does it with 0x80
[21:59] <JEEB> so I woul guess we both read it the same way, most significant bit first
[21:59] <JodaZ> ok, thanks
[22:06] <jankowiak> Hello, I'm looking into using ffmpeg for a project, and was wondering if you could provide input if it is the appropiate tool.
[22:06] <jankowiak> The gist of the project is that the user inputs certain information into form and I generate the video and audio based on the info.
[22:06] <jankowiak> Essentially I would like to have a base video template that I can modify in certain parts, the modifications would be adding pictures and text to certain frames.
[22:06] <jankowiak> The audio would generated by mixing certain pre recorded audio files and then added to the video.
[22:15] <llogan> sounds like animoto
[22:22] <jankowiak> llogan: the idea is similar, but the video is prerecorded except for the sections which are based on the user input
[22:22] <jankowiak> I figure those could be separate animations that are generated and mixed into the final product at the appropiate time stamps
[22:23] <llogan> ffmpeg would fit well into your project
[22:24] <jankowiak> I'm looking into the drawtext option
[22:25] <jankowiak> seems like it is the proper tool for the job
[22:25] <jankowiak> thanks llogan!
[23:10] <Digit> H i !
[23:11] <spaghetticat> Is there an article somewhere about the generally recommended ways to encode to h264? I am looking at ways to increase quality/speed of my renders, currently basically I'm just doing file.avi -vcodec libx264 -acodec libvorbis -crf xx -ab 96k out.mkv
[23:12] <Digit> just use the profiles and the tune presets
[23:12] <spaghetticat> Digit: the main emphasis for me is small file size
[23:12] <spaghetticat> and is there an article on that? some sort of recommended reading
[23:12] <Digit> i use this : http://pastebin.com/e3QjZKRu can you help me i can't find how to modifiy it for udp output in mpegts
[23:13] <Digit> athis : https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping
[23:14] <Digit> and this http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[23:14] <Mavrik> spaghetticat, this also might help you: https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9/
[23:14] <Digit> and this http://blog.naver.com/PostView.nhn?blogId=hypermin&logNo=70096309250&parentCategoryNo=30&viewDate=&currentPage=1&listtype=0
[23:15] <spaghetticat> Thank you Mavrik and Digit, do you think there's much scope to improve render performance and file size based on my current command?
[23:15] <Digit> i think you should only use presets and tune presets
[23:15] <Mavrik> spaghetticat, of course, since you're not actually setting anything
[23:15] <Digit> use slower presets if your computer is fast enough
[23:16] <spaghetticat> My computer is plenty fast heh, 8350 8 core processor at 5.1GHz - it's others computers I'm concerned about
[23:16] <Digit> and it depends if you want to stream it or not
[23:16] <spaghetticat> Mavrik: Okay thank you! I will experiment. That Virag.si link isn't loading for me
[23:16] <Digit> then use slower preset with or without film tune preset
[23:16] <spaghetticat> The end result is going to get uploaded to Youtube, so it's going to get re-encoded again (ew) but eh
[23:17] <Mavrik> hmm
[23:17] <Digit> any help for my command ?
[23:17] <Mavrik> spaghetticat, don't bother too much about filesize then
[23:17] <Mavrik> just make sure it's not too compressed
[23:17] <Digit> use crf
[23:18] <spaghetticat> Mavrik: that's the thing, I need the file size to be small as possible as my users upload pipes tend to be..puny
[23:18] <llogan> "-codec:a copy" unless your audio is pcm
[23:18] <Digit> use a low fps
[23:18] <Digit> and 480x256 size
[23:18] <spaghetticat> hehe the avis I'm encoding are completely uncompressed - however there is the option to disable audio compression (acodec copy)
[23:19] <spaghetticat> Resizing/fps changing aren't solutions for me unfortunately
[23:19] <Digit> it is it lower the size a lot
[23:19] <spaghetticat> Digit: I know, but the use case I have won't allow for it
[23:20] <Digit> then just use slower preset and that's the best you can dot
[23:20] <Digit> do
[23:21] <llogan> might want to add "-pix_fmt yuv420p". i can't remember if YouTube groks others
[23:22] <Digit> nobody can help me ?
[23:23] <spaghetticat> Thing is the results I'm getting now aren't bad, I get about 300fps render speed at 720p and filesizes are very small, I'm just trying to eek as much performance out as possible
[23:23] <llogan> you'll just have to experiments with preset and crf as shown in the guide
[23:25] <llogan> Digit: http://ffmpeg.org/ffmpeg-protocols.html#udp
[23:27] <Digit> well i can do the udp thing, but i can't find the syntax when i'm using with my new filter_complex
[23:28] <Digit> i did already lol
[23:29] <Digit> now i tried this one and i get an error again http://pastebin.com/sm9MDR3R
[23:29] <Digit> i am lost :(
[23:29] <Digit> huuuuu yep look at it ... i pasted the url
[23:30] <llogan> re-read the sentence
[23:30] <Digit> huuuu
[23:30] <llogan> you keep mentioning "an error", but you never show it
[23:30] <llogan> we do not play the guessing game here
[23:32] <Digit> gulp im trying to copy it lol it doesn't want
[23:33] <llogan> anyway, if you can paste it I'll take a look later, but now i must go afk
[23:33] <Digit> http://pastebin.com/index/sm9MDR3R
[23:33] <Digit> :)
[23:33] <Digit> gulp now he's afk :(
[23:34] <sacarasc> You still didn't paste the output of the command, that's just the command.
[23:39] <Digit> lol now it works but i get no sound any more :D
[23:41] <Digit> sighs
[23:42] <JodaZ> whats DTS for ? (does the video file really tell the decoder /when/ to decode ?)
[23:42] <JEEB> JodaZ, yes -- mostly to create a list of the order :)
[23:43] <JodaZ> JEEB, shouldn't PTS suffice ?
[23:43] <JEEB> and then PTS shows the order and times to show the pictures
[23:45] <JodaZ> JEEB, doesn't the PTS suffice ? i mean i can't imagine pictures getting decoded in a different order than they are displayed, or does that happen ?
[23:45] <JEEB> uhh, yes
[23:45] <JodaZ> :/
[23:46] <JEEB> b-slices already pretty much mean that
[23:46] <JEEB> also it gets even more funky when we get to HEVC
[23:46] <JEEB> you can have an IRAP and then "leading pictures", which are meant to be /before/ the IRAP picture in presentation order
[23:46] <JEEB> (Intra Random Access Point)
[23:48] <JodaZ> JEEB, do you know anything about apple hla? i am looking into this stuff mainly to understand how that works
[23:48] <Digit> please help now i get no sound :( http://pastebin.com/vNmFEVnJ
[23:59] <Digit> <Digit> please help now i get no sound :( http://pastebin.com/vNmFEVnJ
[00:00] --- Sat May 18 2013


More information about the Ffmpeg-devel-irc mailing list