Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
February 2012
- 2 participants
- 60 discussions
[01:08] <burek> how can i roll back my local git repos to a certain revision and recompile ffmpeg
[01:16] <Compn> burek : git --reset something
[01:17] Action: Compn forgets syntax
[01:17] <durandal_1707> git checkout revision-number
[01:40] <burek> thanks
[01:40] <burek> after i do git checkout rev
[01:40] <burek> do i need to do anything else
[01:40] <burek> or all the files are already fixed
[01:40] <burek> rolled back
[01:41] <funman> it's ok but i advise a bit of rtfm even if git can be confusing
[01:46] <CIA-40> ffmpeg: 03Ronald S. Bultje 07master * r4ff6dea390 10ffmpeg/libavcodec/x86/pngdsp.asm: pngdsp: swap argument inversion.
[01:46] <CIA-40> ffmpeg: 03Ronald S. Bultje 07master * r9b027c0d07 10ffmpeg/libavcodec/ (dsputil.h utils.c):
[01:46] <CIA-40> ffmpeg: dsputil: set STRIDE_ALIGN to 16 for x86 also.
[01:46] <CIA-40> ffmpeg: This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many
[01:46] <CIA-40> ffmpeg: x86 optimizations for codecs assume that our buffer strides are 16-byte
[01:46] <CIA-40> ffmpeg: aligned.
[01:46] <CIA-40> ffmpeg: 03Diego Biurrun 07master * r0144fe6995 10ffmpeg/ (13 files in 5 dirs):
[01:46] <CIA-40> ffmpeg: Remove Sun medialib glue code.
[01:46] <CIA-40> ffmpeg: It is obscure, most likely unused and not bit-exact compared to
[01:46] <CIA-40> ffmpeg: libavcodec due to a different IDCT transform algorithm.
[01:46] <CIA-40> ffmpeg: 03Alex Converse 07master * r314af0ff94 10ffmpeg/ (libavcodec/aacdectab.h libavutil/audioconvert.h): (log message trimmed)
[01:46] <CIA-40> ffmpeg: aacdec: Use correct speaker order for 7.1.
[01:46] <CIA-40> ffmpeg: The spec says the following speaker mapping is default:
[01:46] <CIA-40> ffmpeg: center front speaker
[01:46] <CIA-40> ffmpeg: left, right center front speakers,
[01:46] <CIA-40> ffmpeg: left, right outside front speakers,
[01:46] <CIA-40> ffmpeg: left surround, right surround rear speakers,
[01:46] <CIA-40> ffmpeg: 03Ronald S. Bultje 07master * rce1e250ee9 10ffmpeg/libavcodec/x86/ (h264_idct.asm h264_intrapred.asm):
[01:46] <CIA-40> ffmpeg: h264: manually save/restore XMM registers for functions using INIT_MMX.
[01:46] <CIA-40> ffmpeg: On Win64, these registers are callee-save, so not saving/restoring them
[01:47] <CIA-40> ffmpeg: Deprecate avcodec_encode_video().
[01:47] <CIA-40> (26 lines omitted)
[04:19] <Mista_D> what's a better gcc version for ffmpeg on Centos? requiring least patches for faac/x264/lame/xvid/... ?
[13:15] Action: Compn searches documentation
[13:15] <Compn> does ffmpeg have an option to disable index ? say for accessing large avi file over slow network ?
[13:16] <Compn> mplayer has -noidx
[13:16] <av500> you dont need to read the whole file to get the index :)
[13:18] <Compn> right, but the index is at the end
[13:18] <Compn> and i dont want it seeking back there
[13:19] <av500> does lavc read avi using the index?
[13:20] <Compn> i am pretty sure lavf reads the avi index.
[13:20] <Compn> altho i have not verified this
[13:21] <Compn> since reading avi indexes is a standard thing for all players i've ever heard of
[13:21] <Compn> lavf obviously does not need an index to play, if one is not found however
[13:22] <av500> my avi player does not read the index for playing :)
[13:23] <av500> noidx might make sense for avi and asf
[13:23] <av500> for mp4 you need it
[13:23] <Compn> yes mp4 needs it
[13:23] <Compn> i cant remember mkv
[13:23] <av500> not needed to play
[13:23] <Compn> right
[13:23] <Compn> anyways, thats in response to this bug > https://ffmpeg.org/trac/ffmpeg/ticket/986
[13:24] <av500> but that asks to disable all seeking
[13:26] <Compn> i dont think the user knows what he wants, so i guess what his problems are
[13:27] <Compn> and yes, he did hit the mp4 over pipe problem with index being at the end. his command line said ffmpeg -i out.mkv but his error said [mov,mp4,m4a,3gp,3g2,mj2 @ 01988da0] moov atom not found .
[13:27] <Compn> tricky users :)
[13:27] <Compn> make me re-read things
[13:27] Action: Compn goes afk
[14:06] <SvenL-> Yeah sure ProRes lives ! Where can I have find """"official"""" infos ? Looked at the the gmane ml archive, the git and some forum threads, is there any other place for infos ?
[14:21] <overflow_0f8b> hi
[14:21] <overflow_0f8b> gcc does not evaluate my 3x3 multiply 3x3 matrix by 3x3 matrix macro at compile time :(
[14:22] <overflow_0f8b> ( it does with 2x2 matrix rotation )
[14:24] <av500> #gcc?
[14:25] <Tjoppen> also: write a generator?
[14:26] <overflow_0f8b> av500<< chan is +R cant talk there
[14:27] <overflow_0f8b> so i'm skipping it
[15:55] <Compn> SvenL- : you mean prores internal info ?
[15:55] <Compn> or specs/ docs ?
[15:56] <SvenL-> prores with ffmpeg, just wondering if there is a place I missed for some info
[15:56] <Compn> there is the wiki
[15:57] <Compn> http://wiki.multimedia.cx/index.php?title=Apple_ProRes
[15:58] <Compn> is that what you are looking for? or something else? how to use prores decoder with ffmpeg ? its already in ffmpeg, if your ffmpeg does not decode prores, you may have to upgrade
[15:58] <Compn> and if you are using latest git ffmpeg and still having problems with some prores file, you should probably file a bug and upload a sample so ffmpeg can fix it :)
[15:59] <SvenL-> okay, thanks a lot, that's exactly what I was looking for
[15:59] <SvenL-> I saw a link to this wiki on a thread about prores, but the address doesn't "sound" like ffmpeg, so i didn't dig this way haha
[15:59] <Compn> hehe
[16:00] <SvenL-> while I'm at it I checked for this : http://wiki.multimedia.cx/index.php?title=REDCode Interesting
[16:00] <Compn> wiki.multimedia.cx is run by a xine developer , who is also an ffmpeg developer :)
[16:00] <SvenL-> Oh okay
[16:01] <Compn> just its on his server instead of ours :)
[16:01] <SvenL-> so that's *the* place for ffmpeg doc ?
[16:02] <Compn> yes, theres some other pages too
[16:02] <Compn> http://wiki.multimedia.cx/index.php?title=Mirrored_Files
[16:02] <Compn> thats for official specs
[16:02] Action: Compn digs up other url
[16:02] <SvenL-> I may be able provide a small sample of .R3D footage of recent RED cameras
[16:02] <Compn> that would be nice , i think RED codec is on our list to reverse engineer
[16:02] <SvenL-> uhm
[16:04] <Compn> michaelni keeps some of his documents here : http://www1.mplayerhq.hu/~michael/
[16:04] <SvenL-> so as is it can't playback ?
[16:05] <Compn> i havent tested red codec, let me see.
[16:06] <SvenL-> Ha the doc says it's a "special" JPEG2000 file
[16:07] <Compn> it gives error with my ffmpeg
[16:07] <SvenL-> Okay
[16:07] <Compn> but i dont have latest version
[16:07] <JEEBsv> just like DV is a "special" version of MJPEG?
[16:07] <Compn> hmm?
[16:08] <Compn> i think it means like rv40/wmv3 are special versions of mpeg4 asp :P
[16:08] <SvenL-> yes
[16:08] <SvenL-> I think too
[16:08] <Compn> modified, proprietary
[16:08] <JEEBsv> yeh
[16:08] Action: Compn looks for binary codec to add to mplayer
[16:08] <SvenL-> hence the need for reverse engineering ?
[16:09] <Compn> yes, we need specs or reverse engineer it :)
[16:09] <SvenL-> I get it, thx
[16:09] <Compn> heres our r3d samples > http://samples.mplayerhq.hu/r3d/
[16:09] <JEEBsv> then there's f.ex. Earthsoft's "super special" DV format, which is their own representation of "DV" :3
[16:09] <SvenL-> question : they are generally huge files that can't be played back at full resolution
[16:09] <Compn> one here too > http://samples.mplayerhq.hu/fate-suite/r3d/
[16:10] <Compn> JEEBsv : btw if you have samples of non-standard DV codecs... well i like to have them so i can add them to mplayer :)
[16:10] <SvenL-> what in the decoding process handles rendering at lower resolution ?
[16:10] <Compn> there is 'lowres' option, to decode at lower resolution
[16:11] <Compn> i am not sure if it works with jpeg2000 codec
[16:11] <JEEBsv> I used to have a sample of Earthsoft DV uploaded, I could re-upload it if it's no longer there
[16:11] <SvenL-> RED, the company who develops it, provides a software that basically has a player where you can choose on the fly 1/2 res, 1/4 res etc...
[16:11] <iive> wasn't lowres removed recently?
[16:11] <Compn> iive : i seriously doubt it?
[16:11] <JEEBsv> there's already a patch for it for ffmpeg/libav IIRC tho. Haven't gotten to reading through it yet tho
[16:12] <iive> i think i've read that libav people were working on it.
[16:12] <Compn> i think libav's plan is to seperate all codecs into seperate projects
[16:12] <JEEBsv> I was told to take a look at the patch, pretty much IIRC
[16:12] <JEEBsv> as I brought it up
[16:12] <JEEBsv> I originally started checking out the specs for it, and wrote a parser for the index files
[16:13] <Compn> JEEBsv : for red or dv?
[16:13] <JEEBsv> earthsoft dv
[16:13] <SvenL-> (background about me : I'm trying to build up a toolset for on-set footage playback, analysis, dailies exports and pre-colorgrade so I'm currently looking at what could be handled)
[16:13] <JEEBsv> http://x264.fushizen.eu/encodan/earthsoft_dv/ <- also the sample is still up
[16:13] <Compn> SvenL- : cool! i think its always fun when ffmpeg can do realtime movie work :)
[16:14] <SvenL-> yes !
[16:14] <Compn> JEEBsv : oh, i was hoping it was dv-in-avi :P
[16:14] <SvenL-> that's why i'm asking about resolution, what's my best pick for lower-res realtime playback ?
[16:14] <SvenL-> hahaha
[16:14] <JEEBsv> Compn: oh yes, they have their own format too :D
[16:15] <JEEBsv> you don't really need the index tho
[16:15] <JEEBsv> as the headers contain the same info
[16:15] <Compn> SvenL- : you mean which codec is best for low-res playback ?
[16:15] <Compn> good question, i dont know the answer...
[16:15] <JEEBsv> http://smdn.jp/softwares/libav/pv4/ <- the patch that someone then googled up after I had already used some time to parse the 'specs' Earthsoft had on their site
[16:16] <JEEBsv> (has patches for ffmpeg/libav)
[16:16] <SvenL-> this may be out of my knowledge already but as I understand it, for redcode at least, there is one """codec""", a decoder only in fact
[16:16] <SvenL-> Compn, I'm rather asking where I should be looking at for choosing resolution
[16:16] <overflow_0f8b> Tjoppen<< neat idea :), but i have made it work lol, i just don't use a tmp variable and let gcc evaluate it
[16:17] <overflow_0f8b> now _printM33("z1 x z2:", MM33( z1, z2 ) ); prints constants evaluated at compile time ^^
[16:17] <SvenL-> I mean, at what level, ffmpeg options ? player application ? even lower level ?
[16:18] <SvenL-> ( http://ffmpeg-users.933282.n4.nabble.com/Cannot-decode-REDCODE-r3d-files-td… )
[16:19] <Compn> SvenL- : that ffmpeg-users post talks about old r3d files, not the newer ones. :(
[16:19] <SvenL-> yes
[16:19] <SvenL-> Hum...
[16:20] <SvenL-> and I wonder how old/new are the samples you mentionned
[16:22] <SvenL-> do you know about Cineform ?
[16:22] <Compn> i know ffmpeg doesnt have a decoder for that either :)
[16:23] <SvenL-> hehe, I know
[16:23] <SvenL-> right now they only provide a SDK
[16:27] <Compn> SvenL- : you might want to look at this project > http://code.google.com/p/ffmbc/
[16:27] <SvenL-> thank you, didn't know about it
[16:27] <SvenL-> *reading*
[16:31] <SvenL-> really interesting project, actually everything I need is here, awesome basically :)
[16:33] <SvenL-> Compn, may I bother you just a bit more with two other quetions ? :>
[16:36] <Compn> sure
[16:36] <Compn> the ffmbc project is on ffmpegs' website , on the projects page. in case you want to look for other projects . of course not all projects are listed there, we need help finding them :)
[16:37] <SvenL-> Okay, ffmbc is really interesting, I'll look into it. do you think it's possible to add filters ? vary basic curve filter
[16:37] <SvenL-> very*
[16:38] <SvenL-> (the footage from the cam is flat, just want to apply a nice S curve for convenience at editing)
[16:38] <Compn> video filters? yes, ffmpeg and ffmbc use the same filter api and you can add a filter to them
[16:38] <SvenL-> okay, great
[16:38] <Compn> i dunno if that filter exists yet
[16:39] <SvenL-> hum, I'm pretty sure it does
[16:39] <Compn> i havent been paying attention :)
[16:40] <SvenL-> curves is one of the most basic filter along with brightness/contrast/saturation. Oh well anyway I will just read, never used ffmpeg with advanced goals
[16:41] <Compn> ah
[16:41] <Compn> i have no idea what 'flat' footage means, nor what an S curve would do to it :)
[16:42] <Compn> ffmpeg can also use mplayer's filters , not sure about ffmbc tho
[16:42] <SvenL-> sorry, flat means that it has not much contrast at all, dark areas of the video are in fact dark grey
[16:42] <Compn> oh :)
[16:43] <SvenL-> that's common for current cameras, you generally tweak and get _the_ picture in post-production
[16:45] <SvenL-> and an S-curve is an easy way to correct this, it bumps the contrast up so the image is "nice". It's just a quick fix so the film editor gets a nice looking video
[16:46] <Compn> right, gotcha
[16:49] <SvenL-> Compn, do you know what a video histogram is ? I apologize for such off-topic and basic question, /query me if you prefer
[16:49] <Compn> i do, i think i've seen one in a video editor once
[16:50] <Compn> dont think ffmpeg has one of those :)
[16:51] <SvenL-> I've had a hard time finding out, it's what you would find in a video editor exactly
[16:51] <SvenL-> it's both an analysis and effect-filter
[16:53] <Mista_D> Any advice on macroblock detection?
[16:53] <SvenL-> I don't know where I should ask for this, maybe in #ffmpeg first
[16:57] <Compn> yes, ask user questions there
[16:57] <SvenL-> yes, sorry :)
[16:58] <Compn> Mista_D : sorry, no idea. try ffmpeg.org 's libav-user list or ffmpeg-user ?
[18:04] <CIA-67> ffmpeg: 03Laurent 07master * r71d6b46849 10ffmpeg/configure:
[18:04] <CIA-67> ffmpeg: configure: fix gcc asm tests for MinGW GCC 4.6.2
[18:04] <CIA-67> ffmpeg: Thanks to stackoverflow
[18:04] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:40] <CIA-67> ffmpeg: 03Stefano Sabatini 07master * rc28e7af70d 10ffmpeg/ (4 files in 2 dirs): lavu: add timestamp.h header with convenience timestamp utilities
[19:06] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r677911ad81 10ffmpeg/ffmpeg.c:
[19:06] <CIA-67> ffmpeg: ffmpeg: better dox for *pts.
[19:06] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r491d8353e8 10ffmpeg/libavcodec/mpeg12.c:
[19:06] <CIA-67> ffmpeg: mpeg12dec: print the value that is being ignored in load_matrix()
[19:06] <CIA-67> ffmpeg: error message by Reimar
[19:06] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * rdd7198b25f 10ffmpeg/libavformat/utils.c:
[19:06] <CIA-67> ffmpeg: lavf: put av_new_stream() compatibility wrapper back
[19:06] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * rf480fcb1f9 10ffmpeg/libavcodec/bink.c:
[19:06] <CIA-67> ffmpeg: bink: fix pointer type warnings.
[19:06] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r8a07429318 10ffmpeg/libavformat/utils.c:
[19:06] <CIA-67> ffmpeg: lavf: put av_find_stream_info() compatibility wrapper back.
[19:06] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[22:22] <Snaggle> I'm trying to build ffmpeg-git w/ --disable-swresample and linking fffplay errors out with undefined symbols for _swr_free and other _swr symbols (and ld warns about "-Llibswresample" not being found). Is this a bug in the library disabling code, or a mistake on my part? Disabling swscale fails similarly, but postproc doesn't.
[22:23] <Snaggle> If this is a bug, I'll go ahead and file a trac item, but wanted to make sure I wasn't doing something incorrectly before going there
[22:25] <durandal_1707> Snaggle: how old is that ffmpeg, give version
[22:26] <Snaggle> fresh git pull. not sure how to get git to spit out a 'version'
[22:27] <durandal_1707> ffmpeg -version
[22:27] <Snaggle> durandal_1707: program linking is failing, so I have no executable to ask for a version
[22:28] <durandal_1707> Snaggle: what git -describe says?
[22:28] <Snaggle> n0.8-6741-gdd7198b
[22:29] <durandal_1707> ffplay depends on swr so it should not be build
[22:30] <durandal_1707> fix is trivial
[22:37] <Snaggle> ah, didn't know swr was a hard dep on ffplay. I see now that ffplay_deps in configure is missing swr
[23:05] <Snaggle> durandal_1707: thanks for the hint about where to look
[23:28] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r5c2c6bbfba 10ffmpeg/ (libavcodec/raw.c libavformat/nut.c): Allow encoding rawvideo RGB0 and friends.
[23:28] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r52719dae8a 10ffmpeg/libavcodec/ (ljpegenc.c mjpegenc.c mpegvideo_enc.c): Support encoding BGR24 and BGR0 in ljpeg.
[23:28] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * redf34c346e 10ffmpeg/ (libavcodec/raw.c libavformat/nut.c): Allow encoding rawvideo RGBA64 and friends.
[23:36] <Mista_D> where is histogram data stored while using -qphist? Tried with `...-an -vstats_file vstats.txt -stats -vstats -benchmark -qphist -loglevel verbose -psnr -y test.h264 2>2.txt 1>time.txt`
[23:57] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r3b25d6193c 10ffmpeg/tests/ref/lavfi/ (5 files): Fix fate tests after 5c2c6bbf.
[23:58] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * rea4037162f 10ffmpeg/libavcodec/libstagefright.cpp:
[23:58] <CIA-67> ffmpeg: Fix libstagefright compilation
[23:58] <CIA-67> ffmpeg: Comment-by-michael: iam commiting this as the code cannot work without it and likely works with it.
[23:58] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:00] --- Fri Feb 10 2012
1
0
[00:04] <vadim__> brontosaurusrex: in case of VOD, you have to have a bunch of ismv files one per each desired bitrate (ismv = fragmented mp4(h264+aac)) + a manifest file which contains the list of bitrates and a list of mp4 fragments
[00:06] <brontosaurusrex> vadim__, yes, but the server is like an apache default or does it need anything special?
[00:06] <vadim__> brontosaurusrex: the server is a web server which understand the requests from the clients and can serve the manifest and the chunks
[00:06] <vadim__> for windows there is a standard solution IIS + IIS Media Services
[00:07] <vadim__> brontosaurusrex: in case of Apache, I know the USP smooth streaming module for Apache
[00:08] <brontosaurusrex> i see
[00:08] <brontosaurusrex> thanks
[00:30] <vadim__> ./creT
[00:30] <vadim__> ups
[00:30] <vadim__> wrong window...
[00:36] <vadim__> bye all
[01:08] <salsaman> hello can anybody help me with a problem decoding mpegts files ?
[01:08] <burek> can you please use pastebin.com, to show your command line and its output?
[01:08] <salsaman> im not using the command line
[01:09] <salsaman> i have adapted the mpegts demuxer slightly
[01:09] <salsaman> frames are coming out fine in the top half
[01:09] <salsaman> but the bottom of the frames shows vertical lines and artifacts
[01:10] <salsaman> and in the output i see e.g [mpeg2video @ 0x1f1de60] ac-tex damaged at 65 52
[01:10] <salsaman> i have checked my code very carefully so far nothing seems out of place
[01:11] <salsaman> its picking the raw packets and constructing an avpakcet exactly as before as far as i can tell
[01:12] <salsaman> the changes i made are very minor - basically a few changes to aviocontext, since my code does not have such sophistcated iocontext handling
[01:12] <salsaman> so i am wonderin, is there somethign special i have to do for mpeg, other than feeding packets into the decoder ?
[01:16] <salsaman> code is here: http://lives.svn.sourceforge.net/viewvc/lives/trunk/lives-plugins/plugins/d…
[01:20] <salsaman> to test i am not even doing a seek, just playing from frame 1 onwards
[01:22] <salsaman> basically lines 3613 - 3632
[01:24] <salsaman> im wondering if i should be checking the return value from avcodec_decode_video2
[01:25] <iive> salsaman: if i were you, i would have checked in i'm feeding the same packets to the decoder.
[01:25] <iive> aka, not cutting the packet size.
[01:26] <salsaman> i would do, but i have a hard time compiling ffmpeg from source
[01:26] <iive> then maybe do some simple checksum (aka sum of all bytes).
[01:26] <iive> ?? bsd?
[01:26] <salsaman> so its not easy to put my debugging code in
[01:26] <iive> macosx?
[01:26] <salsaman> fedora 16
[01:26] <iive> windows?
[01:26] <salsaman> linux
[01:26] <salsaman> :-P
[01:26] <iive> why would fedora have problems with ffmpeg?
[01:27] <iive> the /usr/local thing?
[01:27] <salsaman> i have so many versions of the libs around
[01:27] <salsaman> the problem is matching the libs withe code
[01:28] <iive> then build it static and don't install it.
[01:28] <salsaman> yeah that might work
[01:29] <iive> if it doesn't work... don't tell anybody i give you that idea :P
[01:29] <salsaman> actually its not so simple
[01:30] <salsaman> i can only play the file with mplayer
[01:30] <salsaman> so i would have to then dig into the ,player code
[01:31] <salsaman> im not sure why ffmpeg cant play it
[01:31] <salsaman> i type:
[01:31] <salsaman> ffmpeg canon_xha1.mpeg
[01:32] <salsaman> -> File 'canon_xha1.mpeg' already exists. Overwrite ? [y/N]
[01:32] <salsaman> oh wait doh
[01:33] <salsaman> its ffplay, right
[01:33] <iive> yep
[01:34] <iive> mplayer probably uses its internal demuxer, you may try the libaformat one with -demuxer lavf
[01:34] <salsaman> ok thanks
[01:34] <salsaman> the other big problem i have is with h264 format
[01:35] <salsaman> i have written a few demuxers that work fine, flv and asf for example
[01:35] <salsaman> they work for all formats except h264
[01:36] <salsaman> is there something special that has to be done with h264 packets ?
[01:42] <salsaman> for example my flv decoder works fine for vp6
[01:42] <salsaman> but for h264 it just says: [h264 @ 0xe3faa60] no frame!
[01:47] <iive> no idea... sorry
[01:50] <salsaman> ok thanks
[02:29] <javadtalab> I have streamed a video file encoded by x264 by a server. I want to stream it (play it) at the client side by the following instruction: ffmpeg -i rtsp://192.168.1.100:8900/testStream.
[02:29] <javadtalab> but I could not. I can play it with mplayer. Do I need to add some parameters to it to play stream properly?
[03:03] <JDuke128> hello , i need ffmpeg java library , is there any 2012 ffmpeg java library ? all others jffmpeg , ffmpeg4j is too old
[03:57] <Mista_D> Anyway to detect if macroblocks are showing in the video with ffprobe/libavfilter?
[04:18] <Mista_D> what's a better gcc version for ffmpeg on Centos? requiring least patches for faac/x264/lame/xvid/... ?
[05:33] <JDuke128> hello , i need ffmpeg java library , is there any 2012 ffmpeg java library ? all others jffmpeg , ffmpeg4j is too old
[06:42] <grepper> fmj ?
[07:00] <teratorn> JDuke128: xuggle?
[13:48] <salsaman> oh if anybody is interested i solved my mpegts decoding problem
[13:48] <salsaman> the answer is:
[13:48] <salsaman> ctx->flags|= CODEC_FLAG_TRUNCATED
[13:52] <salsaman> if anybody else has a similar problem (top half of frames looks good, bottom part is messed up), you all should advise them to set that flag bit
[13:53] <salsaman> i knew it had to be something trivial
[13:59] <kriegerod> I can't transcode this video to h264 using avconf/ffmpeg, must be bug. Tried git HEAD of both ffmpeg.org and libav.org. I get just grey screen, although avplay shows fine. The file: http://dl.dropbox.com/u/43104344/dump_video.flv . This is dump from wowza rtmp, using avconv/ffmpeg -vcodec copy. Please guys, if you have time, try it and advise what to do.
[14:42] <smjms> does 2-pass produce better quality, or is it just for getting the right average bitrate?
[14:42] <smjms> I guess I should ask in #x264
[15:07] <Mavrik> smjms, 2-pass produces usually better quality at the same bitrate as 1-pass
[15:08] <Mavrik> however it does not produce better quality as -crf at same filesize
[15:23] <slackyman> hi
[15:24] <slackyman> it should be a good idea to let to know vpx developers that last ffmpeg version doesn't need any patch
[15:26] <slackyman> bye
[15:48] <meisth0th> hello
[15:49] <meisth0th> ffplay continues to work even if the parametered file has reached the end, is there any parameter to tell ffmpeg to quit when file finishes to play?
[15:50] <meisth0th> -autoexit k :)
[16:29] <paulsf> I have a transport stream with an audio I believe to be dolby e, how would I go about extracting the dolby e out of the ts? I tried -acodec pcm_s24le, it seems to generate the wav output, however soundcode for dolby e does not recognize it as a valid dolby e stream
[16:30] <paulsf> Stream #0:1[0x33]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32, 2304 kb/s
[16:31] <paulsf> this is the command line I used: ffmpeg.exe -i stream.ts -map 0:1 -acodec pcm_s24le output1.wav
[16:31] <paulsf> also tried pcm_s32le to no avail
[16:35] <Mavrik> paulsf, if you want to dump an audio stream out of the video
[16:35] <Mavrik> you of course shouldn't recode it
[16:35] <Mavrik> ffmpeg -i stream.ts -acodec copy out.dump
[16:35] <Mavrik> or out.wav
[16:35] <Mavrik> or w/e
[16:38] <paulsf> I tried that and it says [wav @ 00000000040641E0] NONE codec not supported in WAVE format
[16:38] <paulsf> Could not write header for output file #0 (incorrect codec parameters ?)
[16:41] <Mavrik> paulsf, obviously dolby doesn't fit into wav container :)
[16:42] <Amnesia> question.. where can I get the manpage file for ffmpeg
[16:43] <paulsf> ok, but how do I get to a wav? soundcode only accepts wavs
[16:43] <paulsf> soemoen suggested I use pcm_s24le, but the output is not recognized
[16:43] <paulsf> someone rather
[16:43] <Mavrik> Amnesia, http://ffmpeg.org/ffmpeg.html
[16:43] <Amnesia> find FFmpeg-FFmpeg-1afc881 -o -iname "*gz" -o -iname "*.1" results in nothing
[16:43] <Mavrik> this is pretty much the current one
[16:44] <Amnesia> Mavrik: ah there's no real manpage?
[16:44] <Mavrik> paulsf, pcm_s24le js a raw PCM 24-bit format, if you pass it that it'll decode your dolby to that
[16:44] <Mavrik> Amnesia, it is on linux, but it has pretty much the same contents
[16:44] <Amnesia> Mavrik: where can I find that file?
[16:44] <Mavrik> no idea
[16:44] <Amnesia> hm ok
[16:44] <Mavrik> man ffmpeg usually worked for me ^^
[16:44] <Amnesia> then you installed it through your pkgmanager:)
[16:46] <paulsf> ok so then how would you suggest going about it? :(
[16:46] <paulsf> I just need to get it out of the ts into wav lol, so that I can import it in soundcode
[16:47] <paulsf> this is what mediainfo claims to be (although I'm certain it's wrong about the 2.0 part)
[16:47] <paulsf> Format : PCM
[16:47] <paulsf> Muxing mode : AES3
[16:47] <paulsf> Bit rate : 2 304 Kbps
[16:47] <paulsf> Bit depth : 20 bits
[16:47] <paulsf> Channel(s) : 2 channels
[16:48] <Amnesia> Mavrik: make documentation <- that generates it:)
[16:49] <Amnesia> it seems to be outdated though
[16:49] <Mavrik> Amnesia, in which parts?
[16:50] <Mavrik> paulsf, hmm, no idea, obviously there's some muxing problems with dolby audio, I'm not even sure ffmpeg supports it. Sadly I don't know much about Dolby formats so I can't help you :\
[16:50] <Amnesia> videofilters
[16:52] <paulsf> thanks for trying anyway, perhaps someone else will chime in :)
[16:52] <paulsf> can also upload a sample if needed
[16:58] <Mavrik> Amnesia, hm, video filter documentation is separate
[16:58] <Mavrik> Amnesia, since it's part of libavfilter
[16:58] <Amnesia> yep
[16:58] <Mavrik> I usually use the online libavfilter documentation which seems up-to-date :)
[16:58] <Amnesia> but the manpage still has -padtop -padbottom etc
[16:59] <Mavrik> sadly, ffmpeg isn't an epitome of good documentation :(
[17:03] <SvenL-> thanks for mentioning libavfilter Mavrik , I think that's what I was about to ask about
[17:05] <Mista_D> Anyone can advice on macroblock detection methods?
[17:07] <SvenL-> http://ffmpeg.org/libavfilter.html
[17:07] <SvenL-> last line say "generated on feb. 08"
[17:08] <SvenL-> I am looking for a video histogram filter, is libavfilter the right place for this ?
[17:12] <saste> SvenL-: yes, an histogram filter may be placed in libavfilter
[17:12] <saste> http://ffmpeg.org/pipermail/ffmpeg-devel/2010-November/098340.html
[17:13] <saste> iirc the implementation was wrong (it needs to work in RGB space)
[17:13] <SvenL-> hu, indeed
[17:14] <SvenL-> depends on the source, actually, in my case for now I would need Y channel
[17:14] <SvenL-> I've seen this while googling
[17:14] <SvenL-> I'm looking for an analysing tool, not for adjustement (generally both are implemented)
[17:41] <hachi> hello folks, I'm attempting to use -vcodec copy on the latest git HEAD build of ffmpeg on linux to create a video stream of mjpeg images
[17:42] <hachi> when I feed a single image in and create an AVI, and then do the recipricol to pull it back out
[17:42] <hachi> I end up with 3 image files, none of which are a valid image
[17:43] <hachi> is anyone able to help me figure out why this is happening?
[17:56] <hachi> is there a way to set the initial integer ffmpeg will use when counting a printf format filename sorta thing
[18:34] <slackyman> burek:
[18:35] <slackyman> are you here?
[18:35] <slackyman> I sent you different emails
[18:35] <slackyman> :)
[18:38] <burek> slackyman, I am now :)
[18:38] <burek> thanks :)
[18:38] <burek> I'll take a look a little bit later, just after I grab something to eat :)
[18:38] <slackyman> ok
[18:39] <slackyman> :)
[19:15] <slackyman> anyone here knows HOW vlc capture windows screen?
[19:47] <Kingsy> burek: you around m8 ?
[19:56] <slackyman> how vfwcap works?
[19:59] <burek> slackyman, http://ffmpeg.test-lab.ch/viewtopic.php?f=25&t=13
[19:59] <burek> Kingsy, yes i am :)
[20:00] <slackyman> burek: list: Input/output error
[20:01] <Kingsy> burek: just had some thoughts about that problem I was having if you remember, I have captured my webcam from vlc (looks like about 640x480 res) it has no sound but its smoooooth as.. how can that be? going by what we found the usb wasnt capable...
[20:01] <slackyman> how knows how to capture desktop in windows?
[20:02] <burek> Kingsy, vlc can capture both video and audio
[20:02] <slackyman> I mean, vlc uses the meta-protocolo screen://
[20:02] <Kingsy> burek: I know.. I cant get the audio to work..
[20:02] <burek> I had to use it because ffmpeg didn't resolve the bug about audio video async
[20:02] <burek> that you also encountered
[20:02] <burek> well
[20:02] <burek> here is my cmd
[20:02] <Kingsy> burek: you remember that problem we had with ffmpeg not icking up the audio? I have that too in vlc
[20:02] <Kingsy> and I cant get it working
[20:03] <burek> it does pick the audio
[20:03] <burek> just use alsamixer to select the input device
[20:03] <Kingsy> hmm not sure what you mean by that..
[20:04] <Kingsy> burek: I am in alsamixer now, I don't see any option to select the input device..
[20:04] <slackyman> maybe I have NO video capture device
[20:04] <burek> cvlc -V dummy v4l2:///dev/video0:width=640:height=360:fps=25 :input-slave=alsa://hw:0 --sout='#transcode{venc=x264,width=640,height=360,vcodec=h264,vb=320,fps=25,acodec=mp3,ab=256,samplerate=44100,channels=2}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8090/test.flv}'
[20:04] <burek> try that
[20:05] <burek> Kingsy, in alsamixer, press <tab>
[20:05] <burek> to switch to recording devices
[20:05] <burek> use <space> to select a device
[20:05] <burek> up/down arrows to turn volume up/down
[20:05] <burek> slackyman, if you don't have any Driver X: listed
[20:06] <burek> then you don't have any driver capable of capturing
[20:06] <slackyman> no, no, sorry, I got them :P
[20:06] <Kingsy> burek: I don't understand that command.. where is it saving the file?
[20:06] <Kingsy> why is it using http?
[20:06] <burek> it's broadcasting, not saving
[20:06] <burek> but if you want to save
[20:06] <burek> replace std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8090/test.flv}
[20:06] <burek> with
[20:07] <burek> std{access=file,dst=test.flv}
[20:08] <slackyman> ffmpeg -f vfwcap -i 0 avi.avi --> [vfwcap @ 01CA9A80] Could not connect to device.
[20:08] <slackyman> 0: No such device
[20:08] <burek> read the manual
[20:08] <burek> and try list first
[20:09] <Kingsy> burek: it gave me an error, can I pm you it? this is kinda off topic
[20:09] <burek> sure
[20:09] <slackyman> the list say "Driver 0"
[20:11] <slackyman> burek, but vfwcap can capture screen output?
[20:12] <burek> slackyman,
[20:12] <burek> can you please use pastebin.com, to show your command line and its output?
[20:13] <slackyman> sorry
[20:51] <codepython777> When I do ffmpeg -i awesome.mp4 output.wmv -- does ffmpeg preserve the quality of the input mp4? Is there another flag I need to provide to do so?
[20:52] <hi117> -vcodec copy right?
[20:53] <hi117> otherwise itll reencode and lossy -> lossy = lost quality
[20:57] <codepython777> hi117: Thanks. So I use ffmpeg -vcodec -i input.mp4 output.wmv?
[20:57] <hi117> no
[20:57] <hi117> -vcodec copy
[20:58] <hi117> and put it after the -i bla.foo
[20:59] <hi117> ffmpeg orders operands ffmpeg [global options] [[infile options] -i infile]... {[outfile options] outfile}...
[20:59] <hi117> er...
[20:59] <hi117> yes, thats right, -vcodec is an outfile option
[21:07] <codepython777> will try it now. Thanks
[21:07] <hi117> np
[21:25] <slackyman> hi, when i cross-compile ffmpeg in mingw32 I have no dshow dev
[21:44] <pythonirc101> When I try to use media player to play a wmv file created using ffmpeg, I get codec not found error. How can I fix this?
[21:45] <hi117> what codec are you putting in the wmv?
[21:45] <pythonirc101> WM/EncodingSettings: Lavf53.21.0 -- Is this the name of the output codec?
[21:45] <pythonirc101> How can I find out which codec is it?
[21:45] <hi117> ffmpeg -i file.wmv
[21:46] <pythonirc101> encoder : Lavf53.21.0
[21:46] <pythonirc101> is that the codec?
[21:46] <hi117> no
[21:46] <hi117> its what encoded it
[21:46] <pythonirc101> hi117: http://pbin.be/show/403/
[21:46] <hi117> Video: h264 (Baseline) < an example of a codec
[21:47] <hi117> Stream #0:0: Video: h264 (High) < this is your codec, its h264
[21:48] <pythonirc101> hi117: any chance you know how I can make windows media player play h264?
[21:48] <hi117> hehe nope
[21:48] <hi117> get mplayer for windows
[21:48] <hi117> thats my answer XD
[21:51] <pythonirc101> hi117: I'm trying to burn DVDs from input mp4s. Windows DVD Maker is the only program I have that can do this. And it does not understand h264, hence my problem.
[21:51] <hi117> it probably does
[21:52] <hi117> but youre using b264 hi prifile
[21:52] <hi117> profile*
[21:52] <JEEB> Windows only comes with a H.264 decoder since Win7 :)
[21:52] <JEEB> Which is WMP12
[21:53] <hi117> what codec would you suggest if it cant play h264?
[21:53] <hi117> h263?
[21:53] <pythonirc101> I don't understand. If win 7 does h264, why doesn't mine work?
[21:54] <pythonirc101> windows dvd maker does not understand my container wmv files
[21:54] <JEEB> put H.264 into mp4
[21:55] <JEEB> H.264 in wmv is an abomination and I don't think MS even supports that
[21:55] <JEEB> or you miss the media stuff if your Win7 version is one of those SuperSpecial European ones
[21:55] <hi117> ah ya wmv has problems with h264 video
[21:56] <JEEB> I don't really know if it has problems per se, I just don't know how well supported that mix is :P
[21:56] <JEEB> esp. with standard MS filters
[21:59] <slackyman> I cannot enable dshow in my ffmpeg cross-compiled build
[21:59] <slackyman> dshow doesn't appear in enabled indevs
[21:59] <slackyman> after configure
[22:03] <slackyman> any1 knows how?
[22:04] <pythonirc101> JEEB: I've mp4s encoded in h264. What's the easiest way to keep the quality and make windows understand my files?
[22:07] <slackyman> JEEB, any info about enabling dshow?
[22:10] <JEEB> slackyman, no idea. But check that you have directshow headers etc. set on the machine you're cross-compiling on.
[22:10] <JEEB> pythonirc101, what?
[22:10] <JEEB> if you already have mp4s you should be able to load them as-is
[22:11] <slackyman> JEEB i have strmif.h
[22:11] <pasteeater> apparently Windows DVD Maker does not accept his H.264 in MP4, as i understand it
[22:11] <slackyman> I don't know wich headers I have to have
[22:11] <slackyman> :D
[22:14] <slackyman> enabling avisinth doen't affect dshow, right?
[22:28] <slackyman> JEEB, I've found them: they're under wine
[22:28] <slackyman> but I get errors
[22:38] <m4now> hello, i want to join two big mp4 files (x264,1080p) together. can ffmpeg do this without reencoding?
[22:40] <m4now> the output file should be the same format.
[22:44] <pasteeater> m4now: MP4Box -cat input1.mp4 -cat input2.mp4 output.mp4
[22:44] <pasteeater> results not guaranteed
[22:51] <slackyman> JEEB I have dshow libs also in mingw32 directories
[22:52] <slackyman> but if include them in CFLAGS and LD FLAGS I got several errors
[23:04] <slackyman> anyone?
[23:05] <burek> :)
[23:06] <burek> is libdl linkable as a static lib in the final binary? :)
[23:13] <slackyman> burek, have you tried?
[23:13] <burek> well :)
[23:13] <burek> I did :) I still am trying :)
[23:14] <slackyman> if yuou have libdl.a in your lib path it should be loaded as static
[23:15] <burek> hmh
[23:17] <slackyman> as far as I know when compiling ffmpeg statically (the default) "-static" is passed as parameter to the linker
[23:17] <burek> yes i know that
[23:17] <slackyman> or am I wrong?
[23:17] <burek> i read your mails, thanks
[23:17] <burek> but
[23:17] <burek> I get the same error for a lot of libs, something like this
[23:17] <slackyman> have you compiled libdl or are U using the one given by repositories?
[23:18] <burek> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libasound.a(dlmisc.o): in function snd_dlopen:dlmisc.c:70: error: undefined reference to 'dlopen'
[23:18] <slackyman> as I wrote in my emails you have to check EVERY lib configure options
[23:18] <burek> and I read about libdl that it's a part of gcc I guess
[23:18] <burek> which (tell me I'm wrong) means I have to compile my own gcc? :S
[23:18] <burek> I did
[23:18] <slackyman> no
[23:18] <burek> except libdl
[23:19] <slackyman> dlopen
[23:19] <slackyman> uhm...
[23:19] <burek> where is the homepage of that stuff anyway
[23:19] <burek> to download the source
[23:20] <slackyman> I think it comes from glibc
[23:20] <burek> so, I need to compile glibc statically
[23:20] <burek> and just continue with ffmpeg the usual way?
[23:20] <slackyman> try :D
[23:20] <burek> :D
[23:20] <burek> I think I'll be sorry, I had that kind of feeling :D
[23:21] <slackyman> no, I think everything will go fine
[23:21] <Mista_D> How do I see histogram with -qphist?
[23:22] <slackyman> wait a moment, burek
[23:22] <burek> http://linuxsoft.cern.ch/cern/slc6X/x86_64/yum/updates/repoview/glibc-stati…
[23:22] <burek> hmh, there are obviously libs built in a static way
[23:22] <burek> so I guess I won't break anything :D
[23:22] <slackyman> wait
[23:22] <burek> ok
[23:23] <slackyman> dlopen should be difened in libdl.c
[23:24] <slackyman> uhm...
[23:24] <burek> I'll just git clone glibc.git and try
[23:24] <slackyman> I think that using a glib static build could be better
[23:26] <burek> Mista_D, Google didn't help much..? :S
[23:27] <Mista_D> burek: nope.
[23:28] <burek> I can see :/ not much help there :/ you can try in #ffmpeg-devel though
[23:29] <burek> if they don't know, you're out of luck
[00:00] --- Fri Feb 10 2012
1
0
[01:13] <Daemon404> Compn, just an fyi: BBB is being payed by google to write a perl wrapper for msvc for libav
[01:13] <Daemon404> re: that ML thread
[01:19] <Compn> Daemon404 : people compile ffmpeg with msvc all the time ... you mean for default compilation ?
[01:19] <Daemon404> um
[01:19] <Daemon404> thats kind of impossible.
[01:20] <Daemon404> every single file uses at the very least, named struct initialization
[01:20] <Daemon404> with msvc does not support.
[01:20] <Daemon404> which*
[01:20] <Daemon404> not to mention the inline gcc-style asm...
[01:20] <kierank> pffft just make them use icc
[01:20] <kierank> write a nice guide and people will use it
[01:20] <Daemon404> icl*
[01:20] <Daemon404> no icc on windows (Except for pengvado's special thingy)
[01:20] <Daemon404> :P
[01:21] <kierank> icl i mean
[01:21] <kierank> i always get those things confused
[01:21] <Daemon404> or do what x264 did
[01:21] <Daemon404> and integrate support
[01:21] <Compn> probably will intergrate support
[01:21] <Daemon404> but me significantly more annoying for libavcodec and friends
[01:21] <Daemon404> might*
[01:22] <Compn> lol
[01:22] <Compn> http://code.google.com/p/ffmpeg-msvc/
[01:23] <Compn> or theres this
[01:23] <Compn> https://launchpad.net/oah
[01:23] <Compn> A Build system and packaging tool for building open source projects with Visual Studio 2008 (Express) for the Microsoft Windows platform.
[01:24] <Compn> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-March/052320.html
[01:25] <Compn> guess thats not going to well either
[01:25] <Compn> :P
[01:27] <funman> not sure what's the advantage of msvc
[01:28] <Compn> more idiotic apps by 'windows programmers' who cant figure out mingw...
[01:46] <Plorkyeran> vs's debugger is p superior to anything gdb-based that I've found
[01:46] <Plorkyeran> that's about it
[01:47] <Daemon404> ^ this
[01:47] <Daemon404> debugging on linux is balls
[01:59] <iive> Plorkyeran: vs-> visual studio?
[02:00] <Daemon404> yea
[02:00] <iive> unfortunately i never wrote program simple enough to not hang that debugger...
[02:00] <Daemon404> sounds liek doing it wrong
[02:00] <Daemon404> or 1998
[02:00] <Daemon404> :/
[02:01] Action: Daemon404 has never managed to hang it
[02:02] <iive> yes, about that time...
[02:02] <Plorkyeran> I've had issues when attaching it to an already running process, but even that's rare
[02:02] <iive> bad memories last long.
[02:03] <Daemon404> is that why im still traumtize by slackware?
[02:04] <iive> probably, It's still my favorite distro.
[02:04] <Daemon404> i see.
[02:18] <durandal_1707> michaelni: fine if you post patch to remove FF_API_OLD_AVOPTIONS stuff ?
[02:18] <durandal_1707> s/you/me :)))
[02:40] <sacrelege> hi all
[02:43] <sacrelege> I get a "-22" error code back from av_open_input_file(). Where can I lookup the error codes?
[02:48] <durandal_1707> -22 is EINVAL
[02:49] <sacrelege> durandal_1707: thanks for the answer, but how did you find out?
[02:50] <durandal_1707> sacrelege: /usr/include/errno.h
[02:56] <funman> strerror can help too
[03:37] <sacrelege> durandal_1707, funman thx
[06:04] <CIA-40> ffmpeg: 03Ronald S. Bultje 07master * r2dd7a1c030 10ffmpeg/libswscale/ (Makefile input.c swscale.c swscale_internal.h):
[06:04] <CIA-40> ffmpeg: swscale: Split C input functions into separate file.
[06:04] <CIA-40> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[06:04] <CIA-40> ffmpeg: 03Aneesh Dogra 07master * rdb7d45237a 10ffmpeg/libavcodec/bytestream.h:
[06:04] <CIA-40> ffmpeg: bytestream: Add bytestream2 writing API.
[06:04] <CIA-40> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[06:04] <CIA-40> ffmpeg: 03Ronald S. Bultje 07master * r2144941069 10ffmpeg/libswscale/ (Makefile output.c swscale.c swscale_internal.h):
[06:04] <CIA-40> ffmpeg: swscale: split C output functions into separate file.
[06:04] <CIA-40> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[06:04] <CIA-40> ffmpeg: 03Justin Ruggles 07master * r32c61400c0 10ffmpeg/libavcodec/apedec.c: apedec: use sizeof(field) instead of sizeof(type)
[06:04] <CIA-40> ffmpeg: 03Justin Ruggles 07master * r37390d5cca 10ffmpeg/libavcodec/apedec.c:
[06:04] <CIA-40> ffmpeg: apedec: allow the user to set the maximum number of output samples per call
[06:04] <CIA-40> ffmpeg: It makes sense in some cases to split up the output packet to save on memory
[06:04] <CIA-40> ffmpeg: usage (ape frames can be very large), but the current/default size is
[06:05] <CIA-40> ffmpeg: arbitrary. Allowing the user to configure this gives more flexibility and
[06:05] <CIA-40> ffmpeg: requires minimal additional code.
[06:05] <CIA-40> ffmpeg: 03Diego Biurrun 07master * r06b320ad78 10ffmpeg/libswscale/sparc/yuv2rgb_vis.c: swscale: K&R formatting cosmetics for SPARC code
[06:05] <CIA-40> ffmpeg: 03Anton Khirnov 07master * r4be1d7dc20 10ffmpeg/tests/ (fate/demux.mak ref/fate/pva-demux):
[06:05] <CIA-40> ffmpeg: pva-demux test: add -vn
[06:05] <CIA-40> ffmpeg: The output is obviously not supposed to contain video (since only
[06:05] <CIA-40> ffmpeg: -acodec copy is specified), but that only happens because of the way -t
[06:05] <CIA-40> ffmpeg: handling is implemented currently.
[06:05] <CIA-40> ffmpeg: 03Anton Khirnov 07master * rc9af832623 10ffmpeg/avconv.c:
[06:05] <CIA-40> ffmpeg: avconv: set encoder timebase for subtitles.
[06:05] <CIA-40> ffmpeg: The actual number (1/1000) will probably require some
[06:05] <CIA-40> ffmpeg: discussion/tweaking in the future, but should be good enough for now,
[06:05] <CIA-40> ffmpeg: since the timestamps in AVSubtitle are in this timebase by definition.
[06:05] <CIA-40> ffmpeg: 03Anton Khirnov 07master * r1270e12e49 10ffmpeg/ (16 files in 4 dirs): (log message trimmed)
[06:05] <CIA-40> ffmpeg: avconv: rework -t handling for encoding.
[06:05] <CIA-40> ffmpeg: Current code compares the desired recording time with InputStream.pts,
[06:05] <CIA-40> ffmpeg: which has a very unclear meaning. Change the code to use actual
[06:05] <CIA-40> ffmpeg: timestamps of the frames passed to the encoder.
[06:05] <CIA-40> ffmpeg: 03Anton Khirnov 07master * r6e98390258 10ffmpeg/avconv.c:
[06:05] <CIA-40> (46 lines omitted)
[08:22] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rfe380adbfb 10ffmpeg/ffmpeg.c:
[08:22] <CIA-40> ffmpeg: ffmpeg: add (next_dts/dts) variables.
[08:22] <CIA-40> ffmpeg: Strongly based on Anton Khirnovs code.
[08:22] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[08:22] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rf72eaf69ab 10ffmpeg/ffmpeg.c:
[08:22] <CIA-40> ffmpeg: ffmpeg: Init dts variables in output_packet()
[08:22] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[08:23] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r4eea0cfc22 10ffmpeg/ (ffmpeg.c tests/ref/fate/vc1-ism):
[08:23] <CIA-40> ffmpeg: ffmpeg: use ist->dts instead of passing an argument into transcode_video().
[08:23] <CIA-40> ffmpeg: This makes the code more similar to qatar
[08:23] <CIA-40> ffmpeg: And fixes decoding of the last frame of fate/vc1-ism
[08:23] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[08:23] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rf070bf0894 10ffmpeg/ffmpeg.c:
[08:23] <CIA-40> ffmpeg: ffmpeg: Fix (next)_dts/pts init.
[08:23] <CIA-40> ffmpeg: Based on Anton Khirnovs code.
[08:23] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[08:23] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * re806ceaa7b 10ffmpeg/ffmpeg.c:
[08:23] <CIA-40> ffmpeg: ffmpeg: Use the correct (dts) variables for stream copy.
[08:23] <CIA-40> ffmpeg: Strongly based on Anton Khirnovs code.
[08:23] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[10:09] <Tjoppen> herp. how do I encode multiple video streams now that -newvideo doesn't exist?
[10:10] <Tjoppen> with different options for the streams
[10:11] <Tjoppen> I'm capturing my desktop and webcam and want the former lossless but not the latter
[11:12] <ubitux> Tjoppen: with -map?
[11:13] <Tjoppen> I figured it out - append stream index to options
[11:13] <Tjoppen> manual should probably not mention -new*
[11:14] <Tjoppen> now I'm getting shitty sync though, but I probably have to set VFR mode somehow
[13:22] <Tjoppen> fun:
[13:23] <Tjoppen> "ffmpeg -f alsa -i default -f v4l2 -s 640x480 -i /dev/video0" maintains A/V sync
[13:23] <Tjoppen> "ffmpeg -f v4l2 -s 640x480 -i /dev/video0 -f alsa -i default" does not
[16:13] <salsaman> hi, can anybody help me
[16:13] <salsaman> i wrote a mpegts demuxer for LiVES
[16:13] <salsaman> its kind of working ok, the top part of images are showing up ok
[16:13] <salsaman> but the bottom part is messed up
[16:13] <salsaman> and i see errors like
[16:14] <salsaman> [mpeg2video @ 0x3148420] ac-tex damaged at 80 52
[16:14] <salsaman> and less commonly
[16:14] <salsaman> [mpeg2video @ 0x3148420] invalid mb type in I Frame at 77 57
[16:14] <salsaman> its odd because the got_picture flag is being set
[16:15] <salsaman> i would love to get this working to have mpegts support directly in LiVES
[16:28] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rc0be67cac1 10ffmpeg/ffmpeg.c:
[16:28] <CIA-40> ffmpeg: ffmpeg: use (next_)dts in timestamp discontinuity detection code.
[16:28] <CIA-40> ffmpeg: Strongly based on Anton Khirnovs code.
[16:28] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:28] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r8ea81805d4 10ffmpeg/ffmpeg.c:
[16:28] <CIA-40> ffmpeg: ffmpeg: print more details and rescaled timestamps in debug code.
[16:28] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:28] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r7665da46ce 10ffmpeg/ffmpeg.c:
[16:28] <CIA-40> ffmpeg: ffmpeg: update ist->pts in transcode_audio with the audio decoders output.
[16:28] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:28] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r6028bd0dc6 10ffmpeg/ffmpeg.c:
[16:28] <CIA-40> ffmpeg: ffmpeg: move next_dts/pts update out of transcode_video()
[16:28] <CIA-40> ffmpeg: this makes it placed similar to qatar
[16:28] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:55] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r67700e877d 10ffmpeg/ffmpeg.c:
[16:55] <CIA-40> ffmpeg: ffmpeg: update dts variables in transcode_audio()
[16:55] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:55] <CIA-40> ffmpeg: 03Anton Khirnov 07master * rd97fa416d6 10ffmpeg/ffmpeg.c: (log message trimmed)
[16:55] <CIA-40> ffmpeg: ffmpeg: reduce overloading for InputStream.pts.
[16:55] <CIA-40> ffmpeg: It currently has different meanings at different times (dts of the last
[16:55] <CIA-40> ffmpeg: read packet/pts of the last decoded frame). Reduce obfuscation by
[16:55] <CIA-40> ffmpeg: storing pts of the decoded frame in the frame itself.
[16:55] <CIA-40> ffmpeg: Conflicts:
[16:55] <CIA-40> ffmpeg: ffmpeg.c
[17:41] <CIA-40> ffmpeg: 03Anton Khirnov 07master * r67c63176ad 10ffmpeg/ffmpeg.c:
[17:41] <CIA-40> ffmpeg: ffmpeg: remove setting fb->pts.
[17:41] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:41] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * re7f4de34ad 10ffmpeg/ffmpeg.c:
[17:41] <CIA-40> ffmpeg: ffmpeg: use ist->dts in do_streamcopy()
[17:41] <CIA-40> ffmpeg: Based on change by Anton Khirnov.
[17:41] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:41] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r160008a60f 10ffmpeg/ffmpeg.c:
[17:41] <CIA-40> ffmpeg: ffmpeg: use ist->dts in rate_emu_sleep()
[17:41] <CIA-40> ffmpeg: Based on change by Anton Khirnov.
[17:41] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:41] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rfba318a4b0 10ffmpeg/ffmpeg.c:
[17:41] <CIA-40> ffmpeg: ffmpeg: update (next_)pts in the stream copy case
[17:41] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:55] <ubitux> michaelni: do you plan to do more stuff on ffmpeg.c?
[17:55] <ubitux> i'm playing more with the vf and do_video_out()
[17:55] <ubitux> should i rebase now or wait more?
[18:00] <michaelni> ubitux, i dont plan major things but i see some bugs that id like to fix and until i fix them i dont know how much changes that will need
[18:00] <ubitux> ok
[18:48] <michaelni> ubitux, which of the patches you posted need a review and which have already been reviewed ?
[19:09] <ubitux> > 4 need review
[19:10] <ubitux> the first 4 are just the old ones rebased
[19:10] <ubitux> though, you can still review the unreviewed patch2 :)
[19:48] <CIA-40> ffmpeg: 03Clément BSsch 07master * r1aa8f5fcfb 10ffmpeg/libavfilter/libmpcodecs/vf_fspp.c:
[19:48] <CIA-40> ffmpeg: vf_fspp: use LOCAL_MANGLE instead of MANGLE.
[19:48] <CIA-40> ffmpeg: The symbols are locals, thus the EXTERN_PREFIX should be omitted. This
[19:48] <CIA-40> ffmpeg: might fix the llvm-gcc fate instance.
[20:51] <burek> can people burn subs directly on video stream with ffmpeg?
[20:51] <burek> i know i did it in past month, but i dont remember did i use ffmpeg or not
[20:53] <durandal_1707> burek: you mean burn bitmap - hardcoded subs?
[20:53] <burek> yes, i figured libass :)
[20:53] <burek> but thanks anyway :)
[20:53] <burek> :beer:
[20:53] <durandal_1707> libass is for rendering ass subtitles
[20:54] <burek> and drawing it onto video
[20:54] <burek> its a video filter
[20:54] <burek> I'm waiting for the forum to finally get online
[20:54] <nevcairiel> no, libass is only the renderer
[20:54] <burek> so I can write those tutorials
[20:54] <burek> http://ffmpeg.org/ffmpeg.html#ass
[20:54] <burek> Draw ASS (Advanced Substation Alpha) subtitles on top of input video using the libass library.
[20:54] <durandal_1707> but didn't you ask for burned ones - in which case you don't need libass at all
[20:55] <nevcairiel> the drawing is not done with libass
[20:55] <nevcairiel> thats all ffmpeg
[20:55] <burek> i dont understand the question
[20:55] <burek> burek> can people burn subs directly on video stream with ffmpeg?
[20:55] <burek> i found out they can
[20:55] <durandal_1707> how?
[20:56] <burek> using -vf "ass=title.ass" ...
[20:56] <durandal_1707> ahh that is really nice
[20:56] <burek> i did it a month ago
[20:57] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r3c939ad6e0 10ffmpeg/libavcodec/lagarith.c:
[20:57] <CIA-40> ffmpeg: lagarith: refactor code
[20:57] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[20:57] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:26] <Compn> burek : ass works now? :)
[21:27] Action: Compn wonders what ubitux is up to
[21:27] <burek> works :)
[21:29] <gnafu> dat ass
[21:30] Action: Compn busy begging people for patches
[21:49] <burek> "how can i show the supported indevs in ffmpeg?"
[21:49] <burek> :)
[21:49] <burek> is there any switch, like -codecs, -formats ?
[21:50] <Tjoppen> -devices maybe?
[21:50] <Tjoppen> hm, no
[21:54] <durandal_1707> -protocols - beware output is ugly (there where times when it was better)
[21:54] <burek> i mean like alsa, oss
[21:54] <burek> and stuff
[21:55] <burek> just like when you do configure
[21:55] <durandal_1707> burek: it is in -formats with bunch of other stuff
[21:58] <burek> durandal_1707, thanks :)
[22:04] <burek> how to set pix_fmt MJPG
[22:04] <burek> it always reports something like failed to set value 'MJPEG' for option 'pix_fmt'
[22:04] <burek> is pix_fmt the correct option for setting input pixel format (From webcam for ex.)
[22:08] <durandal_1707> burek: you dont need to set pix_fmt for MJPEG
[22:10] <burek> well there is a webcam
[22:10] <ubitux> Compn: yes i haven't done much for the subtitles stuff recently, except the jacosub support :)
[22:10] <burek> that can be accessed using yuyv or mjpeg
[22:10] <burek> so i try to explicitly set mjpg
[22:11] <burek> v4l2-ctl --list-formats-ext reports pixel format MJPEG which can capture video in higher resolutions with higher fps
[22:11] <durandal_1707> than set -input_format
[22:11] <nevcairiel> mjpeg is not a pixel format, its a codec, you would have to go differently about telling ffmpeg that, but don't ask me if it even supports capturing mjpeg from a v4l device
[22:12] <nevcairiel> hm
[22:12] <burek> durandal_1707, thank
[22:12] <burek> s
[22:12] <nevcairiel> apparently it does
[22:12] <ubitux> some webcam have a mjpeg output
[22:12] <durandal_1707> burek: actually pixel_format would work too, but pix_fmt will not
[22:12] <nevcairiel> i just peeked into v4l2.c, and it lists some input formats with mjpeg
[22:12] <ohsix> tons of them do, maybe all that you can buy at the moment new :]
[22:13] <burek> oh :) pixel_format and pix_fmt are not the same? :)
[22:13] <ohsix> (and logitech just released their first 1080p camera that does h264 a little while ago)
[22:13] <nevcairiel> pixel_format is internally just an alias for input_format, funny enough
[22:13] <ohsix> here's hoping everyone follows
[22:13] <burek> :)
[22:13] <burek> cool :)
[22:13] <burek> thanks :) :beer: :)
[23:00] <durandal_1707> heh that patch actually broke all darwins
[23:01] <ubitux> oh the fspp one?
[23:01] <ubitux> mmh why&
[23:01] <durandal_1707> not all, at least not yet ;)
[23:01] <ubitux> i'm going to revert, but any idea what could go wrong?
[23:02] <ubitux> btw, can mplayer be build out of the box on those plateform?
[23:02] <durandal_1707> dunno
[23:03] <durandal_1707> looks like ld could not find some symbols..
[23:03] <burek> one stupid question, how can i checkout this exact version of vlc from git: VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-832-gd6a7a4d)
[23:04] <durandal_1707> burek: why it have something special?
[23:04] Action: durandal_1707 is very curious
[23:06] <burek> well, it doesn't crash :D
[23:07] <durandal_1707> ubitux: as I can see problem is in libmpcodecs, so do not waste your time on that
[23:07] <durandal_1707> better waste it in porting remaining mp filters to lavfi
[23:08] <ubitux> i'm curious about the issue
[23:08] <durandal_1707> well than you would need darwin box
[23:09] <ubitux> yes, that would be nice.
[23:11] <ubitux> i guess the "extern" mangle is needed because there is some sym resolution in ffmpeg
[23:12] <ubitux> michaelni: any idea before i'm reverting?
[23:20] <ubitux> well, can be figured it out later
[23:20] <CIA-40> ffmpeg: 03Clément BSsch 07master * rc84acc31b2 10ffmpeg/libavfilter/libmpcodecs/vf_fspp.c:
[23:20] <CIA-40> ffmpeg: Revert "vf_fspp: use LOCAL_MANGLE instead of MANGLE."
[23:20] <CIA-40> ffmpeg: This reverts commit 1aa8f5fcfba6701eb0181ea07c070d09ab0f4efd. It broke
[23:20] <CIA-40> ffmpeg: the other x86_32 fate instances.
[23:24] <ubitux> :(
[23:53] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rd8710228ea 10ffmpeg/ffmpeg.c:
[23:53] <CIA-40> ffmpeg: ffmpeg: change sync_opts code to be more similar to qatar.
[23:53] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:00] --- Thu Feb 9 2012
1
0
[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/waterm… [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=a2925c5a707e833c34…
[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…
[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@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@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…
[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
1
0
[00:55] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r6ba2505a0e 10ffmpeg/libavcodec/utvideo.c:
[00:55] <CIA-40> ffmpeg: utvideo: remove ff_thread_finish_setup, it isn't needed at all
[00:55] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[00:55] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:03] <CIA-40> ffmpeg: 03Andrey Utkin 07master * re7f0bc8c0f 10ffmpeg/libavfilter/vf_drawtext.c:
[02:03] <CIA-40> ffmpeg: drawtext: add missing braces around an if() block.
[02:03] <CIA-40> ffmpeg: Prevents uninitialized read.
[02:03] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:03] <CIA-40> ffmpeg: 03Andrey Utkin 07master * r2b43dfce36 10ffmpeg/libavfilter/vf_drawtext.c:
[02:03] <CIA-40> ffmpeg: drawtext: fix text_{w, h} expression vars
[02:03] <CIA-40> ffmpeg: Before, {text_,}{w,h} vars hadn't got initialized
[02:03] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:03] <CIA-40> ffmpeg: 03Andrey Utkin 07master * re496c45d9b 10ffmpeg/ (doc/filters.texi libavfilter/vf_drawtext.c): (log message trimmed)
[02:03] <CIA-40> ffmpeg: drawtext: add 'fix_bounds' option on coords fixing
[02:03] <CIA-40> ffmpeg: Before, drawtext filter deliberately altered given text coordinates if
[02:03] <CIA-40> ffmpeg: text didn't fully fit on the picture. This breaks the use case of
[02:03] <CIA-40> ffmpeg: scrolling large text, e.g. movie closing credits.
[02:03] <CIA-40> ffmpeg: Add 'fix_bounds', to make it usable in such cases (by setting its value to 0).
[02:03] <CIA-40> ffmpeg: Default behavior is not changed, and non-fitting text coords are fixed.
[02:03] <CIA-40> ffmpeg: 03Paul B Mahol 07master * rd73466f841 10ffmpeg/libavcodec/v210enc.c:
[02:03] <CIA-40> ffmpeg: v210enc: check for coded_frame allocation failure
[02:03] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[02:03] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:03] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r66fa2a1fb3 10ffmpeg/libavcodec/v210enc.c:
[02:03] <CIA-40> ffmpeg: v210enc: do not set coded_frame->key_frame
[02:03] <CIA-40> ffmpeg: It is already set in avcodec_alloc_frame().
[02:03] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[02:03] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:03] <CIA-40> ffmpeg: 03Justin Ruggles 07master * r1bc035bc03 10ffmpeg/libavformat/ape.c: ape: return error if seeking to the current packet fails in ape_read_packet()
[02:03] <CIA-40> ffmpeg: 03Paul B Mahol 07master * rb5f50da593 10ffmpeg/libavcodec/v210enc.c:
[02:03] <CIA-40> ffmpeg: v210enc: return proper AVERROR codes instead of -1
[02:04] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[02:04] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:04] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r986c1c483b 10ffmpeg/libavcodec/v210enc.c:
[02:04] <CIA-40> ffmpeg: v210enc: use stride as it is already calculated
[02:04] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[02:04] <CIA-40> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:04] <CIA-40> ffmpeg: 03Justin Ruggles 07master * r66f7be3603 10ffmpeg/libavformat/ape.c: ape: return AVERROR_EOF instead of AVERROR(EIO) when demuxing is finished
[02:04] <CIA-40> ffmpeg: 03Kieran Kunhya 07master * r9814974d2e 10ffmpeg/libavcodec/avcodec.h:
[02:04] <CIA-40> ffmpeg: avcodec: Clarify AVFrame member documentation.
[02:04] <CIA-40> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[02:04] <CIA-40> (36 lines omitted)
[06:09] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r0b717e24f9 10ffmpeg/ffserver.c:
[06:09] <CIA-40> ffmpeg: ffserver: use avcodec_get_context_defaults3()
[06:09] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[06:09] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[09:40] <ubitux> who is Jeremy? (fate i386-darwin-llvm-gcc-4.2.1)
[13:56] <Granjow> Hello! How can I ensure that video is encoded with best quality? I have difficulties setting the bit rate ... when I set the AVCodecContext::bit_rate to 4M, the video quality is fine first but very blocky after a few seconds. With 400000000 it complains: [mpeg4 @ 0xfc73a0] bitrate tolerance too small for bitrate
[15:53] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r0349d61eef 10ffmpeg/libavfilter/vf_aspect.c:
[15:53] <CIA-40> ffmpeg: lavfi/aspect: rename field aspect->aspect to aspect->ratio
[15:53] <CIA-40> ffmpeg: The new name is more sensible.
[15:53] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * rd21b82fd3a 10ffmpeg/libavcodec/pcm.c:
[15:53] <CIA-40> ffmpeg: lavc: provide aliases to the PCM A-law/mu-law codecs
[15:53] <CIA-40> ffmpeg: They are also known as G.711 codecs.
[17:33] <Compn> Daemon404 : diego asks why you arent maintaining the postproc switch changes that need to be done in mplayer now :P
[17:40] <Compn> Daemon404 : oh wait, hes looking at lavfi , nevermind
[17:40] <Compn> i'm mistaking things for different things
[17:40] Action: Compn blind
[17:40] <j-b> Daemon404: ping
[18:28] <CIA-40> ffmpeg: 03Carl Eugen Hoyos 07master * rbf5c0308f2 10ffmpeg/libavcodec/libutvideo.cpp:
[18:28] <CIA-40> ffmpeg: Fix libutvideo compilation.
[18:28] <CIA-40> ffmpeg: Fixes ticket #985.
[19:05] <Daemon404> j-b: mcrap i totally forgot. been buating my ass getting ready to go to UK
[19:06] <Daemon404> busting*
[19:12] <durandal_1707> Daemon404: have you wrote libutvideoenc?
[19:16] <Daemon404> i have in a rough form
[19:17] <Daemon404> it only supports yv12 atm
[19:17] <Daemon404> i wrote it in oct and just sorta... forgot
[19:18] Action: Daemon404 seems to have severe lack of time...
[19:18] <Daemon404> of only i could give up sleep like michealni ;)
[19:18] <Daemon404> if*
[19:20] Action: Daemon404 is tired all the time...
[19:22] <durandal_1707> looking at decoder it shouldn't be hard
[19:23] <Daemon404> it isnt
[19:23] <Daemon404> i ca send you my thing from oct if u wanf
[19:23] <Daemon404> ... damn cellphone kb
[19:24] <durandal_1707> feel free to send whenever you can
[21:49] <j-b> https://trac.videolan.org/vlc/ticket/6000 security issue in libavcodec?
[22:14] <michaelni> j-b, cant reproduce a issue with valgrind ffmpeg seed/repro -f null -
[22:18] <ubitux> it plays pretty fine ;)
[22:20] <ubitux> michaelni: is there something bothering you about the 2nd patch? (lavfi polling simplification)
[22:20] <ubitux> i have a few more patches on top of this after that, if it is fine
[22:21] <michaelni> well , i know the code made some sense when it was written
[22:21] <michaelni> but i cant pinpoint a issue with the patch
[22:21] <michaelni> so maybe its ok maybe not
[22:21] <michaelni> fate passed with it though
[22:22] <ubitux> input_video_filter and output_video_filter are always "configured", what's bothering me though is the last line i drop
[22:22] <michaelni> dont count this as a objection to the patch ...
[22:22] <ubitux> (do we need to poll the frame before unref the buffer)
[22:22] <ubitux> i can wait more, i was just wondering why you avoided the patch :)
[22:22] <ubitux> if you have any idea what could go wrong
[22:23] <michaelni> i dont think we will find out before its applie d...
[22:23] <ubitux> haha
[22:23] <ubitux> well, i'm not fixing any bug, and i'm not adding any feature, so nothing urgent :)
[22:24] <ubitux> and overthinking might not be a bad idea at times :p
[22:25] <michaelni> well its costs time ...
[22:25] <michaelni> and if thats more time than (probability of bug) * (time to fix bug) then its a bad idea
[22:28] <ubitux> ok ok :)
[22:31] <CIA-40> ffmpeg: 03Joseph Artsimovich 07master * r950930b461 10ffmpeg/libavcodec/ (dnxhdenc.c options.c):
[22:31] <CIA-40> ffmpeg: Set default qmax for VC-3/DNxHD to 1024 (maximum allowed by VC-3 spec).
[22:31] <CIA-40> ffmpeg: Also increase the global limit on qmax.
[22:31] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:00] --- Wed Feb 8 2012
1
0
[00:29] <Freakshow> Gus: figured my issue out
[00:29] <Freakshow> -f rtsp -rtsp_transport tcp -muxdelay 0.1 "rtsp://server.blah.foo/path/to/stream.sdp"
[00:30] <Freakshow> sans auth obviously
[00:47] <slackyman> hi
[00:49] <slackyman> Gus, R U still here?
[00:51] <slackyman> anyone here can help me compiling rtmp in mingw32?
[00:55] <pasteeater> Zeranoe might be able to if he is around. </oblique ping>
[00:56] <slackyman> I can't get rid of some compile errors
[00:57] <slackyman> Zeranoe, R U here? :D
[00:59] <Zeranoe> slackyman: What are you running into?
[01:00] <slackyman> I'm on Fedora
[01:00] <slackyman> and setted up a good Mingw32 toolchain
[01:00] <slackyman> I just compiled ALL other libraries
[01:01] <slackyman> libxvid, vorbis, ogg, etc
[01:01] <slackyman> x264
[01:01] <slackyman> everything went really good
[01:01] <slackyman> and I can compile a really static ffmpeg build with static linked sdl support
[01:01] <slackyman> I compiled PolarSSL too
[01:02] <slackyman> but I cannot get rid of librtmp compiling errors
[01:02] <slackyman> i "gitted" rtmpdump
[01:02] <Zeranoe> slackyman: Are you using mingw, or mingw-w64?
[01:02] <slackyman> mingw32 not w64
[01:03] <slackyman> I'm on a 32 bit machine
[01:03] <slackyman> I modified the Makefile with no success
[01:03] <Zeranoe> slackyman: Keep in mind that I still recommend mingw-w64. are you cross compiling?
[01:04] <slackyman> yes, but I even tried directy through win
[01:04] <slackyman> with windows build of mingw
[01:04] <Zeranoe> slackyman: what errors are you getting?
[01:05] <slackyman> ok
[01:06] <slackyman> first of all, my command is
[01:06] <slackyman> mingw32-make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" VERSION="2.4"
[01:08] <slackyman> http://pastebin.com/ghzKLNad
[01:08] <Synthead> so guys, I have six files, video1.avi, video1.mp3, video2.avi, etc. how can I combine all these files into the audio and video tracks of one file?
[01:08] <slackyman> as you can see it uses gcc
[01:08] <slackyman> not i686-pc-mingw32-gcc
[01:08] <slackyman> even if I set CROSS_COMPILE environment
[01:09] <Zeranoe> slackyman: You are cross compiling?
[01:10] <slackyman> yes
[01:10] <slackyman> I'm on a Fedora
[01:10] <Zeranoe> you should just be calling make
[01:10] <slackyman> I even tried on a windows machine with mingw
[01:10] <slackyman> I should...
[01:11] <slackyman> but if I go in the Makefile I can see that SYS is set to POSIX
[01:11] <slackyman> so i changed to mingw
[01:11] <slackyman> and so on
[01:11] <slackyman> CRYPTO=POLARSSL
[01:12] <Zeranoe> whats your prefix?
[01:12] <slackyman> i686-pc-mingw32-
[01:12] <pasteeater> Synthead: do you want to concatenate the video and audio into one long video audio and stream?
[01:12] <slackyman> export CROSS_COMPILE=i686-pc-mingw32-
[01:13] <Zeranoe> slackyman: your install prefix, not toolchain
[01:13] <slackyman> so what I can do to cross-compile librtmp
[01:13] <slackyman> ?!?
[01:13] <slackyman> i even tried mingw32-make
[01:14] <Synthead> pasteeater: yeah, that's the idea. I should have read this first: http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f I think what I need to do is encode every pair with two "-i"s (for audio and video), then concat it into a large file, right?
[01:14] <Zeranoe> slackyman: are you sudo make installing? or did you set a prefix for your other packages?
[01:14] <slackyman> for other packages I set env variables
[01:14] <slackyman> then I unset them
[01:14] <Synthead> make installs are for package building tools for your package manager
[01:14] <slackyman> each one has is hack and trick
[01:14] <Synthead> you should avoid make installing right on your root fs at all costs
[01:15] <Zeranoe> are your other packages, eg x264, located in /usr/local?
[01:16] <slackyman> nope
[01:16] <slackyman> they're all in a specific location
[01:16] <slackyman> /opt/libs
[01:16] <slackyman> I've mkdir'ed
[01:16] <slackyman> I even did a script
[01:16] <slackyman> export CC=i686-pc-mingw32-gcc
[01:16] <slackyman> export CXX=i686-pc-mingw32-g++
[01:16] <slackyman> export CPP=i686-pc-mingw32-cpp
[01:16] <slackyman> export AR=i686-pc-mingw32-ar
[01:16] <slackyman> export RANLIB=i686-pc-mingw32-ranlib
[01:16] <slackyman> export ADD2LINE=i686-pc-mingw32-addr2line
[01:16] <slackyman> export AS=i686-pc-mingw32-as
[01:16] <slackyman> export LD=i686-pc-mingw32-ld
[01:17] <slackyman> export NM=i686-pc-mingw32-nm
[01:17] <slackyman> export STRIP=i686-pc-mingw32-strip
[01:17] <slackyman> export MAKE=/usr/bin/mingw32-make
[01:17] <slackyman> export PATH="/usr/i686-pc-mingw32/bin:$PATH"
[01:17] <slackyman> at the end of it I put
[01:17] <slackyman> exec $@
[01:17] <slackyman> so i can use it with other following commands
[01:17] <slackyman> it worked with every package with a Makefile and without a configure
[01:18] <slackyman> using mingw32-make
[01:18] <slackyman> since I didn't want my packages installed system-wide I installed in another dir
[01:18] <Zeranoe> /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32-gcc- SHARED=no
[01:19] <Zeranoe> try that
[01:19] <slackyman> /opt/libs
[01:19] <Zeranoe> if you need a prefix, add: prefix='/prefix/'
[01:19] <pasteeater> Synthead: what format is your video input? pastebin the output of
[01:19] <pasteeater> ffmpeg -i video1.avi
[01:20] <slackyman> it's f***ing working! >.<
[01:20] <slackyman> nope
[01:20] <slackyman> /usr/lib/gcc/i686-pc-mingw32/4.6.1/../../../../i686-pc-mingw32/bin/ld: cannot find -lpolarssl
[01:20] <slackyman> /usr/lib/gcc/i686-pc-mingw32/4.6.1/../../../../i686-pc-mingw32/bin/ld: cannot find -lz -static
[01:20] <slackyman> I know why, no prob
[01:21] <slackyman> i have to use CFLAGS and LDFLAGS
[01:21] <slackyman> to say to the compiler where are these packages
[01:21] <Zeranoe> slackyman: hang on
[01:21] <Zeranoe> is your include dir in /opt/libs/include ?
[01:22] <slackyman> no, CFLAGS='-I/opt/libs/include"
[01:22] <Synthead> pasteeater: http://pastebin.com/tCfuRNSB
[01:22] <slackyman> and LDFLAGS='-L/opt/libs/lib'
[01:24] <Zeranoe> /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32-gcc- SHARED=no CRYPTO=POLARSSL INC='-I/opt/libs/include' XLDFLAGS='-L/opt/libs/lib'
[01:24] <Zeranoe> try that
[01:24] <slackyman> in this case I have to specify
[01:25] <slackyman> cannot find -lz -static
[01:26] <Synthead> can h.264 mp4 files be concatenated?
[01:26] <slackyman> now it can find polarssl but not lz
[01:26] <slackyman> i can fix easily
[01:27] <slackyman> zlib is in /usr/i686-pc-mingw32/sys-root/mingw/include/
[01:27] <slackyman> and /usr/i686-pc-mingw32/sys-root/mingw/lib
[01:28] <slackyman> I used
[01:29] <slackyman> /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32- SHARED=no CRYPTO=POLARSSL INC='-I/opt/libs/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/' XLDFLAGS='-L/opt/libs/lib -L/usr/i686-pc-mingw32/sys-root/mingw/lib'
[01:29] <slackyman> but still it cannot find -lz
[01:29] <pasteeater> Synthead: haven't seen one of those in the wild for a while
[01:29] <pasteeater> microsoft video-1
[01:29] <slackyman> maybe I have to instruct compiler about the pkgconfig path?
[01:29] <Synthead> pasteeater: yeah, came from a crappy proprietary video editing program
[01:29] <Synthead> forced to use it
[01:29] <Synthead> the files are 1-2 GB in size :p
[01:30] <slackyman> Zeranoe: are U still Here? :D
[01:31] <Zeranoe> slackyman: what is the output of: find '/usr/i686-pc-mingw32/sys-root/mingw/lib' -name 'libz.a'
[01:31] <slackyman> /usr/i686-pc-mingw32/sys-root/mingw/lib/
[01:31] <slackyman> and the include files
[01:31] <slackyman> /usr/i686-pc-mingw32/sys-root/mingw/include
[01:32] <Zeranoe> slackyman: did it find it?
[01:32] <pasteeater> Synthead: are all of the videos of the same parameters? frame size, rate, etc.
[01:32] <slackyman> yes
[01:33] <slackyman> Zeranoe: the path is /usr/i686-pc-mingw32/sys-root/mingw/lib/libz.a
[01:33] <Synthead> pasteeater: yeah
[01:33] <slackyman> there it is!
[01:34] <slackyman> maybe I can copy in /opt/libs
[01:34] <pasteeater> Synthead: what final output format(s) do you want?
[01:34] <Synthead> pasteeater: h264 would be nice. I'm looking for something I can throw up on a website and expect computer-illiterate people to play it. is that a good option?
[01:35] <slackyman> Zeranoe: I have another copy of zlib.a in /opt/libs/lib since this is the one I compiled by myself
[01:35] <Zeranoe> slackyman: run: /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32- SHARED=no CRYPTO=POLARSS clean && /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32- SHARED=no CRYPTO=POLARSSL INC='-I/opt/libs/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/' XLDFLAGS='-L/opt/libs/lib -L/usr/i686-pc-mingw32/sys-root/mingw/lib'
[01:36] <slackyman> /usr/lib/gcc/i686-pc-mingw32/4.6.1/../../../../i686-pc-mingw32/bin/ld: cannot find -lz -static
[01:36] <slackyman> it's really strange
[01:37] <slackyman> since it HAVE to find zlib EVEN in /opt/libs
[01:37] <Zeranoe> slackyman: copy the whole output after you run that, and copy all the content to pastebin
[01:37] <slackyman> I compiled zlib in there
[01:37] <slackyman> ok
[01:39] <slackyman> Zeranoe: http://pastebin.com/h3wCSd5s
[01:40] <Ginks> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/pimplicious.com/htdocs/data/watermark.png, scale=-1:720 [watermark]; [in][watermark] overlay=10:10 [out]" -f mp4 scaled.mp4
[01:40] <Ginks> Any idea why that gives me the following:
[01:40] <Ginks> [overlay @ 0x1d1cfc20] Overlay area (10,10)<->(2224,730) not within the main area (0,0)<->(320,240) or zero-sized
[01:42] <slackyman> ok
[01:42] <slackyman> I fixed
[01:42] <slackyman> it was my fault
[01:42] <Zeranoe> slackyman: Try: /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32- SHARED=no CRYPTO=POLARSS clean && /usr/bin/make SYS=mingw CROSS_COMPILE=i686-pc-mingw32- SHARED=no CRYPTO=POLARSSL INC="-I/opt/libs/include -I/usr/i686-pc-mingw32/sys-root/mingw/include/" XLDFLAGS="-L/opt/libs/lib -L/usr/i686-pc-mingw32/sys-root/mingw/lib"
[01:43] <slackyman> Zeranoe: I succeded
[01:43] <slackyman> Zeranoe: how can I specify the DESTDR for install?
[01:43] <Zeranoe> prefix="/preifix/"
[01:44] <Zeranoe> slackyman: it was because you edited the makefile right?
[01:44] <slackyman> ok, thanks
[01:44] <slackyman> yep :P
[01:44] <slackyman> sorry
[01:45] <slackyman> I hope it will works
[01:45] <slackyman> my configure for ffmpeg is:
[01:45] <slackyman> ./configure --target-os=mingw32 \
[01:45] <slackyman> --cross-prefix=i686-pc-mingw32- \
[01:45] <slackyman> --arch=x86 --enable-memalign-hack \
[01:45] <slackyman> --enable-gpl --enable-version3 \
[01:45] <slackyman> --enable-avisynth \
[01:45] <slackyman> --enable-runtime-cpudetect \
[01:45] <slackyman> --enable-libvorbis \
[01:45] <slackyman> --enable-static --disable-shared \
[01:46] <slackyman> --enable-libmp3lame --enable-libopencore-amrnb \
[01:46] <slackyman> --enable-libopencore-amrwb \
[01:46] <slackyman> --enable-swscale \
[01:46] <slackyman> --enable-bzlib \
[01:46] <slackyman> --enable-libvpx --enable-libvo-aacenc \
[01:46] <slackyman> --postproc-version='current' \
[01:46] <slackyman> --enable-hwaccels --enable-frei0r \
[01:46] <slackyman> --enable-libopenjpeg --enable-libxvid --enable-libtheora \
[01:46] <slackyman> --enable-libx264 --enable-libfreetype --enable-libspeex \
[01:46] <slackyman> --enable-libgsm --enable-libxavs --enable-zlib --disable-w32threads \
[01:46] <slackyman> --enable-filter=frei0r
[01:46] <slackyman> as you can see I cross-compiled all that libs
[01:46] <pasteeater> Synthead: use pastebin for multiple line pastes
[01:46] <slackyman> and it was NOT so easy
[01:46] <pasteeater> oops....slackyman
[01:46] <slackyman> sorry
[01:46] <Synthead> hahaha
[01:46] <pasteeater> Synthead: maybe try something like http://pastebin.com/MbRXA128
[01:46] <Freakshow> yeah that hurt
[01:47] <Synthead> whooooooo's a critiquing my lines?!
[01:47] <Zeranoe> slackyman: get rid of --enable-memalign-hack, no need for --disable-shared
[01:47] <slackyman> ok
[01:48] <Zeranoe> other than that, looks good
[01:48] <slackyman> I have not to disable-shared?
[01:49] <Zeranoe> slackyman: ffmpeg builds statically by default
[01:49] <slackyman> ok
[01:49] <slackyman> but I need --enable-static, right?
[01:49] <Zeranoe> slackyman: no, static is the default
[01:50] <slackyman> ok
[01:50] <slackyman> do you know which was the greatest trouble?
[01:50] <slackyman> link to sdl statically
[01:50] <slackyman> :D
[01:50] <pasteeater> Synthead: and there is a typo in my paste: s/video.mp3/video.mp4/
[01:50] <slackyman> ffmpeg on windows was keeping asking for SDL.dll
[01:51] <slackyman> ok,. I have to go
[01:52] <slackyman> it's late night in Italy
[01:52] <slackyman> :D
[01:52] <slackyman> thanks and bye
[02:09] <Synthead> pasteeater: Unrecognized option 'c:v'
[02:15] <pasteeater> Synthead: your ffmpeg must be old
[02:15] <pasteeater> pastebin complete consol output
[02:15] <pasteeater> try -vcodec
[02:15] <Synthead> pasteeater: yeah, I think vcodec and vpre works, but now I'm having x264 encoder issues
[02:16] <pasteeater> what issues?
[02:16] <pasteeater> you will also have to change -q:a to -aq
[02:17] <pasteeater> actually, i don't remember if your version even has concat protocol
[02:17] <Synthead> pasteeater: omg, I think I love h264
[02:17] <Synthead> I cannot believe how fast and small this video is encoding to
[02:18] <pasteeater> msvideo1 is 20 years old
[02:29] <SIFTU> can anyone help guide me to join multiple (i.e 200+ mpg2) files togther. when I join them I the audio gets out of sync somewhere
[02:47] <Synthead> pasteeater: it looks like it's working great! why the qt-faststart line in the pastebin you posted?
[02:49] <Synthead> oooh, wait, I get it
[02:51] <Synthead> pasteeater: I can't seem to get libfaac to work, and aac sounds really bad. is there another option I can use?
[02:52] <slackyman> Zeranoe: still here?
[02:52] <slackyman> maybe it's too late
[02:53] <slackyman> i installed librtmp in /opt/libs
[02:53] <pasteeater> Synthead: qt-faststart will allow the video to start playing before it's done downloading. for example in a flash player.
[02:53] <slackyman> I kept the same configure
[02:53] <slackyman> and now ...
[02:54] <slackyman> ERROR: librtmp not found
[02:54] <pasteeater> Synthead: ffmpeg package in ubuntu repo doesn't have libfaac enabled.
[02:54] <pasteeater> Synthead: http://ubuntuforums.org/showthread.php?t=1117283
[02:54] <pasteeater> option a or option c
[02:58] <Zeranoe> slackyman: You need to edit the pkg-config
[02:58] <slackyman> I edited
[02:59] <slackyman> prefix=/opt/libs
[02:59] <slackyman> right?
[02:59] <Zeranoe> no, the private packages
[03:00] <slackyman> yes
[03:00] <slackyman> right
[03:00] <slackyman> maybe I have to add -lpolarssl
[03:00] <Zeranoe> ffmpeg doesnt support private libs, you need to copy them all into libs
[03:00] <slackyman> or what?
[03:00] <slackyman> ok
[03:02] <slackyman> so I have to copy lws2_32 lwinmm and lgdi32?!?
[03:03] <Zeranoe> slackyman: copy your pkg-config into pastebin, ill show you what i mean
[03:04] <slackyman> I have TWO pkgconfig
[03:04] <slackyman> that's the point
[03:04] <slackyman> ok
[03:04] <slackyman> one in /opt/libs/lib/pkgconfig
[03:04] <slackyman> and another in /opt/libs/usr/i686-pc-mingw32/mingw/lib/pkgconfig
[03:05] <slackyman> no, sorry
[03:05] <slackyman> /usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
[03:05] <slackyman> what if I export PKG_CONFIG_PATH?!?
[03:06] <slackyman> [root@fedora ffmpeg]# echo $PKG_CONFIG_PATH
[03:06] <slackyman> /opt/libs/lib/pkgconfig:/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
[03:06] <Zeranoe> slackyman: you may need to export two, PKG_CONFIG_PATH='/prefix1/:/prefix2'
[03:07] <slackyman> it's what I did
[03:07] <slackyman> but it seems to be malfunctioning :D
[03:08] <Zeranoe> slackyman: copy the pkg-config file for rtmpdump
[03:09] <slackyman> where?
[03:09] <slackyman> sorry, can you be more specific? O.o
[03:11] <slackyman> Zeranoe: where I have to copy it?
[03:12] <Zeranoe> slackyman: copy and paste to pastebin the output of: cat '/opt/libs/lib/pkgconfig/librtmp.pc'
[03:14] <slackyman> http://pastebin.com/R783Qcgn
[03:17] <Zeranoe> slackyman: change it to this: http://pastebin.com/duF9qd44 i can script it for you if your confused
[03:18] <slackyman> ok
[03:19] <slackyman> I don't have to add anything to --extra-libs?
[03:19] <Zeranoe> slackyman: you can avoid it by hacking thepkgconfig file like that
[03:21] <slackyman> librtmp not found
[03:21] <slackyman> do you want to see my configure?
[03:21] <slackyman> i pastebin
[03:22] <slackyman> http://pastebin.com/N87xVzKP
[03:22] <slackyman> see and check it, please
[03:22] <Zeranoe> slackyman: copy the config.log
[03:24] <slackyman> it's huge
[03:24] <slackyman> I copy just the interesting lines
[03:26] <slackyman> http://pastebin.com/PUq5ya51
[03:27] <Zeranoe> slackyman: grep -ir '_mpi_init' '/opt/libs/lib'
[03:28] <slackyman> Binary file /opt/libs/lib/librtmp.a matches
[03:28] <slackyman> Binary file /opt/libs/lib/libpolarssl.a matches
[03:29] <slackyman> I have to add polarssl
[03:29] <Zeranoe> --extra-libs='-lfreetype -lx264 -lspeex -lxavs -L/opt/libs/lib -lmingw32 -lSDLmain -lSDL -liconv -lm -luser32 -lgdi32 -lwinmm -lpolarssl'
[03:31] <slackyman> I'll check
[03:31] <slackyman> wait a minute
[03:32] <slackyman> librtmp not found
[03:32] <slackyman> and i check the log
[03:32] <slackyman> now it's different
[03:33] <slackyman> http://pastebin.com/Y6fVrahA
[03:34] <Zeranoe> slackyman: grep -ir '_WSAStartup@8' '/opt/libs/lib'
[03:34] <slackyman> I was just checking
[03:34] <slackyman> Binary file /opt/libs/lib/libpolarssl.a matches
[03:35] <slackyman> uhmmm
[03:38] <Zeranoe> slackyman: that might be why i switched back to openssl
[03:38] <slackyman> you was able to use openssl with rtmp?!?
[03:39] <slackyman> ok,
[03:39] <slackyman> I think this will be a tomorrow problem
[03:39] <slackyman> it's really too late
[03:39] <slackyman> for me it's 3:40 am
[03:39] <slackyman> :D
[03:40] <slackyman> thanks anyway, I understand much more, now
[03:40] <slackyman> bye
[03:40] <slackyman> maybe I'll be back tomorrow
[03:40] <slackyman> Cya
[04:00] <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
[04:01] <Ginks> I run that, and I get:
[04:01] <Ginks> Too many inputs specified for the "movie" filter.
[04:02] <sdz> anyone happen to know command line options to simply display the info (resolution, bitrate, etc) of a video file to stdout then exit... missed it after several passes scanning through the man page
[08:36] <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
[08:36] <Ginks> I run that, and I get:
[08:36] <Ginks> Too many inputs specified for the "movie" filter.
[11:02] <grepper> Ginks: seems that the scale= creates another input, not sure what the correct syntax is though for a one-liner
[11:03] <TimNich> SO why is it when doing lib x264 encodes, ffmpeg automatically generates a sensible number of subthreads, but nices them up to 10, but it doesn't for other codecs, say dvvideo?
[11:06] <grepper> Ginks: what happens when you put the scale= AFTER the movie=...watermark.png ?
[11:17] <Ginks> grepper, I don't remember now
[11:17] <Ginks> I'll give it a ago again
[11:19] <grepper> seems you want to scale the movie BEFORE adding the watermark ?
[11:20] <Ginks> yes
[11:20] <grepper> hm, not sure what I said would work then ...
[11:20] <Ginks> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/pimplicious.com/htdocs/data/watermark.png [watermark]; [in][watermark] overlay=10:10 [out],scale=-1:720" -f mp4 scaled.mp4
[11:21] <Ginks> Errors with: Not enough inputs specified for the "scale" filter.
[11:22] <grepper> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/pimplicious.com/htdocs/data/watermark.png,scale=-1:720 [watermark] ...
[11:22] <grepper> that works I think, just not sure if it is accomplishing what you want now
[11:24] <Ginks> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/pimplicious.com/htdocs/data/watermark.png,scale=-1:720 [watermark]; [in][watermark] overlay=10:10 [out]" -f mp4 scaled.mp4
[11:25] <Ginks> [overlay @ 0xe461c20] Overlay area (10,10)<->(2224,730) not within the main area (0,0)<->(320,240) or zero-sized
[11:26] <grepper> guess cause its not scaling 1st
[11:26] <Ginks> yah, that's what I thought too
[11:27] <grepper> dunno. Workaround would be to scale it, then output as YUV to the second ffmpeg command. Kind of a cop out though :)
[11:27] <Ginks> it should scale first anyways, otherwise the watermark will be distorted
[11:27] <ioni> hey guys
[11:27] <ioni> i have a minor problem with ffmpeg and i cannot get it to work
[11:27] <grepper> might want to wait till a dev or more experienced person is around, I tend to play with these till I get it right without really understanding the rules
[11:28] <ioni> symbol lookup error: /usr/lib/libavdevice.so.53: undefined symbol: _XGetRequest
[11:28] <ioni> i think is because of zlib 1.2.6 but i'm not sure
[11:28] <ioni> works if i use master snapshot
[11:28] <Ginks> grepper, yah, that's pretty much what I've been trying
[11:28] <ioni> does somebody know the commit that might fix this?
[11:30] <ioni> i don't really want to get a snapshot from master since it had soname bumps
[11:37] <ioni> nvm
[11:37] <ioni> i built against a libx11 that is not available
[11:56] <slackyman> Hi
[11:57] <slackyman> is there any1 here?
[11:57] <slackyman> :)
[11:59] <slackyman> How can I avoid that the configuration appear in ffmpeg?
[12:00] <slackyman> I mean: I want to avoid that configuration is shown launching ffmpeg
[12:26] <dTal> Is there a simple way to shift the color planes of all the frames in a movie by a given amount, for example to compensate for improper alignment?
[12:30] <slackyman> dTal: maybe using filter
[12:30] <slackyman> but I don't know which one
[12:31] <slackyman> http://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide
[12:33] <alex1442> Hello1What ffmpeg supports amr?
[12:34] <alex1442> my apt-get ffmpen no support amr
[12:34] <slackyman> are you using Ubuntu?
[12:36] <alex1442> 11.04
[12:37] <alex1442> ubuntu natty
[12:37] <slackyman> https://help.ubuntu.com/community/FFmpeg?action=show&redirect=FFMpeg
[12:37] <slackyman> I don't know if this is up-to-date
[12:37] <slackyman> but you have to apt-get install other packages
[12:38] <alex1442> BCB @CA:>O7KG=K5 ;N48 5ABL?
[12:39] <slackyman> ?!?
[12:39] <slackyman> I can only see cyrillic :D
[12:40] <slackyman> I don't know if here are russian people
[12:41] <slackyman> alex1442: maybe
[12:41] <slackyman> sudo apt-get install libavcodec-extra-52 libavdevice-extra-52 libavfilter-extra-0 libavformat-extra-52 libavutil-extra-49 libpostproc-extra-51 libswscale-extra-0
[12:42] <alex1442> Thanks will try
[12:42] <slackyman> or maybe
[12:42] <slackyman> apt-get update
[12:42] <slackyman> apt-cache search codec
[12:42] <slackyman> and see what you got
[12:43] <slackyman> i solved my issue :)
[12:43] <slackyman> bye everyone
[12:44] <alex1442> =)
[12:46] <alex1442> yes i'm from russia sry my englich
[13:14] <PoWeRKiLL> Hi
[13:52] <PoWeRKiLL> When I read an Apple HLS Stream with ffmpeg 0.10 after some minute I got an error
[14:29] <sacarlson> is there a way to decode this cctv file that has 8 videos incoded in h.264 with ffmpeg ? I just want them decoded into mpeg or something I can see in ubuntu
[14:34] <sacarasc> You should be able to watch H264 in Ubuntu.
[14:34] <sacarasc> (And H264 is an MPEG.)
[14:37] <iive> sacarasc: compile mplayer on your own and try to play them with ffplay
[14:38] <iive> oops mplayer/ffmpeg
[14:38] <sacarasc> Will do!
[14:38] <iive> sacarlson:
[14:38] <iive> you too
[14:38] <sacarasc> Curse these sacar* nicks!
[14:38] <iive> blah
[14:39] <sacarlson> iive I tired mplayer it does play something but it seems to multiplex between each of the 8 cams in the cctv system when viewed
[14:40] <sacarlson> it's mcv version of H264
[14:40] <iive> sacarlson: that's probably how it is encoded. I hope by multiplex you mean that the image is separated on 8 zones
[14:40] <sacarlson> yes 8 separate cams some how in one stream
[14:41] <iive> i don't think that is mvc, it is a little bit more complicated than that, and afaik supports only 3d stereo.
[14:42] <iive> sacarlson: well that's usually how multiplexing is done, even on analog cameras.
[14:43] <sacarlson> iive so how do I split the stream into 8 separate mpeg that I can view ?
[14:43] <iive> reencode it 8 times, using different -vf crop ?
[14:44] <iive> ffmpeg probably can do it at one run, as it allows multi path filter graph
[14:44] <iive> but don't ask me what the syntax is.
[14:48] <sacarlson> I just tried this ffplay -f h264 07022012170718.264 with many errors
[14:48] <sacarlson> didn't see any image that looked like anything
[15:10] <iive> sacarlson: is the -f really needed?
[15:10] <sacarlson> iive: I don't know I just got it from another link about h264
[15:11] <sacarlson> same error [h264 @ 0x9763320]pps_id out of range
[15:11] <sacarlson> [h264 @ 0x9763320]decode_slice_header error
[15:14] <sacarlson> the file comes from a hi-view H.264 DVR when I get the file downloaded with a browser
[15:19] <sacarlson> I found the file is meant to be played (viewed) with the windows program r6viewer.exe
[15:20] <iive> sacarlson: you said you were able to play it with mplayer, do you mean wmp or linux program?
[15:21] <iive> -f h264 is probably saying to ffmpeg that the file is elementary stream, but in that case the metadata of the real container could interfere with the demuxing.
[15:25] <Bermaw> hi all
[15:28] <Bermaw> Just wondering: I want to recieve several network streams and display them synchronously. However, the PTS time field is not really sufficient for this I suppose.
[15:30] <Bermaw> Any suggestions on how to get the pts field to use unix timestamps? I also came across AVFormatContext::start_time_realtime. Is that of any use?
[15:31] <Mavrik> unix timestamps?
[15:32] <Mavrik> if you manage to play video with 1ms granularity you can
[15:32] <Mavrik> you just have to set timebases correctly... it's probably not such a good idea though
[15:40] <Bermaw> Mavrik: doesn't have to be unix timestamp, that's just easy to agree on. 1ms granularity is not the actual goal either. The video sources just won't be started at the same time, so I do need some way to synchronise it
[15:40] <Mavrik> hmm, that's an interesting problem, I think you'll have to do it externally via some service
[15:44] <Bermaw> Mavrik: can't I use avpriv_set_pts_info for this? (http://ffmpeg.org/doxygen/trunk/libavformat_2internal_8h.html#ab5542950d6be…)
[15:45] <Mavrik> Bermaw, that looks like a private API and you have no guarantee containers/encoders will use it
[15:45] <Mavrik> not to mention the problems you'll have with PTS wrapping etc.
[15:46] <CommaCrazy> Hey all, I'm trying to conver an image JPEG (.jpg) into a video format MVI (.mvi) using ffmpeg and I always get "Requested output format 'mvi' is not a suitable output format:
[15:46] <Mavrik> what's a mvi?
[15:47] <Mavrik> CommaCrazy, it seems ffmpeg does not have a MVI muxer
[15:48] <CommaCrazy> so wait it saiz that it has support for it but it can't do the conversion??
[15:48] <Mavrik> it has a demuxer, not a muxer
[15:48] <Mavrik> - you can decode it but not encode it.
[15:49] <CommaCrazy> ah ok ty :)
[15:49] <CommaCrazy> c yaz
[16:11] <Bermaw> Mavrik: could this be what I am looking for ? http://ffmpeg.org/doxygen/trunk/structAVFormatContext.html#a5ddb5cee1df28f2…
[16:12] <Bermaw> The ffmpeg documentation is not always that clear :)
[16:39] <Holden> Hello, I recorded a short video using "-f x11grab -vcodec copy", is there a way to see it with ffplay? http://paste.ubuntu.com/832715/
[16:48] <Mavrik> Holden, yick, Matroska doesn't support rawvideo, that's why it complains
[16:49] <kyr> hi guys, a certain x264 flag (directpred) won't work for me - I'm saving a mms webcam stream into a 3gp file. Does anyone know the problem? http://pastebin.com/k9EnjEmF
[16:50] <Holden> Mavrik, I'm pretty sure it used to work...
[16:50] <Holden> Mavrik, do you know of a format that supports rawvideo?
[16:51] <Mavrik> hmm
[16:51] <Mavrik> Holden, you can try putting -vodec rawvideo before the -i spec in ffmpeg/ffplay if it'll work
[16:52] <Mavrik> Holden, and for output it seems people just recommend dumping video in raw form with -f rawvideo
[16:52] <Mavrik> (I never did that though)
[16:57] <Holden> Mavrik, okay thanks, now I'm curious and I'll compile and older version, maybe I'm remembering wrong...
[17:21] <Holden> Mavrik, hmm, yes, it works with 0.8.10 http://paste.ubuntu.com/832785/
[17:40] <kyr> ok i got it working (install x264 wrong) but now it's not grabbing the stream at all
[17:41] <kyr> aaand wrong version. sorry, installing it on a vps
[17:44] <kyr> fml
[17:56] <wl2776> Hi all! Is it possible to remux raw h264 to MKV without re-encoding *and* specify PTS for every frame
[17:58] <slackyman> hi
[17:59] <wl2776> I have a separate file, containing timestamps, I can convert it to any format... Is it possible then to use them with command line ffmpeg?
[18:10] <sacarlson> I still haven't found a method to decode this h264 file from a cctv stand alone unit that files can be viewed in a program called r6viewer.exe for windows. I just want one of the 8 streams encoded in the file in an avi or other format to be viewe or broadcast
[18:10] <sacarlson> I normaly run ubuntu but if there is a windows alternative I'll try it
[18:14] <sacarlson> I see many different vendors of these cctv servalance systems all use this r6viewer.exe and I can't even find the software vendor that wrote it
[18:32] <mgeary> why would this give me no video output? http://dpaste.com/699090/
[18:32] <mgeary> ffmpeg -i input.mov -ac 1 -ar 22050 -vf scale=546:-1 out.flv
[18:33] <mgeary> hmm. it says it has a video track, but quicktime (perian) isn't showing anything. weird
[18:38] <slackyman> someone here is a C++ expert?
[19:07] <kelnoky> I used this "ffmpeg -i DSN_-_ST05_Epi_01_-_Eng-Dt.avi -map 0:v -map 0:1 DSN501.avi" to basically remove one of the two audio steams that the input had, but the result has *terrible* quality, what did I do wrong?
[19:08] <kelnoky> terrible video quality that is
[19:14] <kelnoky> I actually forgot to copy the video...
[19:14] <kelnoky> never mind me...
[19:20] <slackyman> I saw that error and log messages of ffmpeg are colored
[19:20] <slackyman> I'd like to reuse the code used to color messages in console
[19:20] <slackyman> where I can find it?
[19:20] <jermy> http://en.wikipedia.org/wiki/ANSI_escape_code
[19:20] <slackyman> I can't get past av_fprint_format
[19:21] <slackyman> jermy: yes, but it doesn't work in win console
[19:21] <slackyman> windows doesn't accept ANSI code
[19:22] <slackyman> ok, thanks
[19:22] <jermy> I see. Is there some stuff in liavutil/log.c specific to Windows?
[19:22] <jermy> #define set_color(x) SetConsoleTextAttribute(con, background | color[x])
[19:22] <jermy> for example
[19:23] <slackyman> thanks A LOT :D
[19:23] <jermy> you're welcome
[19:24] <kyr> hi again, I'm still getting "Unrecognized option 'directpred'" (though i fixed my other problem). can anyone tell me where did i mess up?
[19:34] <kyr> lol. my bad
[19:34] <kyr> learn something new every day i guess
[20:17] <matthiaskrgr> how do I loop/append the last frame of a video until it is of certain length?
[22:09] <amoeba> I have several terabytes of H246 MP4 video with 2 audio tracks. The 1st track contains a left and right channel. The left channel is one language. The right channel is a second language. The 2nd track is a third language in the left channel. What I need is to extract the left and right from track 1 as well as the left channel from track 2 and then save the 3 to separate tracks. is this Possible with FFMPEG?
[22:11] <amoeba> anyone know?
[22:53] <gils> @amoeba I don't know about ffmpeg, but you can split stereo to mono with sox using the "remix" option
[23:03] <mgeary> so, i've just compiled from source, using "configure --enable-libmp3lame --enable-gpl --enable-libx264", but it appears to be having problems with aac.
[23:04] <mgeary> http://dpaste.com/699210/
[23:11] <mgeary> any insights?
[23:11] <iive> mgeary: ffmpeg have its own aac encoder, that is slow and produces bad quality. that's why it is disabled by default and you have to enable it with -strict -2 option
[23:12] <mgeary> should i use mp3 instead?
[23:12] <iive> it is better if you use libfaac or ... forgot the name of the other encoder.
[23:12] <iive> for mp3 you would need libmp3lame
[23:13] <mgeary> iive: do i need to specify libfaac when compiling?
[23:13] <iive> mgeary: i think you do need to.
[23:25] <mgeary> hmm. so i'm using mp3 audio now, and it converted, but for some reason, my audio came out shifted 7 seconds. In other words, i have 7 seconds of black video, but with audio, and then no audio for the last 7 seconds of the video
[23:26] <mgeary> this is when playing back in Quicktime. Interestingly, ffmpeg says the output is 30.43 seconds, but Quicktime says it's 37.07
[23:30] <iive> the input.mov video says it starts -6.6 seconds ... that's about 7 seconds.
[23:30] <iive> can you try a newer version of ffmpeg. there must be 0.10 now too.
[23:32] <mgeary> well, i just barely did a "git pull" before compiling just now
[23:34] <iive> oh, i think i saw 0.9.1 version, so i assumed it is release
[23:34] <iive> sorry.
[23:35] <mgeary> well, it does say that
[23:35] <mgeary> is there a different git repo i should be using?
[23:36] <mgeary> is there a git equivalent to "svn info" ?
[23:37] <iive> `git status` maybe?
[23:37] <iive> it would at least tell you the current branch :)
[23:37] <tdr> mgeary, if you are looking for svn ffmpeg, there is a -9999 version in portage, but there's also a 0.10 release in portage too
[23:39] <mgeary> i'm pulling anew. Just using "git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg"
[23:39] <mgeary> will that get 0.10 ?
[23:50] <iive> mgeary: i hope so.
[00:00] --- Wed Feb 8 2012
1
0
[00:29] <CIA-40> ffmpeg: 03Paul B Mahol 07master * rb8d78175d2 10ffmpeg/libavcodec/ (v408dec.c v408enc.c): v408: do not unconditionally compile codecs
[00:32] <CIA-40> ffmpeg: 03Paul B Mahol 07master * ref511d8a35 10ffmpeg/Changelog: changelog: fix typo
[02:21] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r8d756c0d55 10ffmpeg/libavformat/mov.c:
[02:21] <CIA-40> ffmpeg: fix "warning: variable cflags set but not used"
[02:21] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:21] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * re81e0b9991 10ffmpeg/libavformat/cache.c:
[02:21] <CIA-40> ffmpeg: cache: fix "warning: passing argument 2 of av_tempfile from incompatible pointer type"
[02:21] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:21] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r6679271700 10ffmpeg/libavformat/avio.c:
[02:21] <CIA-40> ffmpeg: avio: Fix "warning: initialization from incompatible pointer type"
[02:21] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[04:27] <durandal_1707> michaelni: yet another interesting find: http://ffmpeg.org/pipermail/ffmpeg-devel/2010-August/081936.html <---- ADPCM IMA RSO decoder
[04:51] Action: funman stares at durandal_1707
[04:51] <funman> durandal_1707: the decoder has been committed i think
[04:51] <funman> encoder was refused because of lack of hardware to test
[04:52] <durandal_1707> really, that why rso demuxer can not play files with adcpm?
[04:52] <funman> possibly no one tested it since i wrote it
[04:52] <durandal_1707> av_log(s, AV_LOG_ERROR, "ADPCM in RSO not implemented\n");
[04:52] <funman> ah hmm
[04:53] <durandal_1707> and there is no ADPCM IMA RSO codec
[04:54] <funman> ah i did not re sent the decoder alone
[04:56] <funman> do you have legos?
[04:56] <durandal_1707> what, minecraft?
[04:57] <Compn> funman : just commit it , we'll worry about encoder when someone with lego tries it :P
[04:57] <Compn> no more code rotting! :P
[04:57] <durandal_1707> legos are multimedia, dunno if they are adpcm
[04:58] <durandal_1707> ^on
[04:58] <funman> Compn: OTOH no need for an encoder if no lego users use ffmpeg
[04:58] <durandal_1707> nah, they are pcm
[04:58] <funman> durandal_1707: hmm
[04:59] <durandal_1707> from what you wrote decoder?
[05:01] <funman> http://ffmpeg.org/pipermail/ffmpeg-devel/2010-July/089247.html mouarf
[05:01] <funman> durandal_1707: http://ffmpeg.org/pipermail/ffmpeg-devel/2010-July/089379.html maybe there are some samples
[05:02] <funman> http://bricxcc.sourceforge.net/utilities.html iirc some of them have samples in their source
[05:06] <funman> hmm attachments disappeared?
[05:07] <durandal_1707> well perhaps there is encoder which writes rso with adpcm?
[05:07] <durandal_1707> wav2rso
[05:10] <funman> yes
[05:10] <funman> it's pascal iirc
[05:14] <durandal_1707> stupid wine crashes
[05:19] <durandal_1707> lol, max accepted file is 64k
[05:20] <durandal_1707> and encoder have apparenly broken check for size
[05:20] <funman> yeah i think the legos have a very small memory
[05:29] <durandal_1707> lol, there is another wav2rso in perl for MAC
[05:30] <funman> too bad it's in perl!
[05:30] <durandal_1707> nah this is one encodes only uncompressed mono
[05:31] <durandal_1707> 44lines
[11:34] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r1ca0812d90 10ffmpeg/ffprobe.c: ffprobe: fix typo in ESCAPE_CHECK_SIZE
[11:34] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r70ffda3217 10ffmpeg/ (7 files in 4 dirs):
[11:34] <CIA-40> ffmpeg: lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
[11:34] <CIA-40> ffmpeg: Factorize code and provide ratio parsing consistency.
[11:35] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r3fa9ace3d8 10ffmpeg/doc/filters.texi:
[11:35] <CIA-40> ffmpeg: doc/filters.texi: merge setdar and setsar documentation
[11:35] <CIA-40> ffmpeg: Most of the documentation is common to both filters, and I'm going to add
[11:35] <CIA-40> ffmpeg: more shared docs. Factorize.
[11:35] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r23534d0c4c 10ffmpeg/doc/filters.texi: doc/filters.texi: prefer @example over the unsupported @math for showing equation
[11:35] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * r2cbe9121ac 10ffmpeg/doc/filters.texi: doc/filters.texi: use multiple @example blocks for distinct examples in setdar docs
[12:01] <vlad77> hi2all
[13:56] <t4k1s> hi vlad
[17:41] <ubitux> michaelni: s/wraper/wrapper/,s/wrapeer/wrapper/
[17:42] <ubitux> s/pringt/print/
[17:42] <ubitux> all of them in the commit message
[17:42] <Daemon404> perhaps git needs aspell gooks
[17:42] <Daemon404> go... hooks*o
[17:42] <Daemon404> racist typo >_> lovely
[17:42] <ubitux> editor spelling checker should trigger them
[17:43] <ubitux> if not using -m of course
[17:43] <Daemon404> does vim have a built-in spellchecker?
[17:43] <ubitux> yes
[17:43] <ubitux> :set spell
[17:43] <Daemon404> o ok
[17:43] <Daemon404> i only ever use vim for code so i dunno
[17:43] <ubitux> and :set spelllang=... if needed
[18:33] <michaelni> ubitux, typos fixed locally
[19:39] <ubitux> michaelni: could you comment the "#if 0" in the 2/3 bink patch saying something like "/* generate the hardcoded double precision table above */ or something?
[19:39] <ubitux> this will avoid it to be drop'd in a future "cleanup"
[20:47] <michaelni> ubitux, will do
[20:47] <ubitux> thank you :)
[20:48] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * re8a06b1486 10ffmpeg/libavformat/4xm.c: lavf/4xm: use proper error codes
[20:48] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * rb7d45d0b0f 10ffmpeg/ (6 files in 3 dirs): lavfi: add setfield filter
[20:48] <CIA-40> ffmpeg: 03Stefano Sabatini 07master * rf491f033f5 10ffmpeg/ (doc/ffmpeg.texi ffmpeg.c): ffmpeg: document the unit for the -fs option parameter
[21:25] <CIA-40> ffmpeg: 03Javier Cabezas 07master * rd4385299d3 10ffmpeg/libavcodec/dnxhddec.c:
[21:25] <CIA-40> ffmpeg: DNxHD: remove ff_thread_finish_setup, it isn't needed at all.
[21:25] <CIA-40> ffmpeg: Should fix issue #938
[21:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:25] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r6833fe4342 10ffmpeg/libavcodec/ffv1.c:
[21:25] <CIA-40> ffmpeg: ffv1: PIX_FMT_GRAY16 support
[21:25] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[21:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[22:04] <funman> durandal_1707: progress with LEGO ?
[22:04] <durandal_1707> funman: did I was tasked to do something?
[22:04] <funman> i thought you were working on it
[22:05] <durandal_1707> on what?
[22:08] <funman> on lego/rso
[22:08] <durandal_1707> decoder/encoder/files/...
[22:09] <CIA-40> ffmpeg: 03Reimar Döffinger 07master * r787528b4a6 10ffmpeg/libavformat/oggdec.c:
[22:09] <CIA-40> ffmpeg: Detect theora keyframes by content in Ogg demuxer.
[22:09] <CIA-40> ffmpeg: A lot of files do not mark keyframes correctly via
[22:09] <CIA-40> ffmpeg: granule, so detect keyframe or not based on data
[22:09] <CIA-40> ffmpeg: and complain if it mismatches.
[22:09] <CIA-40> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[22:09] <durandal_1707> no, i'm just working on wavpack muxer right now.
[22:10] <durandal_1707> and i do not plan to do anything with rso
[00:00] --- Tue Feb 7 2012
1
0
[02:18] <Anthony> I would like to make a high quality mp4 from an mkv file
[02:18] <Anthony> what kinda command should i use
[02:18] <Anthony> ?
[02:21] <Anthony> bcoudurier »
[02:21] <Anthony> supercurio »
[02:21] <Anthony> `md »
[02:21] <Anthony> iive »
[02:21] <Anthony> anyone
[02:23] <iive> Anthony: don't highlight people when you don't get answer
[02:23] <Anthony> ok
[02:23] <iive> especially when you ask question that google can also answer.
[02:24] <Anthony> i should be more specific sorry
[02:24] <Anthony> what should I put for -vpre
[02:25] <Anthony> i just want the max quality
[02:27] <Anthony> i came up with a command but not sure if it's the best
[02:27] <Anthony> ffmpeg -i input.mkv -s 1280x692 -r 24000/1001 -b 2M -bt 5M -vcodec libx264 -vpre max -acodec libfaac -ac 2 -ar 48000 -ab 192k output.mp4
[04:32] <pills> I have 4 videos I am trying to combine into a single video. This is easy enough to do using the video filter options. My problem is the input videos don't seem to decode properly (first frame is dropped). This seems to be due to how they were encoded wrt timecodes. I can fix this problem for a single video by adding the -vsync 0 option however when combined with the video filters only the first video seems to inherit the vsync option. Is
[04:32] <pills> there anyway around this (reencoding is fine and if so what would be the "right" way)? Thanks.
[05:11] <XiL> Was wondering if Debian GNU/Linux 3.1 supports Turbo Boost. cat /proc/cpuinfo is just a label afaik.
[05:11] <XiL> Got quite a lot of rendering to do
[05:14] <XiL> using a i7 2700k
[05:19] <drv> turbo boost doesn't really matter if you are doing multi-threaded encoding anyway
[05:19] <drv> since it only takes effect when only a single core is loaded
[05:22] <XiL> drv true but some parts of my script (grabs the source ffmpeg VLC and kdenlive with all the bells and whistles and compiles them to play nice) would be faster.
[05:23] <drv> i think it is automatically done by the CPU, but i don't know for sure
[05:24] <XiL> drv a lot of ppl say that is the case and others swear it not. At this point idk.
[05:24] <drv> well, you could always try it out and measure the cpu clock speed :)
[05:25] <XiL> time ffmpeg -i thing yeah true.
[06:44] <Perdignus> Hello - I'm converting some flac files to mp3 and it seems like the tag mapping is not working right
[06:44] <Perdignus> for instance, the TITLE tag from the flac file becomes the (260) --> ffmpeg -i 01\ -\ Here\ I\ Am\ \(Come\ And\ Take\ Me\).flac -y -ab 128k -ac 2 -ar 48000 /var/work/KidsMP3s/test.mp3 ffmpeg version N-37576-ge81e0b9 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 5 2012 22:48:40 with gcc 4.5.3
[06:44] <Perdignus> configuration: --enable-ffmpeg --mandir=/usr/share/man --enable-pthreads --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --enable-shared --cc=x86_64-pc-linux-gnu-gcc --enable-libfaac --enable-zlib --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --enable-libmp3lame --enable-libvo-aacenc --enable-l
[06:44] <Perdignus> libavutil 51. 37.100 / 51. 37.100
[06:44] <Perdignus> libavcodec 54. 1.100 / 54. 1.100
[06:44] <Perdignus> libavformat 54. 0.100 / 54. 0.100
[06:44] <Perdignus> libavdevice 53. 4.100 / 53. 4.100
[06:44] <Perdignus> libavfilter 2. 61.100 / 2. 61.100
[06:44] <Perdignus> libswscale 2. 1.100 / 2. 1.100
[06:44] <Perdignus> libswresample 0. 6.100 / 0. 6.100
[06:44] <Perdignus> libpostproc 52. 0.100 / 52. 0.100
[06:44] <Perdignus> [flac @ 0x1a7a320] max_analyze_duration 5000000 reached at 5015510
[06:44] <Perdignus> Input #0, flac, from '01 - Here I Am (Come And Take Me).flac': Metadata:
[06:45] <Perdignus> ALBUM : Labour Of Love II
[06:45] <Perdignus> ARTIST : UB40
[06:45] <Perdignus> GENRE : Reggae
[06:45] <Perdignus> TITLE : Here I Am (Come And Take Me)
[06:45] <Perdignus> track : 1
[06:45] <Perdignus> Duration: 00:04:00.18, bitrate: 823 kb/s
[06:45] <Perdignus> Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
[06:45] <Perdignus> Output #0, mp3, to '/var/work/KidsMP3s/test.mp3':
[06:45] <Perdignus> Metadata:
[06:45] <Perdignus> TALB : Labour Of Love II
[06:45] <Perdignus> TPE1 : UB40
[06:45] <Perdignus> TCON : Reggae
[06:45] <Perdignus> TIT2 : Here I Am (Come And Take Me)
[06:45] <Perdignus> TRCK : 1
[06:45] <Perdignus> TSSE : Lavf54.0.100
[06:45] <Perdignus> Stream #0:0: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
[06:45] <Perdignus> Stream mapping:
[06:45] <Perdignus> Stream #0:0 -> #0:0 (flac -> libmp3lame)
[06:45] <Perdignus> Press [q] to stop, [?] for help
[06:45] <Perdignus> size= 1397kB time=00:01:29.37 bitrate= 128.0kbits/s
[06:45] <Perdignus> video:0kB audio:1396kB global headers:0kB muxing overhead 0.037342%
[06:45] <Perdignus> Received signal 2: terminating.
[06:45] <Perdignus> crap
[06:45] <Perdignus> sorry
[06:46] <Perdignus> as I was saying, again I'm very sorry about that, the TITLE tag becomes the TALB tag and so forth
[09:52] <vlad77> hi2all
[09:53] <vlad77> have anyone tried ismv support in v0.10?
[10:26] <ubitux> what's the most common way of encoding aac nowadays?
[10:26] <ubitux> libfaac is deprecated afaik, libaacplus? libvoaac?
[10:28] <JEEB> I don't think libfaac is deprecated, it just shares status with libaacplus
[10:29] <JEEB> as in, "you can't give the binaries out"
[10:29] <JEEB> libvoaac seems to be... something
[10:29] <JEEB> generally I'd say that on linux you might as well stick to neroaacenc
[10:30] <ubitux> < JEEB> libvoaac seems to be... something // what's that supposed to mean? :)
[10:30] <JEEB> on mac/win you have a selection of either neroaacenc or one of those QT-based command line encoders
[10:30] <Mavrik> ubitux, libvo_aacenc is the replacement library
[10:30] <ubitux> replacement of what?
[10:30] <JEEB> it really isn't a full replacement I hear quality-wise + it can only do 2ch
[10:30] <Mavrik> of libfaac - libfaac has licensing problems
[10:30] <JEEB> but it's the only non-ffaac encoder that is (L)GPL compatible
[10:30] <Mavrik> JEEB, it's pretty much same reference design, but you're right about 2-channel
[10:31] <JEEB> Mavrik, I think they used separate reference encoders
[10:31] <JEEB> but yes, reference code both
[10:31] <JEEB> just that one was licensed and relicensed to apache by someone actually capable of it
[10:31] <Mavrik> mhm
[10:31] <JEEB> also, I _think_ libvo-aacenc can only do CBR
[10:31] <JEEB> not sure
[10:32] <Mavrik> sadly, neroaacenc can't be linked with ffmpeg :\
[10:32] <JEEB> yes, and as it would be closed source it'd be undistributable
[10:32] <JEEB> just like QT's aac encoder would be on windows
[10:32] <JEEB> on OS X QT is a part of the OS so it might fly
[10:33] <JEEB> of course, neroaacenc doesn't have a library to begin with
[10:33] <JEEB> only executables
[10:33] <JEEB> QT's actually has an API
[10:33] <JEEB> neroaacenc doesn't need QT to be installed of course, and there is a 32bit linux binary
[10:33] <JEEB> so yeah
[10:34] <Mavrik> so yeah, getting quality AAC audio in automated video encoding is problematic as hell
[10:36] <JEEB> Well, if that's all you're looking after you either use ffaac or make a ffmpeg patch for the QT encoder .-. But that of course means that you have to build it on every PC and can't distribute it.
[10:36] <Mavrik> JEEB, my use case is mostly automated transcoding on servers, so non-redistributable license doesn't bother me all that much
[10:37] <Mavrik> right now I'm using libfaac yeah, getting AAC+ on higher bitrates would probably prove beneficial (most content is voice - lectures)
[11:20] <rbrt> hello!
[11:20] <rbrt> is there a way to use audio filters with ffplay ?
[11:22] <rbrt> there is an option "-vf" for video filters, but "-af" for audio does not work
[11:23] <ubitux> yes, no -af option yet
[11:23] <ubitux> but you can use ffplay -f lavfi 'amovie=...'
[11:25] <rbrt> but this only plays the audio track.
[11:26] <ubitux> you can append filter
[11:26] <ubitux> rbrt: what are you trying to do?
[11:26] <ubitux> ffplay -f lavfi 'amovie=a.wav,aresample=8000,aconvert=...,pan=...'
[11:27] <rbrt> i have a .avi file with "5.1" ac3, but i have only stereo output, so i want to use the pan filter
[11:27] <ubitux> -ac 2 should downmix it properly
[11:28] <ubitux> maybe you want custom levels?
[11:29] <ubitux> ffmpeg -i in.avi -f lavfi 'amovie=in.avi,pan=...' out.avi should do the trick otherwise
[11:29] <ubitux> ffmpeg -i in.avi -f lavfi -i 'amovie=in.avi,pan=...' out.avi
[11:29] <ubitux> sorry
[11:32] <rbrt> well, yes, i tried it, but that does not work with ffplay. maybe i have to convert it first, and play the converted?
[11:33] <ubitux> mmh maybe ffplay -f lavfi -i 'movie=in.avi[out0];amovie=in.avi,pan=...[out1]' or something?
[11:36] <rbrt> there is an "audio filters" section in ffplay man page, but there is no option to actually use them with ffplay. is this right?
[11:37] <ubitux> isn't the example above making use of the audio filters?
[11:39] <ubitux> ./ffplay -f lavfi 'movie=a.mov [out0]; amovie=a.mov,aresample=8000 [out1]'
[11:39] <rbrt> ffplay -f lavfi "amovie=foo.avi[out0];movie=foo.avi[out1];pan='stereo: c0=FL : c1=FR'" says its expecting channel name, but found 'FL'
[11:39] <ubitux> i just tested that and it seems to work
[11:39] <ubitux> mmh
[11:40] <ubitux> iirc the pan filter has an issue with channel names
[11:40] <ubitux> try c0=c1 : c1=c0
[11:41] <ubitux> rbrt: btw, aren't you just trying to do -ac 2 ?
[11:41] <rbrt> that says : "Not enough inputs specified for the "pan" filter"
[11:41] <ubitux> you didn't write the filter properly
[11:41] <rbrt> i tryed "-ac 2", but its the same result without any filter option
[11:42] <ubitux> "movie=foo.avi[out0]; amovie=foo.avi,pan='stereo: c0=FL : c1=FR'[out1]"
[11:42] <ubitux> try this
[11:42] <ubitux> or just "movie=foo.avi[out0]; amovie=foo.avi,pan='stereo: c0=c0 : c1=c1'[out1]"
[11:42] <ubitux> this will filter out the other channels btw
[11:45] <rbrt> it seems that the 5.1 isthe last one played only audio, no video. thank you for your time, but i will convert that movie with ffmpeg. it seems to be lot easier.
[11:45] <rbrt> the last one played only audio, no video. thank you for your time, but i will convert that movie with ffmpeg. it seems to be lot easier.
[11:45] <rbrt> sorry
[15:17] <bgmarete> Hi. ffmpeg gives me an error when I try to give it the `-profile' option, as in `-profile main' when using libx264. What may I be doing wrong?
[15:18] <wl2776> Hi all. Is it possible to remux raw h264 video to matroska? I'm getting error "Can't write packet with unknown timestamp". Tried -fflags +genpts -vf "setpts" - no effect. Here is paste: http://pastebin.com/q3htv5wF
[15:18] <Mavrik> bgmarete, there's a parameter collision with libfaac
[15:18] <bgmarete> Oh!
[15:18] <Mavrik> bgmarete, use "-profile:v main" or if you have older ffmpeg "-vprofile main"
[15:18] <bgmarete> Mavrik: Thank you very much! Many thanks.
[16:30] <loincloth> hallo
[17:48] <SIFTU> anyone got any tips to keep audio in sync when merging multiple mpg2's for dvd output?
[18:19] <elihubogan> Does anyone have tips on exporting a ProRes422HQ file to something I can use in Cinelerra?
[18:19] <elihubogan> I keep getting files that are <20% of my original, and I think it's got to be lossy
[18:21] <elihubogan> currently trying "ffmpeg -i <infile.mov> -sameq -vcodec mpeg4 <outfile.mov>"
[19:26] <boghog> hi there, is there some known problem with reading video files with mp4/mov containers that indicate absurdly high framerates? (like 1200fps) I have a problem with a file that seems to take ages to transcode, and I notice that un the status line it prints that it has processed over 91000 (ish) frames, even though the output framerate is set to 30 automatically and duration shows 5 minutes, the 'dup' count seems to have a very high number
[19:26] <boghog> too (I guess that might make sense if dup stands for duplicate)
[19:27] <boghog> it shows something like: frame=121047 fps= 85 q=29.0 size= 54506kB time=00:06:43.34 bitrate=1107.0kbits/s dup=108957 drop=0
[19:29] <boghog> http://pastebin.com/PESGP0Tn is the full ffmpeg output
[19:30] <boghog> I guess it has something to do with the mismatch between container and video stream framerate
[19:33] <boghog> it also occurs to me that in the status line, (frame-dup)/29.98 equals roughly 6:43, so it seems to be just processing duplicate frames or something? :s
[20:40] <boghog> managed to sort of fix my problem by passing -vsync 0
[20:40] <boghog> well not sort of, it fixed it entirely
[20:42] <boghog> I'm only a bit worried on what potential sideeffects -vsync 0 might produce in videos that don't need it
[20:42] <boghog> since I'm using ffmpeg for automated conversion of video files
[21:30] <slackyman> hi
[21:31] <slackyman> I found a little buggy behaviour in ffmpeg and ffplay
[21:32] <slackyman> if you compile ffmpeg and ffplay without librtmp the protocol rtmp is still included but if you try to play via rtmp the player freeze
[21:32] <slackyman> so ffmpeg
[21:32] <slackyman> without any notice or alert
[21:32] <slackyman> it simply hangs
[21:38] <slackyman> I was about to report this bug in the forum but I have to wait my account approvation
[21:39] <slackyman> Ok, I read: "The new official forum, that will be located at forum.ffmpeg.org, is being created, and because of that, registrations of new users on this forum has been disabled"
[21:39] <slackyman> but the forum is not yet ready
[21:40] <slackyman> any1 here? :D
[22:14] <slackyman> helloooo
[22:14] <boghog> hi!
[22:14] <slackyman> hi
[22:15] <slackyman> boghog, have U read what I wrote?
[22:15] <boghog> yeah, but not much I can help with
[22:16] <boghog> in fact I only came in here to get help with a problem of my own :D
[22:16] <slackyman> I have another problem
[22:16] <slackyman> maybe we can hellp one each other :D
[22:17] <slackyman> I cannot compile librtmp
[22:17] <slackyman> in linux and mingw32
[22:17] <slackyman> either
[22:17] <slackyman> no matter
[22:17] <boghog> what error?
[22:17] <slackyman> i want to compile librtmp statically linked to polarssl
[22:18] <slackyman> uhm
[22:18] <slackyman> several errors :D
[22:18] <slackyman> can I compile only librtmp with something such as
[22:18] <slackyman> make librtmp?
[22:19] <slackyman> dh.h:75:3: warning: pointer targets in passing argument 3 of 'dhm_calc_secret' differ in signedness [-Wpointer-sign]
[22:19] <slackyman> this is the firts error I can notice
[22:20] <slackyman> I modified tha makefile
[22:20] <slackyman> CRYPTO=POLARSSL
[22:20] <slackyman> SYS=mingw
[22:22] <Gus> Hi. Is it a known bug of recent ffmpeg versions that the features --enable-runtime-cpudetect and --enable-mmx, --enable-mmx2, --enable-sse etc. have become mutualy exclusive?
[22:23] <Gus> By enabling both CPU detect and asm features I get "runtime cpu detection yes" but "MMX enabled no
[22:23] <Gus> MMX2 enabled no
[22:23] <Gus> 3DNow! enabled no" etc.
[22:25] <slackyman> Gus, I'm not an expert in C and C++ programming but I suppose that runtime-cpu-detect excludes any other cpu optimisation is useless
[22:25] <slackyman> or maybe...
[22:25] <slackyman> lemme check a thing
[22:25] <Gus> slackmagic: I think this behaviour of mutual exclusion is new.
[22:26] <slackyman> I don't have this issue
[22:26] <Gus> Typically, enabling MMX, SSE etc. means that the code gets built and is usable within the binary. CPU runtime detection should check upon program start whether the optimized code *may* be used (whether the CPU supports it).
[22:26] <slackyman> yasm yes
[22:26] <slackyman> MMX enabled yes
[22:26] <slackyman> MMX2 enabled yes
[22:26] <slackyman> 3DNow! enabled yes
[22:26] <slackyman> 3DNow! extended enabled yes
[22:26] <slackyman> SSE enabled yes
[22:26] <slackyman> SSSE3 enabled yes
[22:26] <slackyman> AVX enabled yes
[22:27] <slackyman> runtime cpu detection yes
[22:27] <Gus> slackmagic: including specifying --enable-runtime-cpudetect?
[22:27] <Gus> Hmmm.
[22:27] <slackyman> I've re-tryed my ./configure
[22:27] <slackyman> maybe there's something more
[22:27] <slackyman> i.e. I notice other strange behaviours
[22:28] <Gus> I just noticed that this new build of mine is significantly slower on some aspects than earlier versions.
[22:28] <slackyman> if i use --enable-libxavs I have to modify CFLAGS and --extra-libs to get SDL to be recognised
[22:28] <Gus> Which is due to the fact that no hardware optimizations, not even MMX, are used for scaling any more here.
[22:28] <slackyman> else ffplay cannot be compiled
[22:29] <slackyman> yes
[22:29] <slackyman> can I see your configure switches?
[22:29] <pasteeater> Gus: did you --disable-mmx?
[22:29] <slackyman> use pastebin or someone get pissed :D
[22:29] <Gus> pasteeater: not at all.
[22:29] <Gus> pasteeater: as mentioned above, I explicitly enabled all CPU features.
[22:30] <pasteeater> i just entered the channel, so i have little context.
[22:30] <Gus> Version 0.9.1 from January 2012 here, btw.
[22:30] <slackyman> I didn't and they've enabled
[22:30] <slackyman> Gus, try only the --enable-cpu-runtime
[22:30] <Gus> pasteeater: this is my original point: Hi. Is it a known bug of recent ffmpeg versions that the features --enable-runtime-cpudetect and --enable-mmx, --enable-mmx2, --enable-sse etc. have become mutualy exclusive?
[22:30] <slackyman> and what's the result?
[22:31] <Gus> Gus> By enabling both CPU detect and asm features I get "runtime cpu detection yes" but "MMX enabled no
[22:31] <Gus> <Gus> MMX2 enabled no
[22:31] <Gus> <Gus> 3DNow! enabled no" etc.
[22:31] <slackyman> I don't think so
[22:31] <slackyman> please, try ONLY --enable-runtime-cpudetect and let's see the output
[22:31] <Gus> I don't want to go without runtime CPU detection since the build is to be used on different machines, including some older ones which do not have SSE.
[22:31] <Gus> Okay.
[22:32] <slackyman> I'm still finding a way to compile librtmp with polarssl in mingw32... -.-
[22:32] <slackyman> f***ing windoz
[22:33] <Gus> slackmagic: however, something must have changed inm the configure script. Because I use the same options set for more than two years.
[22:34] <Gus> I mean: slackyman ;-)
[22:34] <slackyman> this can be really true, yes
[22:34] <slackyman> my nick means slcakware user even if I'm on a Fedora and a Windowz machine :D
[22:35] <Gus> Only CPU runtime detection given, no other --enable-swicthes set. Result: CPU detection enabled, all CPU features disabled, still.
[22:35] <slackyman> I'm really so tired to recomplile every prog
[22:35] <slackyman> it's the latest snapshot?
[22:36] <slackyman> or you get it by git?
[22:36] <slackyman> i got mine by gittin
[22:36] <Gus> slackyman: snapshot.
[22:36] <slackyman> and I have none of this problem
[22:36] <Gus> From january.
[22:36] <slackyman> ok, try the git one
[22:37] <slackyman> just to make a proof
[22:37] <Gus> Haven't Git available atm.
[22:37] <slackyman> a little test
[22:37] <slackyman> which distro R U using?
[22:37] <Gus> slackyman: LFS.
[22:37] <slackyman> omg >.<
[22:38] <Gus> That's why I use configure and not apt-get, emerge or yast or something like that ;-)
[22:38] <slackyman> cannot simply get git?
[22:38] <Gus> Not that simply.
[22:38] <slackyman> and that's why I'm using Fedora and not Slackware
[22:38] <slackyman> :D
[22:38] <Gus> Besides, I doubt that a fortnight in versions could make this big difference,.
[22:39] <Gus> A-ha! I got it!
[22:39] <Gus> The culprit was another switch!
[22:39] <slackyman> I remember... yes, I used a january snapshot without inconvenience a pair of day ago
[22:39] <slackyman> yeah?
[22:39] <slackyman> which one?
[22:40] <Gus> --cpu=i586
[22:40] <slackyman> -.-
[22:40] <Gus> That one seems to exclude all other CPU features.
[22:40] <Gus> However, this is new behaviour.
[22:40] <slackyman> I'm tempted to let you go to HELL >.<
[22:40] <Gus> Formerly the --enable-feature switches would override the --cpu= restriction.
[22:40] <slackyman> no, really, I think it's ok
[22:41] <slackyman> "formerly", in my opinion, means nothing :D
[22:41] <Gus> As said, I use the same options for more than two years. Just this new build became significantly slower than older ones.
[22:41] <Gus> However, it's nearly a year since my previous build :-S
[22:41] <Gus> So I don't know when this behaviour was changed.
[22:42] <slackyman> I don't use CPU if I'm building a portable one
[22:42] <slackyman> all the job is done by the runtime detection
[22:42] <slackyman> it costs only a little bigger binary
[22:43] <Gus> slackyman: in case of ffmpeg: apparently true. In case of most other software: there isn't CPU runtime detection. That's why I use to specify it explicitly at build time.
[22:43] <slackyman> can I ask U a question?
[22:43] <Gus> slackyman: sure.
[22:43] <slackyman> a PAIR of question
[22:43] <slackyman> :D
[22:43] <slackyman> 1 - Have you ever succeded in compiling librtmp?
[22:44] <slackyman> (with polarssl)
[22:44] <Gus> 1. not recently but I think some years ago I probably did. But most likely not with polarssl, since I don't know what that is.
[22:45] <slackyman> I forgot the second question :P
[22:45] <Gus> Well, I didn't knwo what that is :-)
[22:45] <Gus> I use OpenSSL and GnuTLS instead.
[22:45] <Gus> I think I managed to compile something capable of RTMPS, if that's your goal.
[22:46] <slackyman> it seems that for windows I can use polarssl since openssl lacks some bugs in win
[22:46] <Gus> Windows? Uhm...
[22:46] <Gus> I don't use Windows at all.
[22:46] <slackyman> I'm into a portable project
[22:46] <Freakshow> anyone know how to explicitly force rtsp over tcp with ffmpeg?
[22:46] <slackyman> and I need to compile ffmpeg for Linux and Win
[22:47] <Gus> ffmpeg can be compiled under Windows?
[22:47] <Gus> Every day I learn something new about that OS :-)
[22:47] <slackyman> gus, I compile ffmpeg under Linux FOR windows
[22:47] <slackyman> with mingw32
[22:48] <slackyman> and then test it in bot
[22:48] <Gus> Mingw32 on Linux??
[22:48] <slackyman> I'm writing a wrapper in Lazarus - fpc
[22:48] <slackyman> yes
[22:48] <slackyman> since I think that WinFF it's not so simple to use I re-write my lazarus app from scratch
[22:49] <slackyman> for windoz users
[22:49] <slackyman> i wanna give the app almost all the ffmpeg features
[22:49] <slackyman> with a good GUI
[22:49] <Gus> slackyman: brave intention.
[22:49] <slackyman> and under gpl3
[22:49] <Gus> Very brave intention :-)
[22:50] <slackyman> I've just written a console wrapper
[22:50] <Gus> Freakshow: using ffserver?
[22:50] <slackyman> do you know SUPER?
[22:50] <slackyman> I think it violate gpl
[22:50] <slackyman> but I'm not sure
[22:51] <Freakshow> Gus: I'm sorry, as in the target for the stream?
[22:51] <meta_> Hi all folks! Can someone help me, at least to name what is my problem, as i can't really google for it... http://www.youtube.com/watch?v=OVEo3TRsUAM#t=5m30
[22:51] <meta_> It isn't moves too fast, but horizontally flickers
[22:51] <meta_> I've made this in blender, and it uses ffmpeg
[22:51] <Freakshow> if so, then the short answer is no
[22:52] <Gus> Freakshow: target for a stream sounds like a job for ffserver to me.
[22:52] <Freakshow> shooting to wowza
[22:52] <meta_> So what's the name of this syndrome? And maybe any idea about how can i fix it?
[22:52] <Gus> Freakshow: or do you mean reading from an rtsp source and encoding, possibly transcoding the data?
[22:52] <Freakshow> Gus: nope, shooting to wowza and fanning out from there
[22:53] <slackyman> meta_
[22:53] <slackyman> are you talking about the video on youtube?
[22:53] <meta_> yes
[22:53] <slackyman> I can see it good, without flickkering
[22:53] <meta_> it flickers the same on the original also, i know it's converted
[22:53] <meta_> oh...
[22:53] <Gus> Freakshow: sorry, I'm not familiar with Wowza Media Server.
[22:53] <slackyman> could it be your player?
[22:54] <slackyman> have you tried to see it on another machine?
[22:54] <meta_> i've tried vlc, mplayer, on my host os, on an older version ubuntu in vbox, and in xp in vbox
[22:54] <Freakshow> Gus: I doubt wowza really has anything to do with it in this instance, is there a way to tell ffmpeg to publish rtsp over tcp?
[22:54] <slackyman> meta_ try it on another hardware
[22:54] <meta_> hmm...
[22:54] <slackyman> i can see NO FLICKER
[22:55] <Gus> Freakshow: I don't think so. ffmpeg isn't the publication tool. It's the read and store tool. ffserver is the read and publish tool.
[22:55] <slackyman> the video goes well and fluid
[22:55] <meta_> It's not really flicker, i just can't name it
[22:55] <meta_> if you see the edges it isn't fluid... yeah... for me it seem, i'm going to check elsewhere
[22:55] <Gus> Freakshow: however, ffserver seems somehow limited regarding protocols and format. I don't know whether it supports rtsp.
[22:55] <meta_> thanks!
[22:56] <overflow_0f8b> how do you call it when a line has common part with a rectangle ? line_has_common_part_with_rect() sounds long
[22:56] <slackyman> i can see the video fluid and flawless
[22:56] <Gus> Btw, does anyone know whether there's been any progress in adapting ffserver (or the ffmpeg suite as a whole) to v4l2 lately?
[22:56] <Freakshow> hmm... gotta be a way
[22:56] <Freakshow> { "tcp", "TCP", 0, AV_OPT_TYPE_CONST, {1 << RTSP_LOWER_TRANSPORT_TCP}, 0, 0, DEC|ENC, "rtsp_transport" }, \
[22:56] <Freakshow> in const AVOption ff_rtsp_options
[22:56] <slackyman> anyone here ever compiled rtmp for windoz?!?
[22:57] <slackyman> I'm getting REALLY mad
[22:57] <Freakshow> calm down slackyman
[22:57] <Freakshow> breathe
[22:57] <slackyman> Freakshow: I'm not mad with this chan :D
[22:58] <slackyman> I'm mad with librtmp
[22:58] <slackyman> :D
[22:58] <Freakshow> oh, I'm in the same boat with you there
[22:58] <Freakshow> :D
[22:58] <Gus> I'd get mad just if I had to build anything ambitious for Windoze at all ;-)
[22:58] <slackyman> I compiled EVERY SINGLE lib for win to use them with ffmpeg
[22:58] <slackyman> with only a little patch
[22:58] <meta_> wow
[22:59] <slackyman> but librtmp is a damned hell
[22:59] <Freakshow> nice Gus
[22:59] <Gus> slackyman: what sorts of errors?
[22:59] <Freakshow> I had a hard enough time building it for bsd, I can't imagine doing it for windows
[22:59] <slackyman> every sort
[22:59] <slackyman> :)
[22:59] <Gus> slackyman: same as on Linux or Windows-specifc ones?
[22:59] <Freakshow> HA!
[22:59] <slackyman> rtmp cannot find polarssl
[23:00] <Gus> slackyman: so primarily link errors and not compile errors?
[23:00] <Ginks> would anyone be able to show me how I can merge these into 1 command?
[23:00] <Ginks> -vf "scale=-1:720" & -vf movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [logo]; [in][logo] overlay=10:10 [out]
[23:00] <slackyman> gus, the fact is that I tested different versions and had different issues
[23:01] <Gus> slackyman: did you test any version that had none of the issues on Linux?
[23:01] <Freakshow> agreed... compiling librtmp is not very clear on any platform
[23:01] <Gus> So are you sure the issues are fully Windows-specific?
[23:02] <slackyman> on linux i can compile rtmp with openssl but have issues with polarssl
[23:02] <Gus> slackyman: what are the issues with OpenSSL on Windows?
[23:02] <slackyman> gus, I'm cross-compiling
[23:02] <slackyman> but here in Italy it's late and I'm tired
[23:02] <slackyman> :D
[23:03] <Mavrik> Ginks, movie=...,scale=...
[23:03] <Gus> Have you tried building it natively on a Windows machine?
[23:03] <Mavrik> Ginks, add comma ;)
[23:03] <slackyman> librtmp seems to NOT work with openssl in win
[23:03] <Gus> slackyman: link errors?
[23:03] <Gus> Or does it link but not run?
[23:03] <slackyman> no no
[23:03] <slackyman> doesn't link
[23:04] <Gus> At least link errors are often easier to solve than runtime errors I think :-S
[23:04] <slackyman> cannot find polarssl/net.h
[23:04] <Gus> That's a compiler error.
[23:04] <slackyman> even if i #include <polarssl/net.h>
[23:04] <Gus> Should be even easier to solve than a link error.
[23:04] <slackyman> or something I cannot remember
[23:04] <Gus> In this case I usually locate the missing header file manually, copy it to somewhere where it can be included and retry :-)
[23:05] <slackyman> but, really, it's too late and I'm on the phone with my girlfriend so... goobye :D
[23:05] <Ginks> Mavrik, oh
[23:05] <Ginks> lol
[23:05] <Gus> Once I got it working I then may check why the error occurred and how to solve it in a way that could be easier applied by others.
[23:05] <Gus> slackyman: bye.
[23:05] <slackyman> just tried
[23:05] <slackyman> i put polarssl build EVERYWHERE
[23:05] <slackyman> :D
[23:06] <slackyman> in /usr/local
[23:06] <slackyman> into the librtmp folder
[23:06] <slackyman> in rtmpdump folder
[23:06] <Gus> slackyman: just deal with the missing .h file.
[23:06] <Gus> Copy it into /usr/include for the time being if necessary.
[23:06] <slackyman> yeah, that was my goal
[23:06] <slackyman> :D
[23:07] <slackyman> I copied in /usr/local/include and /usr/include
[23:07] <slackyman> i tried even with
[23:07] <slackyman> #include "polarssl/net.h"
[23:07] <Gus> Well, if the compiler cannot find it there, then there seems to be a serious problem with your build environment.
[23:07] <slackyman> and
[23:07] <slackyman> #include <polarssl/net.h>
[23:07] <slackyman> but none
[23:08] <slackyman> gus, I doubt
[23:08] <slackyman> with my env I compiled everything :D
[23:08] <slackyman> openssl, divxlib, freetype
[23:08] <slackyman> sdl
[23:08] <slackyman> everything
[23:08] <slackyman> and they needed only feww changes
[23:08] <Gus> Then you can't tell me that if you have a file x.h in /usr/include and have #include <x.h> in your sources it doesn't find it?
[23:09] <slackyman> gus, it's not so simple with mingw32
[23:09] <slackyman> it create another toolchain env
[23:09] <Gus> Put it into your standard include directory of Mingw32.
[23:09] <Gus> In the same one that provides stdlib.h for instance.
[23:09] <slackyman> ok, I'll give it a try, but now I've to go
[23:09] <Gus> Bye.
[23:09] <slackyman> thanks anyway
[23:10] <slackyman> bye
[23:10] <Ginks> Mavrik,
[23:10] <Ginks> ffmpeg -i hot.flv -an -vf "scale=-1:720,movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [logo]; [in][logo] overlay=10:10 [out]" -f mp4 scaled.mp4
[23:10] <Ginks> I tried it a few ways with commas and got different errors
[23:11] <Ginks> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png [logo]; [in][logo] overlay=10:10 [out]", scale=-1:720 -f mp4 scaled.mp4
[23:12] <Ginks> I need to have it scale and then overlay
[23:12] <Ginks> so that the watermark doesn't become distorted
[23:27] <Ginks> ffmpeg -i hot.flv -an -vf "movie=/srv/www/vhosts/testing.com/htdocs/data/watermark.png, scale=-1:720 [watermark]; [in][watermark] overlay=10:10 [out]" -qscale 1 -f mp4 scaled.mp4
[23:27] <Ginks> [overlay @ 0x192ecda0] Overlay area (10,10)<->(2224,730) not within the main area (0,0)<->(320,240) or zero-sized
[23:27] <Mavrik> obviously your overlay parameters are wrong.
[23:28] <Ginks> if I split the command into 2 and run the scale first and then watermark after it works
[23:29] <Ginks> trying to put them together is where apparently the overlay parameters are incorrect
[23:30] <Ginks> if I swap scale to before movie then I get Too many inputs specified for the "movie" filter.
[00:00] --- Tue Feb 7 2012
1
0
[02:25] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r7e850f1cd0 10ffmpeg/libavcodec/dwt.c:
[02:25] <CIA-40> ffmpeg: dwt: fix about a dozen "warning: assignment from incompatible pointer type"
[02:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:25] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r861aa9e7c2 10ffmpeg/libavcodec/mpegaudiodec.c:
[02:25] <CIA-40> ffmpeg: mpegaudiodec: remove unused variable
[02:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:25] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r2453ca4931 10ffmpeg/libavcodec/dwt.c:
[02:25] <CIA-40> ffmpeg: dwt: fix a dozen or so "warning: initialization from incompatible pointer type"
[02:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[03:17] <CIA-40> ffmpeg: 03Paul B Mahol 07master * rb60620bf7e 10ffmpeg/libavcodec/apedec.c:
[03:17] <CIA-40> ffmpeg: apedec: 8bit and 24bit support
[03:17] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[03:17] <CIA-40> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[03:17] <CIA-40> ffmpeg: 03Paul B Mahol 07master * r86b57e4efe 10ffmpeg/libavformat/ape.c:
[03:17] <CIA-40> ffmpeg: ape: fix seeking
[03:17] <CIA-40> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[03:17] <CIA-40> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[03:17] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * rbfb5ba8495 10ffmpeg/:
[03:17] <CIA-40> ffmpeg: Merge remote-tracking branch 'qatar/master'
[03:17] <CIA-40> ffmpeg: * qatar/master:
[03:17] <CIA-40> ffmpeg: ape: fix seeking
[03:17] <CIA-40> ffmpeg: apedec: 8bit and 24bit support
[03:17] <CIA-40> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[04:25] <durandal_1707> ffmpeg -protocols list items twice
[04:26] <durandal_1707> nvm, need to sleep
[04:26] <durandal_1707> actually output should be formatted
[06:25] <CIA-40> ffmpeg: 03Michael Niedermayer 07master * r982783ac49 10ffmpeg/ffmpeg.c:
[06:25] <CIA-40> ffmpeg: ffmpeg: document avi special case
[06:25] <CIA-40> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[13:08] <ubitux> michaelni: why is it MANGLE and not LOCAL_MANGLE btw?
[13:08] <ubitux> (gcc-llvm, fate, vf_fspp)
[13:12] <ubitux> maybe it's because of the extern sym '_'?
[13:12] <ubitux> anyway, just a suggestion&
[14:21] <CIA-40> ffmpeg: 03Reimar Döffinger 07master * r8162c6f0bd 10ffmpeg/libavformat/oggdec.c:
[14:21] <CIA-40> ffmpeg: oggdec: add missing ogg_reset on seek.
[14:21] <CIA-40> ffmpeg: It would never be called when the searched-for position
[14:21] <CIA-40> ffmpeg: was already in the index.
[14:21] <CIA-40> ffmpeg: In the other cases, the ogg_reset at the end of the
[14:21] <CIA-40> ffmpeg: read_timestamp function handled it.
[14:21] <CIA-40> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[14:21] <CIA-40> ffmpeg: 03Reimar Döffinger 07master * r1b0dc96fc9 10ffmpeg/libavformat/oggdec.c: (log message trimmed)
[14:21] <CIA-40> ffmpeg: oggdec: fix keyframe seeking when granule_is_start is 0.
[14:21] <CIA-40> ffmpeg: In this case, the pts values will be delayed by one, but
[14:21] <CIA-40> ffmpeg: at the same time pts values might only be supplied for e.g.
[14:21] <CIA-40> ffmpeg: keyframes.
[14:21] <CIA-40> ffmpeg: This results on only the frame after the keyframe having a
[14:21] <CIA-40> ffmpeg: pts value.
[16:56] <rotty> I have a question regarding code in libavformat/udp.c:udp_read(), introduced in commit 20f0bf8cf...: why is code reading 4 bytes from the fifo and treating them as a length?
[16:56] <rotty> It seems if I transmit e.g. JPEG frames in UDP packets (and use ffmpeg to receive them), this would treat the first 4 bytes of the JPEG header as a length, hence always triggering the "Part of datagram lost due to insufficient buffer size" message.
[16:56] <rotty> s/is code/is this code/
[16:59] <rotty> (the warning would always be triggered, since the JPEG starts with 0xff 0xd8 (SOI))
[17:17] <michaelni> rotty, read the fine source, each UDP packet as read by the thread is stored with its length
[17:17] <michaelni> in the fifo and then read out by the other thread again with its length
[17:43] <CIA-40> ffmpeg: 03Carl Eugen Hoyos 07master * r42ae83c196 10ffmpeg/libavformat/flvenc.c:
[17:43] <CIA-40> ffmpeg: Allow muxing VP6A into flv.
[17:43] <CIA-40> ffmpeg: Reviewed-by: James Zern
[20:06] <CIA-40> ffmpeg: 03Carl Eugen Hoyos 07master * r5fa1a1d8fc 10ffmpeg/libavdevice/v4l2.c:
[20:06] <CIA-40> ffmpeg: Support YV12 from video4linux2 devices.
[20:06] <CIA-40> ffmpeg: Reviewed-by: Luca Abeni
[20:44] <CIA-40> ffmpeg: 03Carl Eugen Hoyos 07master * rbb9c8d9439 10ffmpeg/ (10 files in 4 dirs):
[20:44] <CIA-40> ffmpeg: Add v408 / AYUV encoder and decoder.
[20:44] <CIA-40> ffmpeg: Fixes last part of ticket #470.
[20:44] <CIA-40> ffmpeg: Reviewed-by: Paul B Mahol
[00:00] --- Mon Feb 6 2012
1
0
[00:00] <brontosaurusrex> jackNDbox, it depends on what you want to do later, i just : --enable-gpl --enable-libx264 --enable-libvpx
[00:01] <jackNDbox> i'm building a porn site and a video sharing site
[00:01] <jackNDbox> using phpmotion
[00:02] <jackNDbox> for one of em
[00:03] <brontosaurusrex> i mean ffmpeg, do you need mp3 encoder for porn? or theora? probably not
[00:03] <jackNDbox> yea youre probably right. ffmpeg automatically does audio .. right? just in a lower quality?
[00:04] <jackNDbox> I was just being lazy following that guide above
[00:06] <brontosaurusrex> well, video sites this days usually encode to AVC/AAC in some form or another, webm (You would probably want aotuv oggenc here anyway) is also somehow interesting
[00:07] <brontosaurusrex> i don't know anybody that would use xvid/mp3 this days
[00:07] <brontosaurusrex> only my opinion...
[00:09] <brontosaurusrex> p.s. actually even libvpx is kinda useless, its almost impossible to find correct command line, better to just pipe from ffmpeg to vpxenc anyway
[00:10] <jackNDbox> makes sense.. the stuff before that
[00:10] <jackNDbox> thanks for the info i'll be back here probably in a little while
[00:10] <jackNDbox> i'm gonna go get a pizza =)
[00:10] <iive> jackNDbox: look for the phrase "mp3lame" in that log file
[00:22] <brontosaurusrex> how to encode to 444 prores, command line?
[02:47] <Ginks> any idea why ffmpeg would seg fault with "ffmpeg -i 253_temp.flv -vf "movie=/home/mypetman/public_html/images/watermark.png [watermark]; [in][watermark] overlay=10:10 [out]" -b:v 472k 253_w.flv"
[02:47] <Ginks> ?
[02:47] <Ginks> only happens with flv videos
[02:51] <edrx> hello - how do I reduce the number of frames of a video? it's for recording a conference with few slides and a speak that does not move too much... the camera produced a .mov with 24 fps, and I'd like to reduce that to 8 fps by keeping only 1 in each 3 frames...
[02:52] <edrx> s/speak/speaker/
[02:54] <edrx> (btw, I am on debian, and using the command line)
[03:14] <rypervenche> Hi all. My screencasting script broke a while back, apparently due to an update in ffmpeg. It uses x264, however at first I record lossless data. I have since fixed my script using "-vcodec libx264 -preset ultrafast", but is this lossless data? Should I be using somethign else?
[03:16] <rypervenche> Before I was using -vpre lossless_ultrafast. Is there still a lossless option or should I only use the ultrafast option?
[03:38] <iive> rypervenche: just a moment
[03:42] <rypervenche> iive: Thank you.
[03:45] <iive> it will take a little bit more time to compile 0.10 release. in the meantime
[03:45] <iive> you can get lossless by encoding with quantizer 0 in x264
[03:46] <Ginks> qmax, qmin, qscale?
[03:47] <Ginks> I'm going to take a video and add an overlay to it
[03:47] <iive> either by -qscale 0 (that's ffmpeg option ) or -x264opts qp=0
[03:47] <rypervenche> iive: So they removed the lossless preset then? This is the only way to get a lossless video?
[03:48] <Ginks> just want to get the best quality prior to encoding it to 264
[03:48] <Ginks> size doesn't matter, because I'll be encoding it with 264
[03:48] <iive> rypervenche: seems so, the .ffpreset files are gone
[03:49] <iive> there is x264-ipod*.ffpreset
[03:49] <iive> are
[03:50] <iive> hum, there is -qp 0 (ffmpeg option maped to x264 directly).
[03:52] <iive> hum, it says rate control method.... huh
[03:56] <iive> n8 ppl
[04:54] <pills> I have 4 videos I am trying to combine into a single video. This is easy enough to do using the video filter options. My problem is the input videos don't seem to decode properly (first frame is dropped). This seems to be due to how they were encoded wrt timecodes. I can fix this problem for a single video by adding the -vsync 0 option however when combined with the video filters only the first video seems to inherit the vsync option. Is
[04:54] <pills> there anyway around this (reencoding is fine)? Thanks.
[05:14] <burek> try to reencode your videos
[05:14] <burek> to get valid streams
[05:14] <burek> and then use filter
[05:14] <burek> or even better, if you have room on your hdd, use uncompressed version :)
[05:15] <burek> and only compress back when using the filter
[05:15] <burek> that way you recompress only 1 time
[05:34] <pills> what params do I feed the encoder to ensure they will be decoded correctly?
[08:48] <Sazpaimon> mind if i ask a general streaming question around here?
[08:49] <Sazpaimon> (yes I know I'm asking to ask, sorry)
[12:38] <necktie> hi. can anyone help me with updating ffmpeg and x264? i compiled both from svn/git. is there an easy command that will get the up to date? or do i have to completely re-compile them?
[12:41] <tdr> yep, rebuild them
[13:02] <LexSfX> necktie: write a short script for yourself that simply performs the git and build commands you used in the first place.
[13:13] <necktie> LexSfX: alright, i will try. thanks
[14:35] <necktie> hi. i'm trying to compile ffmpeg but i get this error "WARNING: Please upgrade to VA-API >= 0.32 if you would like full VA-API support.". what does this mean and how can i fix it?
[14:39] <necktie> anyone?
[15:11] <iive> necktie: you need newer vaapi libraries.or newer distro
[15:11] <Mavrik> necktie, your va-api library is too old
[15:12] <Mavrik> and you won't be able to use nVidia hardware acceleration
[16:05] <dragos240> Hello. I'm having a few issues streaming through rtsp with ffserver. My config file is here http://pastebin.com/vmNghAhJ and the command I use to stream to the ffserver is here along with the error message I recieve http://pastebin.com/wQLuSw0r
[16:06] <dragos240> I've been troubleshooting for a while and I cannot figure out for the life of me why this hates me.
[16:07] <dragos240> Oh. And my ffmpeg version is the latest git revision that I checked out 30m ago. However stable versions act the same way
[16:21] <mystica555_> dragos240: i could be wrong, but i dont think mu-law or a-law support 44.1khz ?
[16:21] <dragos240> Hm
[16:21] <mystica555_> i thought they were 8 bit 8khz (with 11bits effective sample loudness resolution due to non-linear quantization scale)
[16:22] <dragos240> We are talking about the sample rate, correct?
[16:23] <mystica555_> mostly; also it doesnt seem that stream2.sdp is even being parsed by ffmpeg to create the codecs as you list (i dont know whether or not it even is supposed to pull from there, but if you notice in your debug output there are no -acodec or -vcodec bits, and its seemingly choosing mu-law randomly instead of libfaac)
[16:24] <mystica555_> nor is it using libx264 as the video codec
[16:24] <mystica555_> try adding -acodec libfaac -b:a your-bitrate -vcodec libx264
[16:24] <mystica555_> to your commandline
[16:25] <mystica555_> and probably -b:v 128K as well
[16:25] <mystica555_> -b:a 64K
[16:25] <mystica555_> or something
[16:25] <mystica555_> granted, hes ircing as root, that doesnt entirely show critical thinking skills
[16:25] <mystica555_> (which i find are required to parse logs)
[16:27] <dragos240> I noticed that.
[16:27] <dragos240> I don't know why it randomly does that.
[16:28] <dragos241> I kept getting disconnected
[16:29] <mystica555_> fwiw you may not want to IRC as root; if there is a backdoor or a known vulnerability in your client, anyone could just 0wn your system.
[16:29] <dragos241> Right.
[16:29] <dragos241> I'm not using root now, but I was.
[16:29] <mystica555_> i suggest adding commandline options to ffmpeg to force video/audio codecs; the SDP file is simply what the rtsp client pulls for its own config i believe
[16:30] <mystica555_> and bitrates for that matter
[16:30] <mystica555_> something like: -acodec libfaac -vcodec libx264 -b:a 64K -b:v 128K
[16:30] <dragos241> Hm.
[16:30] <dragos241> I'll see if that does anything
[16:30] <mystica555_> it should do a lot of things
[16:31] <mystica555_> because if you compare your SDP file to the actual debug output of ffmpeg, you arent matching on any counts
[16:32] <mystica555_> except for framerate and capture size, which you specify on the commandline
[16:32] <dragos241> Hm. Now this is an odd result
[16:32] <dragos241> Unknown decoder 'libx264'
[16:33] <dragos241> I could probably switch to theora and vorbis and see if that does anything.
[16:34] <Mavrik> libx264 is not a decoder
[16:34] <Mavrik> the decoder is probably called "h264"
[16:35] <dragos241> I'll try that
[16:36] <dragos241> Okay. I changed libx264 to h264 and libfaac to aac. I get a new error.
[16:36] <dragos241> [alsa @ 0x14dcda0] sample format 0x15002 is not supported
[16:36] <dragos241> hw:0,0: Input/output error
[16:37] <dragos241> It's complaining about sample format. Maybe the sample rate is to blame?
[16:39] <dragos241> Changing both config and command line instances of 22050 to 8000 does not fix the problem. But those may be invalid.
[16:43] <mystica555_> try opening the device as plughw: vs hw:
[16:43] <mystica555_> that'll force a software samplerate conversion if required
[16:43] <mystica555_> (some chips are limited to 48khz)
[16:44] <mystica555_> Mavrik: i thought he was using this to encode, not decode
[16:44] <dragos241> [alsa @ 0x1ed0da0] sample format 0x15002 is not supported
[16:44] <dragos241> plughw:0,0: Input/output error
[16:45] <mystica555_> hrm..
[16:45] <mystica555_> i hate alsa and sound recording...
[16:46] <dragos241> Is there a way I can tell ffserver and ffmpeg to ignore sound altogether?
[16:46] <mystica555_> -acodec null iirc
[16:46] <dragos241> Nope. Not a decoder.
[16:47] <dragos241> That would have been my first thought though
[16:47] <dragos241> The aim here is to stream video, audio is second.
[16:49] <mystica555_> where are you putting the option in your encode commandline? it is position-sensitive
[16:50] <mystica555_> if you do it before -i its a decoder option, if its after the -i file, its the encoder it seems
[16:50] <dragos241> Hm. That may explain it then
[16:51] <relaxed> dragos241: -an
[16:52] <mystica555_> dragos241: so you'd probably want libx264 and libfaac again
[16:53] <dragos241> Yes I did that mystica
[16:53] <dragos241> As it complained to me
[16:53] <mystica555_> k
[16:53] <dragos241> Now I put -af, -acodec, and -vcodec in front of -i this time with their proper parameters
[16:54] <dragos241> As well as -b:a and -b:v
[16:54] <dragos241> Here is what I fed ffmpeg
[16:54] <dragos241> ffmpeg -f x11grab -r 25 -s 384x240 -i :0.0 -f alsa -i hw:0,0 -acodec libfaac -vcodec libx264 -b:a 64K -b:v 128K -ar 8000 -f rtp rtp://192.168.1.102:8090/stream.sdp
[16:55] <mystica555_> do you need 8khz? 64kbit will support 44.1 mono, 22.05 stereo
[16:56] <dragos241> Ah. No I was trying to get this to work before hand. Let me try 22050 on both the config and ffmpeg args
[16:56] <mystica555_> k
[16:57] <dragos241> Alright those were changed. I'm back to previous errors:
[16:57] <dragos241> Could not write header for output file #0 (incorrect codec parameters ?)
[16:57] <mystica555_> can you pastebin the full output again?
[16:57] <dragos241> Yes. Give me a second to do that.
[16:58] <dragos241> http://pastebin.com/LtUKSSyn
[17:00] <dragos241> Fortunately now, the correct codecs are being used
[17:01] <necktie> hi. can anyone help me understand how to crop? i want to crop the black bars from a video. i need to crop 2 pixels on the left, 4 right, 20 top, and 28 bottom. the video is 1920x1080.
[17:04] <mystica555_> dragos241: i can't seem to find the proper documentation to understand how this all works...but im seeing examples of commandlines pointing to a .ffm file instead of a .sdp file; or simply doing an rtp address as rtp:localhost:port
[17:04] <mystica555_> after -f rtp
[17:06] <dragos241> I will see if changing that has an effect. However, I need an sdp file for a program that I use. But if this works, I'll see if it accepts the ffm.
[17:07] <pingec> necktie -cropleft 2 -cropright 4 -croptop 20 -cropbotoom 20 ?
[17:07] <pingec> I have a raw h264 file that is recognized as data. It has no header, I am able to play it only with "ffplay -f h264 aaa.264" is there a way I could create a header for this file so that it gets recognized in every player? Or can I convert it into a legal file without any actual transcoding?
[17:07] <dragos241> pingec: I don't think that works on newer versions of ffmpeg
[17:07] <dragos241> Evidently they use -vf crop now. As for how it works, I'm stumped.
[17:08] <pingec> ah
[17:08] <necktie> pingec: ya. it used to be that simple. now it's hard as hell. at least for me
[17:08] <pingec> get an older version :P
[17:08] <pingec> the options are still listed in the help tho
[17:09] <dragos241> Hm. That's curious. Maybe someone's neglecting to update the man files?
[17:09] <necktie> i've read the documentation. i still have no clue
[17:09] <Mavrik> dragos240, http://ffmpeg.org/libavfilter.html#crop
[17:10] <mystica555_> pingec: try doing ffmpeg -f h264 -i yourfile -vcodec copy something.mkv/mp4 and it'll mux it for you
[17:11] <mystica555_> then being inside said container format will fit your requirement of universal recognisability
[17:11] <pingec> thanks lets try
[17:11] <necktie> Mavrik: ya. that's what i read. still can't figure it out. can you help? i don't want the answer, i just want to figure out how it works
[17:11] <Mavrik> for cropping, it's simple
[17:12] <Mavrik> you apply the crop filter with "-vf crop=<parameters>"
[17:12] <Mavrik> where you pass parameters delimited with semicolons - as in documentation "out_w:out_h:x:y"
[17:12] <Mavrik> meaning, if you want to crop a 400x400 rectangle, starting at 100,200 you pass
[17:12] <Mavrik> -vf crop=400:400:100:200
[17:13] <Mavrik> there are examples right under the description in the documentation file
[17:13] <necktie> Mavrik: so how would i get the parameters for 2 pixels on the left, 4 right, 20 top, and 28 bottom. the video is 1920x1080.
[17:14] <Mavrik> -vf crop=in_w-6:in_h-48:2:20
[17:14] <Mavrik> (your box has to be (2+4) smaller in width, (28+20) smaller in height and it has to start on 2,20
[17:14] <mystica555_> dragos241: oh btw i just read your comment about the sdp file; the sdp file should be made by the server and present in its web dir; it seems to be wrong or unused for how to describe to ffmpeg where to stream
[17:14] <pingec> mystica555_ thanks, great trick this copy parameter
[17:14] <mystica555_> pingec: i just got done remuxing some divx+mp3 into .mp4 containers for my HP Touchpad because it couldnt demux .avi :\
[17:15] <mystica555_> but...now, COSMOS IN BED!
[17:15] <pingec> hehe :)
[17:15] <necktie> Mavrik: i think i get it now. thanks so much! :)
[17:16] <dragos241> 07:18 < dragos241> mystica555_: Yeah the info on it is kinda sparce
[17:16] <dragos241> I don't know if that went through
[17:16] <dragos241> I lost connection for a tad
[17:16] <mystica555_> it didnt
[17:16] <mystica555_> first time im seeing the line ;)
[17:16] <dragos241> Just wanted to ensure it went through
[17:17] <mystica555_> k
[17:17] <dragos241> Now, experimenting with feeds and streams. The stream depends on a local feed.
[17:17] <dragos241> It doesn't seem to be picky what it's called nor what extension it uses
[17:18] <dragos241> The feed that is
[17:18] <mystica555_> im not sure i follow what context of 'feed' and 'stream' you are using
[17:19] <dragos241> Oh, sorry
[17:19] <dragos241> In the config you have a feed and a stream
[17:19] <dragos241> The feed is what ffmpeg passes into to, and the stream is read from a media player once info from ffmpeg is passed.
[17:19] <dragos241> For example a feed would be feed.ffm
[17:20] <dragos241> A stream may be stream.mp4
[17:20] <mystica555_> ok
[17:20] <dragos241> In my case, my feed is stream.sdp and my stream is stream2.sdp
[17:21] <mystica555_> ok
[17:21] <mystica555_> i can only wonder whether or not ffmpeg is doing some auto-guessing based on extension
[17:21] <mystica555_> thus perhaps naming it .ffm would let ffmpeg know what its doing better 8shrug*
[17:22] <Mavrik> ffmpeg chooses demuxer depending on the extension, so yeah ;)
[17:22] <dragos241> Interesting
[17:22] <dragos241> Naming the feed stream.ffm did nothing
[17:23] <mystica555_> hm
[17:24] <dragos241> However. I still have the output to when I did that
[17:24] <dragos241> I'm posting it on pastebin
[17:24] <mystica555_> k
[17:24] <dragos241> http://pastebin.com/UUpHFwiz
[17:25] <dragos241> Whilst I can't see anything different here, maybe there's something minute.
[17:28] <dragos241> Also if you need the stream file. I have that too.
[17:29] <dragos241> The current one uses the sdp.
[17:29] <dragos241> It was posted earlier, but since has been changed.
[17:29] <dragos241> http://pastebin.com/Kh3eUUja
[17:30] <necktie> Mavrik: one last question. the video is 1920x1080. and i plan on encoding it as 720p. do i need to scale or set dar/sar to do this? or do i just do -s 1280x696? 696 would be the new height instead of 720 due to the cropping..
[17:32] <mystica555_> dragos241: what happens if you omit -f rtp from your output ?
[17:33] <dragos241> Ah. I think I've tried that. It interprets the output as a file.
[17:33] <dragos241> And says it cannot find it.
[17:33] <dragos241> I'll try again though
[17:33] <dragos241> [NULL @ 0x23358b0] Unable to find a suitable output format for 'rtp://192.168.1.102:8090/stream.sdp'
[17:33] <dragos241> rtp://192.168.1.102:8090/stream.sdp: Invalid argument
[17:34] <dragos241> Is the result.
[17:34] <mystica555_> try http for the stream feed file
[17:35] <mystica555_> afaik http is how the static files get served; rtp is simply for the live stream data
[17:35] <dragos241> Hm. I just wiped the audio codec argument and replaced it with -an
[17:35] <dragos241> It works
[17:35] <mystica555_> ah interesting
[17:35] Action: mystica555_ again decries alsa recording
[17:36] <dragos241> Not sure if it plays though
[17:36] <Mavrik> necktie, I suggest you do scale, -s is deprecated
[17:36] <Mavrik> necktie, also, you'll have to put scale filter AFTER crop filter (obviously)
[17:37] <Mavrik> so something like
[17:37] <Mavrik> -vf crop=in_w-6:in_h-48:2:20,scale=-1:696
[17:37] <Mavrik> this will crop video and scale it while keeping the aspect ratio
[17:43] <necktie> Mavrik: when i try that, i get this "width not divisible by 2 (1281x696)"
[17:44] <Mavrik> yuck
[17:45] <Mavrik> I would have thought the scale filter can fix that
[17:45] <Mavrik> necktie, you can just manually set scale=1280x696
[17:45] <Mavrik> er
[17:45] <Mavrik> scale=1280:696
[17:53] <necktie> Mavrik: that worked. thanks again
[17:58] <Tjoppen> what's the way to use x11grab nowadays? -f x11grab etc. says "Unknown input format: 'x11grab'
[17:58] <Tjoppen> even though configura has --enable-x11grab
[17:59] <Mavrik> Tjoppen, check ffmpeg -formats
[18:00] <Tjoppen> ffmpeg -formats|grep x11 -> nothing
[18:00] <Tjoppen> let me update to latest master
[18:01] <Mavrik> Tjoppen, also, funny thing I noticed: if you're missing x11-dev libs, ffmpeg compiles without x11 support even if you go --enable :)
[18:02] <Tjoppen> !!
[18:02] <Tjoppen> libx11-dev is already the newest version.
[18:04] <Tjoppen> yep, master doesn't work either
[18:05] <Tjoppen> libxcb-image0-dev perhaps?
[18:18] <Tjoppen> libx11-xcb-dev mayhaps
[18:18] <Tjoppen> nope.avi
[18:23] <Tjoppen> there we go. needed libxext-dev and libxfixes-dev
[18:24] <Mavrik> wow :)
[18:27] <Tjoppen> today's quest: grab desktop, webcam, microphone and output audio while maintaining sync
[18:30] <Mavrik> hah, good luck :)
[18:32] <Tjoppen> might want yuv444p for the capture.. h.264 doesn't support rgb I suppose?
[18:32] <Tjoppen> I wonder.. ffv1 perhaps
[18:33] <Tjoppen> yep. excellent
[18:34] <Mavrik> Tjoppen, x264 supports RGB, but not via ffmpeg afaik
[18:35] <Tjoppen> ic. well, I think ffv1 will suffice
[18:35] <Tjoppen> or did it not do inter compression?
[18:38] <Tjoppen> apparently not. libx264 + losless_ultrafast + yuv444p it is then
[19:28] <tokam> how to convert an mkv video using ffmpeg to mp3
[19:31] <tokam> unknown encoder .mp3
[19:36] <tokam> libmp3lame is missing
[20:35] <Peace-> just compiled
[20:35] <Peace-> colorspace not supported in LJPEG
[00:00] --- Mon Feb 6 2012
1
0