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

burek burek021 at gmail.com
Thu May 31 02:05:02 CEST 2012


[00:00] <Keshl> (Just need one line of code that actually produces a video file, not part of a line.)
[00:14] <ubitux> Keshl: ffmpeg -f lavfi -i cellauto=... out.mkv ?
[00:15] <Keshl> <.< You didn't read what I said.
[00:15] <Keshl> You wrote exactly like the documentation (Which I can't read due to lack of incomplete example) did.
[00:16] <Keshl> I need code that, when typed, will produce video without any sort of changes required to said code. From there I'll be fine.
[00:16] <ubitux> i thought you were refering to the documentation just mentioning "cellauto=..."
[00:17] <Keshl> Nu, oÉo. down more there's examples, but they don't refrence an entire line of code that actually makes video.
[00:17] <Keshl> So I don't know where to put the "cellauto" bit in the actual code, and, earlier today, I learnt that the order commands are typed /does/ matter.
[00:17] <Keshl> paramaters*
[00:17] <ubitux> ffmpeg -f lavfi -i cellauto -t 5 out.mkv  this produces a video for me :p
[00:18] <Keshl> Danks, oÉo.
[00:18] <Keshl> ...Oh my gosh that's so trippy I love it.
[00:18] <Keshl> o_o
[00:18] <ubitux> you can thanks saste for this :)
[00:19] Action: ubitux prefers life
[00:19] <ubitux> ffplay -f lavfi life=s=300x200:mold=10:r=60:ratio=0.1:death_color=#C83232:life_color=#00ff00,scale=1200:800:flags=16
[00:21] <Keshl> OH GOSH SQUEE ¿É¿
[00:21] <ubitux> or a more organic one: ffplay -f lavfi life=s=640x480:mold=10:r=100:ratio=0.1:death_color=blue:life_color=#00ff00,boxblur=2:2
[00:23] <saste> ubitux: we should have a section on the wiki with psychedelic sources commandline
[00:24] <ubitux> :D
[00:24] <ubitux> yeah :)
[00:24] <saste> mandelbrot is cool as well, and with the mp eval filter is possible to do pretty interesting stuff
[00:24] <Keshl> saste: Do that. Please. o_o
[00:24] <pasteeater> saste: heh, i was just about to mention mandelbrot
[00:24] <pasteeater> ffplay -f lavfi mandelbrot
[00:24] <ubitux> ah yeah there is a nice vf geq in ffmpeg history
[00:25] <ubitux> i need to port geq to a native ffmpeg filter :x
[00:25] <pasteeater> a filter gallery is on my wiki todo list.
[00:25] <ubitux> hehe
[00:25] <ubitux> .gif previews!
[00:26] <pasteeater> cinepak downloads
[00:26] <pasteeater> ...we only have decoder
[00:26] <pasteeater> nevermind
[00:26] <ubitux> :(
[00:26] <Keshl> x264 works fine for me. D:
[00:26] <Keshl> HTML5 previews.
[00:26] <Keshl> o_o
[00:26] <Keshl> You can play AVI's in a browser page like a .gif with them, but with more colors OÉO
[00:27] <ubitux> hipster!
[00:27] <ubitux> just use gif
[00:27] <ubitux> more than enough
[00:27] <Keshl> I liked colors before they were cool.
[00:27] <Keshl> @w@
[00:29] <pasteeater> saste: do you prefer https://ffmpeg.org/trac/ffmpeg/wiki/VideoSourceExamples or https://ffmpeg.org/trac/ffmpeg/wiki/PsychedelicExamples
[00:30] <pasteeater> because i feel like procrastinating meatspace work
[00:30] <ubitux> FancyFilteringExamples?
[00:31] <pasteeater> LGTM
[00:31] <ubitux> :)
[00:32] <pasteeater> or just add a section to the currently weaksauce https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide
[00:32] <saste> dunno, it depends if you want to put more emphasis on the didactic aspect or the trippy facet
[00:32] <ubitux> pasteeater: less appealing than FancyXXX
[00:33] <ubitux> also, FilteringGuide can link to FancyFilteringExamples
[00:33] <ubitux> it also moves the fun away from the useful stuff
[00:34] <saste> ah and don't forget the frei0r sources
[00:35] <ubitux> ./ffplay -f lavfi 'rgbtestsrc,scale=256:256,mp=geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128'
[00:35] <ubitux> (i'm not the author)
[00:35] <saste> also i played with the idea of wrapping xscreensaver, not sure it is possible
[00:36] <saste> or by converse using ffmpeg for generating a groovy screensaver
[00:36] <saste> ubitux: do you feel like you want to debug the crash?
[00:37] <ubitux> not now :p
[00:37] <ubitux> but i'm willing to port the geq filter though
[00:37] <ubitux> no time for this either unfortunately, i need to get done with the scene detection filter first :)
[00:37] <ubitux> so we can make some nice scene detect + tiling presentations :)
[00:38] <pasteeater> https://ffmpeg.org/trac/ffmpeg/wiki/FancyFilteringExamples
[00:38] <ubitux> pasteeater: images!
[00:38] <pasteeater> feel free to improve my junk
[00:38] <ubitux> :)
[00:38] <Keshl> idea. Make a screensaver that randomly makes one of those fancy things and plays it. <W<
[00:38] <pasteeater> you mean electricsheep?
[00:38] <Keshl> oÉo?
[00:39] <pasteeater> ubitux: fine! i'll make some images if you make some interesting examples.
[00:40] <ubitux> ffmpeg -f lavfi -i mandelbrot -t 10 -pix_fmt rgb24 -y output.gif
[00:40] <ubitux> use that kind of stuff to make some examples :)
[00:40] <ubitux> (maybe with a scale so ppl will want to play it by themselves with the cmd line and play with it)
[00:42] <pasteeater> lol. 84 MB gif.
[00:42] <ubitux> :D
[00:42] <Keshl> Hence me saying to use x264.
[00:43] <Keshl> OR.
[00:43] Last message repeated 1 time(s).
[00:43] <Keshl> Hm, sec.
[00:43] Action: Keshl tries stuff.
[00:44] <ubitux> pasteeater: it would be interesting to have examples with a lot of parameters, to make the page useful, or a bit creative/inspiring, like you did for the life example
[00:45] <Keshl> well first of all that's /massive/.
[00:45] <pasteeater> ubitux: agreed. that's why i wanted you to make the examples because i stole *your* life example
[00:45] <Keshl> Got it to 15.3 at the current size though, oÉo.
[00:46] <pasteeater> static png is fine with me for images. might make people want to try it themselves
[00:47] <ubitux> :)
[00:54] <ubitux> pasteeater: oh there is also my random melody example!
[00:54] <ubitux> where did i put it&
[00:54] <pasteeater> now you can add them to the wiki
[00:55] <ubitux> http://ffmpeg.org/pipermail/ffmpeg-devel/2012-May/124713.html
[00:58] <pasteeater> i can host the images myself for now, but i'd prefer to upload them to the wiki somehow
[00:59] <ubitux> (example added)
[01:03] <pasteeater> nice
[01:04] <pasteeater> and now it has a ToC
[01:05] <ubitux> :)
[01:20] <ubitux> pasteeater: you didn't paste the correct life image :)
[01:20] <ubitux> (you can put both of them though)
[01:25] <pasteeater> ubitux: yeah, i fixed that. the original image wasn't as interesting when scaled
[01:28] <pasteeater> ubitux: http://ffmpeg.org/pipermail/ffmpeg-cvslog/2011-October/041637.html
[01:29] <pasteeater> that's a fun one too
[01:45] <ubitux> pasteeater: 00:35:17 <@ubitux> ./ffplay -f lavfi 'rgbtestsrc,scale=256:256,mp=geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128'
[02:20] <LittleFoot> hi pplz
[02:20] <LittleFoot> can you plz help me change the rez from 1600x1200 to like 320x240
[02:20] <LittleFoot> ffmpeg -i /home/enjoycrf/Desktop/output.mkv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac -aq 50 /home/enjoycrf/Desktop/output.mp4
[02:20] <LittleFoot> with that comand
[02:21] <pasteeater> -vf scale=320:-1
[02:21] <LittleFoot> where do i put it
[02:21] <LittleFoot> after what
[02:21] <sacarasc> In the output options.
[02:21] <pasteeater> anywhere after -i input.foo
[02:21] <LittleFoot> k
[02:21] <LittleFoot> thx
[02:21] <pasteeater> or scale="320:trunc(ow/a/2)*2"
[02:22] <pasteeater> if libx264 complains about odd value
[02:22] Action: pasteeater recommends the second example
[02:22] <LittleFoot> its not complainging
[02:22] <LittleFoot> yey
[02:23] <LittleFoot> how come video encoding sucks cpu to max
[02:23] <LittleFoot> and all threads
[02:23] <LittleFoot> i mean cores
[02:23] <pasteeater> it's cpu intensive to encode video
[02:23] <LittleFoot> but why
[02:23] <LittleFoot> actually at this size its only using 35%
[02:25] <LittleFoot> oh 1 more thing, why are the colors in the encoded one messed up
[02:25] <LittleFoot> it looks all hippie like
[02:25] <LittleFoot> well some frames do
[02:28] <pasteeater> LittleFoot: use a pastebin site to show your ffmpeg command and the complete console output
[02:29] <pasteeater> the output may give a clue.
[02:29] <pasteeater> and a sample output file would be nice if possible
[02:30] <LittleFoot> http://www.youtube.com/watch?v=J2rjq1hRb5E
[02:30] <Keshl> LittleFoot: Because it can.
[02:30] <Keshl> You can do -threads 1 and make it use only 1 core, but it'll go really slow then.
[02:32] <LittleFoot> what is -vpre
[02:32] <LittleFoot> medium
[02:34] <pasteeater> a libx264 encoding preset
[02:34] <pasteeater> a collection of options to provide a compression/encoding speed ratio
[02:35] <pasteeater> Compression is quality per filesize
[02:36] <pasteeater> basically, in most cases, you want to use the slowest preset you have patience for
[02:36] <pasteeater> and ignore placebo as it is a complete waste o' time
[02:36] <pasteeater> ubitux: what would you call that one?
[02:37] <LittleFoot> ffmpeg -i /home/enjoycrf/Desktop/output.mkv -vcodec libx264 -vf scale=-1:270 -vpre medium -crf 24 -threads 0 -acodec libfaac -aq 50 /home/enjoycrf/Desktop/output.mp4
[02:37] <LittleFoot> thats my comand
[02:37] <LittleFoot> is taht good?
[02:38] <pasteeater> depends on how you're going to use the output
[02:38] <LittleFoot> utube
[02:39] <pasteeater> then no
[02:39] <LittleFoot> which should i use
[02:39] <pasteeater> depends on your input and your ffmpeg version. i would know this if you use a pastebin site to show your ffmpeg command and the complete console output
[02:41] <LittleFoot> ok ill do that later
[02:41] <LittleFoot> geting all thsi to work was enuf trouble
[02:42] <pasteeater> you're using fairly sane settings at least
[03:10] <Baylink1> QUERY: I'm trying to get set up to transcode DV to h264/AAC, and I'm getting some error messages I'm too much of a newbie to understand the impact of (except the "I won't do what you want" part :-).  Could anyone spare a moment to look at http://pastebin.com/YrNZkgnj and tell me if this is missing switch problem, or a not compiled right problem, or...
[03:10] <Baylink1> SuSE 11.4; ffmpeg from RPM, either SuSE or Packman; I'm not sure which.
[03:16] <pasteeater> Baylink1: (aac) Codec is experimental but experimental codecs are not enabled, see -strict -2
[03:16] <pasteeater> that's the important message.
[03:17] <pasteeater> which means to just add "-strict -2"
[03:18] <pasteeater> additionally, you probably don't want yuv422p, so also add "-pix_fmt yuv420p"
[03:23] <Baylink1> For DV25, yeah, 420.  I would suggest changing that message from "see -strict -2" to "try -strict -2", possibly adding "(at runtime)"; I would have assumed those to be compile time options.  I'll give that a try, pasteeater; thank you kindly.
[03:23] <Baylink1> Do those all go between the -i and the outfile?
[03:24] <Baylink1> And yes, this commandline:
[03:24] <Baylink1> ffmpeg -i dv106-001.avi -strict -2 -vcodec libx264 -acodec aac -pix_fmt yuv420p dv106-001.mp4
[03:24] <Baylink1> does run.
[03:25] <Baylink1> (Sorry for the spew; I always forget that soft-returns in pidgin don't work.)
[03:34] <Baylink1> Yeah, pasteeater; that solve my problems nicely.  Is there any doco that's in... more depth than the manpage (which is reproduced in the doc directory)?
[03:34] <Baylink1> *solved
[03:35] <Baylink1> 90MB -> 9.6MB
[03:38] <pasteeater> your command looks fine, but you may want to improve the default settings.
[03:38] <pasteeater> Baylink1: audio is default to 128k. you may want to change that.
[03:39] <pasteeater> video will default to "-preset medium -crf 23". not a bad combination most of the time, but of course consider changing it to fit your needs.
[03:40] <pasteeater> and good point on the see/try.
[04:25] <Baylink1> "see" sounds like it's referring you to the doco, not telling you to try the switch itself.  I *like* that it suggests the switch, don't get me wrong.  I'll fiddle a bunch of the switches in the morning.  Thanks for the help, pasteeater.
[04:26] <Baylink1> i'm coming from 48k/16 audio; what's a good target AAC bitrate?
[05:40] <zap0> yes.
[06:33] <Mysterytrain> are there precompiled binaries for ffmpeg available? The ./configure script doesn't have a --prefix option and I need to install it in user space since I don't have root access.
[06:37] <pasteeater> damn switch burned out...
[06:38] <pasteeater> Baylink1: now if you compile ffmpeg from source the experimental error will say "try" instead of "see"
[06:45] <ashka> pasteeater: sorry, I had to go away quite quickly before
[06:46] <pasteeater> ashka: and i missed some too due to a hardware failure
[06:46] <ashka> here's a paste with the command and the output https://gist.github.com/a8267ab262e66776f41c
[06:48] <ashka> oh btw pasteeater I uploaded the image too : http://imgur.com/0gYdK
[06:50] <pasteeater> ashka: remove the -s 231x106
[06:50] <pasteeater> also remove: -an -r 1
[06:52] <ashka> pasteeater: but I need this size for the thumb
[06:53] <ashka> no way to size it with ffmpeg =
[06:53] <ashka> ?*
[06:53] <pasteeater> that's what -vf scale=231:-1 is for
[06:54] <pasteeater> the -1 tells ffmpeg to automatically use a width that will preserve the aspect ratio for the given height
[06:54] <ashka> ah okay
[06:55] <pasteeater> if you require a "hard" size of 231x106 then you will have to use pad in addition to scale
[06:55] <ashka> I see
[06:55] <ashka> I guess I'll resize it when it passes through my php image lib
[06:56] <pasteeater> the -1 should give you a value of ~185 i think
[06:56] <ashka> exactly yup
[06:56] <pasteeater> then the image will look normal
[06:57] <pasteeater> there is no reason to additionally process the output from ffmpeg.
[06:59] <ashka> pasteeater: I nead a hard size of 231x106 on any video
[06:59] <ashka> 16:9/16:10/4:3
[06:59] <ashka> but centered on the image, so
[07:04] <pasteeater> ashka: this had been requested before, IIRC. trawl the ffmpeg-user mailing list.
[07:05] <pasteeater> or ask on the mailing list. there are some filter gurus there.
[07:05] <Mysterytrain> guess i'll try there too
[07:24] <ubitux> pasteeater: "mysterious light"? :)
[07:26] <pasteeater> ubitux: http://crawl.chaosforge.org/index.php?title=Vapour
[07:26] <ubitux> oh!
[07:27] <Keshl> Just a thought, anyone think of a node-based GUI for Ffmpeg, oÉo?
[07:29] <pasteeater> last node based gui i used was apple shake 6 years ago
[07:31] <Keshl> I used a node-based GUI at least every week. Pretty nifty, seems like it'd fit FFMPEG and Avisynth /really/ well.
[09:04] <musolinoa> Hey all. I'm experiencing some artifacts using libavcodec to decode various videos. Here's a screenshot of what's happening http://tinypic.com/view.php?pic=6xzw2w&s=6
[09:05] <musolinoa> The files all play fine in vlc, mplayer and ffplay, so there must be something wrong with my code.
[09:06] <musolinoa> Ah... wrong channel, sorry.
[09:07] <musolinoa> Hmm, #ffmpeg-devel topic says this is the correct channel.
[09:38] <bartus_> hello, when converting subs from mdvd to ass is there any switches to toggle codepage conversion (cp1250 > utf) ?
[09:39] <bartus_> * are there ( sorry my English is crap ;)
[12:01] <burek> bartus_, try just converting subs to ass and then use iconv
[12:03] <burek> ashka, this might help http://ffmpeg.gusari.org/viewtopic.php?f=25&t=35&sid=d7979bf3e8678ed8096e782a7c04a519
[13:24] <ubitux> < burek> bartus_, try just converting subs to ass and then use iconv // I'd do the contrary :)
[13:25] <bartus_> burek, thank got to that point, now try to figure how to automatically determine file encoding to use with iconv.
[13:54] <burek> ubitux, he is trying to extract subs from a media file and convert it to utf-8 ass subs :)
[13:56] <burek> - btw, what is a proper way to cache/buffer audio input for some time, to avoid network issues?
[14:07] <ubitux> burek: if your input is utf-8, your output will be as well
[14:07] <burek> well, input subs are not utf-8 :)
[14:07] <burek> that's the issue :)
[14:07] <burek> btw, is ffmpeg able to do fractals?
[14:08] <burek> I tried mandelbrot but it's a static image
[14:13] <hi117> burek: extract the subs and use unix's encoding converter on it maybe
[14:14] <burek> hi117, yes, that's what I've suggested to bartus_ :)
[14:14] <hi117> ah ok
[14:14] <hi117> i didnt read fully
[14:14] <burek> ok :)
[15:44] <Baylink1> Well, pasteeater, *that's* certainly quick service.  :-)  One other question: I'm looking for something that can do DV timecode "window dubs"; can ffmpeg (or ffmbc, I guess) do that?
[17:03] <jameshowe> hello, if I have a built ffmpeg reporting a version such as git-N-28849-ga82cfad-Sherpya how do I fetch that version of the code with git commands?
[17:08] <burek> I'm not sure is it git checkout <hash> or git pull <hash> or something like that
[17:08] <burek> I guess it's git checkout
[17:09] <jameshowe> error: pathspec 'git-N-28849-ga82cfad-Sherpya' did not match any file(s) known to git.
[17:09] <jameshowe> and same for without the sherpya
[17:09] <burek> look at that link above
[17:09] <burek> git-N-... is not a hash
[17:10] <burek> hmh
[17:10] <jameshowe> the link that fflogger posted says "Unknown commit object"
[17:10] <burek> from which git repository did you get your source code?
[17:11] <jameshowe> i'm looking at git://source.ffmpeg.org/ffmpeg.git
[17:11] <jameshowe> but I'm not sure where the (Windows) builds I have are from
[17:11] <jameshowe> presumably from http://ffmpeg.zeranoe.com/builds/
[17:12] <sacarasc> That's a Sherpya build, so it would be from his site.
[17:12] <jameshowe> which is...
[17:12] <burek> google
[17:12] <burek> that's not official ffmpeg
[17:13] <jameshowe> aha, he's on github
[17:13] <burek> go to his git and find that hash there and pull it
[17:18] <phraktal77> Is this a right place to ask about ffserver ?
[17:19] <phraktal77> Is it possible to stream a file using ffmpeg/ffserver in webM format ?
[17:19] <phraktal77> If so anyone knows how to do it ?
[17:21] <burek> it is the right place
[17:22] <jameshowe> as I'm already here, what is the hash and how does one find it?
[17:22] <phraktal77> I've installed ffmpeg using package manager on latest ubuntu. I can encode a file into webM file fine. But I have no idea how to go from there to stream that file
[17:24] <phraktal77> I'm a total newb as far as ffmpeg goes.. and not very good with vid encoding in general. I'm just trying to evaluate the technology for streaming using video tag instead of flash player.
[17:25] <burek> phraktal77, are you sure you are using ffmpeg
[17:25] <burek> can you type just ffmpeg --version
[17:25] <burek> and paste the output to pastebin.com?
[17:25] <phraktal77>  avconv -i Waterfall.f4v -target ntsc-dvd -threads 4 video.webm
[17:25] <phraktal77> I'm executing this command to encode
[17:25] <burek> that's avconv..
[17:25] <burek> lame fork of ffmpeg
[17:25] <burek> it's no wonder it doesn't work :)
[17:26] <phraktal77> that acctually works
[17:26] <phraktal77> so I should compile ffmpeg from sources ?
[17:26] <burek> well, why are you here then?
[17:26] <burek> if everything works?
[17:26] <phraktal77> I can encode.
[17:26] <phraktal77> I do not know How to stream that
[17:27] <burek> well ask devels of avconv
[17:27] <burek> not here
[17:27] <burek> jameshowe, hashes identify each commit
[17:27] <burek> so you can distinguish all of them
[17:28] <burek> if there is a search box on their website
[17:28] <burek> just type there in that box: a82cfad
[17:28] <jameshowe> not with a "g" at the start?
[17:29] <burek> without g
[17:31] <jameshowe> well github doesn't have such a thing, and all the short hashes I can see are 10 chars
[17:32] <jameshowe> i'll just email this guy
[17:32] <burek> what's the url
[17:34] <jameshowe> https://github.com/sherpya/FFmpeg i'm looking at now
[17:42] <burek> well, they don't have the search functionality
[17:42] <burek> too bad
[17:43] <jameshowe> i emailed him, if no reply i'll see if an official build works just as well
[17:43] <jameshowe> thanks anyway
[17:51] <stonie> hi
[17:53] <stonie> how may i get the best aac audio results in an x264 video? should be the highest quality possible for audio and video stream
[17:54] <burek> use the highest possible bitrate for your aac audio then
[18:31] <stonie> burek, ty and which library etc?
[18:44] <Zeranoe> Can FFmpeg convert multiple videos side by side from multiple sources? Meaning, you take a bunch source videos and you want to encode them to one file, displaying side by side?
[19:00] <LittleFoot> helo
[19:01] <LittleFoot> hi can i improve ffmpeg -f alsa -i pulse -async 1 -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 ~/output.mkv
[19:01] <LittleFoot> seems like it works really good
[19:01] <LittleFoot> but if u have beter let me kno
[19:28] <AlRazi> hello all
[19:28] <AlRazi> mp3 -> AAC+ related issues, anyone interested ?
[19:31] <AlRazi> no one ?
[19:34] <AlRazi> the conversion is done, but the map_metadata is trickier than i thought
[19:34] <AlRazi> any help would be appreciated
[19:34] <AlRazi> I used a lot of combinations but none works
[19:46] <burek> zeranoe yes, use -map
[19:47] <burek> stonie, ffmpeg has got internal aac encoder, but you can also use libfaac
[19:48] <burek> or libaacplus if you want low bitrates (recommended)
[19:48] <burek> LittleFoot, improve to achieve what exactly?
[19:48] <burek> AlRazi, what are you trying to achieve?
[19:49] <AlRazi> burek, i am trying to convert mp3s to aac+ files for streaming
[19:49] <AlRazi> the conversion works with .aac ( not .m4a  though )
[19:49] <AlRazi> but when i try to play the converted file
[19:50] <AlRazi> the JPlayer won't play it since it has no tags
[19:50] <AlRazi> i tried various combinations for map_metadata
[19:50] <AlRazi> to no avail
[19:51] <AlRazi> so I was just now looking for ways to perhaps write a script that extracts the ID3 from an mp3 and places them inside the aac file
[19:51] <AlRazi> but if you can help burek that'll be great
[19:58] <juanmabc> well, map_metadata should make it to work
[19:59] <juanmabc> it is specifically for that
[20:02] <AlRazi> ffmpeg -i yyy.mp3 -acodec libaacplus -ab 64K -ac 2 -ar 44100 -map_metadata:s:a 0:g xxx.aac
[20:03] <AlRazi> do you think this is correct ?
[20:03] <AlRazi> juanmabc
[20:04] <juanmabc> no idea, search that online
[20:04] <AlRazi> I did, that what led me here
[20:05] <juanmabc> while not found; do search answer; done
[20:06] <AlRazi> I am searching for ways to inject the attributes through a script an aac file now
[20:06] <AlRazi> and thought i'll ask the experts here
[20:07] <AlRazi> so it's a callback for experts only ^^
[20:25] <AlRazi> a quick one that I also couldn't find a solution for online ... why does not libaacplus recognize m4a, only aac ?
[20:27] <AlRazi> and even trying to edit the resulting aac file yields results like ( [QuickEditDocument] An error (kRangeErr) occurred opening file named 'xxx.aac' )
[20:41] <burek> AlRazi, convert it to aac+ but in flv container
[20:41] <burek> it will work in JWPlayer
[20:42] <burek> ffmpeg -i yyy.mp3 -acodec libaacplus -ab 64K -ac 2 -ar 44100 bla.flv
[20:42] <AlRazi> burek, Thanks a million i'll update you with results
[20:43] <burek> AlRazi, for your second question, please type ffmpeg -i bla.m4a
[20:43] <burek> and use the pastebin.com to show the entire output
[20:45] <AlRazi> bla.aac ?
[20:46] <pasteeater> bla.aac = the actual name of your file
[20:46] <AlRazi> yeah i know
[20:46] <AlRazi> i was referring that i don't have a bla.m4a
[20:46] <AlRazi> only bla.aac
[20:47] <burek> <AlRazi> a quick one that I also couldn't find a solution for online ... why does not libaacplus recognize m4a, only aac ?
[20:47] <AlRazi> when i try to convert to .m4a i get unrecognized error
[20:47] <burek> can you give us an example command?
[20:47] <AlRazi> ffmpeg -i abc.mp3 -acodec libaacplus -ab 64K -ac 2 -ar 44100 bla.m4a
[20:47] <AlRazi> Encoder (codec none) not found for output stream #0:0
[20:48] <AlRazi> and
[20:48] <AlRazi> configuration: --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libfaac --enable-libaacplus
[20:48] <burek> can you please use pastebin.com, to show your command line and its output?
[20:48] <AlRazi> on it
[20:49] <AlRazi> http://pastebin.com/F7duGbHe
[20:50] <sacarasc> AlRazi: Add -vn
[20:50] <sacarasc> To the output options.
[20:51] <AlRazi> wow .. what's -vn ?
[20:52] <sacarasc> No video.
[20:52] <AlRazi> beautiful
[20:52] <AlRazi> sacarasc, while i have you sire
[20:52] <AlRazi> -map_metadata g
[20:53] <AlRazi> is not moving any metadata to the bla.m4a
[20:53] Action: sacarasc shrugs. Not done anything with than in a long time.
[20:53] <AlRazi> thanks a million
[20:54] <AlRazi> burek, thoughts on the metadata ?
[20:55] <burek> what exactly do you need
[21:06] <Keshl> Is there a way to set the framepacking tag in MP4 using ffmpeg, oÉo?
[21:08] <LittleFoot> is there any way to imporove these settings
[21:08] <JEEB> I thought that was a x264 option
[21:08] <LittleFoot> ffmpeg -f alsa -i pulse -async 1 -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 ~/output.mkv
[21:08] <Keshl> JEEB: I'm decently sure it's MP4's, but, either way, is there? oÉo?
[21:10] <burek> LittleFoot, for the 2nd time, what exactly are you trying to improve?
[21:11] <Keshl> LittleFoot: It depends on the input and what you desire to use it for. There is no "one setting to end all settings", else we'd have -doitall.
[21:12] <Baylink1> Keshl: I was wondering when that option was going to get implemented...
[21:12] <Baylink1> Shouldn't it be -dwim, though?
[21:12] <Keshl> Baylink1: What option? -doitall?
[21:12] <Baylink1> Yeah
[21:12] <Keshl> Oh, good, that scared me.
[21:12] <Baylink1> Or maybe -dwin.  (Do what I need)
[21:12] <Keshl> XD
[21:12] <Keshl> That'd be useful as a boot paramater for Linux.
[21:13] <Baylink1> Is that a packaged smiley in some client?  Cause here, it's just 'X D'
[21:13] <Keshl> THat's called an emoticon, oÉo. XD is how it should look.
[21:13] <Keshl> Laughing face. Turn it on the side. D's an open mouth, X is closed eyes.
[21:13] <Baylink1> Ah.
[21:13] <burek> :beer:
[21:14] <burek> turn it on the side
[21:14] <Keshl> oÉo...
[21:14] <Keshl> But can anyone halp me with my issue? D:
[21:15] <Baylink1> Well, since I don't know MP4 well enough to know what the Framepacking tag is, it won't be me, at least.  :-)
[21:15] <Keshl> Could be x264 too, either one. <É<
[21:17] <Keshl> ...Seriously that's it?
[21:17] <Keshl> ....Well wow.
[21:17] <Keshl> Love you all OÉO!
[21:19] <cbreak> 3D? sounds more like stereoscopic
[21:21] <pasteeater> Keshl: looks like a scroat between two baseballs to me.
[21:22] <Baylink1> Ooof.
[21:22] <Baylink1> Hi, pasteeater.
[21:22] <pasteeater> hi Baylink1
[21:22] <Baylink1> I said something, this morning... lessee...
[21:22] <Baylink1> Well, pasteeater, *that's* certainly quick service.  :-)  One other question: I'm looking for something that can do DV timecode "window dubs"; can ffmpeg (or ffmbc, I guess) do that?
[21:22] <Baylink1> Scrool is your friend.
[21:23] <pasteeater> what do you mean by "window dubs"?
[21:23] <Keshl> cbreak: Stereoscopic /is/ 3D.<.<
[21:23] <cbreak> not really :/
[21:24] <Keshl> ...Yes, yes it is...
[21:24] <cbreak> it's extremely complicated to get real 3D from stereoscopic images
[21:24] <cbreak> and there are lots of issues such as oclusion
[21:24] <Keshl> There's two different definitions of 3D.
[21:24] <Keshl> You're using the strict one, I'm using the loose one.
[21:24] <Keshl> It's 3D. <É<
[21:24] <cbreak> I am using the "one dimension more than 2D" one.
[21:25] <Keshl> That's both of them.
[21:25] <cbreak> two image scanlines don't make scanlines 2D
[21:26] <JEEB> Keshl, there's a frame packing header info for H.264 streams that can be set when encoding a clip, but I guess then mp4 has stuff as well
[21:26] Action: JEEB hasn't looked into the mp4 container specs too much
[21:26] <Keshl> JEEB: My bad, it was x264.
[21:26] <JEEB> ok, then -x264opts frame-packing=integer
[21:26] <JEEB> see x264 --fullhelp for a listing of possible settings
[21:27] <Keshl> JEEB: ...Er, but, I'm using ffmpeg, not x264.
[21:27] <JEEB> -x264opts is a ffmpeg setting
[21:27] <JEEB> for -vcodec /c:v libx264
[21:27] <Keshl> But you said to run "x264 --fullhelp"
[21:28] <Keshl> I don't have x264.exe.
[21:28] <Keshl> >w>
[21:28] <JEEB> then get one from, say, x264.nl and do "x264 --fullhelp > derp.txt"
[21:28] <JEEB> and then open derp.txt in a text editor that can deal with unix line changes, and ctrl+f for frame-packing
[21:30] <pasteeater> Keshl: ffmpeg can use several of the x264 specific options but it does not list them all in ffmpeg -h, so therefore refer to the x264 help as JEEB mentioned to see what options ffmpeg may use.
[21:31] <JEEB> (not all settings are exactly the same in the API as in the help, but it's useful to check the documentation for a setting)
[21:31] <Keshl> Ah, oÉo.
[21:33] <JEEB> anyways, that would let you get the info into the H.264 stream, no idea of what happens after that and/or how many things actually support it
[21:37] <Baylink1> pasteeater: A "window dub" is a copy (or in this case, a transcode) which includes a visible subtitle with the filename and the original DV timecode in each frame.
[21:39] <Keshl> Kay, well, dang, that stunk.
[22:02] <pasteeater> Baylink1: i don't know. try the drawtext filter if you don't mind a "hardsub" type.
[22:03] <Baylink1> Can drawtext get to the timecode, though?
[22:03] <pasteeater> ubitux would know more than me
[22:04] <cbreak> drawtext can get the current real time
[22:04] <Baylink1> But appears not to be here at the moment, alas.
[22:05] <Baylink1> cbreak: I'm trying to get it to extract the DV timecode for this.
[22:06] <pasteeater> https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide
[22:06] <pasteeater> "Burnt in Timecode" not sure if that's wot you want. i didn't really look at it.
[22:07] <Baylink1> A quick glance at that suggests one must manually specify the starting timecode, rather than have it extract it from the source file.
[22:07] <Baylink1> I will investigate further, though; thanks for the pointer.
[22:10] <Baylink1> It would appear the people I need to talk to first are the libavfilter maintainers, to see where they're getting their idea of timecode -- that is, if it's *possible* for that filter to be taking the timecode in from outside.  Then I'll know whether to ask the ffmpeg maintainers whether they're feeding timecode to it.
[22:11] <Baylink1> Oh; that's the same people.
[22:12] <pasteeater> ask on ffmpeg-user mailing list if you don't eventually figure it out or get an answer here. several devs answer there too.
[22:13] <Baylink1> Ok.  It looks as if Dan Dennedy thinks that libdv is the culprit, and the answer's presently no: http://www.kdenlive.org/mantis/view.php?id=1597
[22:16] <pasteeater> you can submit a feature request on the bug tracker
[22:17] <Baylink1> I'll do that; I just need to figure out which feature it is that I actually need.  :-)
[22:17] <Baylink1> Right now, I gotta go lay my headache down.  later.
[23:19] <eok> burek: i finally managed to have a stable stream in a web browser :)
[23:20] <eok> burek: gave up on html5 and used crtmpserver to recieve a liveflv stream from ffmpeg
[00:00] --- Thu May 31 2012


More information about the Ffmpeg-devel-irc mailing list