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:06] <^sandro^Zzz> hello... can anyone confirm that GPU support for FFMPEG is availab.e ?
[01:06] <^sandro^Zzz> available through vdpau and or vaapi
[01:06] <^sandro^Zzz> i have nvidia cards
[01:07] <Compn> for decoding ?
[01:07] <Compn> i dont remember if ffmpeg can use it
[01:11] <durandal_1707> --enable-vdpau enable VDPAU code [autodetect]
[01:11] <durandal_1707> --enable-vaapi enable VAAPI code [autodetect]
[01:14] <^sandro^Zzz> i did compile it with it.. but how would i use it in the ffmpeg -i commands
[01:18] <durandal_1707> is is only for decoding, ffmpeg -vcodec mpeg2_vdpau -i ...
[01:18] <^sandro^Zzz> :(
[01:19] <durandal_1707> hardware encoding sucks
[01:20] <^sandro^Zzz> anyone have any experience with buffer overruns ?
[01:20] <^sandro^Zzz> http://pastebin.com/fpu1PzD0
[01:20] <^sandro^Zzz> not sure what im doing wrong.. maybe its something obvious
[01:25] <^sandro^Zzz> anyone?
[01:25] <^sandro^Zzz> im stuck .. and can't move forward
[01:27] <durandal_1707> you can to such stuff from stream at least mpegts can not handle that
[01:28] <^sandro^Zzz> sorry.. im not sure i understood that
[01:29] <durandal_1707> and why are you usin all that funky arguments for x264, ffmpeg support parsing presets directly to x264
[01:29] <durandal_1707> you just set name of x264 preset and you are done with it
[01:30] <^sandro^Zzz> im not sure i undestand :(
[01:30] <^sandro^Zzz> what would the new line look like ?
[01:30] <durandal_1707> ^sandro^Zzz: mpegts muxer looks like does not supports streamed input
[01:31] <^sandro^Zzz> so how do i capture the raw UDP input ?
[01:31] <durandal_1707> mpegts @ 0x232c3a0] Unable to seek back to the start
[01:31] <^sandro^Zzz> its a live channel
[01:31] <durandal_1707> pick another muxer/container which is not brain dead
[01:32] <^sandro^Zzz> i feel stupid as hell righ tnow
[01:33] <^sandro^Zzz> you mean instead of mpegts
[01:33] <^sandro^Zzz> but im not even specifying mpegts
[01:33] <durandal_1707> root@bit14:/usr/src/ffmpeg# ffmpeg -y -i udp://@:5000 -f mpegts ...
[01:34] <^sandro^Zzz> ok i had remvoed it :P
[01:34] <^sandro^Zzz> ok i was looking at a different line
[01:34] <^sandro^Zzz> ffmpeg -y -i udp://@:5000 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -s 704x480 -vcodec libx264 -b:v 2000k -map p:"167" -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 128k -maxrate 16000k -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 /mnt/encoder/test.ts
[01:35] <^sandro^Zzz> gives me the same result
[01:35] <^sandro^Zzz> oops.. wihtout the mpegts file in the beginnig
[01:35] <^sandro^Zzz> what do you recommend i try instead of the mpegts
[01:35] <^sandro^Zzz> ?
[01:35] <^sandro^Zzz> for a UDP input
[01:35] <durandal_1707> you are still using .ts at the end
[01:37] <^sandro^Zzz> but it has to be a ts file
[01:38] <^sandro^Zzz> because i have to segment it to m3u8
[01:38] <^sandro^Zzz> im creating an HLS stream
[01:38] <^sandro^Zzz> its weird because i got it going before.. not sure what i did.. but it just stopped
[01:38] <^sandro^Zzz> but i did get it to a .ts file before
[01:39] <durandal_1707> than just use -acodec/-vcodec copy
[01:43] <^sandro^Zzz> hum.. i see your point
[01:43] <^sandro^Zzz> but can i still bring it down from its original 15Mbit/s to the 2Mbit/s for example
[01:43] <^sandro^Zzz> and into h264
[01:43] <^sandro^Zzz> i want to have it write in H264
[01:44] <durandal_1707> try that on file
[01:45] <^sandro^Zzz> didn't work :(
[01:45] <^sandro^Zzz> doesn't do anything still same error
[01:45] <^sandro^Zzz> what should the line look like?
[01:46] <^sandro^Zzz> even as simple as ffmpeg -y -i udp://@:5000 -map p:"167" test.ts
[01:46] <^sandro^Zzz> still gives me buffer overrun
[01:46] <^sandro^Zzz> :(
[01:47] <durandal_1707> i dont see that messages on pastebin
[01:50] <^sandro^Zzz> no... im just saying.. same exact error
[01:50] <^sandro^Zzz> nothing changed
[01:50] <^sandro^Zzz> i can paste it for you
[01:50] <^sandro^Zzz> one sec
[01:51] <^sandro^Zzz> http://pastebin.com/aQB5S9hQ
[01:52] <^sandro^Zzz> im really stsuck on this.. :(
[01:52] <^sandro^Zzz> im in awww
[01:52] <durandal_1707> complaining all the time will get you nowhere
[01:53] <^sandro^Zzz> i understand.. im trying hard.. been at it since morning.. reading all google stuff... can't seem to find the solution ( frustrating )
[01:53] <^sandro^Zzz> im sure i will happen eventually but.. :(
[01:53] <durandal_1707> try to use -threads 1
[01:54] <^sandro^Zzz> tried.. same error
[01:57] <durandal_1707> try increasing buffer -rtbufsize (guessing now)
[01:59] <durandal_1707> or edit libavformat/udp.c and increase UDP_TX_BUF_SIZE (another guessing, not my code)
[02:06] <michaelni> you can also try old releases and if one works git bisect
[02:06] <michaelni> if its a regression and we know what caused it then its likely easy to fix
[02:13] <^sandro^Zzz> well.. actually it was working before so it would appear maybe it is a problem with the new release of ffmpeg
[02:15] <^sandro^Zzz> that would make sense
[02:18] <^sandro^Zzz> i think it was working with ffmpeg-export-snapshot-2009-12-02
[02:19] <durandal_1707> that is soo old
[02:20] <^sandro^Zzz> yup.. i know i got it writing to file on another ffmpeg..
[02:20] <^sandro^Zzz> it makes sense.. it was working ok for me yesterday
[02:20] <^sandro^Zzz> today it started giving me the buffer overurns.. and i have been palying around and recompiling ffmpeg a few times
[02:20] <^sandro^Zzz> but each time i went to the repo.. latest git
[02:20] <^sandro^Zzz> maybe it was not that version.. not sure.
[02:28] <CIA-67> ffmpeg: 03Anton Khirnov 07master * r3f77c41171 10ffmpeg/libavcodec/bmpenc.c: bmpenc: switch to encode2().
[02:28] <CIA-67> ffmpeg: 03Anton Khirnov 07master * r89829242a6 10ffmpeg/libavcodec/dnxhdenc.c: dnxhdenc: switch to encode2.
[02:28] <CIA-67> ffmpeg: 03Anton Khirnov 07master * r177bb4bf50 10ffmpeg/ (3 files in 3 dirs): cljr: set the properties of the coded_frame, not input frame.
[02:28] <CIA-67> ffmpeg: 03Anton Khirnov 07master * r3dffa1b46c 10ffmpeg/libavcodec/cljr.c: cljr: implement encode2.
[02:28] <CIA-67> ffmpeg: 03Andrey Utkin 07master * rc22e2ec9d1 10ffmpeg/avconv.c:
[02:28] <CIA-67> ffmpeg: avconv: set AVFormatContext.duration from '-t'
[02:28] <CIA-67> ffmpeg: Set output files duration to recording_time option, if given.
[02:28] <CIA-67> ffmpeg: Rationale: to save duration into metadata for file that is written to
[02:28] <CIA-67> ffmpeg: non-seekable output, for formats like FLV (with metadata at beginning).
[02:28] <CIA-67> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:28] <CIA-67> ffmpeg: 03Andrey Utkin 07master * re3cc617263 10ffmpeg/libavformat/utils.c:
[02:28] <CIA-67> ffmpeg: lavf: fix aspect ratio mismatch message.
[02:28] <CIA-67> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[02:28] <CIA-67> ffmpeg: 03Ronald S. Bultje 07master * ref66a0ed2e 10ffmpeg/libswscale/x86/output.asm:
[02:28] <CIA-67> ffmpeg: swscale: use named registers in yuv2yuv1_plane() place.
[02:29] <CIA-67> ffmpeg: Most of the function had been converted before, but I forgot this
[02:29] <CIA-67> ffmpeg: particular location.
[02:29] <CIA-67> ffmpeg: 03Ronald S. Bultje 07master * r8c433d8a03 10ffmpeg/libswscale/x86/output.asm:
[02:29] <CIA-67> ffmpeg: swscale: rename "dstw" to "w" to prevent name collisions.
[02:29] <CIA-67> ffmpeg: "dstw" can collide with the word-version of the "dst" argument, causing
[02:29] <CIA-67> ffmpeg: all kind of weird stuff down the pipe.
[02:29] <CIA-67> ffmpeg: 03Ronald S. Bultje 07master * r3e23badd83 10ffmpeg/libswscale/x86/output.asm: swscale: convert yuv2yuvX() to using named arguments.
[02:29] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r4e04e1b81e 10ffmpeg/: (log message trimmed)
[02:29] <CIA-67> ffmpeg: Merge remote-tracking branch 'qatar/master'
[02:29] <CIA-67> ffmpeg: * qatar/master:
[02:29] <CIA-67> ffmpeg: swscale: convert yuv2yuvX() to using named arguments.
[02:30] <CIA-67> ffmpeg: swscale: rename "dstw" to "w" to prevent name collisions.
[02:30] <CIA-67> ffmpeg: swscale: use named registers in yuv2yuv1_plane() place.
[02:30] <CIA-67> ffmpeg: lavf: fix aspect ratio mismatch message.
[08:34] <LordRPI> Silly question: in the multithreaded part of ffmpeg decoding, does each additional thread cause an additional frame to be buffered before you get access to the first frame?
[09:00] <^sandro^Zzz> hello
[09:00] <^sandro^Zzz> the buffer overrun issue doesn't exist in the 0.10 version
[09:00] <^sandro^Zzz> so its a bug in the latest version
[09:11] <^sandro^Zzz> hello
[09:13] <^sandro^Zzz> this is silly.. had it working a min ago
[09:13] <^sandro^Zzz> ran command again
[09:13] <^sandro^Zzz> [libx264 @ 0x10ae020] Input picture width (704) is greater than stride (0)
[09:13] <^sandro^Zzz> Video encoding failed
[09:13] <^sandro^Zzz> anyone have any ideas?
[10:23] <av500> LordRPI: yes
[15:20] <^sandro^Zzz> hello
[15:20] <^sandro^Zzz> [libx264 @ 0x1267640] Input picture width (704) is greater than stride (0)
[15:20] <^sandro^Zzz> anyone know what that means?
[15:20] <ohsix> stride is supposed to be >= the width
[15:21] <^sandro^Zzz> how do i set stride
[15:21] <^sandro^Zzz> i dont know what it means
[15:49] <^sandro^Zzz> anyone?
[15:50] <av500> stride is the real width of the buffer in memory
[15:50] <av500> stride >= width
[15:50] <^sandro^Zzz> but i dont know how to fix this error
[15:51] <^sandro^Zzz> im trying to trancode.. here is the url i am using
[15:51] <^sandro^Zzz> ffmpeg -y -i udp://@:5000 -f mpeg2video -acodec libmp3lame -ar 48000 -ab 64k -vcodec libx264 -map p:"167" -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 3000k -qcomp 0.6 -qmin 10 -qmax 51 -level 30 -bufsize 2M -metadata service_name="CNC WOrld English" -threads 0
[15:51] <^sandro^Zzz> /mnt/encoder/test.ts
[15:52] <^sandro^Zzz> errors out with : [libx264 @ 0x2018760] Input picture width (704) is greater than stride (0)
[15:52] <^sandro^Zzz> Video encoding failed
[15:53] <av500> thats not an url
[15:53] <Tjoppen> try putting the sample on disk and try transcoding that to eliminate any udp issues
[15:54] <^sandro^Zzz> what do you mean ? instead of udp:// ?
[15:55] <^sandro^Zzz> but its a live capture
[15:55] <Tjoppen> so grab the stream using the appropriate tool
[15:55] <^sandro^Zzz> what kind of tool ?
[15:56] <Tjoppen> nc seems able to do it
[15:56] <^sandro^Zzz> nc ?
[15:56] <Tjoppen> man nc
[15:57] <^sandro^Zzz> so.. we nc
[15:57] <^sandro^Zzz> so we nc | ffmpeg -i -
[15:57] <^sandro^Zzz> something like that ?
[15:58] <av500> no
[15:58] <av500> man nc
[15:58] <Tjoppen> no, something like nc -u ip port > file, then run ffmpeg on the file so it doesn't depend on the health of the network, and so you can upload the sample and possibly file a bug report
[15:58] <av500> then you read it
[15:58] <Tjoppen> like grab a couple of megs off the stream
[15:59] <^sandro^Zzz> but that file will grow huge
[15:59] <Tjoppen> if the problem persists with the file on disk then you might want to file a ticket at https://ffmpeg.org/trac/ffmpeg/ and attach the file
[15:59] <Tjoppen> just ctrl+c until you have enough
[15:59] <Tjoppen> *when
[16:00] <^sandro^Zzz> ho ic
[16:00] <^sandro^Zzz> one sec.. let me try
[16:00] <^sandro^Zzz> prblem is i need to capture live to transcode into segmenter
[16:01] <Tjoppen> one problem at a time
[16:10] <^sandro^Zzz> funny thing is that it sometimes works :(
[16:10] <^sandro^Zzz> i had it working yesterday
[16:10] <^sandro^Zzz> today nada
[16:10] <^sandro^Zzz> not even sure what i changed
[16:47] <^sandro^Zzz> can anyone help with this ?
[16:47] <^sandro^Zzz> im stuck and no place to go
[16:47] <^sandro^Zzz> im all googled out
[16:48] <^sandro^Zzz> i think its a bug
[16:52] <kierank> who was the guy interested in dvb subtitles
[17:40] <t4k1s> sandro: what is sending your UDP packets?
[17:43] <^sandro^Zzz> a capture device
[17:43] <^sandro^Zzz> sending the mp2 udp
[20:05] <CIA-48> ffmpeg: 03Reimar Döffinger 07master * r47e015e6f1 10ffmpeg/libavformat/matroskadec.c: (log message trimmed)
[20:05] <CIA-48> ffmpeg: matroskadec: properly fall back to generic seek.
[20:05] <CIA-48> ffmpeg: In particular, detect when the index is obviously broken.
[20:05] <CIA-48> ffmpeg: This fixes the worst symptoms of trac issue #958 and makes
[20:05] <CIA-48> ffmpeg: sense to allow seeking in files without index.
[20:05] <CIA-48> ffmpeg: However it is possible that there still is an index parsing bug
[20:05] <CIA-48> ffmpeg: with that file.
[20:05] <CIA-48> ffmpeg: 03Reimar Döffinger 07master * rc18899d432 10ffmpeg/libavformat/matroskadec.c:
[20:05] <CIA-48> ffmpeg: matroskadec: reset num_levels on seek.
[20:05] <CIA-48> ffmpeg: Otherwise when we run into levels beyond the max. allowed
[20:05] <CIA-48> ffmpeg: playback will be permanently broken.
[20:05] <CIA-48> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[21:49] <CIA-48> ffmpeg: 03Reimar Döffinger 07master * r048cc80292 10ffmpeg/tests/ref/seek/lavf_mkv:
[21:49] <CIA-48> ffmpeg: Update mkv seek tests.
[21:49] <CIA-48> ffmpeg: Seek beyond the end will now directly return an error instead
[21:49] <CIA-48> ffmpeg: of claiming to succeed and then return EOF immediately on next read.
[21:49] <CIA-48> ffmpeg: This change is because before 47e015e6f1913f7da943898eb7716a954f947ff7
[21:49] <CIA-48> ffmpeg: mkv seek incorrectly never failed.
[21:49] <CIA-48> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[22:20] <ubitux> ok, got a new box
[22:21] <ubitux> i will be able to run a valgrind with and without undef option
[22:25] <michaelni> ubitux: \o/
[22:49] <ubitux> can we raise the number of jobs?
[22:49] <ubitux> (with fate)
[22:50] <ubitux> mmh makeopts
[23:53] <ubitux> ok it's way more faster with the new box
[23:53] <ubitux> 1 hour instead of 7
[00:00] --- Tue Feb 14 2012
1
0
[00:05] <freezway> how to i force ffplay to play it
[00:05] <freezway> so i want to try playing an image file as sound (basiccly treating a .tiff as a wave)
[00:05] <freezway> how to i force ffplay to play it
[00:18] <burek> no__, it can
[00:18] <burek> but its still the double of cpu
[00:19] <burek> for ex, ffmpeg ... -i input ... output1.avi ... output2.wav ... output3.flv
[00:20] <burek> its the same cpu utilization as if you've used 3 different ffmpeg processes
[00:22] <Mavrik> except you don't pay the 3x decoding price and process initialization.
[00:22] <burek> i think you do
[00:22] <burek> try and test it
[00:24] <Mavrik> see the source.
[00:25] <burek> ok, i'd be glad to see it's finally done if it is :)
[00:35] <no__> ok, understood. So maybe my bes toption isto encode the video directly to a media server like red5 via ffmpeg, then read that stream and write it to disk
[01:04] <maujhsn> -timestamp time (output) Need practical output for this i.e. ffmpeg blah blah blah.
[01:04] <^sandro^Zzz> hello everone
[01:04] <^sandro^Zzz> i compiled ffmpeg with vdpau and vaapi
[01:05] <^sandro^Zzz> so i can use GPU support ... any lucck how i would implement it ?
[01:05] <^sandro^Zzz> anyone ever do this?
[01:06] <iive> mplayer uses vdpau, have in mind it is nvidia only thing.
[01:06] <maujhsn> Need practical output for this i.e. ffmpeg blah blah blah. -timestamp time (output)
[01:06] <hi117> GPU can only be used for decoding support
[01:07] <^sandro^Zzz> so i can't encode something or transcode i should say from mpeg2 to h264 ?
[01:07] <hi117> using GPU? no
[01:07] <^sandro^Zzz> damn... that sux..
[01:07] <^sandro^Zzz> it should be worked on.. its very popular and a lot of users would use that
[01:08] <hi117> ya, video encoding doesnt benefit from multicore processing much
[01:08] <hi117> it cant be helped unless you can see the future
[01:08] <hi117> because each frame references the one before it, so it cant be done until the one before it is done
[01:08] <^sandro^Zzz> really? i thought it would .. hum..
[01:09] <^sandro^Zzz> another question.. im running a udp://@:5000 input .. and output to test.ts
[01:09] <^sandro^Zzz> [udp @ 0x232c8e0] circular_buffer: OVERRUN
[01:09] <^sandro^Zzz> i get that error
[01:09] <hi117> theres PNG video, where every frame is a PNG image played in sequence, but its very large
[01:12] <^sandro^Zzz> with GPU support on live streams.. can't you send more than one encoding channel to it and reduce the amoutn of servers ?
[01:13] <^sandro^Zzz> meaning can't the GPU support a lot more simultanious channels then the regular CPU's ?
[01:14] <maujhsn> Need practical output for this i.e. ffmpeg blah blah blah. -timestamp time (output)
[01:14] <hi117> but GPUs are very slow with encoding operations
[01:14] <^sandro^Zzz> slower then cpu's ?
[01:15] <hi117> yes, theyre only fast because they have 100s of cores
[01:16] <^sandro^Zzz> would would htat not mean more channels on a GPU then a CPU ?
[01:16] <^sandro^Zzz> say i was doing live transcoding of mpeg2 content
[01:17] <hi117> mpeg2 has lossless so only if transcoding to mpeg2
[01:17] <^sandro^Zzz> another issue i can't seem to fing out why is happening is.... when i transcode the mpeg2 signal from the udp input and i output it to a TS file.. it gives me the following error : [udp @ 0x232c8e0] circular_buffer: OVERRUN
[01:17] <hi117> and even then i dont think youll see a huge benefit
[01:18] <^sandro^Zzz> cool.. well i will try and test that when i can :) when software is available for i guess
[01:18] <^sandro^Zzz> about that error im getting buffer overrun .. anyone know how ti can fix that.. let me pastebin
[01:19] <hi117> nope to that one and maujhsn's problem
[01:19] <^sandro^Zzz> http://pastebin.com/fpu1PzD0
[01:19] <^sandro^Zzz> anyone see anything obvious
[01:21] <maujhsn> hil117 -timestamp now|([(YYYY-MM-DD|YYYYMMDD)[T|t| ]]((HH[:MM[:SS[.m...]]])|(HH[MM[SS[.m...]]]))[Z|z])
[01:21] <maujhsn> This is confusing!
[01:22] <hi117> that it is
[01:25] <^sandro^Zzz> anyone ?
[01:25] <^sandro^Zzz> im stuck
[02:03] <diegoviola> hi
[02:03] <diegoviola> how can i increase the video bitrate for webm encoding?
[02:03] <diegoviola> video quality
[02:21] <diegoviola> -b:v?
[02:22] <diegoviola> yeah that works
[02:25] <xelxebar> hey guys, anyone know of a way to extract raw subtitles? I'm doing something like this with the video
[02:25] <xelxebar> ffmpeg -i IN.VOB -an -f yuv4mpegpipe OUT.VOB
[02:25] <xelxebar> and would like to do something similar with certain subtitle streams
[02:28] <^sandro^Zzz> -map
[02:29] <^sandro^Zzz> -map 0:X
[02:30] <diegoviola> how do i rescale a video from 1080p to 720p?
[02:30] <diegoviola> when encoding
[02:30] <diegoviola> s/when/for/
[02:31] <xelxebar> sandro: -map didn't work when I had tried it
[02:32] <xelxebar> Encoder (codec none) not found for output stream #0:0
[02:33] <diegoviola> anyone please?
[02:34] <arbin_> did you read the faq?
[02:35] <diegoviola> not yet, sorry
[02:35] <diegoviola> reading now
[02:42] <freezway> so i want to try playing an image file as sound (basiccly treating a .tiff as a wave)
[02:42] <freezway> how to i force ffplay to play it
[02:46] <xelxebar> ^ that's interesting
[02:47] <xelxebar> what have you tried?
[03:03] <freezway> not muhc
[03:03] <freezway> im writing a program to tack on a valid wav header
[03:58] <JCDenton> So, Mint 12 uses libx264 v0.116, ffmpeg needs v0.118. If I try and remove libx264 from my repo's, it wants to remove VLC and some other apps as well, which I don't want to happen. What would be my best course of action?
[03:59] <JCDenton> To force x264 to uninstall without uninstalling anything else, then compiling it manually?
[04:06] <diegoviola> i'm re-encoding a mkv video to webm but the audio is a bit out of sync
[04:06] <diegoviola> any ideas?
[04:09] <relaxed> JCDenton: use a non-standard prefix for everything and then run ffmpeg with LD_LIBRARY_PATH=/path/to/prefix/lib
[04:10] <relaxed> diegoviola: command?
[04:10] <diegoviola> ffmpeg -ss 01:19:00 -t 00:01:00 -i The.shining.1980.720p.x264.mkv -b:v 5000k shining.webm
[04:11] <JCDenton> relaxed: Thanks
[04:11] <relaxed> diegoviola: is it out of sync at the start?
[04:12] <diegoviola> relaxed: yes
[04:12] <relaxed> diegoviola: add -async 1
[04:12] <diegoviola> ok
[04:12] <diegoviola> video is first then audio starts a bit later
[04:12] <diegoviola> 1-2 seconds
[04:12] <diegoviola> ok
[04:13] <relaxed> JCDenton: point ffmpeg's configure to the libs with --extra-cflags="-I/path/to/x264/include" --extra-ldflags="-L/path/to/x264/lib"
[04:13] <diegoviola> relaxed: that seems to fix it
[04:13] <diegoviola> relaxed: why that happens?
[04:14] <relaxed> diegoviola: for whatever reason when seeking into matroska this happens
[04:15] <diegoviola> relaxed: i see, thanks
[04:15] <relaxed> -async 1 always fixes it for me
[04:15] <diegoviola> is that a matroska bug?
[04:16] <JCDenton> relaxed: Worked perfectly, thanks a ton!
[04:16] <relaxed> JCDenton: you're welcome
[04:17] <relaxed> diegoviola: Maybe a demuxer bug, I'm not sure. Filing a bug report wouldn't be a bad idea.
[04:18] <diegoviola> relaxed: where should i file this bug report? ffmpeg bugtracker?
[04:18] <relaxed> yes
[04:18] <diegoviola> ok
[04:18] <diegoviola> i will
[04:18] <diegoviola> thanks
[04:19] <relaxed> search to see if a reports already exists
[04:19] <diegoviola> ok
[04:20] <JCDenton> Hm, I'm getting "ffmpeg: error while loading shared libraries: libx264.so.120: cannot open shared object file: No such file or directory" even after running ldconfig
[04:21] <JCDenton> Am I going to need to add the path to x264's libraries somewhere then run ldconfig?
[04:21] <relaxed> LD_LIBRARY_PATH=/path/to/prefix/lib ffmpeg
[04:22] <JCDenton> relaxed: worked.
[04:22] <JCDenton> Do I need to run that every time?
[04:22] <JCDenton> Or is there a more permanent solution?
[04:23] <relaxed> make a bourne shell wrapper
[04:24] <relaxed> echo $'#!/bin/sh\nLD_LIBRARY_PATH=/path/to/prefix/lib ffmpeg' >> /usr/local/bin/ffmpeg
[04:24] <relaxed> chmod +x /usr/local/bin/ffmpeg
[04:25] <relaxed> sorry, that should include the full path to ffmpeg
[04:28] <JCDenton> http://pastie.org/pastes/3371267/text
[04:28] <JCDenton> Am I doing that properly?
[04:28] <JCDenton> Nevermind
[04:28] <JCDenton> It's working
[04:28] <relaxed> sorry, bad advice.
[04:28] <JCDenton> No it's not
[04:29] <relaxed> where is ffmpeg installed?
[04:29] <JCDenton> That was the wrong terminal
[04:29] <JCDenton> <_<
[04:29] <relaxed> the path?
[04:29] <JCDenton> /usr/local/bin/ffmpeg
[04:29] <JCDenton> I didn't use any custom prefix for installing ffmpeg
[04:30] <relaxed> where is you install x264?
[04:30] <JCDenton> /usr/local/x264
[04:31] <relaxed> ok, run "make install" in the ffmpeg src dir again
[04:31] <JCDenton> Done
[04:32] <relaxed> echo $'#!/bin/sh\nLD_LIBRARY_PATH=/usr/local/x264/lib /usr/local/bin/ffmpeg "$@"' > /usr/local/bin/ffmpeg-wrapper
[04:32] <relaxed> chmod +x /usr/local/bin/ffmpeg-wrapper
[04:33] <relaxed> now run "ffmpeg-wrapper -i somemediafile" and see if it works
[04:36] <JCDenton> Works! Thanks a bunch
[06:52] <__vincent> good evening
[06:52] <__vincent> i have a broken video file that was not completed by the camera
[06:52] <__vincent> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f06f80008c0] moov atom not found
[06:52] <__vincent> 20120212_002922.mp4: Operation not permitted
[06:53] <__vincent> and i heard that if you have a working video from the same camera, you could replace the header
[06:53] <__vincent> how would i do that
[08:36] <huglester> morning
[08:36] <__vincent> is it possible to copy header of one mp4 file to another
[08:37] <__vincent> to one with no header
[08:37] <__vincent> only video data
[08:37] <JEEB> __vincent, no automagic way as far as I know. You could in theory get the structure of the index (moov atom is basically an index), and then try to edit it by hand, but "good luck and have fun" with that
[08:37] <JEEB> it's not just a header, it's a full index :P
[08:37] <JEEB> with a full listing of video frames and other stuff
[08:37] <JEEB> their sizes etc.
[08:38] <__vincent> i have other working videos from the same camera
[08:38] <JEEB> read what I wrote
[08:38] <JEEB> You could get the general structure of the index off another file, yes
[08:38] <__vincent> i cant find a tool that will edit mp4 files
[08:38] <JEEB> no tool will do this for you
[08:39] <JEEB> In any case, A) it's not easy and B) yes you'll have to edit stuff by hand, and C) yes, you'll have to get your hands dirty with specifications
[08:39] <__vincent> edit by hand you mean with hex editor?
[08:40] <JEEB> that or you'll want to start parsing the file with some scripting/code
[08:40] <JEEB> in any case, it's not an easy task
[08:48] <__vincent> im guessing there are libs for parsing mp4s?
[08:48] <JEEB> there are things to deal with non-broken files yes
[08:49] <JEEB> and there's a boxdumper app in the L-SMASH toolbox that lets you view the composition of a file box etc. wise
[08:49] <__vincent> i have this tool atomicparsley its called
[08:49] <__vincent> for editing tags
[08:49] <__vincent> it shows the moov tree thing
[08:50] <JEEB> well, yeah. You'll just have to by hand parse whatever is needed to create a new moov atom
[08:50] <JEEB> and create it
[09:11] <^sandro^Zzz> hello
[09:11] <^sandro^Zzz> this is silly
[09:11] <^sandro^Zzz> i just had ffmpeg encoding
[09:11] <^sandro^Zzz> [libx264 @ 0x10ae020] Input picture width (704) is greater than stride (0)
[09:11] <^sandro^Zzz> Video encoding failed
[09:11] <^sandro^Zzz> now same command is doing that
[10:13] <knobo> If I have a stremingservier like red5 or earlyvide, how can I play a live stream with ffplay. A stream that publish with ffmpeg to the server shows up fine in a flash application, but I don't know how to show it with ffplay.
[10:14] <knobo> flowplayer takes the host as argument and a &file=/live/test
[13:50] <knobo> This works: ffmpeg -re -f video4linux2 -i /dev/video0 -f avi pipe:| ffplay -i pipe:
[13:50] <knobo> but this does not: ffmpeg -re -f video4linux2 -i /dev/video0 -f flv pipe: | ffplay -i pipe:
[13:50] <knobo> The last one does not start to stream before i press q
[13:51] <knobo> (Then the source ends)
[13:51] <knobo> So it is not "live" streaming
[13:52] <knobo> ffmpeg --version: built on Feb 13 2012 13:21:16 with gcc 4.6.1
[14:14] <priyank> Hi, I have a .flv file and I need to extract extract the audio & video tags from the file printing each tag information. I tried playing with ffmpeg for a while but didn't find anything that will be helpful. Any hints/pointers will be greatly appreciated.
[14:15] <priyank> I also used flvtool2 but it seems to throw EOFError on most of the files
[15:20] <^sandro^Zzz> hello
[15:20] <^sandro^Zzz> [libx264 @ 0x1267640] Input picture width (704) is greater than stride (0)
[15:20] <^sandro^Zzz> anyone kno what that means
[15:49] <stonie> hi.. can i use libfaac to encode with ffmpeg?
[15:50] <stonie> for the audio stream
[15:50] <^sandro^Zzz> can anyone tell me how i can increase stride h264
[15:56] <relaxed> are you getting an error?
[15:57] <^sandro^Zzz> yes
[15:57] <relaxed> pastebin.com the command and all output
[15:58] <^sandro^Zzz> http://pastebin.com/dGjrydRX
[16:02] <relaxed> you need to use a preset
[16:03] <^sandro^Zzz> a preset ?
[16:03] <^sandro^Zzz> like what ?
[16:04] <relaxed> drop all the libx264 options and use "-preset slow"
[16:04] <relaxed> see if that fixes the issue
[16:04] <stonie> does ffmpeg use libfaac?
[16:04] <^sandro^Zzz> ok.. but how does it convert to h264
[16:04] <relaxed> stonie: it can if it was compiled with support
[16:05] <stonie> and how may i use it then when encoding?
[16:05] <relaxed> ^sandro^Zzz: no, I meant use "-vcodec libx264 -preset slow"
[16:06] <relaxed> stonie: -acodec libfaac
[16:07] <^sandro^Zzz> same error
[16:10] <relaxed> command?
[16:12] <^sandro^Zzz> ffmpeg -y -i udp://@:5000 -f mpeg2video -acodec libmp3lame -ar 48000 -ab 64k -vcodec libx264 -preset slow -map p:"167" -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 3000k -qcomp 0.6 -qmin 10 -qmax 51 -level 30 -bufsize 2M -metadata service_name="CNC World English"
[16:12] <^sandro^Zzz> -threads 0 /mnt/encoder/test.ts
[16:14] <relaxed> this command is all wrong
[16:14] <Nagy> what does the following options do? -target pal-dv -async 2048
[16:14] <^sandro^Zzz> soryr.. can you reconstruct or tell me what im doing wrong?
[16:15] <Mavrik> Nagy, "target" sets other options so the output will conform to PAL DV standard
[16:16] <relaxed> ffmpeg -i udp://@:5000 -map p:"167" -metadata service_name="CNC World English" -vcodec libx264 -threads 0 -preset slow -crf 18 -acodec libmp3lame -ar 48000 -ab 64k output.ts
[16:16] <Mavrik> Nagy, "async" tells it to try and fix audio sync issues with maximum 2048 samples of compensation
[16:16] <Nagy> if I want to do -target pal, but not through ffmpeg, but by using the C library, how would I do it?
[16:16] <Nagy> can't find pal-dv option anywher einthe cdoe
[16:17] <Nagy> anywhere in the code*
[16:17] <^sandro^Zzz> relaxed.. same error
[16:18] <^sandro^Zzz> [libx264 @ 0x1fc4000] Input picture width (704) is greater than stride (0)
[16:18] <^sandro^Zzz> Video encoding failed
[16:18] <relaxed> try copying the stream locally and then encoding it
[16:19] <^sandro^Zzz> but it has to be a live stream
[16:19] <^sandro^Zzz> locally would cause a huge file
[16:19] <^sandro^Zzz> and i don't want to keep any file ( other then the one being transcoded )
[16:21] <relaxed> pastebin the command and output
[16:22] <^sandro^Zzz> hey when i recompile x264.. and it says bit depth
[16:22] <^sandro^Zzz> that doesn't have anything to do with it does it ?
[16:22] <^sandro^Zzz> how do i change bit depth on compile to something larnger.. but i dont know if that matters
[16:23] <relaxed> you don't need to change it
[16:24] <^sandro^Zzz> im just recompiling h264 just in case
[16:25] <^sandro^Zzz> nahhh same error
[16:25] <^sandro^Zzz> http://pastebin.com/HXNkWbm1
[16:26] <Julien2> Hi everyone
[16:29] <Julien2> is there someone that uses ffmpeg through Xuggler to encode/decode h264 video?
[16:30] <relaxed> ^sandro^Zzz: it looks like it's having trouble decoding the input.
[16:30] <^sandro^Zzz> ya not sure why
[16:30] <stonie> relaxed, thanks .. does libfaac come with any windows versoin?
[16:31] <Mavrik> stonie, you're not allowed to redistribute ffmpeg with libfaac so no... however zeranoe's builds have libvo-aacenc which is a decent replacement
[16:31] <^sandro^Zzz> im not sure why really.. yesterday with another command ( now i dont know which one ) it was writing to .ts file
[16:32] <^sandro^Zzz> today its not.. is sooooo strange
[16:32] <^sandro^Zzz> can't that error be removed completely from the .c files
[16:33] <^sandro^Zzz> maybe remove the options in frame.c
[16:33] <^sandro^Zzz> for h264
[16:38] <Julien2> What does the error "no frame!" mean when you try to get some h264 video over RTMP stream?
[16:40] <^sandro^Zzz> i have no idea what is going on with this
[16:40] <^sandro^Zzz> the packets are there
[16:43] <Julien2> If I use another codec than h264, I have no problem at all
[16:44] <Julien2> but when I use h264, I use one preset at the encoder side
[16:44] <Julien2> and the same preset at the decoder side
[16:44] <Julien2> but I have this error
[16:49] <relaxed> Julien2: the decoder doesn't take presets
[16:53] <Julien2> I got exactly the same error without setting a preset
[16:53] <stonie> Mavrik, tyvm
[16:53] <Julien2> I try to set the timeBase, frame rate, bit rate, the width and height
[18:14] <Julien2> Somebody can help me please?
[18:32] <tjholowaychuk> hey guys, I just want to delay the audio
[18:32] <tjholowaychuk> im doing $ ffmpeg -itsoffset 2 -i audio.mp3 -i video.mp4 -y out.mp4
[18:32] <tjholowaychuk> which stitches them together fine but it never delays the audio
[18:33] <tjholowaychuk> am i missing something or should that work?
[19:01] <tjholowaychuk> anyone?..
[19:19] <relaxed> tjholowaychuk: put the mp3 in a container and try again
[19:20] <relaxed> wait, ffmpeg -i video.mp4 -itsoffset 2 -i audio.mp3 -y out.mp4
[19:21] <tjholowaychuk> same result with that
[19:21] <tjholowaychuk> it adds the audio fine but it's not delayed
[19:22] <relaxed> stick the mp3 in matroska and try again
[19:24] <tjholowaychuk> damn, nope :( no luck
[19:25] <relaxed> maybe -itsoffset -00:00:02
[19:35] <tjholowaychuk> hmm interesting with ffmpeg -itsoffset -2 -i audio.mp3 -i video.mp4 -y out.mp4
[19:35] <tjholowaychuk> it moves the video but not the audio
[20:46] <Zilly> Is there a command to encode a video out of an image sequence and a sound track at the same time?
[20:46] <Mavrik> well, just add another input with the audio track
[20:54] <Zilly> Mavrik, oh >.< That's simple enough.
[20:54] <Zilly> Mavrik, Thanks!
[21:43] <tweek__> is ffmpeg 0.7 used by many distributions today?
[21:44] <tweek__> and if so, should I write my code with 0.7 in mind, or require that users obtain / build the more recent branches / recent SVN checkout
[21:44] <tweek__> seems like there's a lot of cool new features in 0.10
[21:46] <VooDooNOFX_> centos is still at 0.4.9
[21:47] <tweek__> centos tends to have unbelievably old packages
[21:49] <VooDooNOFX_> ubuntu server is at 0.7.4. Personally, i'd just make them supply it, or just distribute the latest for them
[22:20] <MrKeuner> hello, how can I rip bunch of vob files from out of a dvd into a single mpeg2 file without any conversion
[22:21] <brontosaurusrex> what would be a "assume fps(25), keep audio in sync, resample audio to 48k" type of command in ffmpeg? (thats like pretty trivial with avisynth)
[22:22] <Mavrik> ffmpeg -r 25 -i <input file> <encoding parameters> -async 150 -ar 48000 <output file>
[22:22] <brontosaurusrex> MrKeuner: from what i read it should be a 2 stepper, cat all, then vcodec, a codec copy to get clean headers (but i did not try)
[22:23] <brontosaurusrex> Mavrik: thanks, what is -async 150?
[22:23] <Mavrik> brontosaurusrex, tells ffmpeg that it can "fake" up to 150 audio samples per unit to keep up with sync
[22:24] <brontosaurusrex> oh, cool
[22:24] <Mavrik> bigger number means faster "catchup" but more pronounced audio distortion
[22:26] <renderTom> hello
[22:26] <Mavrik> hey
[22:26] <renderTom> I am looking for Boatjan Strojan :)
[22:27] <renderTom> oh, is he online? What's his nickname?
[22:27] <Mavrik> huh
[22:42] <brontosaurusrex> Mavrik: it says "Option framerate not found."
[22:42] <brontosaurusrex> full command is : "$cmd -r 25 -i "$files" -vf scale=720:576 -aspect 16:9 -pix_fmt yuv422p -vcodec prores -profile 3 -acodec pcm_s16le -async 150 -ar 48000 "$out.mov""
[22:43] <Mavrik> probably the demuxer doesn't support forced framerate
[22:43] <Mavrik> remove the -r 25
[22:47] <MrKeuner> brontosaurusrex, cat all?
[22:47] <MrKeuner> brontosaurusrex, how is that done?
[22:48] <MrKeuner> brontosaurusrex, as in cat file1 file2 > outputFile?
[22:57] <brontosaurusrex> MrKeuner: something like that yeah
[23:04] <MrKeuner> does that really create healthy file?
[23:22] <kelnoky_> when I try this "ffmpeg -i HeartsAndHoovesDay.ColorGraded.Cannonfire40.mkv -vcodec copy -acodec aac PonyS2E17.mp4" I get this: http://pastie.org/3376762 - what am I doing wrong?
[23:24] <JEEBsv> kelnoky_: the (ff)aac encoder is experimental, it advises you that if you really want to use it, you specify a certain setting
[23:24] <kelnoky_> oh lol
[23:24] <kelnoky_> I only read the error at the end, bad habit
[23:25] <JEEBsv> you'll probably prefer libfaac if you want a stable'ish aac encoder, although ffaac can be bearable at times :D
[23:26] <kelnoky_> JEEBsv: right
[23:26] <kelnoky_> I would need to compile that in
[23:26] <kelnoky_> in arch
[23:26] <kelnoky_> that's why I wanted to do aac first
[23:40] <brontosaurusrex> JEEB: i have an x264 question, is that ok?
[23:40] <brontosaurusrex> just kidding, good night all, and thanks
[23:59] <pasteeater> kelnoky_: see ffmpeg-git in AUR
[00:00] --- Tue Feb 14 2012
1
0
Thank You.
1
0
[00:00] <burek> we started couple of months ago, but it should be up these days i hope
[00:00] <durandal_1707> and where it will be?
[00:00] <burek> i guess forum.ffmpeg.org but im not sure
[00:01] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r69494fd5c5 10ffmpeg/libavcodec/lagarith.c:
[00:01] <CIA-67> ffmpeg: lagarith: Fix out of array reads.
[00:01] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:01] <CIA-67> ffmpeg: 03Pavel Koshevoy 07master * r277e52845e 10ffmpeg/ (3 files in 3 dirs): (log message trimmed)
[00:01] <CIA-67> ffmpeg: Modified to generate PAT/PMT for video keyframes
[00:01] <CIA-67> ffmpeg: This is so that TS fragments produced by
[00:01] <CIA-67> ffmpeg: http://code.google.com/p/httpsegmenter/
[00:01] <CIA-67> ffmpeg: would be compatible with JW Player.
[00:01] <CIA-67> ffmpeg: A new member variable prev_payload_key was added to MpegTSWriteStream
[00:01] <CIA-67> ffmpeg: to help detect transition from non-key to key frame, so that
[00:12] <burek> I think I've found the error...
[00:12] <burek> Here it is explained http://ubuntuforums.org/showthread.php?t=1874047
[00:12] <burek> shortly I think Makefile is wrong
[00:12] <burek> it places $(LFLAGS) before $(OBJECTS)
[00:12] <burek> which can easily be proven with the line, which is used to check for alsa
[00:13] <burek> gcc -static -L/usr/local/glibc-static/lib -L/usr/local/lib -L/usr/lib -lasound -lm -ldl -lpthread -lrt -Wl,--as-needed -o /tmp/ffconf.T8CZZJF0 /tmp/ffconf.iJ8ABiTf.o -lasound -lxvidcore -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lspeex -lopenjpeg -lopencore-amrwb -lopencore-amrnb -lmp3lame -L/usr/local/lib -lfreetype -L/usr/local/lib -lass -lm -lfontconfig -lfribidi -lfreetype -laacplus -lm -pthread -lbz2 -lz
[00:13] <burek> all the ldflags are after the objects (-o in this case)
[00:13] <burek> no, before
[00:15] <burek> and I've found on several places people saying that with static linking the order of ldflags and objects does matter
[00:16] <burek> can someone please confirm this
[00:16] <burek> throughout Makefile I see something like: $(LD) $(LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
[00:19] <burek> http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap2_sect6
[00:19] <burek> section "Importance of linking order"
[00:20] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r85f25cfa19 10ffmpeg/ffmpeg.c:
[00:20] <CIA-67> ffmpeg: ffmpeg: fix passlogfile with multiple libx264 streams.
[00:20] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:20] <CIA-67> ffmpeg: 03Paul B Mahol 07master * r07dbea7033 10ffmpeg/libavcodec/tta.c:
[00:20] <CIA-67> ffmpeg: tta: reindent
[00:20] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[00:20] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:21] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r289520fd97 10ffmpeg/libavcodec/mpeg12.c:
[00:21] <CIA-67> ffmpeg: Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.
[00:21] <CIA-67> ffmpeg: Fixes ticket #973.
[00:21] <nevcairiel> sounds like you should use --extra-libs
[00:21] <nevcairiel> which i assume goes into $(FF_EXTRALIBS)
[00:22] <burek> oh :) thanks :) I'll try that now :)
[00:22] <nevcairiel> reading ./configure --help can actually help :p
[00:22] <burek> I know it by heart :S
[00:22] <durandal_1707> burek: try moving $(FF...) after %(LDFLAGS)
[00:26] <burek> woohoo
[00:26] <burek> nevcairiel, thanks it worked :D
[00:27] <burek> durandal_1707, thank you too man :)
[00:27] <burek> now we can have a static build I hope :}
[00:27] <burek> if make works I'll buy you a pack of beers :D
[00:27] <burek> each :)
[00:28] <durandal_1707> i do not consume beers
[00:29] <^sandro^-> anyone know how to setup mapping without using -map 0:X ? the actually mapping of the input keeps changing on me randomly... but the service name and provider info is the same
[00:29] <burek> durandal_1707, a juice? :) wine? :)
[00:29] <durandal_1707> burek: burek will be fine
[00:30] <burek> ^^ :D
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r9d7cee50aa 10ffmpeg/libavcodec/wavpack.c: wavpack: add needed braces for 2 statements inside an if block
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r6ab681a4c1 10ffmpeg/libavcodec/tta.c: ttadec: fix invalid free when an error occurs while decoding 24-bit tta
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r43a4cb070b 10ffmpeg/libavcodec/alacenc.c: alacenc: remove unneeded frame_size check in alac_encode_frame()
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r64fe3eaeb3 10ffmpeg/libavcodec/alacenc.c:
[01:34] <CIA-67> ffmpeg: alacenc: do not set bits_per_coded_sample
[01:34] <CIA-67> ffmpeg: encoded ALAC does not have a fixed number of bits per sample
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r51c2483862 10ffmpeg/libavcodec/alacenc.c: alacenc: fix error handling and potential memleaks in alac_encode_init()
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * rfc9cf0b2a6 10ffmpeg/libavcodec/alacenc.c: alacenc: pretty-printing and other cosmetics
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r302daf5800 10ffmpeg/libavcodec/alacenc.c:
[01:34] <CIA-67> ffmpeg: alacenc: calculate a new max frame size for the final small frame
[01:34] <CIA-67> ffmpeg: Gives a better estimate of buffer requirements and a better decision of
[01:34] <CIA-67> ffmpeg: whether or not to use verbatim mode.
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r6e63228323 10ffmpeg/libavcodec/alacenc.c:
[01:34] <CIA-67> ffmpeg: alacenc: do not set coded_frame->key_frame
[01:34] <CIA-67> ffmpeg: It is already set in avcodec_alloc_frame()
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * r65d15aec77 10ffmpeg/libavcodec/alacenc.c: alacenc: return AVERROR codes in alac_encode_frame()
[01:34] <CIA-67> ffmpeg: 03Justin Ruggles 07master * rb6e8ff72ea 10ffmpeg/libavcodec/alacenc.c:
[01:34] <CIA-67> ffmpeg: alacenc: consolidate bitstream writing into a single function.
[01:34] <CIA-67> ffmpeg: Simplifies use of verbatim mode.
[01:35] <CIA-67> ffmpeg: filters, which leads to uninitialized output, zero-sized allocations,
[01:35] <CIA-67> ffmpeg: loop overflows in SIMD that uses do{..}while(i++<filtersize); instead
[01:35] <CIA-67> (23 lines omitted)
[01:40] <burek> success! :))))))) \o/
[01:40] <burek> thanks a million guys :D
[01:48] <CIA-67> ffmpeg: 03Justin Ruggles 07release/0.10 * r0df7d7482c 10ffmpeg/libavcodec/wavpack.c:
[01:49] <CIA-67> ffmpeg: wavpack: add needed braces for 2 statements inside an if block
[01:49] <CIA-67> ffmpeg: (cherry picked from commit 9d7cee50aa349563aa5faca1cff256ffccff6551)
[02:26] <iive> ^sandro^-: try using -map 0:p:<program_number>
[02:27] <iive> and use the copy for a/v, it won't be more then 8mbps for a program, probably 2-3 on average.
[18:57] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * rb223035511 10ffmpeg/ (4 files in 3 dirs):
[18:57] <CIA-67> ffmpeg: Detect and check for CMOV.
[18:57] <CIA-67> ffmpeg: Some MMX-only CPUs do not have support for CMOV.
[18:57] <CIA-67> ffmpeg: All SSE/MMX2 CPUs should be fine, thus no check was
[18:57] <CIA-67> ffmpeg: added to those functions.
[18:57] <CIA-67> ffmpeg: See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&at…
[18:57] <CIA-67> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[18:57] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * rff92549195 10ffmpeg/libavformat/oggenc.c: (log message trimmed)
[18:57] <CIA-67> ffmpeg: Fix Theora-in-ogg keyframe handling.
[18:57] <CIA-67> ffmpeg: To make seeking work correctly, we must write a new granule for
[18:57] <CIA-67> ffmpeg: each keyframe.
[18:57] <CIA-67> ffmpeg: Unfortunately we currently have no regression tests due to no
[18:57] <CIA-67> ffmpeg: included Theora encoder.
[18:57] <CIA-67> ffmpeg: A test based on -vcodec copy from a Theora FATE sample should
[18:57] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * rc15f3bd3db 10ffmpeg/ffmpeg.c:
[18:57] <CIA-67> ffmpeg: Simplify: use local variable with same contents directly.
[20:55] <CIA-67> ffmpeg: 03Andrey Utkin 07master * rb66b58f7b0 10ffmpeg/libavformat/utils.c:
[20:55] <CIA-67> ffmpeg: Fix aspect ratio mismatch message
[20:55] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:55] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * rf900d60178 10ffmpeg/libavcodec/h264.c:
[20:55] <CIA-67> ffmpeg: h264: Mark previous field as done before throwing it away.
[20:55] <CIA-67> ffmpeg: This fixes some deadlock without the generic cleanup code.
[20:55] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:55] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r6be0960851 10ffmpeg/libavcodec/pthread.c:
[20:55] <CIA-67> ffmpeg: threads: move state update after progress cleanup.
[20:55] <CIA-67> ffmpeg: This order is more logic and might prevent a race.
[20:55] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:55] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r18a7f7465e 10ffmpeg/libavcodec/pthread.c: (log message trimmed)
[20:55] <CIA-67> ffmpeg: threads: Perform the generic progress cleanup more carefully.
[20:55] <CIA-67> ffmpeg: The cleanup is only done now when
[20:55] <CIA-67> ffmpeg: a picture is returned (assuming that it has to be done when its returned)
[20:55] <CIA-67> ffmpeg: a error is returned (assuming that there will be no further progress on the frame)
[20:55] <CIA-67> ffmpeg: the codec is not h264 (this is still needed due to some deadlocks in realvideo)
[20:55] <CIA-67> ffmpeg: This fixes a decoding regression with 00017.MTS
[21:43] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * rf51a072160 10ffmpeg/libavcodec/x86/ (6 files):
[21:43] <CIA-67> ffmpeg: Fix compilation without HAVE_AVX.
[21:43] <CIA-67> ffmpeg: %ifdef HAVE_AVX must now be %if HAVE_AVX.
[21:43] <CIA-67> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[00:00] --- Mon Feb 13 2012
1
0
[00:00] <vadim_> ^sandro^-: i tried a few different versions starting with 0.6.x and ending with the latest 0.10, and this bug is not yet solved...
[00:00] <^sandro^-> but that should not stop me from encoding
[00:01] <^sandro^-> i know some people are using it to encode UDP.. just not sure how they are doing it
[00:01] <burek> vadim_, did you try the latest git
[00:02] <vadim_> burek: cloned it yesterday...
[00:02] <burek> ok
[00:02] <burek> just checking :)
[00:29] <^sandro^-> anyone know how to setup mapping without using -map 0:X ? the actually mapping of the input keeps changing on me randomly... but the service name and provider info is the same
[00:29] <burek> ^sandro^-, mpegts?
[00:31] <burek> ^sandro^-, ping?
[00:33] <^sandro^-> mpegts si..
[00:33] <burek> can you please use pastebin.com, to show your command line and its output?
[00:34] <^sandro^-> http://pastebin.com/VcA8i6gV
[00:37] <burek> oh i see
[00:37] <burek> you want to extract a speficic stream
[00:38] <^sandro^-> ya.. basically
[00:38] <^sandro^-> what does mp4box do
[00:38] <^sandro^-> maybe i can use that
[00:39] <vadim_> burek: maybe you could help me too? :) what do i miss in this command? http://pastebin.com/tz00j1Vw
[00:41] <^sandro^-> well that idea is not going anywhere :(
[00:41] <burek> hm
[00:41] <burek> i know with vlc
[00:41] <burek> but i cant find the option to do it with ffmpeg
[00:43] <PovAddict> how do I demux with ffmpeg, outputting audio and video to separate files?
[00:43] <burek> vadim_, seems like a bug :) can you please report it?
[00:43] <burek> https://ffmpeg.org/trac/ffmpeg
[00:43] <burek> PovAddict, http://ffmpeg.org/ffmpeg.html
[00:44] <burek> use -vn and -an
[00:44] <^sandro^-> hey... Stream #0:5[0x10f5] for that.. is there a way to use the 0x10f5 in the map instead of the 0:5 ?
[00:44] <burek> ffmpeg -i input.avi -vn out.wav
[00:44] <^sandro^-> the 0:5 keeps chaning but the 0x10f5 id never changes
[00:44] <burek> and ffmpeg -i input.avi -an videoonly.avi
[00:44] <PovAddict> burek: I want it in a single step though
[00:45] <burek> ^sandro^-, you need to search the google for something like 'select stream ffmpeg mpegts'
[00:45] <burek> PovAddict, ffmpeg is not designed for such actions, i guess
[00:49] <^sandro^-> i been looking burek
[00:49] <^sandro^-> nada
[00:49] <^sandro^-> nobody seems to have the answer
[00:51] <burek> hmh
[00:51] <burek> I've added that as a feature suggestion right now
[00:52] <burek> can you use vlc until ffmpeg implements that feature?
[00:52] <burek> also monitor this thread http://ffmpeg.org/trac/ffmpeg/ticket/995
[00:52] <burek> to be notified when (if) it is done
[00:53] <vadim_> burek: ok... i'll report it... but IMHO the documentation is too vague in this domain... it would be nice if the documentation would provide an usage example
[00:54] <burek> we'll work on it vadim_ :)
[00:54] <vadim_> burek: thx a lot :)
[00:54] <burek> if you really want it to be done more fast, you can help us by providing some examples
[00:54] <burek> so we can embed it into the documentation
[00:54] <burek> :beer:
[00:54] <burek> :)
[00:57] <vadim_> burek: as soon as i find out a working command i will provide it...
[00:58] <burek> thanks :)
[01:02] <vadim_> burek: in short perspectiv it would be great if the bug with udp would be solved...
[01:09] <burek> I agree :)
[02:13] <rickk> hello
[02:13] <rickk> anyone can advice to me?
[02:13] <rickk> about h264 decoder
[02:18] <relaxed> rickk: what about it?
[02:41] <peng-1> im recording with ffmpeg, but the picture isnt as crisp as I would like, the desktop is sharp irl. Does anyone know a way to record a clearer cast with ffmpeg?
[02:52] <rickk> i got this error
[02:52] <rickk> [h264 @ 04c5e440] error while decoding MB 23 32, bytestream (-22)
[02:52] <rickk> [h264 @ 04c5e440] concealing 1066 DC, 1066 AC, 1066 MV errors
[02:52] <rickk> [h264 @ 04c5e440] no frame!
[02:53] <rickk> with fragmentation on the bottom.
[02:53] <rickk> I think it relate to demux module i have developed..
[02:55] <burek> peng-1
[02:55] <burek> can you please use pastebin.com, to show your command line and its output?
[02:55] <burek> rickk, you too
[02:56] <rickk> i don't have such command line..
[02:57] <rickk> i am using the avcodec for my project.
[02:57] <rickk> im only using decoder of ffmpeg.
[02:57] <burek> have you tried asking your question in #libav ?
[02:58] <rickk> ok im going to
[03:11] <burek> when vlc is compiled to use ffmpeg as an encoder, does it use it's libav libs directly or does it use ffmpeg executable?
[03:12] <burek> or, should I ask like this.. can i somehow start vlc, tell it to use ffmpeg as an encoder (this is the easy part) and somehow tell it to use some of the ffmpeg's (or libavfilter's) filters
[03:13] <peng-1> hmm
[03:13] <peng-1> burek: sorry got pre-disposed
[03:14] <peng-1> burek: http://paste.pocoo.org/show/549536/
[03:16] <peng-1> apologies, my system rebooted itself :/
[03:17] <burek> just a sec
[03:17] <peng-1> Thanks :)
[03:20] <burek> -f alsa -f x11grab
[03:20] <burek> this is wrong
[03:20] <burek> since the ordering of params DOES matter in ffmpeg
[03:20] <burek> try to make it like this
[03:21] <burek> ffmpeg -f alsa -i hw:0 -f x11grab -r 27.5 -s 1024x768 -i :0 -vcodec huffyuv -sameq -acodec libmp3lame -b 50000 -async 24 screenie.avi
[03:21] <burek> also
[03:21] <burek> -b is bitrate of the video stream in bytes per second
[03:21] <burek> so you might want to use -b 50k
[03:22] <burek> if thats what you want
[03:22] <burek> although it seems too low
[03:23] <burek> try something like -b 800k
[03:23] <burek> also, -sameq i think is mpeg param only, not huffyuv
[03:24] <burek> :/
[03:26] <peng-1> sorry dc'd!
[03:27] <peng-1> burek: you mentioned -f alsa -f x11grab, what did you mean ?
[03:29] <burek> http://ffmpeg.test-lab.ch/irclogs/ffmpeg.log.20120212
[03:36] <peng-1> burek: Thank you heaps.
[03:36] <peng-1> There was still some 3d frameloss
[03:37] <peng-1> am i using the correct kind of codec? Is there another more suitable for 3D ? Im trying to record the beryl cube for example.
[03:37] <burek> well, try to use some better lossless video codec
[03:37] <peng-1> can you suggest one?
[03:37] <burek> try looking at camtasia
[03:37] <peng-1> ok
[03:37] <burek> or camstudio
[03:38] <burek> it needs to be fast enough to encode frames while it's grabbing them
[03:38] <burek> and generating 3d content
[03:38] <burek> a lot of work for a cpu :)
[03:43] <peng-1> hmm, do you think camtasia would improve results? :p
[03:43] <peng-1> i thought ffmpeg was the best way to go
[03:44] <burek> -vcodec camtasia
[03:44] <burek> -vcodec camstudio
[03:44] <burek> or ffmpeg -codecs
[03:44] <burek> and choose yours :)
[03:49] <neon22121> hi today i checked ffplay...the latest win32 build form zeranoe. now my problem is if i try to play any file with dts or ac3...i cant hear anything. could somebody help me??
[03:50] <peng-1> cool :)
[03:53] <neon22121> ooooh thank you :-P
[04:05] <codepython777> i want to work with a movie format that windows media player understands. I tried mp4 and wmv with h264, and got in trouble. My inputs usually come from Canon's AVCHD format. Does anyone have any recommendations for me please?
[04:05] <rhizmoe> hi all
[04:06] <rhizmoe> codepython777: what formats does wmp understand?
[04:08] <peng-1> burek: my ffmpeg says "Unknown encoder camtasia" but it is listed in ffmpeg -codecs
[04:09] <peng-1> any ideas how i can get it onto the systems?
[04:11] <^sandro^-> good evening anyone
[04:11] <^sandro^-> everyone
[04:11] <^sandro^-> does anyone know how ffmpeg can capture mpegts and select program ?
[04:11] <^sandro^-> there has to be a way to select program instead of using -map
[04:12] <^sandro^-> others are doing it but i dont know how
[04:15] <burek> peng-1, that is a bug then
[04:15] <burek> you shouldn't get that kind of message
[04:15] <burek> if you see the encoder in -codecs
[04:15] <burek> but
[04:15] <burek> pay attention if it is E(ncoder) or D(ecoder) or both
[04:16] <peng-1> ok
[04:16] <peng-1> hm
[04:16] <burek> hm they are both D
[04:16] <peng-1> i dont get the working/crashing column either :p
[04:16] <peng-1> both decoding huh
[04:16] <peng-1> hmm.
[04:16] <peng-1> so no idea for a 3D codec?
[04:16] <peng-1> huffyuv is ok but its not sharp enough
[04:17] <peng-1> ive got a powerful system, that command line skips too many frames lol
[04:17] <burek> can your memory/hdd sustain to write frames as huffyuv
[04:17] <burek> try
[04:17] <peng-1> ya
[04:17] <burek> -vcodec libx264 -preset ultrafast
[04:18] <peng-1> ok :D
[04:18] <burek> and save as .mp4
[04:18] <burek> and yes
[04:18] <burek> use -threads 0
[04:19] <burek> ffmpeg -f x11grab -i ... -vcodec libx264 -preset ultrafast -threads 0 out.mp4
[04:19] <burek> something like that
[04:19] <peng-1> hmm
[04:20] <peng-1> mplayer didnt really seem to have much content to play the whole thing was mainly grey
[04:20] <peng-1> ok
[04:21] <peng-1> nup
[04:21] <peng-1> aspect is undefined, prescaling applied
[04:21] <peng-1> its recoding just grey
[04:22] <peng-1> raw :(
[04:22] <^sandro^-> can anyone help?
[04:23] <burek> codepython777, ...
[04:23] <burek> wmp is not a player at all
[04:23] <burek> its just a gui layer to connect codec with a user
[04:23] <burek> so the line "it plays in wmp" doesn't actually stand at all
[04:23] <burek> wmp is not the one that plays it, direct show is
[04:24] <burek> that's why you need to install bunch of codecs before you can play anything in wmp
[04:25] <burek> pen, try using raw images
[04:25] <burek> like
[04:25] <peng-1> im on linux
[04:25] <burek> hmh
[04:25] <peng-1> oh
[04:25] <peng-1> yea
[04:25] <peng-1> on linux :D
[04:25] <codepython777> burek: yes. I am looking for something that will work with windows? like wmp, windowd dvd maker etc
[04:25] <peng-1> hm.
[04:25] <burek> ffmpeg -f x11grab ... -i :0 -f image2 out%03d.png
[04:25] <burek> codepython777, it depends on codecs installed.. you're just out of luck
[04:26] <burek> unless you encode it as avi RLE something like that
[04:26] <burek> which is something windows copies when it is installed
[04:27] <burek> all the other codecs you need to install first to be able to play in wmp
[04:27] <burek> so if something "plays in wmp" it actually doesn't mean that it will play on another windows too
[04:28] <burek> it would be the wisest thing to put a notice with that video for users to download vlc and watch it with it
[04:28] <peng-1> ty burek , i should be back soon, new kernel
[04:29] <peng-1> ta
[04:50] <gajbooks> Are there any sort of video compression things that store similar pixels as equations?
[04:50] <gajbooks> I know they have groups and horizontal lines sort of like that, but what about curves that can be reprsented as an equation?
[04:52] <gajbooks> Just slopes of similar pixels.
[07:24] <burek> fflogger needs to be shut down due to the power outage that was announced for today :/ it's 7:25 now, at 12:00 should be back online.. sorry about that :/
[14:34] -:#ffmpeg- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
[16:30] <P-l> hey guys, somebody can help me plz ? I have a problem for cut my .m2ts under linux.
[16:30] <P-l> If i use ffplay the times in seconds is bad...
[16:30] <^prelude^> hello
[16:31] <^prelude^> good morning
[16:31] <^prelude^> anyone know how to to fix [udp @ 0x12898e0] circular_buffer: OVERRUN
[18:15] <aClam> I started getting this error "number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one" when reading blu ray m2ts files recently. Will this be a problem? Would this normally have happend in older versions but I just wasn't aware (because no notification)?
[18:15] <aClam> (the m2ts files containing AVC)
[18:18] <aClam> Also I'm getting this message now "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)" when I'm using a pipe, which seems a bit weird
[18:43] <xelxebar> aClam, I get that too
[18:43] <xelxebar> seems normal though, since you're pipes would indeed have 0 size
[18:45] <xelxebar> also my resulting video is pretty much exactly what what I should be getting, so
[18:46] <aClam> Yeah that part I'm not concerned about, thought it might have been a bug or something
[18:46] <aClam> but the previous message is a bit worrysome
[19:47] <plut0> how can i remove cinavia?
[20:27] <JDuke128> hello , whats the encoding type of flash camera videos?
[20:29] <Mavrik> you just mixed up some random words in that sentence :P
[20:29] <P-l> hey, ffmpeg -i output.mkv -i cut.ac3 -vcodec copy -alang eng -acodec copy final.mkv
[20:29] <P-l> Unrecognized option 'alang'
[20:29] <P-l> Failed to set value 'eng' for option 'alang'
[20:29] <P-l> any idea ? :/
[20:29] <P-l> my alang sux :/
[20:30] <Mavrik> P-l, http://ffmpeg.org/ffmpeg.html
[20:30] <Mavrik> search for: "To set the language of the first audio stream: "
[20:30] <P-l> thx i know.
[20:30] <P-l> i try with language=eng but it's sux too.
[20:30] <Mavrik> ?
[20:38] <P-l> ffmpeg -i output.mkv -i cut.ac3 -vcodec copy -acodec copy -metadata:s:a:1 language=fra final.mkv
[20:38] <P-l> it's doesn't work :-(
[20:40] <Mavrik> explaining what you're trying to achieve is usually quite helpful.
[20:41] <P-l> when i mediainfo my final.mkv, the audio has : Language : English
[20:42] <P-l> but i want French.
[20:42] <P-l> thx for your help.
[20:42] <Mavrik> how bout just using
[20:42] <Mavrik> "-metadata language=fra"
[20:47] <P-l> it's ok for General i can see fra but for my audio all time English :-(
[20:48] <P-l> good
[20:48] <P-l> metadata:s:a
[20:48] <P-l> Thank you very much Mavrik !
[21:20] <kriegerod> can i write the keyframe into a (mpegts or mp4) file, but avoid its display on playback? i need to save it for correct decoding of B-frames on the cut. I mean i need frame-accurate video cutting
[21:21] <no__> Howdy folk.s
[21:22] <Mavrik> kriegerod, that's a wierd requirement. Why would you want that?
[21:22] <no__> I've been working with doing some real-time encoding from a video input device, and I've got basically everything working with the exception of one piece that I was hoping to elicit ideas for...
[21:23] <no__> Basically, I've got video -> ffmpeg -> red5 or file... for the writing to file part, I'd like to be able to split the video up at regular intervals and save files based on the current time... so... for instnace, if the video were 1 minute long, and it was 4:19 PM,
[21:23] <kriegerod> Marvik: what is weird? requirement of cutting in middle of GOP? I have several seconds GOP, and have to cut precise pieces about 1 second, and join together then
[21:23] <no__> I'd like a filename like... foo_1619-1620.mp4 or something... is there a simple way to do this that I'm ovelrooking?
[21:23] <Mavrik> kriegerod, that's usually done with re-encoding to avoid your problems
[21:24] <Mavrik> ffmpeg doesn't support what you want
[21:24] <kriegerod> Marvik, yep, but now i have problem that re-encoding takes unacceptably long
[21:24] <Mavrik> and I don't think there's any software that would do that... besides you never mentioned what your video format it
[21:24] <Mavrik> *is
[21:25] <no__> Mavrik: Me? h.264.
[21:25] <kriegerod> it's ok for me to use libavformat API, not just ffmpeg util
[21:25] <kriegerod> my video codec is h264
[21:25] <Mavrik> kriegerod, if you're using x264 to encode h.264, that question is probably better for x264 people
[21:25] <Mavrik> on #x264
[21:26] <Mavrik> no__, sadly, as far as I know you can't automatically name output files in ffmpeg except for image sequence numbers
[21:27] <kriegerod> no__, try "segment" muxer with ffmpeg
[21:27] <kriegerod> cant see docs on that, look libavformat/segment.c
[21:28] <no__> ok, ty all for the input.
[21:28] <aClam> no__, fancy scripting will help you with that, either batchfile or a scripting language it should be pretty trivial
[21:30] <JEEB> Mavrik, it's not a x264 problem he's having, he just wants fancy "re-encode only as much as really needed" cutting
[21:30] <JEEB> which ffmpeg by default can't give
[21:30] <JEEB> he needs to code it himself
[21:30] <Mavrik> JEEB, yeah, but I guess you have to coordinate that with x264 so the output will be consistent
[21:30] <Mavrik> and to force it to create i-frames
[21:31] <JEEB> more like he needs to re-encode frames that he needs, and he seemingly can't understand really what he's doing :P
[21:31] <Mavrik> JEEB, the other thing is... on #x264 there's just more people that understand video coding better and can help him more readily than here ;)
[21:32] <JEEB> Mavrik, he already spammed his problem there yesterday
[21:32] <Mavrik> I wasn't sure if you can just grab a GOP, reencode it and reinsert it without problems
[21:32] <francogrex> Hi I can convert from avi to flv, but how do i control the version of the flash? I want flash 7 and not the new 8 or 9?
[21:32] <Mavrik> JEEB, ah, missed that. Sorry :\
[21:33] <Mavrik> francogrex, flv is just a video container, check which video formats you need to put in it so that they'll be compatible with 7
[21:41] <francogrex> ok
[23:56] <no__> Can ffmpeg output to two sources at once? for instance, can I write to an rtmp:// stream, and simultaneously output to a file?
[23:57] <^sandro^Zzz> hello
[23:57] <no__> I've seen multiple forum posts stating that paralall output is not posible with ffmpeg, but the config options semto differ.
[23:57] <^sandro^Zzz> anyone know how ffmpeg can use GPU accelleration?
[00:00] --- Mon Feb 13 2012
1
0
[00:54] Action: Compn grumbles something about bugzilla not returning full bug list
[00:54] <Compn> http://bugzilla.libav.org/buglist.cgi?query_format=advanced&short_desc=%20&…
[00:57] <gnafu> Compn: http://bugzilla.libav.org/buglist.cgi?order=bug_id
[01:35] <CIA-67> ffmpeg: 03Martin Storsjö 07master * re7d4a2a721 10ffmpeg/libavcodec/bitstream_filter.c:
[01:35] <CIA-67> ffmpeg: libavcodec: Don't do av_free(av_malloc(0)) for bitstream filters
[01:35] <CIA-67> ffmpeg: This fixes crashes on exit when closing a bitstream filter that
[01:35] <CIA-67> ffmpeg: hasn't allocated any private data, on OS X.
[01:35] <CIA-67> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[01:35] <CIA-67> ffmpeg: 03Alex Converse 07master * r37bed6ff3f 10ffmpeg/ (4 files in 2 dirs):
[01:35] <CIA-67> ffmpeg: aacdec: Try to sniff a reasonable channel layout for PCE based configurations.
[01:35] <CIA-67> ffmpeg: This changes the output order of multichannel PCE based streams.
[01:35] <CIA-67> ffmpeg: 03Alex Converse 07master * rf1ecd0802d 10ffmpeg/libavcodec/ (aacdec.c aacdectab.h): aacdec: Support native channel layout when requested.
[01:35] <CIA-67> ffmpeg: 03Alex Converse 07master * r7b05025856 10ffmpeg/libavcodec/aacdec.c: aacdec: Unify preconfigured layout and PCE layout.
[01:36] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * re6d9fa66f1 10ffmpeg/libavcodec/ (ac3_parser.c ac3dec.c): (log message trimmed)
[01:36] <CIA-67> ffmpeg: ac3dec: Move center and surround mix level tables to the parser.
[01:36] <CIA-67> ffmpeg: That way all mix levels as exported by avpriv_ac3_parse_header()
[01:36] <CIA-67> ffmpeg: will have the same meaning.
[01:36] <CIA-67> ffmpeg: Previously the 3-bit center mix level for E-AC-3 was used to index in a
[01:36] <CIA-67> ffmpeg: 4-entry table, leading to out-of-array reads.
[01:36] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:36] <CIA-67> ffmpeg: 03Justin Ruggles 07master * rb758cf7343 10ffmpeg/libavcodec/utils.c: avcodec: set avpkt->size to 0 if encode2() did not output a packet
[01:36] <CIA-67> ffmpeg: 03Alex Converse 07master * r0ab3687924 10ffmpeg/libavformat/dv.c:
[01:36] <CIA-67> ffmpeg: dv: Fix small overread in audio frequency table.
[01:36] <CIA-67> ffmpeg: Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
[01:36] <CIA-67> ffmpeg: 03Justin Ruggles 07master * rd483bb58c3 10ffmpeg/libavcodec/x86/ac3dsp.asm:
[01:36] <CIA-67> ffmpeg: ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()
[01:36] <CIA-67> ffmpeg: We need to do unsigned saturation in order to cover the corner case when the
[01:36] <CIA-67> ffmpeg: absolute coefficient value is 16777215 (the maximum value).
[01:36] <CIA-67> ffmpeg: Fixes Bug #216
[01:36] <CIA-67> ffmpeg: 03Justin Ruggles 07master * ra75bc764ec 10ffmpeg/ (avconv.c libavcodec/utils.c):
[01:36] <CIA-67> ffmpeg: avcodec: for audio encoding, set packet dts to packet pts.
[01:36] <CIA-67> ffmpeg: There are no audio encoders which do frame reordering.
[01:36] <CIA-67> ffmpeg: 03Ronald S. Bultje 07master * r45b7bd7c53 10ffmpeg/libavcodec/ (h264.c h264.h h264_cabac.c h264_cavlc.c svq3.c): (log message trimmed)
[01:36] <CIA-67> ffmpeg: h264: disallow constrained intra prediction modes for luma.
[01:36] <CIA-67> ffmpeg: Conversion of the luma intra prediction mode to one of the constrained
[01:36] <CIA-67> ffmpeg: ("alzheimer") ones can happen by crafting special bitstreams, causing
[01:36] <CIA-67> ffmpeg: a crash because we'll call a NULL function pointer for 16x16 block intra
[01:36] <CIA-67> ffmpeg: prediction, since constrained intra prediction functions are only
[01:36] <CIA-67> ffmpeg: implemented for chroma (8x8 blocks).
[01:36] <CIA-67> ffmpeg: 03Alex Converse 07master * r81749f30cd 10ffmpeg/libavcodec/ (dvdata.c dvdata.h): dv: Move tables from dvdata.h to dvdata.c
[01:36] <CIA-67> ffmpeg: 03Paul B Mahol 07master * rdcd2b55e1a 10ffmpeg/libavcodec/utils.c:
[01:36] <CIA-67> ffmpeg: Check AVCodec.pix_fmts in avcodec_open2()
[01:36] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:36] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:36] <CIA-67> ffmpeg: 03Alex Converse 07master * r9e1db721c4 10ffmpeg/libavcodec/svq3.c:
[01:36] <CIA-67> ffmpeg: svq3: Prevent illegal reads while parsing extradata.
[01:36] <CIA-67> ffmpeg: Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
[01:36] <CIA-67> ffmpeg: 03Joakim Plate 07master * r3371e89640 10ffmpeg/libavformat/bink.c:
[01:36] <CIA-67> ffmpeg: bink: Check return value of avio_seek and avoid modifying state if it fails
[01:36] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:36] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:36] <CIA-67> ffmpeg: 03Joakim Plate 07master * r066ad0926a 10ffmpeg/libavformat/tmv.c:
[01:36] <CIA-67> ffmpeg: tmv: Check return value of avio_seek and avoid modifying state if it fails
[01:36] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:36] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:36] <CIA-67> ffmpeg: 03Joakim Plate 07master * r8dcd00eabd 10ffmpeg/libavformat/nsvdec.c:
[01:37] <CIA-67> ffmpeg: nsvdec: Check return value of avio_seek and avoid modifying state if it fails
[01:37] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:37] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:37] <CIA-67> ffmpeg: 03Paul B Mahol 07master * rc388558d31 10ffmpeg/libavcodec/wavpack.c:
[01:37] <CIA-67> ffmpeg: wavpack: allow user to disable CRC checking
[01:37] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:37] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:37] <CIA-67> ffmpeg: 03Joakim Plate 07master * rd7c11b114b 10ffmpeg/libavformat/ffmdec.c:
[01:37] <CIA-67> ffmpeg: ffmdec: Check return value of avio_seek and avoid modifying state if it fails
[01:37] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:37] <CIA-67> (9 lines omitted)
[02:40] <CIA-67> ffmpeg: 03Ingo Brückl 07master * ra697a185e4 10ffmpeg/libavformat/libavformat.v:
[02:40] <CIA-67> ffmpeg: buildsys: Fix shared lib build of MPlayer.
[02:40] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:40] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * red83f97235 10ffmpeg/libavcodec/tta.c:
[02:40] <CIA-67> ffmpeg: tta: Add some safety precautions to avoid freeing things that have not been allocated.
[02:40] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:40] <CIA-67> ffmpeg: 03Paul B Mahol 07master * rc6abf21492 10ffmpeg/libavcodec/tta.c:
[02:40] <CIA-67> ffmpeg: tta: do not leak memory if bps == 3
[02:40] <CIA-67> ffmpeg: In bps == 3 case output is decoded directly.
[02:40] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[02:40] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[05:54] <lionaneesh> Hey
[06:06] <michaelni> hey
[06:10] <lionaneesh> michaelni, Whats your TZ
[06:10] <lionaneesh> TZ = Time Zone
[08:34] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * rfd0b8d5986 10ffmpeg/libavcodec/ansi.c:
[08:34] <CIA-67> ffmpeg: ansi: Fix use of uninitalized width/height warning.
[08:34] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[16:24] <^prelude^> hello
[16:24] <^prelude^> anyone here have experience with GPU encoding
[16:24] <^prelude^> i am a bit confused by that and I need some pointing in the right direction
[16:40] <Compn> ^prelude^ : i heard videolan had some exp with that
[16:40] <Compn> might want to ask in their chan
[17:04] <JEEB> ^prelude^, most GPU-using encoders suck, as you really can't do most already set formats with good efficiency with them (GPUs tend to need o9k threads for the thing to be fully utilized). Of course, that doesn't say that there are zero things where the GPU couldn't be used. There's the lookahead and motion estimation in H.264 encoding for example. The problem of course is that a good implementation will need time and money, it's not exactly easy t
[17:04] <JEEB> o make an efficient algorithm.
[17:05] <JEEB> There's currently some folk doing an opencl lookahead for x264, which is the first really usable'ish thing that's popped up in years.
[17:44] <Compn> JEEB : would you say the problem was the gpu manf arent releasing specs/api/drivers for people to utilize ?
[17:47] <nevcairiel> the GPUs have their own full decoder stacks, which are very fast, but usually dont make people happy quality wise
[17:48] <nevcairiel> partial acceleration has to be implemented manually, and stuff like OpenCL simply only works very fast with extreme parallel processing, which is not easy to find
[17:48] <nevcairiel> decoder=encoder
[17:48] <JEEB> Compn, that's usually a problem with decoding, with encoding you have all the CUDA/OpenCL crap which in theory is "free for you to use".
[17:48] <Compn> lol
[17:49] <JEEB> And yes, nev now said pretty much what I said
[17:49] <JEEB> needs lots o' parallel stuff (threads)
[17:49] <JEEB> to keep the GPU busy
[17:49] <Compn> i see
[17:49] <JEEB> the driver pretty much needs to have data already in line to be fed the thing
[17:49] <nevcairiel> Sure could use QuickSync etc to encode things, but the quality is below x264, even though the speed may be much higher
[17:49] <Compn> probably a hw h264 capture card would work better :P
[17:50] <JEEB> the last I had someone test quicksync
[17:50] <JEEB> it was ~ultrafast on QP encoding
[17:50] <JEEB> on a i5
[17:50] <JEEB> http://phoronix.com/forums/showthread.php?50697-Test-tool-for-snb-h264-enco…
[17:50] <JEEB> s/ultrafast/superfast/
[17:50] <iive> I would think that an encoder allows a lot of places for parallel processing.
[17:50] <JEEB> ultrafast was 2x the speed
[17:51] <JEEB> but yes, intel's hw encoder ASIC seems to be the most useful thing if you absolutely positively want something like that
[17:52] <nevcairiel> did that ever say how quality compares quicksync vs x264 superfast?
[20:39] <^sandro^-> hello
[20:39] <^sandro^-> anyone around?
[21:17] <iive> no
[22:51] <burek> can someone please help with static build of ffmpeg..? http://pastebin.com/zzhqVhaS
[22:51] <burek> the main problem is this
[22:51] <burek> /usr/lib/libasound.a(dlmisc.o): In function `snd_dlopen': dlmisc.c:(.text+0xe4): undefined reference to `dlopen'
[22:52] <burek> but I compiled libasound statically and even glibc statically
[22:52] <burek> why doesn't it recognize it :/
[22:52] <^sandro^-> hello
[22:52] <^sandro^-> anyone around that can help with UDP capture
[22:52] <^sandro^-> raw vide input from Sat.
[22:53] <^sandro^-> im having a hard time transcoding it to H264 > . TS
[22:53] <burek> try in #ffmpeg ?
[22:53] <^sandro^-> i am trying to create a live HLS stream
[22:55] <burek> I can't wait for the forum to get online, because this way I'm never gonna make it to finally build ffmpeg statically :s
[22:56] <durandal_1707> burek: funny, dlopen is call for dynamic lib
[22:57] <burek> well i guess
[22:58] <burek> so, what do you suggest durandal_1707 :/
[22:59] <durandal_1707> first find out if alsa can be statically compiled at all
[22:59] <funman> add -ldl
[22:59] <burek> funman, there is -ldl :)
[22:59] <durandal_1707> and that heavily depends on kernel so i see no point to build that statically
[23:00] <burek> you mean, I should drop alsa support?
[23:00] <durandal_1707> no it should really be shared
[23:00] <funman> add -ldl after -lasound?
[23:00] <durandal_1707> because it will not magically work better if it is staticaly in on incompatible kernels anyway
[23:01] <burek> durandal_1707, I need it to be static :(
[23:01] <burek> funman, how can i do it using ./configure script
[23:01] <nevcairiel> --extra-ldflags="-ldl" probably
[23:01] <burek> durandal_1707, well, ok, I understand that, but if it works for latest kernels thats good enough
[23:02] <burek> ./configure --enable-static --disable-shared --enable-gpl --enable-libx264 --enable-nonfree --enable-libaacplus --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-gray --enable-vdpau --enable-bzlib --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libxvid --enable-x11grab --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-runtime-cpudetect --disable-doc --disable-ffser
[23:02] <burek> ver --disable-ffprobe --extra-cflags='-I/usr/local/glibc-static/include/ -I/usr/local/include' --extra-ldflags='-static -L/usr/local/glibc-static/lib -L/usr/local/lib -L/usr/lib -ldl'
[23:02] <burek> that's the line for configure
[23:03] <burek> I'd like to make it static to be able to just "download and run"
[23:03] <burek> without much pain
[23:03] <nevcairiel> i was wondering something else the other day, can you compile a dynamic version of the ffmpeg libraries, but include statically linked versions of some of the 3rd party libraries in them? :d
[23:03] <nevcairiel> without manually hackery
[23:04] <burek> well, I guess you should tell ffmpeg explicitly which lib you'd like to link statically
[23:04] <burek> so I guess it won't work with the standard ./configure
[23:05] <iive> burek: can you try `pkg-config --static --libs alsa`
[23:05] <burek> yes just as ec
[23:05] <burek> -lasound -lm -ldl -lpthread -lrt
[23:06] <iive> if it fails again, you may want to try adding some of these libraries, or completely disable alsa support (audio recording i guess)
[23:06] <burek> as extra0kdfkags>
[23:06] <burek> omg
[23:06] <burek> extra-ldflags*
[23:07] <burek> right?
[23:09] <burek> iive, i tried with --extra-ldflags='-s
[23:09] <burek> tatic -L/usr/local/glibc-static/lib -L/usr/local/lib -L/usr/lib -lasound -lm -ldl -lpthread -lrt'
[23:09] <burek> same error :/
[23:09] <burek> this is really frustrating :S
[23:10] <^sandro^-> anyone know how to select the propert map input
[23:10] <^sandro^-> Input #0, mpegts, from 'udp://@:5000':
[23:10] <^sandro^-> Duration: N/A, start: 31060.480611, bitrate: 41672 kb/s
[23:10] <^sandro^-> Program 54
[23:10] <^sandro^-> Metadata:
[23:10] <^sandro^-> service_name : BN BOSNIA
[23:11] <^sandro^-> oops
[23:11] <^sandro^-> sorry..
[23:11] <iive> use pastebin site to paste long texts
[23:11] <^sandro^-> wasn't supposed to do that.. in any case.. any way to capture it without -map 0:0 .. problem is that it keeps changing and what captues one time doesn't the next
[23:11] <^sandro^-> yes that was copied and i hit the paste button as i was typing :(
[23:12] <iive> also, this is development channel, not usage one
[23:12] <^sandro^-> nobody seems to know anything about the mpeg2video stuff :(
[23:12] <^sandro^-> ive tried both channels .. nada
[23:13] <durandal_1707> aren'y you need to use ffprobe and write some kind of script to parse output...
[23:14] <iive> you won't get more help by been impudent. sometimes you need more patience.
[23:46] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * rcadd9ab6aa 10ffmpeg/libavcodec/ffv1.c:
[23:46] <CIA-67> ffmpeg: Cosmetics: Move a block in ffv1's encode_init().
[23:46] <CIA-67> ffmpeg: Makes the next patch smaller.
[23:46] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r2396206fb4 10ffmpeg/libavcodec/ffv1.c: ffv1: Assume encoding all bits is wanted if bits_per_raw_sample == 0.
[23:57] <burek> durandal_1707, I have libasound.a in /usr/lib/
[23:57] <burek> i compiled it, so alsa can be built statically
[23:58] <burek> when the forum is up, I'll create a thread for compiling ffmpeg statically and I really hope we can make it
[23:59] <burek> after that I'll just setup a cron job to build it each day
[23:59] <durandal_1707> what forum
[23:59] <durandal_1707> ?
[23:59] <burek> so that people, who want to try ffmpeg quickly, can just download and run it
[23:59] <burek> ffmpeg's forum
[00:00] --- Sun Feb 12 2012
1
0
[00:06] <xp99work> ah found the answer
[00:06] <xp99work> I need to enable libswscale
[00:09] <SvenL-> xp99work, to get ffmpeg binary ?
[00:09] <SvenL-> or only ffplay ?
[00:09] <xp99work> ffmpeg I think
[00:09] <xp99work> and ffplay appears to need it to
[00:09] <SvenL-> yes
[00:09] <xp99work> that explains things
[00:09] <SvenL-> but I can't find the dev for swscale on ubuntu
[00:10] <SvenL-> uh, forget it, they're here
[00:12] <xp99work> so apparently x264 needs libswscale as well
[00:12] <xp99work> but if I want ffmpeg to encode h.264 it needs the x264 library
[00:12] <xp99work> but ffmpeg provides the libswscale library
[00:12] <SvenL-> no you can install it
[00:13] <xp99work> so what do I compile first? grr
[00:13] <SvenL-> apparently
[00:15] <SvenL-> try apt-cache search libswscale
[00:20] <hydrox24> Can someone help me with using ffmpeg to convert a V4L2 stream into a file?
[00:20] <xp99work> I'm compiling both from source
[00:20] <xp99work> so its a chicken and egg problem
[00:21] <xp99work> I need to compile ffmpeg to get libswscale
[00:21] <vadim> xp99work: 1. x264; 2. ffmpeg
[00:21] <xp99work> but then the flag for libswscale in x264 says it cant find it, so it doesnt get compiled in
[00:22] <hydrox24> I want to use ffmpeg to turn a V4l stream into a file, but using a asimple "ffmpeg -i /dev/video1 file.avi' gives me this error: /dev/video1: Invalid data found when processing input
[00:23] <xp99work> so should I not need swscale for x264 when I'm just going to need the x264 library for ffmpeg?
[00:24] <vadim> xp99work: i followed this instructions to build ffmpeg, worked likemagic http://ubuntuforums.org/showthread.php?t=786095
[00:58] <Freakshow> jeez... what's the moderator time frame for the ffmpeg-user list?
[00:59] <sacarasc> 5-6 months, give or take 6 months.
[01:27] <Freakshow> haha
[01:27] <Freakshow> nice
[01:28] <tiglionabbit> I have some h264 video and I want to lower the detail and put it at baseline profile. How do I do that? Also, when I just use -vcodec libx264 it comes out looking really interlaced
[01:30] <tiglionabbit> effectively I want it to be playable on an iphone. I've seen some guides that show you what options to give ffmpeg for this, but some of those options no longer exist, and ffmpeg doesn't report that it's using baseline profile... not sure how to set that
[01:41] <tweek__> is there a way to specify multiple outputs with multiple timecodes on one ffmpeg run?
[01:42] <tweek__> e.g., ffmpeg -i foo.mpg -vframes 500 -vcodec copy -acodec copy 1.mpg -vframes 1000 -vcodec copy -acodec copy 2.mpg
[01:42] <tweek__> where 1.mpg would have the first 500 frames, 2.mpg would have the first 1000
[01:43] <tweek__> the hope being that ffmpeg doesn't need to decode the first 500 frames again to get to the next 500
[01:44] <tweek__> or ... wait, ffmpeg outputs the frame number while it's doing all of this doesn't it
[02:00] <pasteeater> Freakshow: ping me if you have a message to be moderated in ffmpeg-user
[02:00] <pasteeater> right now there is only spam
[02:00] Action: pasteeater purges spam
[02:02] <pasteeater> tiglionabbit: ffmpeg -i input -c:v libx264 preset -medium -vpre ipod640 -crf 24 -c:a libfaac -aq 100 output.mp4
[02:02] <pasteeater> *-preset medium
[02:06] <tiglionabbit> pasteeater: oo I didn't know there were options specifically for iOS. I got it working decently on my iPad with -deinterlace -acodec libfaac -vcodec libx264 -channels 2 -vprofile baseline
[02:09] <tiglionabbit> pasteeater: what is -crf 24?
[02:12] <tiglionabbit> constant rate factor. Ok. Lower means higher quality + larger size
[02:13] <Freakshow> thanks pasteeater, I shot you a pm with the subject line, etc.
[02:24] <SvenL-> pasteeater, do you use frei0r filters ?
[02:26] <SvenL-> I get this error " Invalid filterchain containing an unlabelled output pad: "frei0r=curves:0.5:y:0.1:2:y:0.58;0.19#0;0""
[02:26] <SvenL-> curves as a special parameter with a string
[02:35] <bwbass> I'm feeding ffserver from ffmpeg that is getting its input through a pipe from mplayer that's streaming from vlc on my home pc... but cant get any output. User agents connect with 200 ok status, but no data
[02:37] <bwbass> I also get warnings about the format not being seekable, missing extradata, and errors writing the output header
[02:38] <goddard> can i use ffmpeg on all cpu/threads to increase speeds?
[02:39] <bwbass> goddard - you can use '-threads <num of threads>', right? when I do this it seems to spread the load among my cpu cores
[02:43] <goddard> ok Awesome!
[03:04] <goddard> whats better h264 or mpeg4/divx?
[03:04] <iive> h264
[03:06] <iive> but its features come at price.. it needs more processing power. not much. about 30% more cpu.
[03:07] <goddard> iive: i can live with that
[03:07] <goddard> :D
[03:07] <iive> hw to decode it is becoming more common.
[03:14] <goddard> im using 8 threads to do this video and it still isn't even using all my memory
[03:15] <goddard> how do i gauge speed?
[03:16] <goddard> size over time?
[03:20] <iive> decoding rarely uses a lot of memory
[03:21] <iive> maybe about 17-18 times the size of one frame (yv12 -> width*height*12/8
[03:22] <iive> )
[03:23] <iive> each thread may use one more frame
[03:23] <goddard> i see
[03:25] <iive> x264 encoder may use a little more memory, especially if it stores a lot of frames and other encoding data (like mbtree)
[06:46] <Ginks> how can I reverse a video?
[06:47] <Ginks> I have a watermark .mov the fades in, I want to make a copy of it in reverse so it's fading out, then sandwhich them together
[06:48] <relaxed> Ginks: output all the frames as png and reverse their order
[08:29] <Ginks> relaxed, happen to be around?
[08:53] <vadim_> hi 2 all
[08:54] <vadim_> any expert in ffmpeg-0.10 here? :)
[09:01] <bwbass> feeding a remote ffserver (vlc [http]-> mplayer [pipe]-> ffmpeg [http ffm]-> ffserver), responds with 200/OK, but no data gets streamed... suggestions?
[09:03] <vadim_> could someone provide an example of ISMV usage (ffmpeg-0.10)?
[09:04] <bwbass> ...using this on remote box: mplayer -dumpstream http://my home ip:8086 -dumpfile - | ffmpeg -loglevel debug -i - http://127.0.0.1:8090/feed1.ffm
[09:06] <bwbass> getting these errors and no data gets served: "No extradata present" "Error writing output header"
[09:38] <mbn_18> Hi, Kinda general Q. Sometimes when I am converting video the output has strips like quality. Where I can read what the cause and how to avoid this?
[12:14] <Amnesia> question, I converted a avi file to dvd mpeg
[12:14] <Amnesia> and used the video filters pan and ass
[12:15] <Amnesia> and when I play it on my laptop with mplayer everything's fine, but when I play it on my dvd player, there are green pieces on the top and the bottom
[12:15] <Amnesia> does that sound familiar to anyone?
[12:40] <Amnesia> anyone?
[13:11] <zap0> yes
[13:22] <xelxebar> Hello good ffmpeg sirs
[13:22] <xelxebar> Anyone actually up and about here?
[13:22] <Mavrik> nope.
[13:22] <Mavrik> all asleep.
[13:23] <xelxebar> seems like the prudent action at this hour
[13:23] <Mavrik> at 1 pm? O.o
[13:24] <xelxebar> you would be in GMT+1 time zone?
[13:24] <xelxebar> I've actually got a video editing issue here. Would you mind helping me give a crack at it?
[13:25] <zap0> i can probably already guess it.... has it anything to do with trying to edit encoded video?
[13:26] <Mavrik> xelxebar, shoot, even though I don't do much editing :)
[13:26] <xelxebar> lol. well, if you include cutting up VOB files and stitching them back together, then yes
[13:26] <xelxebar> doing that itself isn't so difficult, but I ran into two issues
[13:29] <xelxebar> 1. one of the subtitle streams I wanted happened to not be recognized by ffmpeg and friends (despite VLC seeing it; reference bugs #386 and #598?)
[13:29] <xelxebar> http://ffmpeg.org/trac/ffmpeg/ticket/386
[13:29] <xelxebar> http://ffmpeg.org/trac/ffmpeg/ticket/598
[13:30] <xelxebar> however, I was able to sort of get around it by using dd instead
[13:31] <xelxebar> the second problem is that when I cat the VOB clips together, the resulting video sort of goes random-blocks for a brief moment when going from one clip to the next
[13:32] <xelxebar> this I'm not sure how to resolve
[13:32] <Mavrik> are you cutting them up without reencoding?
[13:33] <xelxebar> ffmpeg SOURCE.VOB -ss START_TIME -t LENGTH -codec copy -o FILE.VOB
[13:33] <xelxebar> basically that
[13:34] <xelxebar> I have some -map guys thrown in, but that makes no difference
[13:34] <Mavrik> yeah
[13:34] <Mavrik> that's because you're not cutting on iframe boudaries
[13:34] <Mavrik> and you get corruption between cut and first iframe in 2nd video
[13:35] <xelxebar> I thought that might be going on, and then tried -g 1
[13:36] <xelxebar> I did that to the source vid and then did the clipping on the resulting vids
[13:36] <xelxebar> didn't see any difference
[13:36] <xelxebar> and also tried making sure my source time and length time were multiples of half seconds didn't seem to make a difference either
[13:37] <xelxebar> (I read that mpeg2s have iframes every half second...)
[13:38] <xelxebar> so I'm confused somewhere
[13:38] <xelxebar> is there a way to explicitly force cutting on iframes?
[13:39] <xelxebar> or force a partial reencoding, so the cut then becomes on an iframe boundary
[13:39] <xelxebar> ?
[13:39] <xelxebar> that would be better
[13:46] <xelxebar> Any thoughts, Marvik?
[13:46] <peng-1> hey guys, trying to screencast but my 3d rendering is playing up
[13:47] <peng-1> whats the best codec to use for recording the 3d desktop ?
[13:50] <zap0> you mean a real desktop. with pens and paper and paper clips and scissors and...
[13:55] <peng-1> a 3d desktop
[13:56] <peng-1> lol
[13:56] <peng-1> ive synced audio but im not satisfied with the clarity of huffuv
[13:59] <Mavrik> xelxebar, sorry, lunch
[14:00] <Mavrik> xelxebar, sadly, I don't know of a way to force ffmpeg to cut on i-frame limits
[14:00] <Mavrik> that's usually a domain of editing software... ffmpeg is a bad editing software :(
[14:02] <xelxebar> :( well, what would you recommend in its stead?
[14:05] <Mavrik> no idea, sorry. I'm mostly in video transcoding/delivery business, don't really know the video editing tools :(
[14:08] <xelxebar> :(
[14:53] <vadim_> could someone provide an example of ISMV usage (ffmpeg-0.10)?
[15:31] <burek> xelxebar, -g 1 will give you all key frames i guess
[15:31] <burek> in that case you could use uncompressed video instead :)
[15:32] <xelxebar> thanks, burek, though I did try that
[15:32] <xelxebar> basically just made a -g 1 version of source video
[15:32] <burek> peng-1 has a good idea for a tutorial :) how to record the screen, not just 1 desktop :)
[15:33] <xelxebar> I noticed that there was no size difference between the -g 1 version and original
[15:33] <xelxebar> which surprised me
[15:33] <xelxebar> and then when I made my edits& no difference
[15:34] <xelxebar> I mean, when I cut out the clips and sewed them together, the artifacts remained
[15:34] <burek> if you need to concatenate videos, the best would be to ask the people who develop the video codec that you use
[15:34] <burek> in both videos
[15:35] <burek> they can tell you how you can do that without pain
[15:35] <burek> if you can't do that, uncompress both videos, join them, and recompress
[15:36] <xelxebar> they are VOBs ripped from a DVD
[15:36] <xelxebar> so cat works
[15:37] <xelxebar> I seriously doubt that's where the artifacts are getting introduced
[15:38] <burek> well, if it works, you wouldn't be here, would you :D
[15:38] <burek> afaik, only mpegs work with cat
[15:38] <burek> but mostly, not always
[15:39] <xelxebar> VOB is a container with mpeg streams
[15:39] <burek> the rest of the video codecs mostly don't work
[15:39] <burek> well i guess you hit that minor group, outside of "mostly" mpegs :)
[15:40] <burek> google first for some vob concatenation/splitter
[15:40] <xelxebar> if you do then you'll get cat
[15:40] <xelxebar> the command line tool
[15:40] <xelxebar> it works fine
[15:41] <xelxebar> hold up
[15:41] <xelxebar> let me run a quick test on the original VOBs
[15:41] <xelxebar> I'll cat 2 of them together and see if any artifacts pop up
[15:41] <xelxebar> but I'm thinking they won't
[15:42] <xelxebar> I suspect that something I'm doing in the cutting process is causing the artifacts in the glued-together video
[15:43] <xelxebar> since the artifacts only appear at the clip boundaries
[15:43] <xelxebar> interestingly, you can even cut up VOBs with dd
[15:43] <xelxebar> which is sort of ridiculous
[15:44] <xelxebar> afaict, in my case, the results are the same with dd and ffmpeg if I just do a straight -codec copy
[15:48] <xelxebar> ok
[15:49] <xelxebar> I just cat-ed two of the original VOBs together
[15:49] <bloger> how to specify timebase denominator?
[15:49] <xelxebar> and there was 0 artifacting on the boundary between the originally separate files
[15:50] <xelxebar> bloger, timebase denominator?
[15:50] <bloger> xelxebar: trying to convert, "timebase 333667/10000000 not supported by MPEG 4 standard".
[15:51] <bloger> xelxebar: "max admitted value for the timebase denominator is 65535"
[15:52] <xelxebar> yeah& i thought the timebase was something provided in the file's metadata
[15:54] <bloger> xelxebar: I dont have such file and have no idea how create.
[15:54] <xelxebar> maybe you could try setting the framerate yourself?
[15:54] <xelxebar> -r
[15:54] <xelxebar> -r 333667/10000000
[15:54] <xelxebar> that's sort of a wild guess, but...
[15:54] <xelxebar> yeah, the metadata would be in the header of the original file or something
[15:55] <xelxebar> and this wouldn't happen to be an avi would it?
[15:56] <bloger> xelxebar: as I understand, he want smaller value - "333667/10000000 not supported". I set "1/25" and got another problem - bitrate tolerance too small
[15:57] <bloger> xelxebar: input file is avi
[15:58] <xelxebar> try 1/30?
[15:58] <Mavrik> bloger, give us your full ffmpeg command line and output in a pastebin (use the one where you set framerate manually)
[15:58] <xelxebar> 1/33, I mean
[15:59] <Mavrik> it'll make our job easier since we'll know what you actually have.
[16:00] <xelxebar> ^ the reasonable way to go about troubleshooting :P
[16:01] Action: Mavrik points at ChanServ message at join.
[16:04] <bloger> xelxebar: http://sprunge.us/GJOV
[16:06] <Mavrik> bloger, first of all, you should really use libxvid or something like that to encode to H.263
[16:06] <Mavrik> bloger, second of all, try using -bt 300k parameter and tune it to set bitrate tolerance
[16:09] <bloger> Mavrik: please tell me suitable command line key for libxvid
[16:10] <Mavrik> -vcodec libxvid?
[16:12] <bloger> Mavrik: :-( with libxvid and "bt 300k" I got `[Eval @ 0xbf982a08] Undefined constant or missing '(' in 'acodec'`, `Invalid framerate value: -acodec`
[16:12] <Mavrik> huh
[16:13] <Mavrik> show full command line, you mistyped something
[16:14] <bloger> Mavrik: fixed. I forgot to remove empty "-r".
[16:14] <bloger> but why "-vcodec mpeg4" does not work?
[16:15] <Mavrik> it works... just badly :P
[16:15] <bloger> oh
[16:15] <Mavrik> it's an internal mpeg-4 encoder which isn't as good as xvid
[16:17] <bloger> I did use "mpeg4" always and everywhere. It was first problem.
[16:23] <bloger> thanks for help
[17:45] <relaxed> Ginks: I'm around
[18:20] <norbert_> hi, I'm trying to use ffmpeg2theora to convert an .mp4 file to .ogv
[18:21] <norbert_> it works for the audio, but the only kind-a because the video seems to be "stuck" every x seconds for a very short time
[18:21] <norbert_> it's a screen recording and I move the cursor around on the screen
[18:21] <norbert_> and the mp4 is fine, but the ogv shows the cursor moving find and every x seconds the cursor location isn't updated and it's stuck
[18:21] <norbert_> then the video continues normally, and so it goes on
[18:22] <norbert_> I tried changing the bitrate and -v 10 and double pass, but none of these things fixed this
[18:22] <norbert_> any ideas?
[18:24] <Mavrik> wait, you're using ffmpeg or ffmpeg2theora?
[18:24] <norbert_> well, there is nobody in #ffmpeg2theora, so I decided to check here, but now that you mention it... if ffmpeg can do what I want, then I'm happy ;)
[18:25] <norbert_> ffmpeg usually needs so many parameters
[18:25] <norbert_> like 10 or something to get the conversion right
[18:25] <norbert_> ffmpeg2theora is just $ ffmpeg2theora file.mp4
[18:25] <norbert_> and then you get a file.ogv
[18:25] <Mavrik> yeah, but it also uses 3 releases old ffmpeg ;)
[18:25] <norbert_> although in this case I'm not happy with the result
[18:26] <norbert_> I think I compiled the latest version myself
[18:26] <Mavrik> theora has a terrible encoder though :\
[18:26] <norbert_> norbert@ren:~$ ffmpeg2theora|grep Xiph.Org
[18:26] <norbert_> ffmpeg2theora 0.28 - Xiph.Org libtheora 1.1 20090822 (Thusnelda)
[18:26] <Mavrik> norbert_, I did have experience with ffmpeg2theora creating awfully broken videos
[18:26] <Mavrik> so it MIGHT be that
[18:26] <norbert_> hum... ok :|
[18:27] <Mavrik> if you can tell what you're trying to achieve maybe we can come up with a workaround :)
[18:27] <tweek__> is there a way I can have ffmpeg almost identically preserve all contents of an MPEG-2 file, basically copying it while decoding it?
[18:28] <Mavrik> tweek__, uhm... what? :)
[18:28] <Mavrik> tweek__, what are you trying to do?
[18:28] <tweek__> my goal is to use ffmpeg to generate a frame index, capturing the frame number it spits out to stdout while dumping the video contents to a pipe
[18:28] <norbert_> Mavrik: I have an .mp4 file and I want an .ogv file so I can use it on a webpage (html5 <video> tag)
[18:28] <tweek__> I'd just read from that pipe and increment a counter for every byte I get
[18:28] <tweek__> then check stdout on another thread to find the frame number
[18:29] <Mavrik> tweek__, ah, "copy" codecs do what you want
[18:29] <Mavrik> your video will get remuxed though
[18:29] <tweek__> then I'd have a pretty good estimate of what bytecode maps to what frame
[18:29] <Mavrik> norbert_, we're using WebM instead of Theora for web just because it causes less problems... but otherwise you could try encoding it with new ffmpeg 0.10 with libtheora/vorbis
[18:30] <tweek__> yeah, what I'm using now is ffmpeg -y -i foo.mpg -acodec copy -vcodec copy -scodec copy -sameq -copyts -copytb -map_metadata 0:0 -map_chapters 0:0 -f mpeg bar.mpg
[18:30] <tweek__> the source video is 2.6G, the target is 2.5G
[18:30] <tweek__> so I'm almost there
[18:31] <Mavrik> tweek__, can you show the output? stream mappings?
[18:31] <norbert_> Mavrik: about "causes less problems"... what did you run into? is WebM supported by all browsers on GNU/Linux, Windows and Mac?
[18:31] <Mavrik> I don't see anything missing there (-sameq is probably redundant though)
[18:31] <Mavrik> norbert_, it has better quality, encoder and support... and it's supported by "most" browsers that support Theora (Firefox 3.6 being the exception I think)
[18:32] <norbert_> it it a free codec, as in freedom?
[18:32] <Mavrik> norbert_, HTML5 world started to move towards WebM since Theora development stopped
[18:32] <Mavrik> norbert_, so they claim :)
[18:32] <norbert_> maybe I could just use that, if ffmpeg can easily give me one when I input this mp4
[18:32] <Mavrik> norbert_, it uses VP8 video codec (by Google, should be patent-free) with Vorbis audio in WebM container (which is a Matroska fork)
[18:33] <tweek__> http://codepad.org/uwff0M9e
[18:33] <norbert_> I'm just used to using ffmpeg2theora because all I need to do is pass the mp4 file
[18:33] <Mavrik> norbert_, http://en.wikipedia.org/wiki/HTML5_video#Table
[18:33] <tweek__> looks like there's another stream that isn't being copied?
[18:33] <Mavrik> norbert_, http://www.virag.si/2012/01/webm-web-video-encoding-tutorial-with-ffmpeg-0-…
[18:34] <Mavrik> if those help
[18:34] <tweek__> HTML5 world started to move towards WebM because they woke up one day
[18:34] <Mavrik> if not... then ffmpeg2theora developer is probably the right place to annoy
[18:34] <tweek__> took a shower
[18:34] <tweek__> brushed their teeth
[18:34] <tweek__> and suddenly it hit them
[18:34] <tweek__> Theora is a pile of shit and pushing it over H.264 made no sense at all
[18:34] <norbert_> Unrecognized option 'quality'
[18:34] <norbert_> Failed to set value 'good' for option 'quality'
[18:35] <Mavrik> tweek__, yep, you're losing an audio stream
[18:35] <norbert_> the rest seems to be ok, maybe my ffmpeg (git-2011-10-26-7d7e302) needs something else
[18:35] <Mavrik> norbert_, just how old is your ffmpeg? :)
[18:35] <Mavrik> norbert_, do you have libvpx?
[18:35] <norbert_> norbert@ren:~$ locate libvpx|grep "so.0$"
[18:35] <tweek__> is there a way to ensure all streams are preserved?
[18:35] <norbert_> /usr/lib/libvpx.so.0
[18:35] <Mavrik> norbert_, ffmpeg output?
[18:36] <tweek__> I know there's VBI data that ccextractor can use to obtain SRT from the source
[18:36] <tweek__> er, a subtitle file with closed-captions
[18:36] <norbert_> Mavrik: http://pastebin.com/HrUysF5e
[18:36] <tweek__> that isn't present in the target
[18:36] <Mavrik> tweek__, "-map 0" it seems
[18:37] <Mavrik> norbert_, you don't have libvpx (the VP8 video encoder) support compiled into your ffmpeg
[18:37] <norbert_> Unrecognized option 'cpu-used'
[18:37] <norbert_> Failed to set value '0' for option 'cpu-used'
[18:37] <norbert_> Unknown encoder 'libvpx'
[18:37] <norbert_> that's when I start removing stuff that fails from the command
[18:37] <cbreak> don't use unknown options.
[18:37] <Mavrik> (missing --enable-libvpx in your build flags)
[18:38] <norbert_> ok, I followed the instructions on the Ubuntu forum to get x264 support, I guess their manual doesn't add vp8
[18:38] <cbreak> you don't need vp8
[18:38] <cbreak> x264 runs fine without it
[18:38] <Mavrik> cbreak, he's not trying to encode h.264
[18:38] <Mavrik> read the debate.
[18:39] <Mavrik> norbert_, yeah, there's an "(optional)" part :)
[18:39] <norbert_> cbreak: I need to go from mp4 to something that allows me to html5 <video> it
[18:39] <cbreak> then why follow instructions to add x264 support? :/
[18:39] <norbert_> for something else I needed the x264 support
[18:39] <norbert_> :)
[18:39] <cbreak> afaik html5 video uses h264
[18:39] <Mavrik> cbreak, he's talking about the Ubuntu ffmpeg compile guide in the topic.
[18:39] <cbreak> in some browsers
[18:39] <norbert_> "in some browsers" isn't good enough ;)
[18:40] <cbreak> there's no codec that all support
[18:40] <Mavrik> ...
[18:40] <norbert_> acutally, now that you mention that, I guess I'm going to use flash
[18:41] <norbert_> *actually
[18:41] <Mavrik> not a bad idea :)
[18:41] <tweek__> adding -acodec copy -newaudio works
[18:41] <cbreak> that's also not supported by all browsers
[18:41] <norbert_> ffmpeg -i in.mp4 -y -acodec libmp3lame -ab 64k -ar 22050 -ac 1 -vcodec flv -r 15 -s 360x200 -b 200k -vol 256 -flags aic+cbp+mv0+mv4 -cmp 3 -subcmp 3 -mbd 2 -partitions +parti4x4+partp8x8 -flags2 +mixed_refs -subq 5 -trellis 1 -refs 5 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qcomp 0.6 -coder 1 -g 250 -ac 2 out.flv
[18:41] <tweek__> could write a script to just check how many streams are present in the video
[18:41] <norbert_> or something
[18:41] <tweek__> there's basically no chance a video could ever have two video streams, right?
[18:41] <Mavrik> tweek__, documentation claims using "-map 0" is enough... did you test it?
[18:41] <Mavrik> norbert_, we use flash with HTML5 H.264 fallback in our configurations
[18:42] <cbreak> tweek__: in what context? DVDs support various viewing angles
[18:42] <tweek__> -map 0 just gives 'number of stream maps must match number of output streams'
[18:42] <Mavrik> norbert_, and WebM with H.264 HTML5 fallback with additional Flash fallback for an opensource zealot hackerspace :)
[18:42] <tweek__> i.e., there's only one audio and one video stream in the target by default
[18:42] <tweek__> these are all MythTV recordings I'm planning to transcode
[18:42] <tweek__> but I'm trying to keep my script as generic as possible
[18:43] <tweek__> I guess another problem I'll run into with this is
[18:43] <Mavrik> tweek__, it's theoretically possible to have multiple videos in a stream
[18:43] <tweek__> ffmpeg doesn't continually output the frame number
[18:43] <tweek__> seems to only output a new status line every 300 frames
[18:44] <Mavrik> but I've never covered that corner case in my encoders... it's rare enough that it's that persons own fault if he has such video :P
[18:44] <tweek__> 2752370196 Feb 9 13:00 1021_20120209123000.mpg
[18:44] <tweek__> 2688575488 Feb 11 10:44 foo.mpg
[18:44] <tweek__> it's closer
[18:44] <Mavrik> tweek__, I think there's a "dump stats" or something videofilter that should dump data while transcoding
[18:45] <tweek__> ccextractor still works on 1021_201202...mpg and not on foo.mpg
[18:45] <tweek__> so VBI data isn't being transferred accordingly
[18:46] <tweek__> only 60 MB off over 30 minutes of video, though
[18:46] <tweek__> so that should make for semi-accurate cuts
[18:47] <tweek__> wouldn't suppose there's a -f copy or something
[18:47] <Mavrik> well...
[18:48] <Mavrik> that would be a cp :)
[18:48] <tweek__> oh should've mentioned, the overall goal is to be able to translate frame numbers MythTV is giving me indicating commercial cut-points
[18:48] <Mavrik> IIRC ffmpeg is not capable of doing anything without demuxing
[18:48] <Mavrik> "frame numbers"?
[18:48] <Mavrik> and you'd like to cut them out?
[18:48] <tweek__> into bytecodes which Project-X can use to cut the MPEG-2 up while cleaning noise
[18:49] <Mavrik> I see.
[18:49] <Mavrik> tweek__, why don't you just discard the output?
[18:49] <Mavrik> and use the original input for Project-X?
[18:49] <tweek__> it also concatenates cleanly, something I could never really get by calling ffmpeg a bunch of times with -ss start_pt -t duration ...
[18:49] <tweek__> and then using -i concat:
[18:50] <cbreak> mplayer/mencoder support edls
[18:50] <tweek__> discard the MPEG-2 output?
[18:50] <cbreak> somewhat
[18:51] <tweek__> does it just estimate where the cuts should go, or is it fairly accurate
[18:51] <tweek__> might as well try it and see
[18:51] <cbreak> you tell it the timestamp
[18:52] <cbreak> or you use -edlout to make it interactively
[18:52] <cbreak> you can use -hr-edl-seek if you want frame precision
[19:02] <neon22121> hi today i checked ffplay...the latest win32 build form zeranoe. now my problem is if i try to play any file with dts or ac3...i cant hear anything. could somebody help me??
[19:06] <tweek__> just curious Mavrik, what did you mean by 'discarding the output'?
[19:06] <Mavrik> tweek__, well, if I understand you correctly you just really need frame numbers from the input video to pass to Project-X right?
[19:06] <tweek__> well, if I give Project-X frame numbers, it decides the frame is actually a minute away from the actual cut
[19:07] <tweek__> it sucks at estimating where the frame is in the file, so I want to do its job for it
[19:07] <tweek__> by giving it exact bytecodes, which it seems to handle well enough
[19:07] <Mavrik> I don't really understand what are bytecodes? byte offsets?
[19:08] <tweek__> yeah, byte offsets into the raw file
[19:08] <Mavrik> oh.
[19:08] <tweek__> I'm assuming it just finds the nearest b-frame or whatever to that point and chops away
[19:08] <tweek__> 60 MB of difference, that's like ... a second or two of video, right?
[19:08] <tweek__> uncompressed 1080p video, too, so probably even less than that
[19:08] <Mavrik> depends on bitrate, could be more :)
[19:09] <tweek__> mencoder seems to be choking to death on these files, no clue why
[19:15] <neon22121> hi today i checked ffplay...the latest win32 build form zeranoe. now my problem is if i try to play any file with dts or ac3...i cant hear anything. could somebody help me please??
[19:16] <tweek__> hmm, and if I'm going with the idea that this is an estimate anyway
[19:16] <tweek__> I could just check the size discrepancy at the end of this process
[19:17] <tweek__> and say 'okay, this is how much data didn't make it, so if it's assumed to be evenly distributed, add this much to the byte offsets at this point in the video'
[19:18] <tweek__> so if there's some 1024 byte VBI packet for each 20 frames or whatever, who cares, I can compensate for it
[19:19] <Mavrik> at most you'll be off by a second or so
[19:19] <Mavrik> which isn't that much for a commercial :)
[19:19] <tweek__> yeah
[19:24] <cbreak> if you want to be frame exact, then you have to do something like mplayer's -hr-edl-seek
[19:24] <cbreak> and not seek at all
[19:25] <cbreak> but instead decode every frame
[19:25] <cbreak> (at least in containers with non-constant-sized frames, non-constant framerate or similar)
[19:31] <tweek__> yeah, the big problem with this idea I think is that ffmpeg doesn't continually output that status line
[19:32] <tweek__> -vstats_log doesn't seem to output anything at all unitl the encoding is over
[19:32] <tweek__> actually since it's just copying it doesn't actually output anything
[19:33] <cbreak> how's that a problem?
[19:33] <tweek__> well, the whole idea was that I count the bytes outputted to the pipe while counting the frame numbers outputted to stdout
[19:33] <cbreak> that doesn't sound smart
[19:34] <tweek__> it only outputs a frame number every 30-40 seconds on status updates
[19:34] <cbreak> why not just strip out the commercials directly?
[19:34] <tweek__> if I could I wouldn't need to do this at all
[19:34] <cbreak> why can you not?
[19:34] <tweek__> because every stripping tool I've used including ffmpeg is horribly inaccurate
[19:34] <tweek__> and mencoder chokes on the files
[19:35] <cbreak> mplayer then? :)
[19:35] <cbreak> it plays everything
[19:35] <cbreak> (more or less)
[19:51] <bwbass> HI! Having a prooblem getting ffserver to serve any data... clients connect with 200/ok but I get 'no extradata' and 'error wrting header' errors, ideas?
[19:54] <bwbass> ...running mplayer [pipe]-> ffmpeg [http ffd]-> ffserver on remote server, feeding mplayer via http stream from vlc on local box
[20:27] <bwbass> is there a way to use the ffmpeg '-vpre' options in ffserver.config?
[20:31] <tweek__> decided to use -vframes to stop the decoding at a specific point in the video
[20:32] <tweek__> rather than looking through the stdout status line and trying to find frame numbers or whatever
[20:32] <tweek__> I tested out my idea on one point late in the video, and I've gotta say
[20:32] <tweek__> it's as close to exact as I can really expect to get
[20:34] <tweek__> I'm thinking now, maybe the cutting tools I'm using are actually doing their best job to estimate, but there's additional data present in the video file that throws it all off
[20:34] <tweek__> about 60MB worth in this particular one
[20:41] <dv_> is it possible to transcode something with stretched timestamps?
[20:42] <dv_> in other words, I want the output to play 2.5 times slower
[20:55] <PovAddict> hi
[20:57] <PovAddict> I have a .mp4 video apparently at 24*1.001 fps
[20:58] <JEEB> more like 24/1.001 :)
[20:58] <PovAddict> er yes, that :)
[20:58] <PovAddict> that's not a framerate that can be used in DVD-Video
[20:58] <JEEB> actually, you can IIRC
[20:59] <PovAddict> I read somewhere about "soft telecine", where the DVD stores the original 23.9fps framerate video and the player takes care of doing pulldown or whatever it needs
[20:59] <JEEB> the stream will have to be marked a bit differently, that's all
[20:59] <JEEB> yeah
[20:59] <PovAddict> can I do that with ffmpeg?
[20:59] <JEEB> no idea, I would guess it's possible to encode a 24/1.001 stream with ffmpeg, but I have no idea how to set the soft telecine flags :)
[21:00] <PovAddict> I keep finding websites explaining how to rip DVDs with either hard or soft telecine, undoing the telecine in the case of hard
[21:00] <PovAddict> I need the opposite process ><
[21:01] <JEEB> ffmpeg might have the way, but I have no idea how to tell ffmpeg to encode/mux it in the way of "soft telecine"
[21:01] <cbreak> why would you want to telecine stuff? :/
[21:01] <cbreak> mplayer can do it I think
[21:01] <JEEB> that's reverse telecine :P
[21:01] <cbreak> or it can create mpeg streams with the flag set
[21:02] <JEEB> uuhh, what
[21:02] <cbreak> inverse telecine is from 30ntsc to 24ntsc
[21:02] <JEEB> yes
[21:02] <cbreak> telecine is from 24ntsc to 30ntsc
[21:02] <cbreak> which direction do you want?
[21:02] <JEEB> he doesn't want either in reality
[21:02] <JEEB> he wants to do "soft telecine"
[21:02] <JEEB> which is the best way to do it in case your source material is 24/1.001
[21:02] <JEEB> :P
[21:02] <PovAddict> cbreak: I have a .mp4 video with 24/1.001 fps and I want to burn it into DVD-Video, but apparently the allowed framerates on DVD-Video are 25fps and 30/1.001fps
[21:02] <cbreak> so he has 24ntsc and wants to have an mpeg stream with 24nstc with the soft telecine flag set?
[21:02] <JEEB> something like that yes
[21:03] <cbreak> PovAddict: nah, 24000/1001 is also allowed
[21:03] <JEEB> as long as you have the soft telecine flags set
[21:03] <JEEB> yeah
[21:03] <cbreak> I know how to do that in mencoder but not ffmpeg, but I am sure it can do that too
[21:04] <JEEB> yes, if mencoder can do it, so should ffmpeg be able as well
[21:05] <cbreak> or a dvd authoring tool
[21:05] <JEEB> yeah
[21:05] <cbreak> (mencoder has its own ps muxer)
[21:05] <PovAddict> didn't see anything about telecine in dvdauthor
[21:05] <cbreak> maybe it's called pulldown or so
[21:06] <PovAddict> wikipedia says "MPEG-2 formats support both interlaced and progressive-scan content. Content with frame rate different from one of the rates shown above can be encoded by using pulldown. Pulldown can be implemented either directly or via flags that identify scanning type, field order and field repeating pattern. Such flags can be added in video stream by MPEG-2 encoder"
[21:08] <PovAddict> ughh I keep finding instructions on how to deal with telecined DVDs
[21:09] <vadim_> have somebody tried the new ISMV muxer in ffmpeg-0.10? i need a reference command line for this, the documentation is too vague...
[21:55] <goddard> what doesn't webm work on?
[21:56] <PovAddict> Atari
[21:56] <PovAddict> maybe you should make your question more specific
[22:00] <goddard> PovAddict: as far as web capable devices
[22:00] <goddard> if i use html5 and webm
[22:53] <^sandro^-> hello
[22:53] <^sandro^-> can anyone help me with live encoding ?
[22:53] <^sandro^-> raw HLS UDP stream
[22:54] <^sandro^-> well UDP stream.. i want to convert to HLS correct.. and im kind of stuck
[23:08] <norbert_> eh hi
[23:08] <norbert_> is there an easy way to go from mp4 to mp2?
[23:09] <norbert_> (or, basically, anything that video-editing software cinelerra will read)
[23:10] <burek> well try ffmpeg -i input.mp4 -vcodec mp2 output.mp2
[23:10] <burek> something like that
[23:10] <burek> use ffmpeg -codecs
[23:10] <burek> to find the correct vcodec
[23:10] <burek> or acodec if it's audio
[23:11] <burek> ^sandro^-, the devel channel is for ffmpeg developers
[23:11] <burek> this one is for ffmpeg usage
[23:12] <norbert_> burek: yeah, I tried that, but ran into "Output file #0 does not contain any stream"
[23:12] <^sandro^-> ok.. sorry..
[23:12] <^sandro^-> let me try this again
[23:12] <burek> norbert_
[23:13] <burek> can you please use pastebin.com, to show your command line and its output?
[23:13] <^sandro^-> http://pastebin.com/CVF3LzhF
[23:14] <^sandro^-> actually let me get you the full thing.. its better
[23:14] <Mavrik> oh nice, live tv
[23:14] <Mavrik> ^sandro^-, what are you trying to do? :)
[23:15] <iive> i guess he is trying to capture dvb streamed over udp
[23:15] <iive> and usually it have a number of programs running at the same multiplexed stream.
[23:15] <Mavrik> that's standard for IPTV providers
[23:15] <Mavrik> even though, the ones I've worked for never streamed multiple programs in a stream
[23:16] <Mavrik> so it's probably re-streamed DVB-C or some such
[23:16] <^sandro^-> http://pastebin.com/sfkx6QF9
[23:16] <iive> huh? you mean one digital program per transponder?
[23:16] <norbert_> burek: http://pastebin.com/EfuF0LRF
[23:16] <^sandro^-> ya.. im capturing the signals via the sencore units and sending the UDP:// to a particular server for transcoding
[23:17] <norbert_> first one is -vcodec mp2, second one is -vcodec mpeg2video
[23:17] <^sandro^-> now on this transcoder i want to use ffmpeg
[23:17] <Mavrik> iive, no, if you're running an IPTV service you're using multicast
[23:17] <^sandro^-> to transcode to H264
[23:17] <^sandro^-> no.. not multicast
[23:17] <^sandro^-> i want to use HLS
[23:17] <Mavrik> ^sandro^-, what seems to be the problem?
[23:17] <Mavrik> (I came late in the debate).
[23:18] <Mavrik> Is something wrong with the video? Why are you using such complex libx264 parameters?
[23:18] <^sandro^-> doesn't work
[23:18] <iive> Mavrik: oh, sorry , i got it confused with the other dvb standard..
[23:18] <^sandro^-> i keep getting buffer overrun errors
[23:18] <^sandro^-> and i just can't get it to go to .ts
[23:18] <^sandro^-> see i want to pipe it to : http_streamer and then it will segment it and break it down for streaming multiple outputs
[23:18] <^sandro^-> like different bit rates
[23:18] <iive> ^sandro^-: why don't you try with something simpler, like -vcodec copy -acodec copy ?
[23:19] <Mavrik> yeah
[23:19] <^sandro^-> but the first step is to create a new h264 .ts file
[23:19] <Mavrik> ^sandro^-, try dumping the stream to file first
[23:19] <^sandro^-> its coming in at 40mbit/s
[23:19] <Mavrik> so you see if you're getting uncorrupted video
[23:19] <^sandro^-> let me try right now to see what happens
[23:19] <iive> ^sandro^-: one step at a time. if you try to leap to the next town, you'll probably fall backwards.
[23:20] <burek> just a sec
[23:20] <burek> phone
[23:20] <^sandro^-> ok.. trying a basic capture.. only problem is.. how do i select the proper program
[23:20] <^sandro^-> this comes in with over 10 different programs and channels
[23:20] <^sandro^-> i want to select only one of them... but the map keeps chaning on me
[23:21] <^sandro^-> i only want program 167
[23:21] <^sandro^-> listed here http://pastebin.com/sfkx6QF9
[23:21] <^sandro^-> but the map id : #0:6[0x10f5] keeps chaning
[23:22] <^sandro^-> every time i run it its a differnet location
[23:22] <^sandro^-> is there a way to always select the source based on service_name
[23:22] <^sandro^-> ?
[23:22] <iive> good question... with I knew.
[23:22] <iive> with/wish
[23:23] Action: iive goes to check
[23:23] <^sandro^-> im i am kind of stuck there too.. i got some things going before but then it all just stopped when it changed and sent me back to the drawing board
[23:25] <vadim_> ^sandro^-: probably you should use a multicast ip instead of @. in my case every channel has its own ip, and the url looks like this one: udp://239.0.0.1:1234
[23:27] <^sandro^-> yup thats fine.. actually im sending it to the server itself.. when i run tcpdump -i eth0 it shows me all the traffic being pushed to it
[23:27] <^sandro^-> so its there..
[23:27] <^sandro^-> its localhost
[23:27] <^sandro^-> port :5000
[23:28] <Mavrik> hmm
[23:28] <Mavrik> can't seem to find a parameter that would force mpegts demuxer to choose a program
[23:29] <^sandro^-> [mpegts @ 0x839360] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 4452134041 >= 4452134041
[23:29] <^sandro^-> av_interleaved_write_frame(): Invalid argument
[23:29] <^sandro^-> ya i looked for hours too.. can't figure that out
[23:29] <^sandro^-> for now im trying to use the mappings and it works most of the time
[23:29] <^sandro^-> other times the system just rewrites it as a different path and that is anoying
[23:29] <^sandro^-> im not too concerned with that one however since i will just write a script that will check it before laoding
[23:29] <^sandro^-> and select the right inputs
[23:30] <^sandro^-> something like htat
[23:33] <vadim_> guys, i have a question too... where could i find a command line example for new ISMV muxer usage implemented in ffmpeg-0.10? i tried to compose some variants but all of them failed...
[23:39] <^sandro^-> http://pastebin.com/kL9KHxK3 <----- can someone look at that and tell me whats wrong with it
[23:39] <^sandro^-> im not sure why its skipping the frames
[23:40] <^sandro^-> well.. that last paste does have audio
[23:41] <^sandro^-> but its not taking the video .. not sure why
[23:41] <PovAddict> how do I demux with ffmpeg, outputting audio and video to separate files?
[23:44] <^sandro^-> ffmpeg -y -i udp://@:5000 -re -async 1 -vcodec libx264 -acodec libmp3lame -map 0:5 -map 0:6 -ar 44100 /mnt/encoder/test.ts
[23:44] <^sandro^-> gives me this error : [udp @ 0x18e08e0] circular_buffer: OVERRUN
[23:44] <^sandro^-> ^C
[23:44] <^sandro^-> now i know something is wrong with that line..
[23:44] <^sandro^-> not sure why
[23:48] <^sandro^-> damn.. .. the mapping keeps changing on me.. i think this is the problem
[23:48] <^sandro^-> at least one of them :(
[23:49] <^sandro^-> anyone else know how to map differnet inputs by description
[23:49] <^sandro^-> instead of by map 0:X
[23:52] <iive> `p:program_id[:stream_index]` according to the documentation
[23:53] <^sandro^-> not sure how to insert that
[23:55] <vadim_> ^sandro^-: circular_buffer: OVERRUN - appears because of a bug in udp module... http://ffmpeg.org/trac/ffmpeg/ticket/609
[23:58] <^sandro^-> so there is no fix for it ?
[23:58] <vadim_> ^sandro^-: nope.... :(
[00:00] --- Sun Feb 12 2012
1
0
[01:47] <CIA-67> ffmpeg: 03Anton Khirnov 07master * rcd1ad18a65 10ffmpeg/ (72 files in 4 dirs): (log message trimmed)
[01:47] <CIA-67> ffmpeg: rawenc: switch to encode2().
[01:47] <CIA-67> ffmpeg: This changes a number of FATE results, since before this commit, the
[01:47] <CIA-67> ffmpeg: timestamps in all tests using rawenc were made up by lavf.
[01:47] <CIA-67> ffmpeg: In most cases, the previous timestamps were completely bogus.
[01:47] <CIA-67> ffmpeg: In some other cases -- raw formats, mostly h264 -- the new timestamps
[01:47] <CIA-67> ffmpeg: are bogus as well. The only difference is that timestamps invented by
[01:48] <CIA-67> ffmpeg: 03Paul B Mahol 07master * ra16c3a07a6 10ffmpeg/libavformat/apetag.h:
[01:48] <CIA-67> ffmpeg: apetag: fix comment
[01:48] <CIA-67> ffmpeg: Signed-off-by: Paul B Mahol <onemda(a)gmail.com>
[01:48] <CIA-67> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:48] <CIA-67> ffmpeg: 03Diego Biurrun 07master * r0bba26466f 10ffmpeg/ (27 files in 8 dirs): cosmetics: Delete empty lines at end of file.
[01:48] <CIA-67> ffmpeg: 03Diego Biurrun 07master * ra2e40cd3e2 10ffmpeg/libswscale/ppc/yuv2rgb_altivec.h: swscale: ppc: Add missing header #includes to pass 'make checkheaders'.
[01:48] <CIA-67> ffmpeg: 03Diego Biurrun 07master * raa06d65693 10ffmpeg/libavcodec/arm/vp8.h: arm: Add missing #include to vp8.h to fix a make checkheaders warning.
[01:48] <CIA-67> ffmpeg: 03Tomas Härdin 07master * ra3923482f2 10ffmpeg/libavformat/mxfdec.c:
[01:48] <CIA-67> ffmpeg: mxfdec: Make sure x < index_table->nb_ptses
[01:48] <CIA-67> ffmpeg: Avoids a SIGSEGV on files with IndexEntryCount < IndexDuration.
[01:48] <CIA-67> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[01:48] <CIA-67> ffmpeg: 03Tomas Härdin 07master * reffe3b9575 10ffmpeg/libavformat/mxfdec.c:
[01:48] <CIA-67> ffmpeg: mxfdec: Check for NULL component
[01:48] <CIA-67> ffmpeg: This fixes a SIGSEGV with zzuf1.mxf.
[01:48] <CIA-67> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[01:48] <CIA-67> ffmpeg: 03Tomas Härdin 07master * r0373ec635d 10ffmpeg/libavformat/mxfdec.c:
[01:48] <CIA-67> ffmpeg: mxfdec: Check eof_reached in mxf_read_local_tags()
[01:48] <CIA-67> ffmpeg: This fixes an infinite loop with zzuf2.mxf.
[01:48] <CIA-67> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[01:48] <CIA-67> ffmpeg: 03Diego Biurrun 07master * rf769cfedd8 10ffmpeg/ (libavcodec/Makefile libavutil/Makefile): build: Add missing directories to DIRS declarations.
[01:48] <CIA-67> ffmpeg: 03Tomas Härdin 07master * r11800c8c89 10ffmpeg/libavformat/mxfdec.c:
[01:48] <CIA-67> ffmpeg: mxfdec: Never seek back in local sets and KLVs
[01:48] <CIA-67> ffmpeg: Specially crafted files can lead the parsing code to take too long.
[01:48] <CIA-67> ffmpeg: We fix a lot of these problems by not allowing local tags to extend
[01:48] <CIA-67> ffmpeg: past the end of the set and not allowing other KLVs to be read past
[02:41] <Akira^^> is this bug ? RTMP_CHANNELS is 64+0x10000 not 65599 on rtmppkt.h
[02:51] <Compn> sounds like bug
[02:51] <Compn> i think kostya maintains that stuff
[06:30] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r29034e6503 10ffmpeg/ffmpeg.c: (log message trimmed)
[06:30] <CIA-67> ffmpeg: ffmpeg: Add threshold to discard crazy/damaged timestamps.
[06:30] <CIA-67> ffmpeg: The added tests are limited to the case where timestamp discontinuities
[06:30] <CIA-67> ffmpeg: are not allowed. The default is 30 hours which is arbitrarily picked and
[06:30] <CIA-67> ffmpeg: quite conservative.
[06:30] <CIA-67> ffmpeg: This prevents a out of memory condition due to duplicating a frame
[06:30] <CIA-67> ffmpeg: millions of times.
[06:30] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * r789d6b73cf 10ffmpeg/libavformat/utils.c:
[06:30] <CIA-67> ffmpeg: lavf: Rewrite metadata printing from dump_metadata().
[06:30] <CIA-67> ffmpeg: This code contained several bugs that mis-formated the output.
[06:30] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[06:32] <lionaneesh> Hello Guys!
[06:33] <lionaneesh> I was just glancing through the sun rastfile code
[06:33] <lionaneesh> and found that we have a else (1) { if (!1) } condition there
[06:33] <lionaneesh> Should i send a patch?
[06:34] <lionaneesh> michaelni, Here?
[06:36] <michaelni> lionaneesh, iam here
[06:37] <lionaneesh> michaelni, we have a else (1) { if (!1) } condition in the sunrast encoder
[06:37] <lionaneesh> will send a patch asap
[06:37] <michaelni> ok, thx
[06:39] <lionaneesh> Welcome
[06:40] <michaelni> seems the fix for ticket #865 added it
[06:40] <michaelni> it was depth == 8 before
[06:41] <lionaneesh> michaelni, Exactly
[07:29] <CIA-67> ffmpeg: 03Aneesh Dogra 07master * r1b7ff90107 10ffmpeg/libavcodec/sunrast.c:
[07:29] <CIA-67> ffmpeg: sunrast: Remove the useless check.
[07:29] <CIA-67> ffmpeg: in , else (1) { if (!1) } the if conditional will never evaluate to be true.
[07:29] <CIA-67> ffmpeg: So as making the check useless.
[07:29] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[13:59] <lionaneesh> Hey all :)
[17:40] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * rbaa8ec8d74 10ffmpeg/configure:
[17:40] <CIA-67> ffmpeg: Add missing swscale dependency for MP-filters.
[17:40] <CIA-67> ffmpeg: Reported-by: Hanspeter Niederstrasser
[17:40] <CIA-67> ffmpeg: Fixes ticket #989.
[17:40] <CIA-67> ffmpeg: 03Hanspeter Niederstrasser 07master * r342afd12de 10ffmpeg/configure:
[17:40] <CIA-67> ffmpeg: Add missing swresample dependency for ffplay.
[17:40] <CIA-67> ffmpeg: Fixes part of ticket #989.
[17:52] <CIA-67> ffmpeg: 03Carl Eugen Hoyos 07master * r3546f680d5 10ffmpeg/libavcodec/mpeg12.c: Add missing newline to mpeg1/2 intra matrix error message.
[18:16] <Compn> wasnt there a really old commit that made sure every file had a new line at the end ?
[18:16] Action: Compn notices commit that removes all of those new lines
[18:16] <Compn> not really important, just cosmetic bikeshedding
[18:17] <overflow_0f8b> the masters have much freetime
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * r4ab4b3db5a 10ffmpeg/ffmpeg.c: ffmpeg: use exit_program() if configure_video_filters() fails.
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * re22c7b4e25 10ffmpeg/ffmpeg.c:
[20:35] <CIA-67> ffmpeg: ffmpeg: simplify video frame polling.
[20:35] <CIA-67> ffmpeg: input_video_filter and output_video_filter can't be NULL at this point.
[20:35] <CIA-67> ffmpeg: If they are, the current code would likely crash anyway (since
[20:35] <CIA-67> ffmpeg: filtered_frame would be NULL and sent to do_video_out().
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * raede21f1b6 10ffmpeg/ffmpeg.c: ffmpeg: reindent after video frame polling simplification.
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * rcf31060127 10ffmpeg/ffmpeg.c: ffmpeg: move filtered_frame to video stream processing scope.
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * ra78dd826ee 10ffmpeg/ffmpeg.c:
[20:35] <CIA-67> ffmpeg: ffmpeg: move video stats code to do_video_out().
[20:35] <CIA-67> ffmpeg: This will allow some simplifications in transcode_video().
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * r9303b794b8 10ffmpeg/ffmpeg.c:
[20:35] <CIA-67> ffmpeg: ffmpeg: move do_video_stats() above do_video_out().
[20:35] <CIA-67> ffmpeg: This avoid a forward declaration.
[20:35] <CIA-67> ffmpeg: 03Clément BSsch 07master * r086fc4d765 10ffmpeg/ffmpeg.c:
[20:35] <CIA-67> ffmpeg: ffmpeg: move filtered_frame to the CONFIG_AVFILTER scope.
[20:35] <CIA-67> ffmpeg: This simplifies a bit the #ifdefery.
[20:48] <CIA-67> ffmpeg: 03Clément BSsch 07master * ra3c4371f3c 10ffmpeg/ffmpeg.c: ffmpeg: prefer NULL over 0 for av_log context pointer parameter.
[21:05] <ubitux> [FFmpeg-devel] [PATCH] BluRay protocol using libbluray
[21:05] <ubitux> oh :o
[21:05] <ubitux> nice nice nice :)
[21:06] <nevcairiel> like i mentioned in the GSoC discussion, its a days work
[21:06] <nevcairiel> if even that
[21:07] <nevcairiel> although this implementation has timestamp discontinuities on every clip change, but supposedly every mpegts consumer should be able to deal with that, so meh
[21:08] <nevcairiel> anyhow, libblurays basic reading api is refreshing simple
[21:11] <ubitux> ok :)
[21:12] <pasteeater> anyone know why cehoyos removes the CC from bug reports?
[21:24] <Compn> pasteeater : removes himself you mean ?
[21:24] <Compn> i remove myself on bugs too, its easier to read on web interface than having email clog up
[21:27] <pasteeater> Compn: no. the reporters email address. they add themselves for notifications and he removes them.
[21:43] <ubitux> pasteeater: maybe trac automatically notifies the reporter even if in non-cc?
[21:46] <nevcairiel> it does
[21:46] <nevcairiel> although maybe it does that by automatically adding the reporter to cc? :)
[21:48] <Compn> you could just ask carl :P
[22:25] <Plorkyeran> CC is for the people in addition to reporter and owner that want to be notified
[22:27] <vadim> hi 2 all
[22:57] <ubitux> exit(ret); /* not all OS-es handle main() return value */
[22:57] <ubitux> is this still true?...
[23:04] <CIA-67> ffmpeg: 03Michael Niedermayer 07master * raf46ca7356 10ffmpeg/libavcodec/msmpeg4.c:
[23:04] <CIA-67> ffmpeg: msmpeg4: replace 999999 by INT_MAX and initial by a valid index.
[23:04] <CIA-67> ffmpeg: Fixes Ticket990
[23:04] <CIA-67> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:19] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * r5338566eaf 10ffmpeg/libavcodec/mpegvideo.c:
[23:19] <CIA-67> ffmpeg: mpegvideodec: minor simplifications.
[23:19] <CIA-67> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[23:19] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * r3fe00cac71 10ffmpeg/libavcodec/mpegvideo.c:
[23:19] <CIA-67> ffmpeg: Fix bitexact intra mismatch control.
[23:19] <CIA-67> ffmpeg: The DC coefficient should be included, too.
[23:19] <CIA-67> ffmpeg: This probably was missed because DC quantizer is always
[23:19] <CIA-67> ffmpeg: even for MPEG-1/2 but this function is also used for MPEG-4.
[23:19] <CIA-67> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[23:19] <CIA-67> ffmpeg: 03Reimar Döffinger 07master * r394d41ee30 10ffmpeg/libavcodec/ (pngdsp.h x86/pngdsp.asm):
[23:19] <CIA-67> ffmpeg: Partially revert "Fix png decoding on x86."
[23:19] <CIA-67> ffmpeg: This partially reverts commit 58dabf7bf2fdd08f79173da0df613127ff783028.
[23:19] <CIA-67> ffmpeg: It is no longer necessary to use unaligned mov.
[23:19] <CIA-67> ffmpeg: The swapped mov argument fix remains though.
[00:00] --- Sat Feb 11 2012
1
0
[00:04] <savage-> h
[00:04] <savage-> hi
[01:45] <slackyman> hi
[01:45] <slackyman> burek: are you here?
[01:55] <slackyman> anyway... as Zeranoe said: mingw-w64 is the best choise
[01:56] <slackyman> I solved my problem for configure NOT detecting dshow by installing mingw-w64 and removing mingw32
[01:56] <slackyman> bye
[02:05] <tweek__> is there a way for ffmpeg to list the version of libx264 it is using?
[05:22] <Freakshow> wow... why is it that ffmpeg streaming rtsp over tcp works better than rtmp
[05:22] <Freakshow> who would have thunk
[05:37] <hi117> less lost packets?
[09:57] <mystica555_> hmm just got a webcam, lsusb -v shows it supports both raw video and mjpeg video.. is there any way to tell ffmpeg which video stream to pull? i believe the mjpeg video will be greater than the 5fps offered by raw yuv422 video...
[09:58] <Mavrik_> you'll have to tell the camera which stream to send, I doubt ffmpeg can do much unless it has a dedicated camera driver
[10:00] <mystica555_> well, ffmpeg seems to autonegotiate between sizes...
[10:00] <mystica555_> from 320:240 - 1920:1080
[10:00] <Mavrik_> what's your input system?
[10:00] <Mavrik_> v4l?
[10:00] <mystica555_> v4l2
[10:00] <Mavrik_> well, check the input format settings in documentation
[10:01] <Mavrik_> you can try passing -vcodec mjpeg before the -i
[10:01] <Mavrik_> but I doubt that'll work
[10:02] <mystica555_> [video4linux2,v4l2 @ 0x23ba590] R : yuyv422 : YUV 4:2:2 (YUYV) : 640x480 160x120 176x144 320x240 352x288 1280x720 1920x1080
[10:02] <mystica555_> [video4linux2,v4l2 @ 0x23ba590] C : mjpeg : MJPEG : 640x480 160x120 176x144 320x240 352x288 1280x720 1920x1080
[10:02] <mystica555_> from ffmpeg -list_formats all
[10:03] <mystica555_> correct, failed to set value mjpeg
[10:10] <mystica555_> oh sorry i was wrong
[10:10] <mystica555_> i had ffplay as the command and not ffmpeg
[10:10] <mystica555_> and i also had a wonky output file that it didnt know what to do with; it DOES seem to be doing mjpeg with -vcodec mjpeg before -i /dev/video0
[10:11] <mystica555_> 30fps 1920:1080 at mjpeg. WIN
[10:12] <mystica555_> Stream #0:0: Video: mjpeg, yuvj422p, 1920x1080, -5 kb/s, 30 tbr, 1000k tbn, 30 tbc
[10:15] <mystica555_> granted, it seems the camera is spitting out 15fps due to the lighting...but ffmpeg duplicating video frames like a champ to keep the output up at 30
[10:20] <mystica555_> im glad it was so easy as to ffmpeg -vcodec mjpeg :D
[10:20] <mystica555_> now if only i could choose so granularly in skype or cheese...
[10:20] <mystica555_> thanks mav
[10:20] <mystica555_> erm hes gone, damn negsplit
[10:21] <mystica555_> (thats about to happen it seems)
[12:36] <ubuntuaddicted> hello
[12:37] <ubuntuaddicted> IF I have a mp4 file that says it's bit rate is only 864 kbps (from an iphone 4), then there's no use in rendering it any higher correct? ffmpeg rendering doesn't "increase" quality correct?
[12:37] <sacarasc> * -> lossy always loses quality.
[12:38] <Mavrik> ubuntuaddicted, correct, you'll just be wasting space
[12:43] <ubuntuaddicted> awesome, thanks for the info. I use kdenlive which uses ffmpeg. I am editing some ping pong footage. be up on my youtube channel within 4 hours i'd say
[12:43] <ubuntuaddicted> :)
[12:44] <ubuntuaddicted> Mavrik, i am surprised that the iphone 4 only captures in that low of a bit rate but I guess it is a phone after all. lol
[12:44] <Mavrik> why is that a low bitrate?
[12:44] <Mavrik> H.264 at 800kbps doesn't look that bad at SD resolutions
[12:44] <Mavrik> plus, it has to encode in realtime
[12:45] <ubuntuaddicted> well, kdenlive has a bunch of presets for h264 which are in 6,000 and 8,000
[12:45] <ubuntuaddicted> SD is SD I guess. :)
[12:45] <ubuntuaddicted> it looks good, don't get me wrong.
[12:45] <Mavrik> that's for 1080p recordings on much better camera and optics than what an iPhone4 has ;)
[12:45] <ubuntuaddicted> i figured
[12:45] <Mavrik> and also for alot more movement
[12:46] <ubuntuaddicted> ping pong is very fast paced
[12:46] <Mavrik> for exampe we encode lecture videos at 720p to 1Mbit/s because more than that is just a waste of space :)
[12:47] <ubuntuaddicted> ok, so I would've needed to capture footage with better camera then iphone and then always just render after edits to what source bit rate is?
[12:47] <Mavrik> no, you render to what size and quality you want to get :)
[12:47] <Mavrik> depends on how you're going to use the footage and where
[12:47] <ubuntuaddicted> i mean, don't get me wrong. using my iphone for justin.tv live streams on wifi and video capture for my youtube channel is AWEOME.
[12:48] <ubuntuaddicted> using footage within kdenlive (editing) and then rendering for youtube or vimeo or internet streaming from my own server.
[12:48] <ubuntuaddicted> UbuTech LLC is my new company
[12:48] <ubuntuaddicted> :)
[12:49] <ubuntuaddicted> i don't want to promote my company (too much) in here as I know it's not cool BUT I am trying to "make a living" on youtube and social media. for real, only using ubuntu and mostly FOSS
[12:50] <ubuntuaddicted> thanks for your help
[12:51] <ubuntuaddicted> Mavrik, i appreciate it. i love IRC and freenode
[13:28] <norbert_> hey all, I'm doing the ffmpeg/x264 compile thing from the forum, and configure says "Warning: libavformat is not supported without swscale support"
[13:28] <norbert_> is that a problem or can I continue the guide?
[13:34] <norbert_> anyone... :|
[13:45] <norbert_> when I apt-get install libswscale-dev I get an extra warning: "Warning: PIX_FMT_RGB is missing from libavutil, update for swscale support"
[13:46] <norbert_> makes me sad that things like this still are user-unfriendly
[13:49] <norbert_> it shouldn't just say something isn't supported
[13:49] <norbert_> it should point to a page where it explains how to fix the error
[13:51] <norbert_> and the default ffmpeg for Ubuntu saying "Unknown encoder 'libx264'" makes me want to use Windows
[13:52] <norbert_> so basically, Ubuntu doesn't support it, 'oh, but just follow these instruction', 'oops, yeah, not working'
[13:52] <sacarasc> pasteeater: Seems norbert_ is having a problem with your guide.
[13:55] <norbert_> seems that xvidcap works though, I will use that for now
[13:56] <norbert_> sacarasc: thanks for trying to help though
[13:56] <norbert_> bye all
[14:09] <dekiss> hello I have one problem making video clip from image sequence
[14:09] <dekiss> when uncompressed video quality is good but file is huge normaly, when I compress it with h.264 even with best quality I can't get video to look right
[14:09] <dekiss> everything looks fine except I have lights made in maya that are lightning the wall of a room and where light enlight the wall instead of good smooth light I see some very bad quality colors
[14:09] <dekiss> here is the video its 500 kb see it how lights on the wall have very bad quality http://www.mediafire.com/?lzxgjkdx1x9kxy1
[14:10] <dekiss> images from image sequence are great also uncompressed video is great but when I compress it only lights are with very bad quality as you can see
[14:13] <Mavrik> show your ffmpeg parameters with output
[14:13] <Mavrik> put it in pastebin
[14:15] <dekiss> ah sorry
[14:15] <dekiss> this channel seems to be for ffmpeg application only I am using after effects
[14:15] <dekiss> I have image sequence made in Maya and I am making video from the images in ae
[14:15] <Mavrik> well
[14:16] <dekiss> if you still can help me I will apritiate
[14:16] <Mavrik> not without more info
[14:16] <Mavrik> what's your video resolution?
[14:16] <dekiss> I tried using handbrake and it is same
[14:16] <dekiss> well
[14:16] <dekiss> images are 1280x1024 also the video
[14:16] <Mavrik> ah
[14:16] <Mavrik> well
[14:16] <Mavrik> encoding 1280x1024 video in 500kb/s will create terribly awful video
[14:16] <Mavrik> use at least 1500kbps
[14:17] <Mavrik> 2500 if you can
[14:17] <dekiss> everything is very good except that lights on the wall, please see the video its 500 kb you will see what I mean easely
[14:17] <dekiss> hm
[14:17] <dekiss> I made 500 kb for 1 second video
[14:17] <dekiss> I am using best quality for h.264 encoder
[14:17] <dekiss> everything is very great quality
[14:18] <dekiss> except the lights problem is in the lights that hit the wall and enlight it
[14:19] <dekiss> they are in terrible quality unlike the rest of the textures
[15:01] <tapout> is there a way to grab the video length of a remote flv without downloading the whole video?
[15:07] <Luigui> Is av_open_input_file still a function that exists?
[15:12] <Tjoppen> tapout: run ffprobe on the url?
[15:15] <tapout> ty
[15:46] <Tor> Why does avcodec_find_decoder need be called? No way of detecting the codec to use?
[15:53] <Mythical_Man> Compiling ffplay on windows native in codeblocks... Evil. absolutely evil.
[15:58] <Mythical_Man> Just thought I should inform people it is doable. and it is infact evil. Several cool C things dont like the idea, but they can be convinced to compile in c++ with minor changes.. and that is all.
[16:23] <Eiistoliakszuy> What does /* init framerate emulation */ exactly mean in ffmpeg.c
[16:47] <john_doe_jr> does anyone know how I can get google Chrome or Chromium to play mp4s?
[16:48] <hi117> IIRC they dropped support due to copyright
[16:50] <john_doe_jr> hi117: well, previous version of Chrome play the videos I'm wanting....do I just re-compile previous versions of chrome?
[16:50] <hi117> it looks like youll have to, though maybe dev or beta channel will play but back up your .config/chromium before using
[16:51] <john_doe_jr> burek: hey, your here today...
[17:01] <overflow_0f8b> i'm thinking about making a stargate singularity animation, it's some kind of fluid motion surface filled with some gradient, any ideas what is the function of the fluidsurface's colors ?
[17:47] <hogbog> when transcoding a file form one container/codec to another, what can typically cause 'dup' frames? (I have dup=X in my status/progress indicator on stdout, where X is sometimes a small number like 100 or so, sometimes tens of thousands)
[17:48] <hogbog> s/form/from/
[17:49] <hogbog> also does 'dup' mean ffmpeg found duplicate in the input file and ignored them, or that it created 'dup' frames in the output file?
[17:50] <Mavrik> hogbog, that it created duplicate frames to keep up
[17:50] <hogbog> hmm
[17:50] <Mavrik> usually happens if your output fps is higher than input
[17:50] <Mavrik> or your input is skipping frames
[17:51] <hogbog> ahh, I guess it must be the latter because I don't specify framerate on my ffmpeg commandline
[17:52] <hogbog> I guess that explains the abnormally high 'dup' values I sometiems get when ffmpeg also complains about container and codec framerates not matching, thinking it's something like 1000fps
[18:25] <mgeary> hey
[18:25] <mgeary> is there a way to do what qt-faststart does in a single ffmpeg conversion step?
[18:26] <mgeary> e.g. ffmpeg -i foo.avi (something qt-faststart here) out.mp4
[18:27] <Mavrik> no.
[18:27] <Mavrik> (ffmpeg doesn't have all information it needs to make the atom before end of encode)
[18:27] <Mavrik> so you'll have to batch it
[18:28] <mgeary> ok, thanks
[19:04] Action: mystica555_ despises how quicktime made their format... mkv is so much more useful for partial streams without all this runaround
[19:04] <mystica555_> or rather, apple
[19:05] <mystica555_> Mavrik: btw the -vcodec mjpeg worked, with all the DoS going on last night, you missed my replies.
[19:40] <pasteeater> sacarasc: hmm...never seen that one before. unfortunately i don't know what ubuntu version norbert_ was using nor how to duplicate the issue.
[20:04] <LukeNukem_> Hi
[20:04] <LukeNukem_> how do i install libmp3lame?
[20:04] <LukeNukem_> i get an unknown encoder error
[20:04] <LukeNukem_> :<
[20:14] <hi117> you install it using your package manager
[20:14] <hi117> then rebuild ffmpeg
[20:16] <Gepmff> How do I use the AVOptions for the AVCodecContext fields
[20:16] <Gepmff> The comment mentions this
[20:16] <Gepmff> Please use AVOptions (av_opt* / av_set/get*()) to access these fields from user * applications.
[20:50] <tapout> all I want to do is... query the length of a flv.. not download it or anything. Know how they will do... the swf vars and stuff, trying to make it so you can't download the *.flv's and what not. Is there a way to pass the <embed> portion to ffprobe to grab the length in all instances?
[21:02] <pasteeater> tapout: if you can find a direct url to the video then 'ffprobe http://path.to.file/blah.flv'
[21:23] <tjholowaychuk> if you need to add audio to a video but delayed, or delay the video so things sync up how would you do that with ffmpeg?
[21:23] <tjholowaychuk> or is ffmpeg not the right tool
[21:37] <SvenL-> I'm trying to apply a LUT to a file, but I can't find how to do it precisely with the lut filters. How could I define an output value for each input value of Y ?
[21:38] <SvenL-> If it's not possible, I'm then looking for any solution to apply a curve filter to a file, possibly in batch
[22:10] <xp99work> how do I get ffmpeg to compile the ffmpeg binary?
[22:10] <xp99work> I've disabled ffplay, ffprobe, and ffserver from being compiled as I don't need those
[22:11] <xp99work> here is my options for configuring it http://pastie.org/3356934
[22:12] <SvenL-> isn't it because of the first swith ?
[22:12] <SvenL-> shared libraries and no binary ?
[22:12] <xp99work> I've enabled static libraries
[22:12] <xp99work> last option there
[22:14] <SvenL-> Oh, right
[22:18] <SvenL-> xp99work, I'm actually about to compile it too with much less configure options
[22:19] <SvenL-> what sources did you use ?
[22:20] <xp99work> the ffmpeg from vlc's contrib dir
[22:20] <SvenL-> hu
[22:20] <SvenL-> okay
[22:20] <xp99work> err vlc's ftp I should say
[22:20] <SvenL-> ha !
[22:22] <xp99work> and damnit, it seems they dont update their main website often
[22:22] <xp99work> they're already on 1.1.13
[22:23] <SvenL-> why from vlc's ?
[22:24] <tweek__> is there a way to figure out the versions of libx264, libfaac, etc. linked in with ffmpeg?
[22:25] <vadim> hi 2 all
[22:26] <xp99work> I'm compiling vlc
[22:26] <xp99work> this is the one it uses ftp://ftp.videolan.org/pub/videolan/contrib/ffmpeg-2011-05-14.tar.bz2
[22:26] <xp99work> I just want to use the ffmpeg binary as well
[22:31] <vadim> could someone help with how to compose command line to transcode an avi file to ismv? (ffmpeg-0.10)
[22:32] <SvenL-> xp99work, sorry i don't know all this well but I think vlc would normally use the available ffmpeg version available on the system
[22:32] <xp99work> yes I know, I'm trying to figure out why when I compile ffmpeg, there is no ffmpeg binary as I'd like to run it separately as well
[22:33] <xp99work> well I'm gonna try enabling ffplay, see if the 2 are tied together
[22:34] <SvenL-> if there a curve filter for ffmpeg ?
[22:40] <vadim> xp99work: maybe this could help http://ubuntuforums.org/showthread.php?p=8918699
[22:42] <xp99work> I will try that
[22:42] <SvenL-> I just compiled from git, I didn't disable ffplay but it didn't install
[22:57] <pasteeater> tweek__: shared or static?
[22:58] <pasteeater> SvenL-: what do you mean by "curve"?
[22:59] <SvenL-> pasteeater, this : http://www.xaraxone.com/webxealot/workbook70/LE-Tool-16.jpg
[23:00] <pasteeater> that's what i thought, but wasn't sure if you wanted luma or chroma
[23:00] <SvenL-> luma, in this case
[23:02] <pasteeater> your best bet is the frei0r or mp filters. i think frei0r has something
[23:02] <SvenL-> thanks pasteeater, googling right now
[23:02] <vadim> have somebody experienced with ISMV muxer in ffmpeg-0.10?
[23:04] <pasteeater> SvenL-: is your ffmpeg compiled with --enable-frei0r?
[23:04] <SvenL-> no, I just realised by reading that I have to recompile it
[23:04] <SvenL-> no pb, was done a few min ago
[23:05] <pasteeater> you'll need frei0r-plugins-dev or whatever equivalent depending on your distro
[23:06] <SvenL-> ok
[23:06] <SvenL-> actually my compile is already missing ffplay
[23:06] <SvenL-> left it enabled, appears ok in the config.log
[23:38] <tweek__> pasteeater: shared I believe, but ideally static as well
[23:39] <tweek__> I'm writing a transcoding script and would like to extract as many of these version numbers from various tools as possible by parsing what it gives in console output for -version
[23:39] <tweek__> some platforms have libx264 installed without the actual 'x264' program interface I guess
[23:40] <tweek__> Windows is a good example, usually people use a big static binary
[00:00] --- Sat Feb 11 2012
1
0