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

burek burek021 at gmail.com
Thu Feb 9 02:05:02 CET 2012


[00:12] <mgeary> hrm. just installed faad, but it doesn't appear to have given me libfaac
[00:12] <sacarasc> Because they are two different packages.
[00:12] <mgeary> aha
[00:12] <mgeary> indeed. thanks
[00:32] <mgeary> 0.10 seems to work like a charm, thanks
[00:34] <iive> \o/
[01:49] <Ginks> ffmpeg -i hot.flv -an -vf  "scale=-1:720,movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" -f mp4 scaled.mp4
[01:49] <Ginks> I run that, and I get:
[01:49] <Ginks> Too many inputs specified for the "movie" filter.
[01:51] <icat> hey, i'm trying to make a video out of a jpeg image and and mp3 file ..
[01:51] <icat> I use e kaj ne dela, preveri 
e so vklopljeni vsi kabli - prvo pravilo troubleshootinga!!!111
[01:51] <icat> * Topic for #kiberpipa set by teardrop at Tue Feb  7 19:35:14 201
[01:51] <tdr> Ginks is that " supposed to be in there?
[01:51] <icat> (sry, copy paste)
[01:51] <icat> i use ffmpeg -loop 1 -shortest -y -i "$poster" -i "$mp3" -acodec copy "$outfile"
[01:51] <icat> but after a while, the picture gets artificats
[01:51] <icat> and way to solve that?
[01:52] <sacarasc> Use a better codec!
[01:54] <icat> this uses mpeg4
[01:54] <icat> but it seems that even if I set -v:b, -minarete and -maxrate, the bitrate goes down eventually
[01:54] <icat> after like 20 seconds
[01:56] <icat> i can't seem to force it to CBR, or to constant quality
[01:56] <icat> and it's a goddamn still jpeg
[02:12] <Ginks> tdr, yah, there's one before scale and after [out], unless I'm missing one
[02:13] <tdr> Ginks i dont know watermark syntax, but usually after -f the next arguement is filename, so wondering if it is order that's the problem
[02:45] <sacrelege> Hi all, I get a "-22" error code back from av_open_input_file(). Where can I lookup the error codes?
[03:15] <darkstarbyte> Can the mpeg2 encoder handle multiple threads?
[05:23] <Ginks> ffmpeg -i hot.flv -an -vf  "scale=-1:720,movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" -f mp4 scaled.mp4
[05:23] <Ginks> I run that, and I get:
[05:23] <Ginks> Too many inputs specified for the "movie" filter.
[05:26] <relaxed> Ginks: pastebin.com the command and all output
[05:40] <Ginks> relaxed, k
[05:41] <Ginks> http://pastebin.com/SukHg8bx
[05:41] <Ginks> done
[05:43] <Ginks> http://pastebin.com/UuZERKEe
[05:43] <Ginks> I think that's more of the way it should be actually
[05:43] <Ginks> I want it to scale prior to watermarking
[05:43] <Ginks> err, doing the overlay
[05:49] <relaxed> "[in]scale=-1:720[video];movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [wm];[video][wm] overlay=main_w-overlay_w-10:10 [out]"
[05:50] <relaxed> change it back to overlay=10:10 if that's what you want
[05:53] <Ginks> hrmm
[05:54] <Ginks> so that's all you do is start with [in], place a command naming it afterwards, seperate them with ; and then put them in the order you want them to run?
[05:54] <Ginks> why isn't overlay just included after movie then?
[05:54] <Ginks> since it's basically part of that
[05:56] <Ginks> what you gave me appears to be doing the trick
[05:56] <relaxed> is you watermark not added?
[05:56] <relaxed> your*
[05:56] <Ginks> just waiting for it to finish running
[05:56] <relaxed> oh, ok
[05:57] <relaxed> Ginks: Did you read this? http://ffmpeg.org/libavfilter.html#Introduction
[05:59] <Ginks> relaxed, yes, but it all seems foreign to me
[05:59] <Ginks> I'm not quite sure the syntax
[05:59] <Ginks> even after reading it
[06:01] <Ginks> -qscale 1 would that be a good idea to add?
[06:01] <Ginks> I'd like the highest quality from the conversion
[06:02] <relaxed> what video codec do you need? what is this for?
[06:02] <Ginks> it's for web
[06:03] <Ginks> niche tube site
[06:03] <Ginks> using x264
[06:03] <Ginks> for the final output mp4
[06:03] <Ginks> if I'm saying that right
[06:04] <Ginks> the conversion server is a dual quad-core xeon with 24gb ram
[06:04] <Ginks> and it won't be processing many videos each day
[06:04] <Ginks> so it can sit and crunch on one for hours
[06:04] <relaxed> -c:v libx264 -threads 0 -preset veryslow -crf 18
[06:05] <relaxed> lower the crf vaule for better quality
[06:05] <Ginks> ok, I'll give that some testing
[06:05] <Ginks> thanks a lot
[06:05] <relaxed> you're welcome
[06:20] <Ginks> relaxed,
[06:20] <Ginks> cbr, that's constant bitrate
[06:20] <Ginks> is that really needed in pseudostreaming?
[06:21] <Ginks> my original setup was 2 pass x264
[06:32] <relaxed> yes, an average bitrate is probably better for streaming
[07:25] <Ginks> relaxed,
[07:26] <Ginks> is it possible to create some type of animated watermark?
[07:50] <relaxed> Ginks: I believe you can overlay another video ontop of the video, so yes
[08:06] <Ginks> relaxed, any ideas where I might start?
[08:16] <relaxed> Ginks: it would be the same as overlaying a png
[08:20] <Ginks> relaxed, what format should I attempt it with though?
[08:20] <Ginks> gif is horrible
[08:20] <Ginks> apng maybe?
[08:29] <relaxed> maybe a series of images? like %03d.png ?
[08:30] <Ginks> good idea
[09:12] <Ginks> relaxed, but what would regulate how the watermark would play?
[09:12] <Ginks> would I create the watermark with the output fps in mind
[09:14] <Ginks> I'm going to do a bit of testing
[10:01] <Ginks> relaxed, it appears that %0d.png works, but the png transparancy doesn't remain
[10:01] <Ginks> becomes white
[10:01] <Ginks> and the last png remains the watermark once it's out of frames
[10:13] <lorenzosu> Hi. How can I do -sameq in avconv? -qn?
[10:13] <lorenzosu> sorry I mean -qscale
[11:36] <slackyman> Hi
[11:36] <slackyman> I need a help
[11:36] <slackyman> :)
[11:36] <Mavrik> good for yuo.
[11:36] <slackyman> eh eh
[11:37] <slackyman> i'd like to give a icon to ffmpeg win version but I don't know how
[11:37] <slackyman> or, maybe
[11:37] <slackyman> I can use ResHack but then I violate GPL
[11:37] <slackyman> since the source will not give exactly the binary I want to redistribute
[11:38] <JEEB> can't you use an resource (rc) file or something?
[11:38] <slackyman> yes, ResHack is a Resource editor
[11:38] <JEEB> I mean on the source side
[11:39] <slackyman> I'm not so good as C programmer :)
[11:39] <slackyman> maybe google can help
[11:39] <slackyman> :P
[11:39] <Mavrik> slackmagic, http://stackoverflow.com/a/708382/169115
[11:40] <JEEB> yup, there's plenty of stuff on the internet about it in general :)
[11:40] <JEEB> x264 lately added resources as well, http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=a2925c5a707e833c34fa0a64d497c02e6dcfe6e6
[11:40] <JEEB> (without an icon, but that's not exactly a big part of it all)
[11:40] <slackyman> Mavrik: I was just THERE! :)
[11:41] <slackyman> GREAT!
[11:41] <slackyman> thanks
[11:47] <slackyman> A little question
[11:47] <slackyman> in the git repo the code is up-to-date to CVE-fixes as in the 0.10 release?
[11:48] <JEEB> you can say so that the repo is branched off from time to time to create releases
[11:48] <JEEB> thus, the git repo's HEAD
[11:48] <JEEB> (of the master branch)
[11:48] <JEEB> is always either the same as a release, or newer than it
[11:49] <slackyman> thanks
[11:50] <slackyman> the work of the ffmpeg staff is huge... O.o
[13:07] <slackyman> JEEB are you still here?
[13:09] <JEEB> wat
[13:10] <slackyman> I'm trying to add ffmpegres.o to ffmpeg.o buti I cannot find the file in wich the binary is compiled :P
[13:11] <slackyman> i want to add resfile *.o to ffmpeg
[13:12] <JEEB> > in which the binary is compiled
[13:12] <JEEB> do you mean the file containing build instructions?
[13:12] <JEEB> if so, see Makefile
[13:12] <slackyman> ok, thanks
[16:07] <salsaman> hi
[16:07] <salsaman> i wrote a demuxer to play hdv files, its working more or less
[16:08] <salsaman> the upper part of the frames shows up fine, but the lower part is messed up and i see
[16:08] <salsaman> e.g.
[16:08] <salsaman> [mpeg2video @ 0x3148420] ac-tex damaged at 66 43
[16:08] <Milos_SD> Hi guys, is there any known bug in ffmpeg with mpd? Please check this out: http://tinypaste.com/7ecf2b83
[16:08] <Milos_SD> my mpd doesn't add all my music to database
[16:09] <Milos_SD> I was told on #mpd channel that it is ffmpeg bug
[16:09] <salsaman> occasionally also i see e.g. [mpeg2video @ 0x3148420] invalid mb type in I Frame at 77 57
[16:10] <salsaman> the thing is, the got_picture flag is being set
[16:41] <jl> can ffmpeg change fps on a mpeg2 video without re-encoding? -r has no effect without a codec or I am doing something wrong.
[16:42] <Milos_SD> Hello
[16:42] <Milos_SD> What does this mean in line 29: http://pastebin.com/n8TXMCM3 ?
[16:47] <tdr> Milos_SD, did you build your ffmpeg and mpd or get them from bins?
[16:47] <Milos_SD> I built them
[16:48] <Milos_SD> from latest git :)
[16:54] <Milos_SD> tdr, any ideas? :)
[16:55] <tdr> Milos_SD, its something in the linking of your ffmpeg i'd say
[16:56] <tdr> 228: 000000000000e230   153 FUNC    GLOBAL DEFAULT   12 av_realloc_f@@LIBAVUTIL_51 is what i get from readelf -a /usr/lib64/libavutil.so.51.34.101 |grep symbol av_realloc_f, what do you get?
[16:57] <Mavrik> Milos_SD, do you have statically linked ffmpeg?
[16:57] <tdr> yeah, thats what i was thinking it might be
[16:57] <Mavrik> mhm
[16:58] <Milos_SD> this: readelf -a /usr/lib/libavutil.so.51.38.100 |grep  symbol av_realloc_f gives me this: grep: av_realloc_f: No such file or directory
[16:58] <Milos_SD> :S
[16:58] <Milos_SD> Mavrik, no it is not, I have --enable-shared in ./configure options :)
[16:58] <tdr> Milos_SD different vesion of the lib
[16:58] <Mavrik> even if you do "whereis ffmpeg" and then "ldd <path to ffmpeg>"?
[16:59] <tdr> oh you did change it
[16:59] <tdr> Milos_SD, take out the word symbol
[16:59] <tdr> look for av_realloc_f
[17:00] <Milos_SD> 156: 000000000000b2ca   107 FUNC    GLOBAL DEFAULT   12 av_realloc_f@@LIBAVUTIL_51
[17:00] <Milos_SD> and the one Mavrik asked: http://pastebin.com/1tTuL68F
[17:02] <Mavrik> huh
[17:03] <Mavrik> that seems like broken compile of ffmpeg and broken mpd linkage :\
[17:03] <Milos_SD> btw, I am getting this when I do: ffmpeg --version : http://pastebin.com/RMU19vAF
[17:04] <Milos_SD> don't know why am I getting that warrnings about library missmatch ... I started getting it when I upgraded to Ubuntu 12.04 Alpha ...
[17:04] <Milos_SD> "S
[17:04] <Milos_SD> :S
[17:05] <Milos_SD> configuration missmatch*
[17:22] <JyZyXEL> is it possible to have a DV video stream in a .mpg?
[17:25] <Mavrik> Milos_SD, obvously you have different ffmpeg for different library versions
[17:25] <Mavrik> Milos_SD, I suggest you use the ubuntu guide in topic to compile the 0.10 version and replace the broken repository installed one
[17:38] <salsaman> no mpeg expets here then ?
[17:42] <JyZyXEL> guess not :p
[17:42] <JyZyXEL> im gonna play the waiting game
[17:45] <Milos_SD> Mavrik, "fixed" it by deleting ffmpeg lib files from /usr/lib/x86_64-linux-gnu/
[17:46] <Milos_SD> I had to do that, because there is no way to uninstall ffmpeg lib packages
[17:48] <salsaman> JyZyXEL, I have never seen dv in an mpeg container
[17:49] <JyZyXEL> i wonder if its possible
[17:49] <salsaman> doubtful
[17:49] <salsaman> dv uses a kind of jpeg encoding
[17:50] <salsaman> fixed frame size
[17:51] <JyZyXEL> i have this .mpg file made by a file recovery (carver) software, apparently it has a mpeg header yet ffmpeg detects a dv video stream in it
[17:52] <salsaman> but can you play it ?
[17:52] <JyZyXEL> well theres 1 frame of video and rest is just funky looking squares :p
[17:54] <JyZyXEL> and the one video file was found as 11 differnt .mpg files for some reason :P
[17:55] <JyZyXEL> i can get 1 frame of actual picture from each one :p
[17:57] <JyZyXEL> but looking at the recovery software it has: static const unsigned char mpg_header[3]= {0x00, 0x00, 0x01};
[17:58] <JyZyXEL> so it might just be it recovered from the middle of a DV file thinking it was .mpg
[18:00] <JyZyXEL> but then i wonder does ffmpeg have the capability to detect its DV even if theres no DV header
[18:03] <salsaman> dv doesnt really have much of a header
[18:03] <salsaman> frame size and fps are fixed
[18:04] <JyZyXEL> well if it was in a DV-AVI then it'd have the RIFF header
[18:04] <salsaman> yes you can have dv inside avi
[18:06] <JyZyXEL> is there even a .dv format where you just have DV data?
[18:07] <salsaman> yes there is a raw dv format
[18:07] <JyZyXEL> maybe thats what i have and it just happens to start with 0x0, 0x0, 0x1
[18:08] <salsaman> maybe
[18:08] <salsaman> or maybe that was partway through a frame
[18:09] <JyZyXEL> well it certainly doesn't play on any player :p
[18:09] <salsaman> it should happen by chance roughly every 16MB or so
[18:12] <JyZyXEL> well trying to convert 300MB of that with ffmpeg gets me only a really short video, one clear frame and few noise ones
[18:15] <JyZyXEL> i wonder what it takes for ffmpeg to claim a certain file is dvvideo
[18:17] <JyZyXEL> and MediaInfo tool also claimed its DV and even got the Recorded date from it
[18:17] <JyZyXEL> DV (DVCPRO) it says
[18:19] <JyZyXEL> so im guessing its raw DV data
[18:19] <JyZyXEL> and it must be starting from a random position
[18:22] <JyZyXEL> yup, deleting bytes from the start of the file doesn't change how it detects
[18:23] <JyZyXEL> this is fun, everytime i delete a byte it plays differently :D
[18:24] <JyZyXEL> eventually i should get to a point where it starts from a correct position like a start of frame? :p
[20:03] <kriegerod> is setting format time_base still responsibility of API user? I mean to set e.g. 1k for flv, 90k for mpegts. Is there any automatic correct setting in some API call?
[20:34] <Kingsy> someone around? I am trying to capture audio / video with this command  -->    fmpeg -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i default -f mp4 Filename.mp4      <-- it works GREAT apart from there is no audio .. what am I doing wrong?
[20:36] <john_doe_jr> how do you use ffmpeg to record sound from a sound card?
[20:36] <indigo> hi
[20:37] <burek> john_doe_jr,
[20:37] <indigo> I want to add a resource file to ffmpeg.exe with windres
[20:37] <burek> did you try ffmpeg -i /dev/snd/whatever out.wav
[20:37] <indigo> I'm cross-compiling
[20:37] <burek> indigo
[20:38] <indigo> wait, wait
[20:38] <Kingsy> burek: any idea about my problem? :)
[20:38] <burek> Kingsy
[20:38] <slackyman> sorry
[20:38] <burek> can you please use pastebin.com, to show your command line and its output?
[20:38] <slackyman> it was a ghost
[20:38] <john_doe_jr> burek, what's up/
[20:38] <slackyman> indigo was.. me
[20:38] <john_doe_jr> ?
[20:39] <burek> :)
[20:39] <slackyman> I cannot use a resource editor
[20:39] <Kingsy> burek: see, I think thats the problem.. how do I find out where my audio device lives in /dev/ ?
[20:39] <burek> john_doe_jr, did you try that command above
[20:39] <slackyman> since I want to redistribute the file
[20:39] <slackyman> so the GPL license have to be honored
[20:39] <burek> Kingsy, did you try lspci
[20:40] <slackyman> and the source code MUST generate the same binary
[20:40] <Kingsy> burek: is it the soundcard I want? I assumed the audio was onboard the webcam?
[20:40] <burek> oh wait, Kingsy, do you have alsa installed or oss
[20:40] <burek> and did you compile your ffmpeg or used from repos
[20:40] <Kingsy> burek: I got it from the repos
[20:41] <burek> slackyman, why do you want to add resource to exe?
[20:41] <john_doe_jr> burek, well, I see a number of devices at /dev/snd/ ...which one do I choose?
[20:41] <Kingsy> burek: and I am not sure what I have installed as far as alsa etc goes..
[20:41] <burek> Kingsy, can you type ffmpeg -version and give us the pastebin
[20:41] <Kingsy> sure
[20:41] <burek> john_doe_jr, can you also do ffmpeg -version
[20:41] <burek> and give us the pastebin
[20:41] <Kingsy> burek: http://pastie.org/3343385
[20:42] <john_doe_jr> burek, ffmpeg version N-36000-g154c0a8
[20:42] <burek> john_doe_jr,
[20:42] <burek> can you please use pastebin.com, to show your command line and its output?
[20:42] <slackyman> burek, I want to give an icon and extra info to the *.exe file
[20:42] <slackyman> john_doe_jr: maybe you can use fuser to find where your soundcard is located
[20:42] <burek> Kingsy, your ffmpeg is not compiled to support alsa, so you need to try with oss
[20:42] <burek> just a second
[20:43] <Kingsy> burek: np
[20:43] <john_doe_jr> burek, http://pastebin.com/XkEHfQtJ
[20:43] <burek> Kingsy, try this: ffmpeg -f oss -i /dev/dsp out.wav
[20:43] <Kingsy> ok 1 sec
[20:43] <john_doe_jr> slackyman, well, I have by-path  controlC0  midiC0D0  pcmC0D0c  pcmC0D0p  pcmC0D1p  seq  timer  when I do a cd /dev/snd/
[20:43] <Amnesia> hm is there anyway to hardcode srt files when converting an avi to mpeg2 ?
[20:43] <Kingsy> burek: [oss @ 0x15a2340] /dev/dsp: No such file or directory
[20:44] <slackyman> fuser -v /dev/snd/*
[20:45] <john_doe_jr> slackyman, http://pastebin.com/iX0F2ycR
[20:45] <Amnesia> anyone?
[20:46] <burek> just a second
[20:47] <john_doe_jr> slackyman, which one do I use?
[20:47] <burek> Kingsy, did you install alsa/oss? does your sound card work?
[20:47] <burek> slackyman, why not edit the source to modify the resulting resource?
[20:47] <Kingsy> burek: yeah my soundcard works
[20:48] <burek> john_doe_jr, did you try that too?
[20:48] <slackyman> john_doe_jr: wait
[20:48] <Kingsy> I don't remember installing alsa.. umm 1 sec I will check what vlc is using
[20:48] <burek> ffmpeg -f oss -i /dev/dsp out.wav
[20:48] <Kingsy> ok 1 sec
[20:48] <Kingsy> what is /dev/dsp?
[20:49] <Kingsy> burek: vlc uses the ouput module "default"
[20:49] <burek> Amnesia, do you need subtitles on video?
[20:49] <burek> burned in video?
[20:49] <Amnesia> burek: yep
[20:49] <Amnesia> tried -newsubtitle but that didnt do the job
[20:51] <john_doe_jr> slackyman, burek which do I use?
[20:51] <burek> newsub.. is for adding a new subs stream
[20:51] <burek> for example for dvd or something
[20:51] <burek> that's not what you need
[20:51] <Amnesia> I see
[20:52] <Amnesia> is it supported at all?
[20:52] <burek> you need to use libass
[20:52] <slackyman> john_doe_jr: try alsa or oss
[20:52] <burek> http://ffmpeg.org/ffmpeg.html#ass
[20:52] <burek> something like: ffmpeg -i ... -vf "ass=titles.ass" ... out.avi
[20:52] <Amnesia> hm
[20:53] <Amnesia> guess it wont swallow srt files
[20:53] <burek> john_doe_jr, try typing: arecord -l
[20:53] <burek> Kingsy, you too
[20:53] <burek> Amnesia, no
[20:53] <burek> only .ass
[20:53] <Amnesia> hm
[20:53] <burek> find a converter
[20:53] <Amnesia> yeh
[20:53] <john_doe_jr> burek, http://pastebin.com/iwz8R6Fa
[20:54] <Freakshow> can I haz aligned IDR's with ffmpeg?
[20:55] <Kingsy> burek: http://pastie.org/3343464
[20:55] <burek> john_doe_jr, and Kingsy, try ffmpeg -f alsa -i hw:0 out.wav
[20:55] <slackyman> yep, burek
[20:56] <burek> does it work
[20:56] <Kingsy> burek: that captures to a file, but the file contains no audio
[20:56] <Kingsy> i.e no errors.. but no audio in the file
[20:57] <john_doe_jr> burek, 'ffmpeg -f alsa -i hw:0 out.wav' results in Unknown input format: 'alsa'
[20:57] <burek> Kingsy, you have multiple record cards
[20:57] <burek> probably usb camera
[20:57] <Amnesia> hm so far I can't find a conversion file:)
[20:57] <burek> and integrated audio card
[20:57] <Amnesia> btw, what's the main difference between mencoder and ffmpeg?
[20:57] <burek> try with -i hw:1 instead
[20:58] <Kingsy> burek: when I change it to that. it says --> [alsa @ 0x1b75340] cannot set channel count to 2 (Invalid argument)
[20:58] <john_doe_jr> burek, same problem
[20:59] <brontosaurusrex> how would one do some motion blur when going from 100fps to 25fps?
[21:00] <burek> Kingsy,
[21:00] <burek> try ffmpeg -f alsa -ac 1 -i hw:1 ...
[21:00] <burek> john_doe_jr, u2
[21:01] <burek> brontosaurusrex, did you try any of the ffmpeg's video filters?
[21:01] <shellox> hi
[21:01] <Amnesia> ugh
[21:01] <burek> http://ffmpeg.org/ffmpeg.html#Video-Filters
[21:01] <Amnesia> I'll aks my entire question..
[21:01] <Amnesia> I've got an avi file, thats 4:3 with no subs
[21:01] <brontosaurusrex> burek, a different combos of interlace and yadif and they are fail
[21:01] <brontosaurusrex> tinterlace*
[21:01] <Kingsy> burek: that worked!! but the volume is pretty low on it, I don't suppose that can be adjusted in the settings?
[21:02] <Amnesia> I'd like to convert this to 16:9 (so widescreen, with black parts on the bottom and top) and add subtitles
[21:02] <Amnesia> what's my best bet..
[21:02] <Amnesia> ?
[21:02] <john_doe_jr> burek, unkown input format 'alsa'
[21:02] <slackyman> Kingsy: try alsamixer
[21:02] <shellox> i need your help guys. I try to convert a avi video to mpeg2 ts or mpeg, so that it can be played on this tv from usb stick http://www.amazon.com/Sony-BRAVIA-500-32-Inch-Black/dp/B0035ER1HS
[21:03] <burek> Kingsy, try alsamixer
[21:03] <burek> then use <tab> to switch to recording device
[21:03] <burek> s
[21:03] <burek> or use F6 to switch to usb device
[21:03] <burek> and again <tab> to move from playback/recording
[21:03] <shellox> it's a european tv, so the target must be pal-dvd ?
[21:03] <Kingsy> burek: so apt-get install alsamixer and its something you setup seperate?
[21:03] <Amnesia> shellox: most tvs nowadays do ntsc,pal
[21:03] <burek> john_doe_jr, your ffmpeg is not compiled with alsa support, you'll need to try with -f oss -i /dev/dsp
[21:03] <Amnesia> not sure about secam
[21:04] <shellox> Amnesia: you have an idea how to convert it?
[21:04] <burek> Kingsy, apt-get install alsa-utils
[21:04] <Amnesia> shellox: nope sorry, also having an issue atm myself
[21:04] <shellox> here is the result of my first attempt: http://dpaste.com/699802/
[21:05] <burek> Amnesia, http://ffmpeg.org/ffmpeg.html#toc-Video-Filters
[21:05] <Amnesia> should be fine afaik
[21:05] <Amnesia> burek: Video filters?
[21:05] <burek> you probably need pad
[21:05] <Kingsy> burek: it says its already installed
[21:05] <burek> or scale if you want to stretch
[21:05] <burek> Kingsy, then just type alsamixer
[21:05] <Amnesia> burek: yep..
[21:06] <Amnesia> but what about the subs, since I can;t find anything to convert a srt to ass
[21:06] <shellox> is ac3 ok for tv's?
[21:06] <Amnesia> shellox: depends on the tv
[21:06] <burek> Amnesia, im searching for a converter, be patient
[21:06] <Amnesia> ah thanks
[21:06] <Amnesia> sorry for whining
[21:06] <john_doe_jr> burek, ffmpeg -f oss -i /dev/dsp out.wav is producing a output.wav file but it is not recording the sound
[21:06] <Kingsy> burek: thanks.. :)
[21:06] <Kingsy> awesome!!!
[21:07] <burek> Amnesia, https://github.com/morr/srt2ass
[21:07] <burek> Kingsy, :beer: :)
[21:08] <burek> john_doe_jr, I'm not that familiar with oss
[21:08] <Amnesia> burek: first link..
[21:08] <Amnesia> shame on me
[21:08] <Amnesia> thanks
[21:08] <Kingsy> burek: for sure!!
[21:08] <Amnesia> ruby <3
[21:08] <burek> Amnesia, :beer:
[21:08] <Kingsy> burek++
[21:08] <burek> ^^
[21:08] <Amnesia> perhaps something stronger:)?
[21:08] <burek> john_doe_jr, is there any chance you can compile your ffmpeg
[21:08] <burek> you'd need just to apt-get install libasound2-dev
[21:08] <burek> and compile ffmpeg
[21:08] <john_doe_jr> burek, sure...how do I compile it with alsa support?
[21:08] <burek> for that to work
[21:08] <Amnesia> what's basically the difference between mencoder and ffmpeg?
[21:08] <Amnesia> they do the same right:)?
[21:09] <burek> I can't tell, I didn't use mencoder that much
[21:09] <Amnesia> hm ok:)
[21:09] <burek> btw john_doe_jr when you do ./configure
[21:09] <burek> make sure that the last lines of output say something like "outdevs: alsa"
[21:10] <john_doe_jr> burek, how do I remove my current version of ffmpeg?
[21:10] <burek> john_doe_jr, did you install from repos or compiled
[21:10] <john_doe_jr> burek, git clone
[21:10] <burek> make uninstall
[21:10] <burek> make distclean
[21:10] <burek> git pull
[21:10] <burek> ./configure ..
[21:11] <john_doe_jr> burek, what should be my ./configure options?
[21:12] <burek> john_doe_jr, it depends, what do you need your ffmpeg to do?
[21:12] <john_doe_jr> burek, I need to produce mp4s after recording from my sound card
[21:12] <burek> i guess you'll need h264 too
[21:12] <Kingsy> burek: actually.. not so good..
[21:12] <Kingsy> :S the sound is out of sync
[21:13] <burek> Kingsy, try -async 1 before -i
[21:13] <Kingsy> ok 1 sec
[21:13] <burek> john_doe_jr, for the first run, try just ./configure
[21:13] <john_doe_jr> burek, got a whole bunch of stuff
[21:14] <Kingsy> burek: nope its still out
[21:14] <burek> Kingsy,
[21:14] <burek> can you please use pastebin.com, to show your command line and its output?
[21:15] <burek> john_doe_jr, name them all
[21:15] <Kingsy> burek: sure
[21:15] <burek> use pastebin
[21:16] <Kingsy> burek: http://pastie.org/3343603 <-- that is the command at the top, what it says up until capture.. then I just crashed out of it
[21:16] <john_doe_jr> burek, http://pastebin.com/qaYEUPBk
[21:16] <burek> john_doe_jr, no alsa
[21:16] <burek> in outdevs
[21:16] <burek> did you do
[21:16] <burek> apt-get install libasound2-dev
[21:17] <john_doe_jr> alright I just install libasound2-dev
[21:17] <john_doe_jr> does that ./configure have support for mp4s?
[21:18] <burek> type ./configure --help | less
[21:18] <john_doe_jr> burek, alright
[21:18] <burek> Kingsy, try to remove -f mp4
[21:19] <burek> and output to test.avi
[21:19] <burek> see if there is still async
[21:19] <Kingsy> ok
[21:19] <burek> also remove -async 1
[21:19] <john_doe_jr> burek, I got to download git clone git://git.videolan.org/x264.git
[21:21] <vadim__> hi2all
[21:21] <Kingsy> burek: thats even more out of sync that it was
[21:22] <burek> Kingsy, im afraid you'll end up here: http://ffmpeg.org/trac/ffmpeg/ticket/692
[21:22] <burek> try posting a message
[21:22] <burek> because it will make things progress as more people report it as a problem
[21:22] <burek> john_doe_jr, even better :)
[21:23] <Kingsy> argh.. seriously? a bug.. so thats it then no fix :S
[21:23] <john_doe_jr> burek, how do I do a ./configure with alsa support?
[21:23] <burek> im afraid so
[21:23] <burek> the bug was reported long ago
[21:23] <burek> so i doubt it will be fixed soon
[21:23] <burek> try playing with -async
[21:23] <Kingsy> hahah even worse.. well thats just a scrapper then :)
[21:23] <Kingsy> burek: ok :S
[21:23] <burek> http://ffmpeg.org/ffmpeg.html
[21:23] <burek> :S
[21:24] <burek> john_doe_jr, you don't it's autodetected :)
[21:24] <Kingsy> burek: you have been very helpful tho.. even if I do have to scrap ffmoeg.. thanks
[21:24] <burek> :beer: :)
[21:24] <john_doe_jr> burek, this is my ./configure now: http://pastebin.com/H0s2N8Bn
[21:24] <vadim__> how can I start ffmpeg in background (linux)? & at the end of the command does not work for ffmpeg 0.9.1, at least for me...
[21:24] <john_doe_jr> burek, do you see alsa somewhere?
[21:26] <Kingsy> burek: messing with async does nothing I am afriad
[21:26] <john_doe_jr> burek, yup, I see enabled outdevs now: alsa oss
[21:26] <john_doe_jr> burek, alright, so now I'm going to do the following: ./configure --enable-static --enable-shared --disable-asm
[21:27] <john_doe_jr> burek, sorry...I meant  ./configure --enable-gpl --enable-nonfree --enable-libx264
[21:27] <burek> john_doe_jr, its ok now
[21:27] <burek> you see last line
[21:28] <burek> enabled outdevs
[21:28] <john_doe_jr> burek, yup, noticed that
[21:28] <burek> Kingsy, try listing -i <audio> before -i <video>
[21:28] <burek> dont disable asm
[21:28] <burek> it will slow your ffmpeg down
[21:28] <Kingsy> what is asm?
[21:28] <burek> assembler
[21:28] <Kingsy> or was that for someone else?
[21:29] <burek> for john_doe_jr :)
[21:29] <john_doe_jr> burek, too late...
[21:29] <burek> john_doe_jr, ctrl+c
[21:29] <burek> make distclean
[21:29] <burek> :)
[21:29] <burek> ./configure --enable-gpl --enable-nonfree --enable-libx264 <- that's ok
[21:29] <burek> but why enable-nonfree?
[21:30] <john_doe_jr> burek, I don't know what enable-nonfree means...I just copied it from a web site post
[21:30] <john_doe_jr> what does --enable-nonfree mean anyways?
[21:30] <Kingsy> burek: still the same fault
[21:31] <burek> ./configure --help | grep nonfree
[21:31] <burek> Kingsy,  :S
[21:31] <john_doe_jr> burek, it's running now ...
[21:32] <Kingsy> burek: nm thanks anywyas
[21:32] <burek> Kingsy, try using vlc..
[21:32] <burek> until the bug is fixed
[21:32] <john_doe_jr> burek, it takes forever to compile ffmpeg
[21:33] <burek> john_doe_jr, it takes 10 minutes on modern machines
[21:33] <vadim__> --enable-nonfree (libfaac and libfaad have non-free licenses)
[21:33] <john_doe_jr> burek, yup forever
[21:33] <burek> :)
[21:33] <burek> you're young :)
[21:33] <burek> you'll live :)
[21:34] <john_doe_jr> burek, alright finally I'm done
[21:34] <burek> already? :)
[21:34] <john_doe_jr> burek, I have a really fast machine
[21:34] <burek> ok
[21:35] <burek> try now ffmpeg -f alsa -i hw:0 out.wav
[21:35] <slackyman> Amnesia: I found that ffmpeg can convert srt to ass
[21:35] <Amnesia> :O
[21:35] <Amnesia> tell me:)
[21:35] <burek> really?
[21:35] <burek> cool :D
[21:35] <slackyman> ffmpeg -i file.srt file.ass
[21:35] <burek> lol :D
[21:35] <slackyman> really
[21:35] <burek> nice :D
[21:35] <slackyman> just tried!
[21:35] <Amnesia> neat:)
[21:35] <burek> lol2 :D
[21:36] <slackyman> awfully great! >.<
[21:36] <burek> +1
[21:36] <Amnesia> thanks for the info^^
[21:36] <john_doe_jr> burek, did not give any errors but did not record the sound
[21:36] <slackyman> I seriously think that ffmpeg is the best audio-video swissknife!
[21:36] <burek> john_doe_jr, arecord -l
[21:36] <burek> (small L)
[21:37] <john_doe_jr> burek, arecord -l
[21:37] <john_doe_jr> **** List of CAPTURE Hardware Devices ****
[21:37] <john_doe_jr> card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
[21:37] <john_doe_jr>   Subdevices: 1/1
[21:37] <john_doe_jr>   Subdevice #0: subdevice #0
[21:37] <burek> slackyman, join the club :)
[21:37] <Kingsy> burek: just curious, if I was doing video only, how come I cant increase the resolution without it going blocking and jumpy? its an hd cam so it supports a high smooth resolution
[21:37] <burek> john_doe_jr, alsamixer, press <tab>, turn up the volume for the recording device
[21:37] <burek> and try again
[21:37] <slackyman> burek: I'm involved in a personal project, re-write entirely WinFF
[21:37] <burek> Kingsy, you need to set the resolution before -u
[21:37] <burek> -i
[21:38] <slackyman> with best gui
[21:38] <burek> for ex. ffmpeg -s 1080x720 -i <video>
[21:38] <burek> will capture the video at that resolution
[21:38] <burek> for ex. ffmpeg -i <video> -s 1080x720
[21:38] <burek> that will capture video at some default (unknown) resolution
[21:38] <burek> and rescale video
[21:38] <john_doe_jr> alsamixer shows that 'master' is the default and pressing tab shows that the 'capture' is up 100%
[21:38] <burek> which will end up being not what you want
[21:39] <burek> the order of params does matter
[21:39] <burek> john_doe_jr, well is it a microphone?
[21:39] <burek> what's your recording device
[21:39] <Freakshow> 2 turn tables?
[21:40] <Kingsy> burek: that didnt make a difference.. I am using this command
[21:40] <john_doe_jr> burek, I installed pulsecode audio and it shows that 'ALSA plug-in [chrome]' ...I'm recording off an internet site
[21:40] <Amnesia> I must admit that I seriously suck at mastering ffmpeg..
[21:40] <burek> Amnesia, noone has been born educated :)
[21:40] <Kingsy> burek: ffmpeg -f alsa -ac 1 -async 1 -i hw:1 -f video4linux2 -s 1600x1200 -i /dev/video0 Filename.avi
[21:40] <Amnesia> burek: true that
[21:41] <Amnesia> but I'm still trying to do the same thing><
[21:41] <Kingsy> burek: its really jumpy and blocky :S
[21:41] <burek> Kingsy, did you read the output lines of ffmpeg debug log on screen? did it say something "video driver changed the resolution"
[21:41] <burek> Amnesia, stick with us, and you'll learn a lot :)
[21:41] <Amnesia> heh
[21:42] <Amnesia> working on learning C atm
[21:42] <Amnesia> and assembly
[21:42] <Amnesia> so time's an issue^^
[21:42] <burek> well, can't be master of everything :)
[21:42] <john_doe_jr> burek, now it shows that alsa plug-in [npviewer.bin]: alsa playback is the device it is using
[21:42] <Kingsy> burek: not that I can see --> http://pastie.org/3343770
[21:42] <burek> john_doe_jr,
[21:42] <Amnesia> true that
[21:42] <burek> can you please use pastebin.com, to show your command line and its output?
[21:43] <burek> Stream #1.0: Video: rawvideo, yuyv422, 1600x1200, 153600 kb/s, 5 tbr, 1000k tbn, 5 tbc
[21:43] <burek> use -s .. -r 25
[21:43] <burek> now it's 5fps :)
[21:43] <Kingsy> haha ok
[21:43] <Amnesia> ffs
[21:44] <Kingsy> burek: it says --> [video4linux2 @ 0x135ba20] The driver changed the time per frame from 1/25 to 1/5
[21:44] <john_doe_jr> burek, well, it's not a command line app...I did a 'sudo apt-get install padevchooser' to get a pulse code audio gui to see what is out putting the sound...I now would like ffmpeg to record the sound
[21:45] <john_doe_jr> burek, it still shows 'card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]' as the output device though
[21:46] <Amnesia> Neither PlayResX nor PlayResY defined. Assuming 384x288
[21:46] <Amnesia> still no bloody subs are appearing
[21:46] <burek> Kingsy, your machine isn't fast enough
[21:47] <Kingsy> isnt fast enough? its an i7
[21:47] <burek> try using v4l-utils
[21:47] <Kingsy> how much faster do you need?? hehe
[21:47] <burek> i think its v4l-ctl or something similar
[21:47] <burek> wait
[21:47] <slackyman> burek, how can i show the supported indevs in ffmpeg?
[21:47] <burek> let me remember
[21:48] <burek> john_doe_jr, you are making virtual devices with pulse?
[21:49] <john_doe_jr> burek, nope..just trying to see what device is out putting the recording....It's recording the sound from hw:0 but when I play back there is no sound....
[21:49] <Kingsy> burek: its v4l-utils .. just searched for it and got it..
[21:49] <burek> slackyman, hmm good question :)
[21:49] <Kingsy> burek: but what do I do with it? heh
[21:49] <brontosaurusrex> how would one do some motion blur when going from 100fps to 25fps? what filters to use?
[21:50] <burek> just a second
[21:50] <Kingsy> burek: np
[21:50] <slackyman> burek, I don't think there's an option for it
[21:50] <john_doe_jr> burek, now I'm getting '[alsa @ 0x2c253e0] cannot open audio device hw:0 (Device or resource busy)
[21:50] <john_doe_jr> hw:0: Input/output error' when I run the command but it is already playing at that point
[21:50] <Amnesia> anyone known with the padding filter over here..?
[21:50] <burek> john_doe_jr, well for ffmpeg it's: ffmpeg -f alsa -i hw:0 out.wav
[21:50] <burek> I'm not sure why nothing is recorded
[21:50] <slackyman> Amnesia: what do you want to know?
[21:50] <burek> what exactly are you trying to accomplish
[21:51] <Amnesia> I;m trying to convert 4:3 to 16:9
[21:51] <Amnesia> just compiled ffmpeg since the debian package doesnt ship with libass compiled in
[21:52] <Amnesia> but apparantly -padbottom and -padtop are deprecated now
[21:52] <slackyman> http://ffmpeg.org/ffmpeg.html#pad
[21:52] <Amnesia> yeah reading that:P
[21:53] <slackyman> # pad the input to get a final w/h ratio of 16:9
[21:53] <slackyman> pad="ih*16/9:ih:(ow-iw)/2:(oh-ih)/2"
[21:53] <slackyman> simple
[21:53] <mgeary> hey, can someone remind me of the tool i can use on an mp4 to add/edit the "atom" so it is optimized for progressive playback/streaming?
[21:53] <john_doe_jr> burek, I'm trying to record music off a web site...any ideas?
[21:54] <burek> Kingsy, v4l2-ctl --list-formats-ext
[21:54] <Amnesia> slackyman: tried that, no success
[21:54] <slackyman> you have to calculate the values
[21:55] <Kingsy> burek: makes sense according to that
[21:55] <Kingsy> http://pastie.org/3343879
[21:55] <mgeary> hrm. seems mp4creator does that, but i don't have that on my machine, so i don't think that's what i've used before
[21:55] <Amnesia> slackyman: sec:)
[21:55] <Kingsy> burek: is there a way of improving it? so I can capture a better resolution?
[21:55] <Amnesia> imo the old syntax was easier:)..
[21:55] <slackyman> ih = input height - ow = output width - iw = input width etc
[21:55] <burek> mgeary, try qtfaststart
[21:56] <mgeary> that's it!
[21:56] <mgeary> thanks, burek
[21:56] <burek> :beer: :)
[21:56] <slackyman> Amnesia: the newer is faster
[21:56] <Amnesia> I see
[21:57] <burek> Kingsy, those are formats your camera supports
[21:57] <burek> the best bet is to switch to MJPG pixformat
[21:57] <burek> and use -s 1600x1200 -r 15
[21:57] <burek> john_doe_jr, what do you mean record music off a website?
[21:58] <Amnesia> hm could one of you tell me how to get the size of the videofile with ffmpeg?
[21:58] <burek> slackyman, there is -formats
[21:58] <burek> there are in/out devs too
[21:58] <Kingsy> burek: how do you set it to mjpg?    -f mjpg filename.mpg ?
[21:59] <burek> i think -pixfmt mjpg
[21:59] <burek> let me check
[21:59] <burek> Amnesia, just type ffmpeg -i video.avi
[21:59] <brontosaurusrex> mjpg is usually in avi container
[21:59] <Amnesia> burek: hm thx
[22:00] <burek> Kingsy, -pix_fmt
[22:00] <slackyman> burek, yep, I knew the -format trick but I cannot tell the formats from the devices
[22:00] <john_doe_jr> burek, I'm listening to music off a website but wanted to know if it is possible to record music off the website
[22:00] <Kingsy> and what can I save the file as? a mpg?
[22:00] <Kingsy> burek: ^
[22:00] <burek> slackyman, config.log? :D
[22:00] <slackyman> burek: it's a trick! >.<
[22:00] <Kingsy> burek: or will a avi work?
[22:00] <burek> john_doe_jr, that's illegal :D you know :D SOPA :D
[22:01] <burek> it is possible
[22:01] <slackyman> on an installed binary (repos or download) you doesn't have a conf.log
[22:01] <slackyman> :d
[22:01] <mgeary> <akbar>It's a trap!</akbar>
[22:01] <burek> how does the website stream its music?
[22:01] <Kingsy> burek: evidently not, avi and mpg dont work with pix_fmt
[22:01] <burek> no no
[22:01] <slackyman> I finally compiled librtmp with openssl for Windoz!
[22:01] <burek> ffmpeg -pix_fmt MJPEG -s 1600x1200 -r 15 -i /dev/video0 out.avi
[22:02] <burek> try that
[22:02] <slackyman> and make a huge ffmpeg.exe monolithic binary!
[22:02] <burek> +1 :)
[22:02] <Kingsy> ah I see
[22:02] <burek> slackyman, I'm trying to build a huge fat ffmpeg static binary
[22:02] <Kingsy> burek:  it says ffmpeg: failed to set value 'MJPEG' for option 'pix_fmt'
[22:02] <burek> and when I succeed at it, I'll create cron jobs to regularly do git pull and make the latest binary
[22:03] <slackyman> burek: in win or in linux-gnu?
[22:03] <burek> so that people dont have to compile it
[22:03] <burek> linux
[22:03] <burek> but, if we can find a windows host machine for the same thing
[22:03] <slackyman> I have one!
[22:03] <burek> it would be a killer :D
[22:03] <slackyman> burek
[22:03] <burek> Kingsy, try MJPG
[22:03] <Kingsy> burek: same error
[22:03] <slackyman> if you want i can give you my binaries and sources
[22:03] <slackyman> and *.sh files
[22:03] <burek> hm
[22:04] <burek> slackyman, sure :)
[22:05] <burek> it would help
[22:05] <Amnesia> slackyman: I don't get the coordinates..
[22:05] <slackyman> ?!?
[22:05] <Amnesia> 576x240 <-
[22:05] <brontosaurusrex> burek, 10 MB would count as fat?
[22:05] <burek> Kingsy, try ffmpeg -pix_fmts
[22:05] <burek> is there mjpg
[22:05] <Amnesia> so that'd be pad="576x240:x:y:black"
[22:06] <vadim__> ffmpeg & linux guru, please help ) how to start ffmpeg in background?..
[22:06] <Amnesia> vadim__: ffmpeg .... &
[22:06] <john_doe_jr> burek, yup, I know it's possible: http://www.youtube.com/watch?v=i-hGbw1Wb-w&feature=related
[22:07] <Kingsy> burek: no not that I can see
[22:07] <vadim__> Amnesia: does not work with ffmpeg 0.9.1. it starts in stopped mode
[22:07] <slackyman> amnesia, what are the dimensions of your video?
[22:07] <Amnesia> 576x240 <-
[22:07] <Kingsy> burek: no, I grepped for it too, there isnt
[22:07] <slackyman> so you have to convert it to 16:9
[22:07] <slackyman> yep, give me a minute
[22:07] <Amnesia> yep
[22:08] <burek> brontosaurusrex, you were right
[22:08] <burek> Kingsy, try this
[22:08] <slackyman> so 576 * 9 / 16 = ?
[22:08] <burek> hmh
[22:08] <Amnesia> I'm curious what the result will be..
[22:08] <burek> wait
[22:08] <brontosaurusrex> burek, about what?
[22:08] <slackyman> sorry, I mde a mistake :P
[22:09] <Kingsy> burek: np
[22:09] <vadim__> does somebody use ffmpeg 0.9.1?
[22:11] <burek> Kingsy, you can set default pix fmt with v4l2-ctl
[22:11] <burek> but the better would be
[22:11] <burek> with ffmpeg
[22:11] <slackyman> Amnesia 576x240 is a strange format
[22:12] <slackyman> ahah
[22:12] <Kingsy> burek: you cant do it?
[22:12] <slackyman> just joking
[22:12] <Amnesia> I agree
[22:12] <Amnesia>     Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 576x240 [SAR 1:1 DAR 12:5], 23.98 tbr, 23.98 tbn, 23.98 tbc
[22:12] <burek> Kingsy, -input_format
[22:12] <burek> :)
[22:12] <Amnesia> that's why it's going to suck on a 32" screen><
[22:12] <slackyman> is a 12:5
[22:13] <Kingsy> burek: hmm can you give me an example? I am little confused now
[22:13] <slackyman> but you'll have black stripes on the left and right side!
[22:13] <slackyman> :D
[22:13] <burek> or -pixel_format
[22:13] <burek> just found out its not the same as pix_fmt
[22:13] <burek> :)
[22:13] <Amnesia> slackyman: ugh padbottom etc was much easier
[22:14] <burek> ffmpeg -f video4linux2 -pixel_format MJPEG -s 1600x1200 -r 15 -i /dev/video0 out.avi
[22:14] <Kingsy> burek: using pixel_format I get this error --> Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
[22:14] <Kingsy> burek: whereas your example gives me this error --> [video4linux2 @ 0x1fe2560] No such pixel format: MJPG.
[22:15] <burek> try MJPEG
[22:15] <Kingsy> burek: tried it same error
[22:15] <Amnesia> slackyman: it looked fine with: padbottom 80 and padtop 80 on this 15" laptop:)
[22:15] <slackyman> wait, I'm calculating :)
[22:16] <Amnesia> ah sorry
[22:16] <Kingsy> burek: but my command
[22:16] <Kingsy> ffmpeg -f alsa -ac 1 -async 1 -i hw:1 -f video4linux2 -s 1600x1200 -r 15 -i /dev/video0 -pixel_format MJPG Filename.avi   says     Option pixel_format not found.
[22:16] <burek> -pixel_format MJPG must be before -i
[22:16] <Kingsy> oh ok 1 second
[22:17] <burek> because you need to tell your cam to capture in mjpeg
[22:17] <burek> not in yuyv
[22:17] <Kingsy> burek: yeah same error as before now --> [video4linux2 @ 0x15dca20] No such pixel format: MJPG.
[22:17] <burek> MJPEG
[22:17] <Kingsy> burek: yeah, same error
[22:17] <Kingsy> I tried both
[22:18] <Kingsy> I just pasted MJPG instead of MJPEG
[22:18] <burek> try -input_format instead of pixel_format
[22:18] <Kingsy> burek: Unrecognized option 'input_format'
[22:19] <john_doe_jr> burek, does out.wav have music in it?  ffmpeg -i out.wav
[22:19] <john_doe_jr> ffmpeg version N-37650-g3c939ad Copyright (c) 2000-2012 the FFmpeg developers
[22:19] <john_doe_jr>   built on Feb  8 2012 15:33:28 with gcc 4.4.3
[22:19] <john_doe_jr>   configuration: --enable-gpl --enable-nonfree --enable-libx264
[22:19] <john_doe_jr>   libavutil      51. 38.100 / 51. 38.100
[22:19] <john_doe_jr>   libavcodec     54.  1.100 / 54.  1.100
[22:19] <john_doe_jr>   libavformat    54.  0.100 / 54.  0.100
[22:19] <john_doe_jr>   libavdevice    53.  4.100 / 53.  4.100
[22:19] <john_doe_jr>   libavfilter     2. 62.100 /  2. 62.100
[22:19] <john_doe_jr>   libswscale      2.  1.100 /  2.  1.100
[22:19] <john_doe_jr>   libswresample   0.  6.100 /  0.  6.100
[22:19] <john_doe_jr>   libpostproc    52.  0.100 / 52.  0.100
[22:19] <john_doe_jr> [wav @ 0x281d3a0] max_analyze_duration 5000000 reached at 5013333
[22:19] <john_doe_jr> Input #0, wav, from 'out.wav':
[22:19] <john_doe_jr>   Duration: 00:00:43.71, bitrate: 1536 kb/s
[22:19] <john_doe_jr>     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
[22:19] <burek> ..
[22:19] <slackyman> amnesia
[22:19] <burek> use pastebin..
[22:19] <Amnesia> slackyman:
[22:19] <slackyman> I hope to not to be wrong
[22:19] <slackyman> :D
[22:20] <slackyman> use
[22:20] <slackyman> 426,666:240:0:426,666:15
[22:20] <burek> Kingsy, ffmpeg -f vide... -input_format MJPEG ... ?
[22:20] <slackyman> try
[22:20] <slackyman> and tell me
[22:21] <slackyman> can i answer a question? just a poll... :D
[22:21] <Amnesia> slackyman: No such filter: '666:240:0:426'
[22:21] <Kingsy> burek: same thing --> Unrecognized option 'input_format'
[22:21] <slackyman> who's using, here, gnome?
[22:21] <burek> Kingsy, try this: v4l2-ctl --set-fmt-video=width=1600,height=1200,pixelformat=MJPEG
[22:21] <burek> and after that
[22:21] <burek> just
[22:21] <burek> ffmpeg -f vide... -i /dev/video0 out.avi
[22:21] <slackyman> amnesia, you have to do like this
[22:22] <slackyman> ffmpeg -filter pad="426,666:240:0:426,666:15"
[22:22] <brontosaurusrex> slackyman, sometimes, why?
[22:22] <Amnesia> ffmpeg  -i *avi -aspect 16:9 -target pal-dvd -vf pad="426,666:240:0:426,666:15"  dvd.mpg
[22:22] <slackyman> brontosaurusrex: only curious
[22:22] <Amnesia> slackyman: same error
[22:22] <Kingsy> burek: did that and tried   ffmpeg -f alsa -ac 1 -async 1 -i hw:1 -f video4linux2 -s 1600x1200 -r 15 -i /dev/video0 Filename.avi   and it still says its changing 15 to 5
[22:22] <slackyman> I get rid of gnome from fedora and installed kde and lxde
[22:22] <slackyman> :)
[22:23] <burek> Kingsy, did v4l2-ctl complained?
[22:23] <Amnesia> slackyman: check out dwm:)
[22:23] <Kingsy> burek: nope no error
[22:23] <brontosaurusrex> the new gnome-shell? (iam still with 2.x)
[22:23] <burek> Kingsy,
[22:23] <burek> can you please use pastebin.com, to show your command line and its output?
[22:23] <slackyman> brontosaurusrex: yep, awful
[22:23] <Kingsy> burek: sure 1 secon
[22:23] <Amnesia> dwm + urxvt = win
[22:24] <Kingsy> burek: http://pastie.org/3344041
[22:24] <Amnesia> ffs
[22:24] <Amnesia> it can't be that hard to do what I want to do:/
[22:24] <brontosaurusrex> slackyman, yep http://www.youtube.com/watch?feature=player_embedded&v=Z-moXUALZtw
[22:24] <Amnesia> still working on this goddamn issue
[22:25] <john_doe_jr> burek, hey, the following ffmpeg -f alsa -i pulse ~/Desktop/out.wav works but this doesn't ffmpeg -f alsa -i pulse ~/Desktop/out.mp4...any ideas?
[22:26] <john_doe_jr> burek, I bet it's my -acodec
[22:26] Action: Amnesia 's gonna ragequit
[22:27] <john_doe_jr> burek, never mind I figured it out
[22:27] <brontosaurusrex> what arc encoders do you have?
[22:27] <brontosaurusrex> aac even
[22:27] <slackyman> sorry
[22:27] <Amnesia> slackyman: why doesn't - aspect 16:9 do the job?
[22:27] <burek> oh..
[22:27] <burek> Kingsy,  :)
[22:28] <burek> try this
[22:28] <slackyman> Amnesia: change my "," to "."
[22:28] <burek> ffmpeg -f video4linux2 -vcodec mjpeg -s 1600x1200 -r 15 -i /dev/video0 out.avi
[22:29] <Amnesia> pad="426.666:240:0:426.666:15" ?
[22:29] <brontosaurusrex> slackyman, dunno, kde looks as dumb as gnome3 or that ubuntu horror to me, but thats only mho
[22:29] <Amnesia> [pad @ 0x304b9c0] Input area 0:426:720:1002 not within the padded area 0:0:426:240 or zero-sized
[22:29] <slackyman> yes, I'm made a mistake
[22:29] <Kingsy> burek: lol now that was WEIRD.. the output only contained half an image.. the bottom half was grey
[22:29] <burek> ok
[22:30] <slackyman> brontosaurusrex: I use lxde for the most
[22:30] <burek> change out.avi to out.mpg
[22:30] <Kingsy> and when the avi was being captured the output on the terminal was really weird
[22:30] <Kingsy> ok
[22:30] <slackyman> but I really love yakuake
[22:30] <slackyman> Amnesia, wait a moment
[22:30] <Kingsy> burek: it says [mpeg1video @ 0xe84440] MPEG1/2 does not support 15/1 fps
[22:30] <burek> ffmpeg -f video4linux2 -vcodec mjpeg -s 1600x1200 -r 15 -i /dev/video0 out.mp4
[22:30] <burek> or
[22:30] <brontosaurusrex> slackyman, my gnome3 experiment, just before i got back to 2 http://brontosaurusrex.69.mu/wp-content/uploads/2011/11/mintMashup8MintMenu.jpg
[22:30] <burek> ffmpeg -f video4linux2 -vcodec mjpeg -s 1600x1200 -r 15 -i /dev/video0 -r 25 out.mpg
[22:31] <burek> john_doe_jr, let me see
[22:31] <burek> wav is uncompressed
[22:31] <john_doe_jr> burek, I figured it out...I finally got it working...thank you so much for your help
[22:31] <burek> mp4 is not :)
[22:31] <burek> :beer: :)
[22:32] <Amnesia> I seriously don't get this syntax
[22:32] <john_doe_jr> burek, I could convert it to .wav and then mp4 right?
[22:32] <burek> sure
[22:32] <burek> Amnesia, what's the problem
[22:32] <brontosaurusrex> burek, it can be, using alac for example
[22:32] <Kingsy> burek: naaa something is wrong with that.. all of those commands give me that half grey video and this is the output from the command --> http://pastie.org/3344091
[22:32] <burek> brontosaurusrex :)
[22:33] <brontosaurusrex> well, losslessly compressed that is
[22:33] <Kingsy> burek: the errors keep coming until you end the capture
[22:33] <Amnesia> burek: the subs are giving: bad timestamp, and are not appearing, and the scaling is also hell:P
[22:33] <burek> Kingsy, one stupid question, is your usb drive 2.0 or 1.0
[22:34] <burek> Amnesia, scaling is easy
[22:34] <burek> but timing of subs, hmh
[22:34] <Kingsy> burek: I really don't know, I am assuming its usb 2
[22:34] <Amnesia> hm nvm..
[22:34] <burek> did you check the original subs to see if they are in sync?
[22:34] <Amnesia> it works now I converted using ffmpeg..
[22:34] <Amnesia> yep
[22:34] <Amnesia> seems that that's fixed
[22:35] <burek> ok :)
[22:35] <burek> Kingsy, usb is 12 MB/s which means 12*8 ~ 100 mbps
[22:35] <Amnesia> but ehm scaling is easy?
[22:35] <Amnesia> 12:5 -> 16:9
[22:35] <burek> 1600x1200 at 15fps = ?
[22:36] <burek> 28,8 MB/s
[22:36] <burek> won't go over usb 2.0..
[22:36] <burek> oh, its yuyv, so *4
[22:37] <burek> 115,200,000 bytes per second
[22:37] <burek> so, 1600x1200 at 15fps raw video.. not gonna work over usb
[22:37] <brontosaurusrex> Amnesia, http://resizecalc.sourceforge.net/index.php?ssmw=1600&sar=1&sar2=&ssmh=1200&CT=23&CL=23&CR=23&CB=23&mplayCrop=&trw=1600&dar=1&dar2=&modw=&modh=&padw=&padh=&css=&doit=true
[22:37] <burek> mjpeg might, but it will compress your capture image
[22:37] <Kingsy> burek: screw this I will just fix it later.. thanks anyways m8 I just need to chill out for a bit
[22:37] <brontosaurusrex> put in your numbers and it should return mplayerish syntax as well
[22:37] <burek> :))) ok :)
[22:38] <burek> Amnesia, 12:5 => 16:9 just add padding
[22:38] <burek> and that's it
[22:38] <Kingsy> back in a bit
[22:38] <Amnesia> burek: I know I should do that
[22:39] <Amnesia> but I dunno how, with the "new strange context"
[22:39] <Amnesia> :P
[22:39] <Amnesia> I already checked the documentation, but just don't get it:/
[22:39] <burek> http://ffmpeg.org/ffmpeg.html#pad
[22:39] <burek> did you read examples?
[22:39] <Amnesia> yeah read that
[22:39] <burek> at the bottom
[22:39] <Amnesia> yep, also tried those
[22:39] <Amnesia> no success
[22:39] <burek> # Add paddings with color "violet" to the input video. Output video size is 640x480, the top-left corner of the input video is placed at column 0, row 40
[22:39] <burek> pad=640:480:0:40:violet
[22:40] <burek> what's your input size
[22:40] <Amnesia> 576x400
[22:40] <burek> and you just want to pad it to look like 16:9 ?
[22:41] <Amnesia> yep
[22:41] <burek> 576x400 is not 12:5
[22:41] <burek> its 7.2:5
[22:42] <Amnesia>     Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 576x240 [SAR 1:1 DAR 12:5], 23.98 tbr, 23.98 tbn, 23.98 tbc
[22:42] <Amnesia> 240 sorry
[22:42] <burek> ok
[22:43] <brontosaurusrex> -vf crop=576:400:0:0,expand=704  ?
[22:44] <burek> ok, for 16:9 you need 240 to be 324
[22:44] <brontosaurusrex> that gives 64 pixels on each side, the full frame is close to 16:9 and 704 is mod16 ready
[22:44] <burek> so you need a vertical pad of 324-240
[22:44] <burek> 84
[22:45] <burek> 42 at top/bottom
[22:45] <burek> so
[22:45] <slackyman> Amnesia:
[22:45] <Amnesia> hm
[22:45] <slackyman> I found
[22:45] <Amnesia> now I've got the entire channel helping me
[22:45] <burek> -vf "pad=576x324:0:42"
[22:45] <Amnesia> ><
[22:45] <slackyman> ffmpeg use those constants
[22:45] <brontosaurusrex> i mean -vf expand=704
[22:45] <slackyman> -vf pad="ih*16/9:ih:(ow-iw)/2:(oh-ih)/2"
[22:46] <Amnesia> sec
[22:46] <Amnesia> got to recompile:/
[22:46] <burek> that's why we need static binaries ^^
[22:46] <slackyman> ffmpeg -y -i inputfile.mpeg -aspect 16:9 -target pal-dvd -vf pad="ih*16/9:ih:(ow-iw)/2:(oh-ih)/2"  dvd.mpg
[22:47] Action: burek afk
[22:47] <brontosaurusrex> oh, pal dvd is a target?
[22:47] <slackyman> Amnesia: sure that you'll remember qhat you learned today? :D
[22:47] <slackyman> with that nick...
[22:47] <Amnesia> hm not really, since the syntax looks like gibberish
[22:47] <john_doe_jr> burek, after I get the .wav file...how do I compress it?
[22:48] <slackyman> Amnesia: I tried myself
[22:48] <slackyman> it works like a charm
[22:48] <slackyman> :D
[22:48] <Amnesia> and do you understand it:P?
[22:48] <slackyman> I'm loving ffmpeg more and more day after day :D
[22:48] <Amnesia> input height *(16/9)
[22:48] <brontosaurusrex> ok, so if anamorf 16:9 pal dvd is a target, then : scale=400:400,expand=720
[22:48] <burek> slackyman, you can recompress is on the fly
[22:49] <burek> but if you already have wav file
[22:49] <burek> you can do something like ffmpeg -i file.wav -ar 256k out.mp3
[22:49] <brontosaurusrex>  actually : scale=400:400,expand=720:576
[22:50] <slackyman> i have to go ppl
[22:50] <slackyman> bye
[22:50] <john_doe_jr> burek, in your command ffmpeg -i file.wav -ar 256k out.mp3 ...is the mp3 format 'compressed'?
[22:51] <burek> ?
[22:51] <john_doe_jr> burek, what?
[22:51] <Amnesia> slackmagic: running the following:
[22:51] <Amnesia> ffmpeg -y -i *avi -aspect 16:9 -target pal-dvd -vf pad="ih*16/9:ih:(ow-iw)/2:(oh-ih)/2" ass=sub.ass dvd.mpg
[22:52] <Amnesia> but it's still full screen without the padding
[22:52] <burek> what do you mean by is mp3 format compressed? :)
[22:52] <Amnesia> hm, when I remove the ass=sub.ass, there are pads at the right and left side
[22:52] <Amnesia> but I want widescreen:p
[22:52] <Amnesia> so that the pads are on the top and bottom
[22:53] <burek> well
[22:53] <burek> you're combining filters
[22:53] <burek> so you need to keep them all in -vf string
[22:53] <Amnesia> ah I should add another -vf
[22:53] <burek> no
[22:53] <burek> -vf "filter1;filter2;..."
[22:53] <Amnesia> ah k
[22:54] <burek> http://ffmpeg.org/libavfilter.html
[22:54] <john_doe_jr> burek, hey I used your 'ffmpeg -i file.wav -ar 256k out.mp3' command but i'm getting, 'Encoder (codec none) not found for output stream #0:0'...
[22:55] <burek> is it possible your ffmpeg is compiled without mp3 support? :S
[22:55] <burek> can you please use pastebin.com, to show your command line and its output?
[22:55] <john_doe_jr> burek, oh dear God!
[22:56] <brontosaurusrex> john_doe_jr, and ffmpeg -formats | grep mp3 returns what?
[22:56] <Amnesia> burek: -vf "pad=iw*16/9:ih:\(ow\-ih\)\/2:\(oh\-ih\)\/2;ass=sub.ass"
[22:56] <Amnesia> doesn't like that
[22:56] <brontosaurusrex> Amnesia, is your output 16:9 pal DVD or not?
[22:56] <Amnesia> nope
[22:57] <Amnesia> I'm trying to get black pads in the bottom and top
[22:57] <burek> Amnesia, let me check with google
[22:57] <brontosaurusrex> so what is it?
[22:57] <Amnesia> it aint -padtop 80 and -padbottom 80 anymore:)
[22:57] <brontosaurusrex> i gave you the filters if you scroll up a bit
[22:58] <brontosaurusrex> scale=400:400,expand=720:576
[22:58] <brontosaurusrex> and other stuff like  -aspect 16:9 -target pal-dvd
[22:58] <john_doe_jr> brontosaurusrex, burek http://pastebin.com/UeQiyWxb
[22:58] <Amnesia> brontosaurusrex: that's mencoder syntax afaik
[22:58] <Amnesia> expand isnt a vf in ffmpeg
[22:59] <brontosaurusrex> could be, but the calc is right - scale to 400x400 and then pad to 720x576
[22:59] <brontosaurusrex> assuming your input SAR is 1:1
[22:59] <burek> Amnesia, try -vf "[in] pad=... [tmp1];[tmp1] ass=file.ass [out]"
[23:00] <brontosaurusrex> john_doe_jr, and ffmpeg -formats | grep mp3 returns what?
[23:00] <Amnesia> burek: sec
[23:01] <burek> john_doe_jr, try ffmpeg -codecs | grep mp3
[23:01] <Amnesia> brontosaurusrex: still dunno how to formalize it
[23:01] <john_doe_jr> burek, brontosaurusrex http://pastebin.com/eDwcY3Sk
[23:01] <Amnesia> burek: doubt that's gonna work though:)
[23:02] <brontosaurusrex> Amnesia, 720-400/2 and 576-400/2 ?
[23:02] <brontosaurusrex> to get padding
[23:02] <burek> john_doe_jr, you might just found a bug :)
[23:02] <burek> try ffmpeg -i file.wav -ar 96k out.aac
[23:02] <john_doe_jr> burek, how?  I know people have been converting .wav to mp3 or mp4
[23:02] <Amnesia> burek: nope not working
[23:03] <Amnesia> brontosaurusrex: yep that:)
[23:04] <Amnesia> pad="720:400/2:576:240/2:black
[23:04] <john_doe_jr> burek, getting, 'Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt'
[23:04] <john_doe_jr> [NULL @ 0x1791660] Codec is experimental but experimental codecs are not enabled, see -strict -2'
[23:04] <Amnesia> is it that hard to just add 80 pixels to the top and bottom:P?
[23:05] <brontosaurusrex> ffmpeg -i file.wav -strict -2 -ar 96k out.aac
[23:05] <baddu1> hello. building libstagefright fails
[23:05] <baddu1> http://pastebin.com/zpzEsRZS
[23:06] <baddu1> $ sh tools/build_libstagefright
[23:06] <Amnesia> brontosaurusrex: any chance you could spoonfeed me on this one?
[23:07] <john_doe_jr> brontosaurusrex, ffmpeg -i file.wav -strict -2 -ar 96k out.aac worked fine...what does that command do exactly?
[23:07] <necktie> can anyone help me? i get this error "bad option 'preset': 'veryslow'". is veryslow not a preset?
[23:07] <burek> john_doe_jr, try apt-get install libmp3lame-dev
[23:07] <burek> and recompile ffmpeg
[23:07] <burek> add --enable-libmp3lame
[23:07] <brontosaurusrex> john_doe_jr, it uses experimental AAC encoder found in ffmpeg to do a lossy audio encode at average nitrate of 96 kbits/s ?
[23:08] <brontosaurusrex> bitrate*
[23:08] <brontosaurusrex> burek, or just pipe to lame
[23:08] <brontosaurusrex> i have this in my scripts for mp3: ffmpeg -i "$files" -vn -y -f wav - 2> /dev/null| lame --preset standard - "$out.mp3"
[23:09] <john_doe_jr> brontosaurusrex, it compressed it a lot ....
[23:09] <necktie> anybody?
[23:10] <brontosaurusrex> john_doe_jr, should be roughly 10 times smaller than wav
[23:10] <Amnesia> burek: fyi, a comma works for multiple filters
[23:10] <john_doe_jr> brontosaurusrex, could i just use that format....
[23:10] <Amnesia> hmkay almost there..
[23:11] <brontosaurusrex> vf scale=x:y,pad=width:height:x:y:color
[23:11] <brontosaurusrex> is what you need Amnesia
[23:12] <Amnesia> yep
[23:12] <necktie> can anyone help me? i get this error "bad option 'preset': 'veryslow'". is veryslow not a preset?
[23:12] <Amnesia> I just don't know whether the width and height are including the padding, and don't know what to place in the second pair of x,y
[23:12] <brontosaurusrex> necktie, full command please
[23:14] <necktie> brontosaurusrex: ffmpeg -i Sample.ts -acodec copy -vcodec libx264 -x264opts preset=veryslow:tune=grainref=5:bframes=3:weightp=2:aq-strength=0.5:trellis=2:merange=64:me=umh:direct=auto:subme=10:qcomp=0.7:partitions=all:keyint=240:b-pyramid=normal:b-adapt=2 -crf 16.8 -vf yadif=0,crop=in_w-6:in_h-48:2:20,scale=1280:696 -level 41 -threads 0 Sample3.mkv
[23:15] <brontosaurusrex> -vf scale=400:400,pad=400:400:160:88 maybe
[23:16] <brontosaurusrex> necktie, try with "-vcodec libx264 -preset medium -tune film ….." syntax
[23:16] <Amnesia> brontosaurusrex: [pad @ 0x18cf240] Input area 160:88:560:488 not within the padded area 0:0:400:400 or zero-sized
[23:16] <Amnesia> keep getting similar errors
[23:17] <Amnesia> the size of the video is: 576x240
[23:19] <vadim__> ffmpeg -i some.avi -c:a libfaac -c:v libx264 -movflags frag_keyframe -f ismv someout.ismv / why the ffmpeg get a 'Segmentation fault'? ffmpeg 0.10 and x264 are the most fresh...
[23:21] <brontosaurusrex> Amnesia, then i would upscale it to 720x432 and just add the padding (576-432/2)
[23:21] <Amnesia> hm sec, got to get the pad line then..
[23:22] <Amnesia> pad=720:432:576-432/2:black?
[23:23] <Amnesia> scale=720:432,pad=720:432:576-432/2 <- that's what I've got atm
[23:23] <brontosaurusrex> i guess
[23:23] <Amnesia> the syntax is just strange:/
[23:25] <Amnesia> nope not working
[23:25] <Amnesia> maaaaan
[23:26] <Amnesia> I just don't understand it:/
[23:29] <Amnesia> finally..
[23:29] <Amnesia> pad=720:512:0:40 that did the job..
[23:32] <brontosaurusrex> Amnesia, -vf scale=720:432,pad=720:576:0:72 seems to work here
[23:32] <Amnesia> hm I also got it working, finally understand it
[23:32] <Amnesia> sorry for spamming ><
[23:32] <Amnesia> and thx for your help
[23:34] <brontosaurusrex> Amnesia, yeah, you have to define final canvas size first, makes sense now
[23:34] <Amnesia> didn't either understand it in the beginning:)?
[23:35] <brontosaurusrex> i did, only the canvas size is something that i overlooked
[23:35] <Amnesia> I see
[23:35] <brontosaurusrex> and i do prefer avisynth syntax : AddBorders(0,72,0,72,0) # pad height 576
[23:36] <Amnesia> hm, also looks like gibberish to me atm
[23:37] <brontosaurusrex> well, it doesn't bother with canvas size at all
[23:37] <brontosaurusrex> http://avisynth.org/mediawiki/AddBorders
[23:37] <Amnesia> I see
[23:43] <brontosaurusrex> vadim__, trying to move the atom to the beginning?
[23:45] <vadim__> nope, just try to use freshly implemented ismv format from ffmpeg-0.10, but with lack of success yet...
[23:46] <vadim__> brontosaurusrex: in fact I try to transcode an avi file to fragmented mp4 (ismv) used for smooth streaming
[23:49] <brontosaurusrex> vadim__, interesting, what is needed on server side then?
[23:50] <vadim__> brontosaurusrex: pardon, could you explain your question, please...
[23:50] <meelu> i want to extract audio from a video, at the bitrate the audio is currently in. The audio in the video is aac i want mp3 how do i do this simply?
[23:52] <brontosaurusrex> meelu, ffmpeg -i file -vn out.mp3 (dunno about the same nitrate, doesn't make sense either)
[23:52] <brontosaurusrex> bitrate*
[23:52] <meelu> same bitrate as in
[23:53] <meelu> whatever bitcoin videofile.flv -i gives me
[23:53] <meelu> i want to keep it
[23:53] <brontosaurusrex> meelu, just extract audio ffmpeg -i file -vn -acodec copy out.m4a
[23:53] <meelu> for example if it says
[23:53] <meelu> Audio: aac, 44100 Hz, stereo, s16, 151 kb/s
[23:53] <meelu> i want a 151 kb/s mp3
[23:53] <meelu> brontosaurusrex,
[23:54] <sacarasc> meelu: You can get one...
[23:54] <meelu> get one?
[23:54] <sacarasc> Acquire.
[23:55] <meelu> i could have a default bitrate set, but i'm using this command in a script which will convert various files so different bitrates and i want the mp3's at best possible bitrates which videos already have not extra bitrate or lower bitrate for no reason
[23:55] <meelu> so if there is a way...
[23:55] <brontosaurusrex> vadim__, to server such streams, what must the server do, or is that just the http ?
[23:55] <meelu> sacarasc?
[23:57] <brontosaurusrex> meelu, you will transcode (kill quality) with going from arc to mp3, so keeping nitrate is pretty useless
[23:57] <brontosaurusrex> aac even
[00:00] --- Thu Feb  9 2012


More information about the Ffmpeg-devel-irc mailing list