[Ffmpeg-devel-irc] ffmpeg.log.20111108
burek
burek021 at gmail.com
Wed Nov 9 10:17:13 CET 2011
[00:00] <burek> just take a look at the bug tracker and you'll see why :)
[00:00] <burek> in 3-4 days you get so many patches/updates/fixes..
[00:12] <tchmiel> well, I'll try to sleep on it a little... :(
[00:23] <filo1234> sorry guys I have another little doubt, if I make an mpg video, can I use mpg4 encoder? or only mpeg2video and mpeg1video?
[00:23] <filo1234> or it doesn't matter??
[00:25] <relaxed> filo1234: why do you need the mpg container?
[00:25] <filo1234> burek: well about ffmpeg I don't use more video editing or something, only sometimes I need to use it for little convert videos, for this I haven't got copile it..
[00:26] <filo1234> relaxed: because I use a dvd reader with an usb pen plugged in, and it read only mpg
[00:27] <relaxed> then you probably want ac3/mpeg2 in the '-f vob' container
[00:29] <filo1234> I have some mpg video that is mpg2video and mpeg1video that runs on that dvdeader
[00:29] <filo1234> for this I have that doubt
[00:30] <filo1234> and mp2 audio and not mp3
[00:30] <filo1234> :|
[00:30] <filo1234> stupid dvdreader
[00:33] <relaxed> mp2/mpeg2 works as well
[00:36] <filo1234> avi to mpg conversion is very fast!
[01:59] <FunkyELF> do any video codecs support GPU for converting video?
[02:17] <pasteeater> FunkyELF: not ffmpeg.
[02:25] <pasteeater> where is the log for this channel?
[02:25] <iive> why do you think there is one?
[02:28] <pasteeater> topic
[02:29] <iive> then ask who put that there...
[02:29] <iive> i'm out
[02:30] <pasteeater> i think michaelni did that.
[02:30] <iive> n8 ppl
[02:35] <pasteeater> burek: ping
[02:55] <michaelni> pasteeater, http://lists.mplayerhq.hu/pipermail/ffmpeg-devel-irc/
[03:18] <workingman317> hello~
[03:19] <workingman317> im serching about making lib from ffmpeg source for ios5
[03:19] <workingman317> but i can't ..
[03:20] <workingman317> unrecognized command line iption "-arch"
[03:20] <workingman317> log file..
[03:21] <workingman317> how fix it?
[03:28] <queuetip> does ffmpeg support input from any protocol? where can i find info? and also can the output be similar protocols? for instance can i output an encoding to an ftp server or an http server emulating a file upload?
[03:29] <queuetip> from the docs: Any supported file format and protocol can serve as input to ffmpeg: but I was wondering if this also applies to output
[03:30] <sacarasc> ffmpeg -protocols
[03:30] <queuetip> sacarasc: thanks
[03:31] <queuetip> is that for output and input?
[03:31] <sacarasc> If you read it all, you'll know.
[03:32] <queuetip> sacarasc: i read the entire output of ffmpeg -protocols, and it doesn't specify
[03:32] <queuetip> sacarasc: it does however list the supported protocols : D
[03:32] <sacarasc> The four lines just above FLAGS NAME, maybe?
[03:33] <queuetip> i'll pastbin the output of ffmpeg -protocols
[03:33] <queuetip> http://pastebin.com/VMZrjyTz
[03:33] <sacarasc> Oh, an ancient version...
[03:34] <queuetip> : ( darnit, DEBIAN GET WITH IT
[03:34] <queuetip> in any case, if i just compile a more recent version, then I should have my answer, yes?
[03:34] <sacarasc> Yup, but as it depends on what you compile in, what I have and what you have may be different.
[03:35] <sacarasc> Also, there's a guide for compiling on Ubuntu in the topic, if you're on Debian, it could easily be modded...
[03:35] <queuetip> sacarasc: i'm on ubuntu at work right, i just blame debian because they take forever to update repos with latest versions
[03:36] <queuetip> sacarasc: i'll be setting up vms to test this tomorrow anyways, was just seeing if someone knew off hand if the same accepted protocols for input were also for output, since in the ffmpeg docs it mentions protocols for input but i haven't found a list yet for output
[03:37] <queuetip> sacarasc: it's about time i get going home anyways, i appreciate the help
[03:37] <sacarasc> Some are input only, some are output only...
[03:37] <queuetip> sacarasc: i had a feeling that that would be the case
[03:37] <sacarasc> http://pastebin.com/B2tpCeq0 is what I have...
[03:38] <queuetip> sacarasc: excellent. thank you sir
[04:06] <pasteeater> michaelni: thanks, but i know about the devel log, but the topic for this channel mentions a log too.
[04:07] <pasteeater> queuetip: http://ubuntuforums.org/showthread.php?t=786095
[05:05] <michaelni> pasteeater, both the logs for ffmpeg & ffmpeg-devel are sent there
[05:54] <Mista_D> http://i40.tinypic.com/2vi01fq.jpg -- vertical lines on libx264 encoded movie, all dark areas are affected. Any advice? The movie was scaled from HD to SD.
[05:57] <EvilGenius> Is it possible to send a pageURL with the output rtmp address (when using librtmp)
[05:58] <EvilGenius> I am using -- > ffmpeg -threads 4 -i "rtmp://4.3.2.1/live/s1 pageUrl=http://somedomain.com/ live=1" -re -acodec copy -vcodec copy -f flv "rtmp://1.2.3.4/live/s2"
[05:59] <EvilGenius> It does not provide the fms a url when connecting, I would like to add a url telling fms the connection is generating from this domain. The log states " Authentication failed for pageurl: , rejecting connection from 1.2.3.4 "
[08:13] <larsenmik> I try for run ffmpeg -i video.3gp -vf "movie=logo.png [logo];[in][logo] overlay=10:main_h-overlay_h-10 [out]" out.3gp
[08:14] <larsenmik> but i got error like this
[08:14] <larsenmik> [movie @ 0x8d36600] init() expected 3 arguments:'logo.png'
[08:14] <larsenmik> Error initializing filter 'movie' with args 'logo.png'
[08:14] <larsenmik> anyone help me?
[12:57] <burek> pasteeater
[12:57] <burek> http://ffmpeg.test-lab.ch/irclogs/
[12:59] <burek> larsenmik, what version of ffmpeg are you using? (pastebin?)
[13:08] <larsenmik> ffmpeg -V
[13:08] <larsenmik> FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
[13:08] <larsenmik> built on Nov 8 2011 13:54:06 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51
[13:12] <burek> can you give the entire command with output, using pastebin.com
[14:02] <pom> I get complaints from libx264 that bitrate is too low. http://pastebin.com/VhadCVKa
[14:03] <pom> I tells me estimated minimum is less than what I have actually set (I think).
[14:04] <gusto> hi
[14:05] <gusto> i have stumbeled on a VC-1 video
[14:05] <gusto> it will not play and mplayer says that there are problems with vc-1 codecs
[14:05] <gusto> ffplay does also play only the audio
[14:05] <gusto> my version is 0.8.5
[14:06] <gusto> ffplay says [vc1 @ 0x7fd54c0072a0] Interlaced WVC1 support is not implemented
[14:09] <gusto> i looked up 0.8.5 as quite current, so compiling from CVS/SVN won't help, right?
[14:10] <gusto> - VC-1 interlaced decoding i see in NEXT release annoncement
[14:10] <gusto> someone knows if it already works, or do i have to try?
[14:15] <gusto> when i download the snapshot file from ffmpeg git download site, i get the NEXT snapshot, right?
[14:33] <gusto> hm .. the source snapshot plays the video, but it is flipping, so maybe it's not ready yet ;-)
[14:33] <dlb76> guys, how -vf crop should look like if i need to cut off bottom line of the video with res. 850x480 and i need result video with res. 832x416 ?
[14:33] <dlb76> -vf crop=832:416 cuts from center
[14:34] <dlb76> i need only cut off 32 pixels line from bottom
[14:39] <Mavrik> em
[14:40] <Mavrik> if you need video with width 832 and you have video with 850 width
[14:40] <mateo`> -vf crop=width:height:x:y
[14:42] <dlb76> -vf crop=832:416:8:8 will do ?
[14:42] <dlb76> f.e.
[14:44] <mateo`> dlb76: x:y are the starting coordinates of your crop
[14:44] <dlb76> ok x:y is from top left ?
[14:45] <mateo`> dlb76: yep
[14:45] <dlb76> ok mateo` tnx
[14:59] <dlb76> btw, how can i make something like -vcodec copy -vf crop=832:416:32:32 work ?
[14:59] <dlb76> so i just crop and codec/format/quality will be same as source
[15:02] <mateo`> *
[15:03] <dlb76> mm ?
[15:06] <tuxattack> Hi,I am trying to read data from my fuction, for that I am using av_open_input_stream()..In this I am passing AVInputFormat as a parameter but I am getting error as "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8390990]Could not find codec parameters (Audio: aac, stereo, s16, 126 kb/s)" and "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8390990]Could not find codec parameters (Video: h264, 2059 kb/s)"...From what I understand is I also need to pass AVFormatParameters along with AVInput
[15:28] <larsenmik> rpm -qa | grep ffmpeg
[15:28] <larsenmik> ffmpeg-libpostproc-0.6.1-1.el5.rf
[15:28] <larsenmik> qffmpeg-libs-0.4.9-0.16.20080908.el5_5
[15:28] <larsenmik> ffmpeg-0.6.1-1.el5.rf
[15:28] <larsenmik> ffmpeg-devel-0.6.1-1.el5.rf
[15:31] <burek> pom, did you solve your problem?
[15:32] <burek> -vpre hq means preset=high quality, so you are asking ffmpeg to encode it in hq which is around 20 mbps and you provided -b 2048000 (2 mbps)
[15:32] <burek> either remove -b or choose a lower quality preset
[15:33] <spal> Can I put 4 video streams into 4 quadrants of the same video output using ffmpeg?
[15:33] <burek> yes
[15:33] <burek> something similar like 'mosaic' in vlc, i guess
[15:34] <burek> http://ffmpeg.org/ffmpeg.html#overlay
[15:35] <burek> so, practically you would play 'empty' video, with 4 'overlayed' videos on top of it
[15:36] <burek> dlb76, http://ffmpeg.org/ffmpeg.html#crop
[15:39] <burek> also, if you are using -vf crop, dont expect -vcodec copy to work :)
[15:40] <burek> vcodec copy just copies binary data (already encoded frames) of the stream
[15:50] <dlb76> ye i see it :)
[15:51] <dlb76> any other way ?
[15:57] <burek> well, think about it
[15:57] <burek> if you have a zipped file
[15:57] <burek> and you 'just want to add 2 letters in the text file inside it' :)
[15:57] <burek> what do you need to do? :)
[16:07] <dlb76> ok
[16:07] <dlb76> i see
[16:35] <pashov_d> Hi, i can't get ffmpeg to make a jack writable client
[16:35] <pashov_d> jack is running fine with other programs
[16:36] <pashov_d> i try
[16:36] <pashov_d> ffmpeg -f jack -i ffmpeg -y out.wav
[16:36] <pashov_d> but it says 'ffmpeg: Operation not permitted'
[16:37] <pashov_d> the jack indev is enabled during compilation
[16:37] <pashov_d> this is a package from opensuse
[16:37] <pashov_d> ffmpeg version 0.8.6
[16:37] <pashov_d> would somebody tell me what am i doing wrong
[16:38] <pashov_d> i compiled some 0.7.x version but still the same
[16:39] <pashov_d> jack version is 1.9.x
[16:56] <|Anthony|> my install of ffmpeg is god awful
[16:57] <|Anthony|> totally borked and cause i used a non standard method of installation i can't just uninstall it from synaptic
[16:57] <|Anthony|> just wanted to vent
[16:58] <|Anthony|> would be nice if there was a self contained option like blender has
[16:58] <|Anthony|> that would actually be super nice come to think of it
[17:00] <Mavrik> ^^
[17:00] <Mavrik> |Anthony|, those are called static builds :)
[17:01] <|Anthony|> 0.o
[17:01] <|Anthony|> well i need to get me one of those
[17:01] <|Anthony|> lol
[17:01] <Mavrik> basically all libraries and everything packed into one (rather huge) executable
[17:01] <Mavrik> there's a guy that makes them for Windows
[17:01] <|Anthony|> i'm ok with huge
[17:01] <Mavrik> I'm not sure if there's anyone building them for Linux
[17:02] <Mavrik> you can also build it statically yourself
[17:02] <Mavrik> eventhough, some of those supporting libs are pain in the butt to build statically :\
[17:02] <|Anthony|> suppose i could... don't really have time to fuss with
[17:02] <|Anthony|> it though
[17:02] <Mavrik> mhm
[17:03] <|Anthony|> (pinky fired off the enter prematurely)
[17:03] <Mavrik> luckly all my systems that need to run ffmpeg run ubuntu so I can use that great forum guide to build it :)
[17:03] <Mavrik> and then use checkinstall to pack it into a .dev
[17:03] <Mavrik> *deb
[17:03] <|Anthony|> ah yes... i used a similar guide... didn't use checkinstall though
[17:03] <|Anthony|> unfortunately
[17:04] <|Anthony|> i need to replace my hdd any who so i'll be reinstalling soon
[17:04] <|Anthony|> no biggie... just want to do a screencast
[17:05] <|Anthony|> suppose i'll wait
[17:05] <|Anthony|> debating on selling my rig and want to make a video to advert it
[17:27] <pashov_d> anybody tried ffmpeg with the jack audio server?
[17:35] <burek> i do that :)
[17:37] <burek> <Mavrik> |Anthony|, those are called static builds :)
[17:48] <pashov_d> burek: whould you share what is your setup?
[17:48] <burek> sorry, I meant I also build static binaries :)
[17:48] <pashov_d> burek: anything special in configuration/compilation and so on ..?
[17:48] <pashov_d> ok
[17:49] <burek> I think you missunderstood :)
[17:49] <burek> I replied to mavrik and anthony
[17:49] <pashov_d> got it not, sorry
[17:49] <burek> :beer: :)
[17:50] <pashov_d> :)
[17:51] <burek> did you compile ffmpeg with jack support
[17:52] <burek> http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Farchlinux.org.ru%2Fforum%2Fviewtopic.php%3Ff%3D18%26t%3D7094
[17:53] <burek> here the guy figured out he has got the wrong version of ffmpeg
[17:53] <burek> which version is yours?
[17:53] <burek> latest git?
[17:53] <lutza> hello im tinkering with avcodec/avformat api, when i open file format, then pick up first video stream, then get codec ctx for this stream and then printf its pix_fmt i get 0, how can i get actual pix_fmt this way ?
[17:56] <lutza> by the way if i do av_dump_format at the same time, the correct pix_fmt text string is included in resulting text output, so it should be possible for me to get that information somehow
[18:01] <lutza> am i asking in the wrong channel or is my question retarded in some way ? please respond
[18:04] <burek> can libvo_aacenc encode HE-AAC v2 (aacplus) audio format?
[18:04] <burek> lutza, im not sure, but i think a lot of people are afk now
[18:04] <pashov_d> yes jack support is included
[18:04] <pashov_d> is 0.8.6
[18:05] <pashov_d> tried 0.7.x
[18:05] <pashov_d> same outcome
[18:05] <pashov_d> 'ffmpeg: Operation not permitted'
[18:05] <pashov_d> other programs work fine with jack so i suspect it is ffmpeg issue
[18:06] <burek> it seems that libvo_aacenc cannot encode HE-AAC v2 :/
[18:12] <lutza> i found out, pix_fmt 0 is not some undetected value its actually PIX_FMT_YUV420P, PIX_FMT_NONE is -1 which would be bad.
[18:29] <Mista_D> Gray haze "coring" question, any advice to fix it during the encode? http://doom10.org/index.php?topic=2014.0
[18:59] <burek> Mista_D, seems like x264 lacks some dithering :)
[19:00] <burek> btw, something strange is going on with the latest ffmpeg.. im converting a video and it says the size is growing slowly to 1 MB and then I press 'q' and all of the sudden, at the position where the 'size' was displayed on the screen
[19:00] <burek> now Lsize is displayed and it shows like 10 MB (10 times more)
[19:00] <burek> is this expected behavior?
[19:30] <sereal-work> Can someone give me some help encoding a video to h264? (or something that I can use to imbed on a webpage) RIFF (little-endian) data, AVI, 704 x 480, 25.00 fps, video: Microsoft MPEG-4 v2 is the video type. When I run "ffmpeg -i test.avi -f h264 test.mp4" I get "Unsupported codec for output stream #0.0"
[19:30] <sereal-work> am I doing something obviously wrong?
[19:30] <sereal-work> The video doesn't have sound.
[19:32] <sacarasc> -f is the container format, not the codec.
[19:35] <sereal-work> so I shoudl do ffmpeg -i test.avi -f avi -vcodec h264 out.mp4 ?
[19:36] <dlb76> guys
[19:36] <dlb76> [libvpx @ 0xd18940] v0.9.7-p1-136-gcbf574c
[19:36] <dlb76> [libvorbis @ 0xd1f840] oggvorbis_encode_init: init_encoder failed
[19:36] <dlb76> is there any workaround about this ?
[19:37] <dlb76> was ok before
[19:37] <dlb76> few months ago
[19:37] <sacarasc> sereal-work: No, that is making an AVI file with the name out.mp4. Don't use -f unless you need to, like you have no file extension on the output.
[19:38] <sereal-work> doing ffmpeg -i test.avi -vcodec h264 out.mp4 gives me Unknown encoder 'h264'
[19:38] <sacarasc> It's libx264, sorry.
[19:40] <sereal-work> Unknown encoder 'libx264'
[19:40] <sereal-work> :(
[19:40] <sereal-work> ffmpeg -formats | grep 264 gives me results
[19:41] <burek> sereal-work: try this: ffmpeg -i test.avi -vcodec libx264 -crf 20 -threads 0 -acodec copy output.mp4
[19:41] <burek> ffmpeg -codecs | grep 264
[19:41] <burek> and this: http://ffmpeg.org/ffmpeg.html
[19:42] <sereal-work> -codecs isn't a argument.
[19:42] <burek> o.O
[19:42] <sereal-work> ffmpeg: missing argument for option '-codecs'
[19:43] <sacarasc> What version of ffmpeg are you using?
[19:43] <burek> what exactly are you typing in cmd line
[19:43] <burek> type ffmpeg -V
[19:43] <burek> type ffmpeg -version
[19:43] <burek> È=
[19:43] <burek> :)
[19:44] <sereal-work> FFmpeg version SVN-r0.5.2-4:0.5.2-6, Copyright (c) 2000-2009 Fabrice Bellard, et al
[19:44] <sereal-work> I grabbed what ever was in the debian repos :p
[19:45] <burek> my god..
[19:45] <burek> forgive him, for he sinned :)
[19:45] <burek> anyway :) your ffmpeg is old
[19:45] <burek> which debian do you use? 'stable'? :)
[19:47] <sereal-work> ugh, okay that's the answer to my question
[19:47] <burek> well, honestly, take a look at the git repository
[19:47] <burek> and see how many changes happen since then :)
[19:48] <burek> happened*
[19:48] <sereal-work> yeah i'll have to compile it from source- rather not though :P
[19:49] <sereal-work> I really just need to encode a time lapse video to a videoformat that will be happy on the web :p
[19:51] <burek> can you do ffmpeg -i test.avi
[19:52] <burek> and paste the entire log output to pastebin.com
[19:53] <sereal-work> http://pastebin.com/9GUxPP7s
[19:54] <burek> <sereal-work> Can someone give me some help encoding a video to h264?
[19:54] <burek> you need h264
[19:54] <burek> now go to that pastebin page and press ctrl+F and type 264
[19:54] <burek> do you see any results?
[19:55] <sereal-work> :p I was doing -formats | grep 264
[19:55] <sereal-work> << so much fail
[19:55] <burek> if that ffmpeg was compiled to support the libx264, it would show somewhere --enable-libx264
[19:55] <burek> h264 is not a format
[19:55] <burek> its expected not to show in -formats
[19:55] <sacarasc> It is!
[19:55] <burek> ok it is
[19:55] <sacarasc> You can output raw H264!
[19:55] <burek> :)
[19:56] <sereal-work> bah, so is there another format I can encode to?
[19:56] <sereal-work> for the web?
[19:56] <sereal-work> maybe I should just use flv... *sigh*
[19:56] <burek> everything is for the web :)
[19:56] <burek> use whichever you like the most :)
[19:57] <sacarasc> sereal-work: If you want H264, you will have to compile yourself, most likely.
[19:57] <sereal-work> alright thanks.
[19:57] <burek> or install x264
[19:57] <sereal-work> well I downloaded the x264 code, but ./configure gave me "no c compiler"
[19:57] <sereal-work> except I have gcc and cc :/
[19:57] <burek> apt-get install x264
[19:58] <sereal-work> doesn't exist
[19:58] <sereal-work> E: Unable to locate package x264
[19:58] <sereal-work> apt-cache doesn't give anything either
[19:58] <sereal-work> I must be on a old ass debian
[20:00] <sereal-work> Debian GNU/Linux 6.0
[20:04] <sereal-work> guess I need to add debian multimedia and it will give me a newer version of ffmpeg
[20:08] <sereal-work> there we go, thanks for the help guys
[20:18] <dericed> can anyone recommend a tool to force change a codec id. ffmpeg won't let me use 'mpeg' for an mpeg2 codec, but I have to for interoperability with a system that i have
[20:18] <dlb76> oggvorbis_encode_init: init_encoder failed
[20:18] <dlb76> any way to fix it guys ?
[20:22] <dlb76> Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[20:23] <dlb76> -acodec libvorbis -ab 48k
[21:04] <lutza> hello anyone here who can help me with conversion to x264 code in libav ?
[21:06] <MystKid> hello
[21:06] <MystKid> what is the most common command to convert a vob to divx
[21:06] <MystKid> good quality
[21:07] <bcoudurier> lutza, sure
[21:07] <MystKid> i see this options vcd, svcd, dvd, dv, dv50
[21:07] <MystKid> but iam not sure abot te quality
[21:08] <burek> dlb76, try posting entire output at pastebin.com
[21:08] <MystKid> i tryed svcd but it is pretty bad
[21:08] <burek> that way you'll increase the chance for someone to help you
[21:09] <burek> MystKid have you tried google for: ffmpeg vob divx
[21:09] <MystKid> yes
[21:10] <burek> 7.1. Making a high quality MPEG-4 ("DivX") rip of a DVD movie: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-dvd-mpeg4.html
[21:10] <burek> result No. 2
[21:10] <MystKid> oh not in italy
[21:10] <burek> then open the google home page and in the lower right you have a link "Google.com in English"
[21:11] <MystKid> i am not sure i shold use mencodeR?
[21:12] <MystKid> well i tought it could be done in jsut one command
[21:20] <dlb76> we in #vp8 figured
[21:20] <dlb76> wrong presets from today
[21:20] <dlb76> i have libvpx-360p.ffpreset dated from today
[21:21] <dlb76> so ffmpeg or libvpx updated it today
[21:21] <dlb76> as i updated those today
[21:21] <dlb76> but now i put there http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffpresets/libvpx-360p.ffpreset
[21:21] <dlb76> and now -vcodec libvpx -vpre 360p works
[21:21] <dlb76> http://pastebin.com/7BThj54q - old (from today) libvpx-360p.ffpreset
[21:24] <dlb76> i guess ffmpeg git from today putting wrong libvpx-*.ffpreset's in /usr/local/share/ffmpeg
[21:24] <dlb76> or so
[21:27] <dlb76> all other libx264 presets are old
[21:28] <hi117> how do i pass options to x264 from ffmpeg
[21:30] <dlb76> hmm presets from ~/ffmpeg/ffpresets was not copied to /usr/local/share/ffmpeg after update of ffmpeg today
[21:30] <dlb76> but date of those files changed in /usr/local/share/ffmpeg
[21:30] <MystKid> ffmpeg -i SCENT_OF_A_WOMAN1.vob -target pal -f avi -vcodec xvid -acodec mp3 Scent_Prova1.avi
[21:30] <MystKid> would this be correct?
[21:33] <sacarasc> MystKid: Remove -target pal. It's not needed at all.
[21:34] <MystKid> well this will produce a 700 mb divx?
[21:34] <MystKid> id liek it to be around 1.2 Gb
[21:34] <MystKid> not more
[21:34] <sacarasc> So set a bitrate.
[21:35] <MystKid> -b 1000 -ab 192 -s 640x480
[21:35] <MystKid> sounds good?
[21:35] <sacarasc> Well, if you want it to be 1.2GB, you'll have to work out how much bitrate you want. And 1000 is 1000 bits per second, so not much at all.
[21:36] <dlb76> do i need to manually update presets after ffmpeg update or ?
[21:36] <MystKid> i get unknown encoder xvid
[21:37] <sacarasc> It might be libxvid, or something. Check ffmpeg -codecs
[21:38] <MystKid> i dont see anything with ffmpeg -codecs
[21:39] <sacarasc> Anything at all?
[21:39] <lutza> can someone here help me with libavcodec/libavformat encoding and decoding please ?
[21:40] <MystKid> yes its libxvid
[21:40] <MystKid> -vcodec libxvid would be correct then?
[21:40] <dlb76> which dir for presets are correct ?
[21:40] <dlb76> ~/ffmpeg/presets
[21:40] <dlb76> or
[21:40] <dlb76> ~/ffmpeg/ffpresets
[21:40] <dlb76> ?
[21:41] <dlb76> make install uses ~/ffmpeg/presets
[21:41] <dlb76> but correct presets are in ~/ffmpeg/ffpresets
[21:41] <dlb76> is it ok ?
[21:42] <dlb76> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffpresets/libvpx-360p.ffpreset
[21:42] <dlb76> ^ working
[21:42] <dlb76> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=presets/libvpx-360p.ffpreset
[21:42] <dlb76> ^ not working
[21:42] <MystKid> even -acodec mp3 gives the same error
[21:43] <MystKid> ffmpeg -i SCENT_OF_A_WOMAN1.vob -f avi -vcodec libxvid -acodec mp3 -b 1000 -ab 192 -s 640x480 -aspect 16:9 Scent_Prova1.avi
[21:43] <MystKid> thi sis waht i am running now
[21:46] <MystKid> Unknown encoder 'mp3'
[22:26] <pasteeater> dlb76: there is no need to copy presets to and from anywhere. presets for one version of ffmpeg may not work with another version. it's not a good idea to mix them.
[22:26] <dlb76> i did not copied
[22:26] <dlb76> i just updated ffmpeg
[22:26] <dlb76> and -vpre 360p stopped working
[22:27] <dlb76> for -vcodec libvpx
[22:35] <pasteeater> dlb76: use a pastebin site to show your ffmpeg command and the complete terminal output
[22:36] <dlb76> for what ?
[22:36] <pasteeater> so i can understand what "stopped working" means
[22:36] <dlb76> i figured that -vpre 360p was giving the error with new .preset file
[22:36] <dlb76> i updated it with good one and all ok again
[22:37] <dlb76> stopped working =
[22:37] <dlb76> [libvorbis @ 0xd1f840] oggvorbis_encode_init: init_encoder failed
[22:37] <dlb76> Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[22:38] <dlb76> but now all ok again, after i put http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffpresets/libvpx-360p.ffpreset instead of http://git.videolan.org/?p=ffmpeg.git;a=blob;f=presets/libvpx-360p.ffpreset
[22:38] <pasteeater> that's a messy way of fixing things. do you have some old presets in ~/.ffmpeg by chance?
[22:38] <dlb76> ye
[22:39] <dlb76> (make install overwrited my old libvpx-360p.ffpreset with non-working http://git.videolan.org/?p=ffmpeg.git;a=blob;f=presets/libvpx-360p.ffpreset)
[22:39] <pasteeater> you're just going to cause yourself more issues by doing that
[22:39] <dlb76> well i need it to work
[22:40] <dlb76> and i dont see/know any other possible ways to fix it
[22:40] Action: pasteeater leaves for a bit to move some big heavy thing
[22:41] <lutza> anyone here who can help me with libavcodec and libavformat decoding and encoding ?
[22:42] <burek> lutza, just state your problem and somebody will help, i hope
[22:43] <lutza> i need to pick an arbitary video stream from input file and make an output file with h264 video stream
[22:44] <lutza> i followed decoding_encoding.c muxing.c examples
[22:44] <lutza> here is what i got now: http://pastebin.com/4Wnr6Lwc
[22:45] <lutza> im getting these lines : [libx264 @ 0x2415b00] non-strictly-monotonic PTS
[22:45] <lutza> and my understanding of conversion loop is maybe all wrong
[22:46] <lutza> i dont know whether to
[22:46] <lutza> set pts before avcodec_encode_video or after
[22:47] <lutza> and also if i call avcodec_encode_video for one frame im not sure if i got all the data for encoded frame
[22:50] <lutza> its a school asignment i need to finish by tommorrow ... ;/
[22:56] <dlb76> bbl
[23:05] <funyun> can anyone help me with how many threads i should use when encoding? when i do -threads 0. i get this "automatic thread number detection not supported by codec, patch welcome"
[23:07] <sacarasc> -threads 0 only works with libx264 and maybe with libvpx (but I am unsure on the latter).
[23:08] <sacarasc> Generally, you should do the amount of processors you have +50%, IIRC.
[23:10] <funyun> sacarasc: thanks
[23:57] <redgetan> im having some problems chaptering a video, im running the command ffmpeg -ss 129 -t 149 -i some_video.mp4 2nd_part.mp4 and when i check the duration of the output via ffmpeg -i, it'
[23:57] <redgetan> s giving me 149.9 seconds instead 149
[23:58] <redgetan> this is the output of the command http://pastie.org/2833461
[23:58] <pasteeater> ffmpeg -t 149 -i some_video.mp4 -ss 129 -vcodec copy -acodec copy 2nd_part.mp4
[23:58] <pasteeater> moving -ss as an output option may fix that
[23:59] <redgetan> ok let me try that
[23:59] <pasteeater> also, your command is re-encoding the video and audio which maybe to blame instead of -ss as input option
[00:00] --- Wed Nov 9 2011
More information about the Ffmpeg-devel-irc
mailing list