Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- 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
July 2013
- 1 participants
- 62 discussions
[00:38] <llogan> what's a use case for ffmpeg daemon mode? (-d)
[00:53] <durandal_1707> isn't it obvious?
[01:19] <cxo> Is ffmpeg compatible with gcc 4.7?
[01:20] <durandal_1707> it should be
[01:20] <cxo> Why is build_stagefright hard coded to use 4.4.3?
[01:21] <durandal_1707> perhaps it was tested with only that one
[03:50] <cone-796> ffmpeg.git 03Michael Niedermayer 07master:cb6d02df4c03: asfdec: avoid using AVStream->priv_data
[03:50] <cone-796> ffmpeg.git 03Michael Niedermayer 07master:465aa53f21f3: asfdec: move packet_obj_size to ASFStream
[03:50] <cone-796> ffmpeg.git 03Michael Niedermayer 07master:6df20d0d3507: asfdec: remove "ignoring invalid packet_obj_size" code
[09:56] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:55c4cba2a703: huffyuvenc: BGRA support
[09:56] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:947f2d4d34f2: Merge commit '55c4cba2a7037161ea56b2d55b347c8381df7f1e'
[10:08] <cone-766> ffmpeg.git 03Martin Storsjö 07master:e1d5b244761c: hls: Store first_timestamp in units of AV_TIME_BASE
[10:08] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:5a270296cb01: Merge commit 'e1d5b244761cf69db655ad7ece1dbf2c13dd4fce'
[10:18] <cone-766> ffmpeg.git 03Martin Storsjö 07master:c44191039944: hls: Store all durations in AV_TIME_BASE
[10:18] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:4971551fd215: Merge commit 'c44191039944526dd7eb6e536990b555837961f5'
[10:24] <cone-766> ffmpeg.git 03Martin Storsjö 07master:a2b7eeeb0647: hlsproto: Store all durations in AV_TIME_BASE
[10:24] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:ef1544740e02: Merge commit 'a2b7eeeb06471979ee39fd3075a04633222678a6'
[10:30] <cone-766> ffmpeg.git 03Martin Storsjö 07master:06205b5efdcf: hls: Free packets when skipping packets when seeking
[10:30] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:7dfe798d148b: Merge commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd'
[10:41] <cone-766> ffmpeg.git 03Diego Biurrun 07master:c47037c7a17e: fate: Add timefilter test
[10:41] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:4cf6e0008187: Merge commit 'c47037c7a17e4026d38dfa41da27b9f91506725b'
[10:48] <cone-766> ffmpeg.git 03Diego Biurrun 07master:10db1a9bca46: avutil/tree: K&R formatting cosmetics
[10:48] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:93b3a5edffa3: Merge commit '10db1a9bca46b0f760a1263d47142b2f57e195d7'
[11:12] <cone-766> ffmpeg.git 03Diego Biurrun 07master:d99a2b6d0a4d: avutil/tree: Drop debug messages that clutter the output
[11:12] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:647836608c9f: avutil/tree: change debug output to AV_LOG_DEBUG level
[11:12] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:db75537e2519: avutil/tree: allow adjusting the log level
[11:12] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:1f5755d869b5: Merge commit 'd99a2b6d0a4d0b2f5ba6a1f1637d6cb88c5c9184'
[11:19] <cone-766> ffmpeg.git 03Diego Biurrun 07master:711c4da1af71: fate: Add tree test
[11:19] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:dc737f0bfa80: Merge commit '711c4da1af71e0d26ca93626a3c2dd48821f1cc7'
[11:24] <cone-766> ffmpeg.git 03Diego Biurrun 07master:4822ee3ca620: configure: Detect AIX ar command instead of hardcoding it in the OS section
[11:24] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:5fae4678949b: Merge commit '4822ee3ca620a92cd2b0a9a03ea9e34288192c79'
[11:30] <cone-766> ffmpeg.git 03Diego Biurrun 07master:0e8c6f221a8d: avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo
[11:30] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:c7d17179571d: Merge commit '0e8c6f221a8ddb7dfb3c9e9bd0b33cb12e9391b8'
[11:38] <cone-766> ffmpeg.git 03Ed Torbett 07master:3357bccc5cb3: udp: Allow specifying multicast include/blocks as host names as well
[11:38] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:15ca3ab82531: Merge commit '3357bccc5cb31795f248cd72dc480025f3075a5b'
[11:50] <cone-766> ffmpeg.git 03Ed Torbett 07master:7d99c92945e4: udp: Keep track of include and exclude sources separately
[11:50] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:42f7c45d7b85: Merge commit '7d99c92945e4b2d12ed2126365482e1900340da0'
[11:57] <cone-766> ffmpeg.git 03Ed Torbett 07master:749722209097: rtpproto: Support more than one SSM include address, support excludes
[11:57] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:0b712f5d5e5f: Merge commit '74972220909787af5a3ffe66f7fa8041827c2bd2'
[12:02] <cone-766> ffmpeg.git 03Ed Torbett 07master:1f57d60129b0: rtsp: Support RFC4570 (source specific multicast) more properly.
[12:02] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:870f506cfeec: Merge commit '1f57d60129b0e297cd197c6031c4439b30a6b503'
[12:10] <cone-766> ffmpeg.git 03Diego Biurrun 07master:78b4bfdb84b7: Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents
[12:10] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:000f8bcd0360: Merge remote-tracking branch 'qatar/master'
[12:57] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:e5526a4baea1: avformat/gxfenc: replace deprecated PIX_FMT constants
[12:57] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:231e33f05038: avutil/pixfmt: dont refer to deprecated PIX_FMT in the documentation
[12:57] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:66487d73c3a9: avdevice/timefilter: cleanup the formating of the test output
[15:36] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:d6686149e2d7: asfdec: Skip to keyframe after seeking
[16:24] <cone-766> ffmpeg.git 03Timothy Gu 07master:6b255e5e70c7: doc/encoders: add libxvid doc
[16:35] <durandal_1707> lets see what is this about....
[16:36] <wm4> durandal_1707: btw, feature request: support mid-stream tags for mp3 and ogg (webradios do this)
[16:37] <durandal_1707> $$
[16:38] <BBB> I thought shoutcast did that
[16:38] <wm4> durandal_1707: I just transferred $10000000 open source dollars to your non-existent fantasy account
[16:38] <BBB> it takes 3 minutes to implement that in the http layer
[16:38] <BBB> or if you want a separate demuxer, it might take 5 minutes
[16:38] <wm4> BBB: shoutcast metadata sucks to hell, so support for that is disappearing and mid-stream tags take its place
[16:38] <BBB> oh I see
[16:39] <BBB> well I agree they suck
[16:39] <BBB> but usually end users don't care whether something sucks technically
[16:39] <wm4> yeah, but now the shoutcast info they send is totally insufficient
[16:46] <nevcairiel> so the shoutcast patch you send earlier is basically useless now? :D
[16:46] <wm4> nevcairiel: yes
[16:46] <wm4> on some streams
[16:47] <nevcairiel> so what do the others do, just a random idv3 block midstream?
[16:47] <wm4> not sure, but I think I've seen it at least with ogg
[18:08] <thefarcry118> I was just wondering if GCC for ARM has improved recently? For example, loop unrolling caused some issues with DSP functions.
[19:30] <BBB> an id3 block midstream sounds like a bad idea
[19:40] <Daemon404> BBB, im officially unemployed from aug 1 to aug 18
[19:40] <Daemon404> re: vp9
[19:49] <durandal_1707> wow how many will work on vp9 I expect vp10 by end of this year
[19:54] <Daemon404> 3 afaik
[19:54] <Daemon404> end of teh year? seems reasonable
[20:13] <burek> is this a known issue or is it just me: http://pastebin.com/wftJW3m2
[20:18] <Daemon404> burek, wtf i with random lisp
[20:18] <Daemon404> is*
[20:18] <burek> well, it's just a part with errors, during regular static builds process
[20:18] <burek> for 32bit version
[20:19] <Daemon404> with what compiler
[20:19] <burek> gss
[20:19] <burek> debian
[20:19] <burek> gcc*
[20:19] <Daemon404> never seen that before
[20:20] <burek> I'll try to provide full logs
[20:20] <burek> i was just thinking to solve it kinda easily ^^
[20:20] <Daemon404> is this latest head
[20:20] <Daemon404> that file had changes under 48 hrs ago
[20:21] <burek> yes
[20:21] <Daemon404> looks like it ma be related
[20:21] <Daemon404> poke michaelni
[20:22] <burek> ok, let me prepare full logs first
[20:28] <Daemon404> holy output_count deprecation warnings batman
[20:29] <burek> :)
[20:30] <durandal_1707> vote for anti-warning log!
[20:34] <BBB> Daemon404: 2 weeks? that's all? uh
[20:34] <BBB> ok
[20:34] <BBB> Daemon404: moving within vimeo or elsewhere?
[20:36] <Daemon404> within vimeo
[20:39] <cone-616> ffmpeg.git 03Michael Niedermayer 07master:43411f416f6d: avcodec/get_bits: init_state is used for thread sync, make it volatile
[20:46] <nevcairiel> you would wish if a ticket is closed as a dup, you would link to the original
[20:56] <cone-616> ffmpeg.git 03Michael Niedermayer 07master:121fc05b4dad: avcodec/get_bits: place volatile at the right spot
[21:00] <burek> nevcairiel +1
[21:17] <durandal_1707> but there is already to many open tickets
[22:29] <cone-616> ffmpeg.git 03Michael Niedermayer 07master:1bbf94d84fa0: avfilter/af_compand: %f is for printing doubles
[22:32] <cone-616> ffmpeg.git 03Paul B Mahol 07master:d49252721a18: lavf/webvttenc: use proper printf format for int64_t values
[23:13] <cone-616> ffmpeg.git 03Romain Beauxis 07master:38536e592750: Support for shine 3.0.0
[00:00] --- Wed Jul 31 2013
1
0
[00:01] <alexschomb> exactly. not sure whether this is a problem anyway. right now it is still compiling ;)
[00:03] <alexschomb> wait, if I understood you right you mean that I should modify the PKG_CONFIG_PATH variable? I already tried .../output/lib/pkgconfig, but that didn't remove the error
[00:05] <roxlu> hi
[00:05] <alexschomb> hi
[00:05] <roxlu> can ffmpeg get input from a named pipe? (e.g. raw rgb images or audio)
[00:05] <llogan> alexschomb: probably don't need to. it looks like the external libraries were located anyway.
[00:07] <alexschomb> roxlu: I guess that answers your question? http://stackoverflow.com/questions/7605388/named-pipes-and-can-they-stream-…
[00:07] <alexschomb> llogan: no errors while compiling so far. so I guess you're right. Thanks for your fast help! :)
[00:09] <roxlu> alexschomb: partially :-) I'm looking for a solution where I write into a named pipe
[00:14] <alexschomb> http://ffmpeg.org/ffmpeg-protocols.html#pipe
[00:14] <alexschomb> replacing pipe:0 with your named pipe doesn't work?
[00:15] <llogan> there are some examples in the FAQ: http://ffmpeg.org/faq.html#Concatenating-using-the-concat-protocol-_0028fil…
[00:23] <roxlu> alexschomb: yeah I think I can just create a named pipe and use that as an input
[00:24] <roxlu> I only need to find a way to tell ffmpeg what kind of input I'm providing (raw rgb in this case)
[00:32] <alexschomb> llogan: finally compiled and copied the contents of my arm-directory to /usr/local/ on my RPI. but libaacplus is said to be missing although I followed the guide: http://pastebin.com/AXUgSbLJ
[00:36] <llogan> alexschomb: i've never used libaacplus. if i test that guide i may switch it to libfdk-aac from libaacplus
[00:41] <alexschomb> llogan: my fault. had to add /usr/local/lib to library path, http://www.cyberciti.biz/faq/linux-setting-changing-library-path/
[03:10] <Guest83225> I'm trying to use the encoder h264 with ffmpeg. I installed x264 from source and with few, and I configured ffmpeg with ./configure --enable-gpl --enable-shared --extra-ldflags="-ldl" --enable-libx264. Yet the config.log tells me fatal error: 'x264.h' file not found
[03:10] <Guest83225> and I get the error libx264 not found
[03:29] <klaxa> Guest83225: you need to add --extra-cflags="-I/path/to/include" and maybe replace --extra-ldflags="-ldl" with --extra-ldflags="-L/path/to/lib"
[03:29] <Guest83225> thanks! to which command?
[03:29] <klaxa> configure for ffmpeg source
[03:30] <klaxa> /path/to/include should be the path to the directory that contains x264.h and /path/to/lib should be the directory that contains libx264.so.XXX
[03:30] <klaxa> whereas libx264.so.XXX should probably be libx264.so.134
[03:30] <klaxa> *135
[03:41] <Guest83225> Thanks! The configuration seems to have worked. Yet my application still shows this error when I try to transcode a video: Unknown encoder 'h264'
[03:43] <Guest83225> How can I verify that it worked? In the output of the configure command, I see 'bzlib libx264' in the list of External libraries
[03:44] <Guest83225> oh, I also see libx264 in the list of enabled encoders, so yes, it worked
[03:54] <relaxed> Guest83225: the codec encoder name is "libx264", -c:v libx264
[03:54] <relaxed> -codec
[03:56] <Guest83225> now I get Unknown encoder 'libx264'
[03:59] <Guest83225> at this point, I think I can figure it out, thanks!
[04:20] <Guest83225> nope, ffmpeg -codecs | grep 264 shows only " D.V.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10" which is the decoder. I need the encoder, which is libx264
[04:23] <Guest83225> I'm running this command on the ffmpeg executable in the same directory I ran the ./configure
[04:25] <relaxed> Guest83225: you need to compile ffmpeg with libx264 support, or use http://goo.gl/DPrRY
[04:30] <Guest83225> thanks! I don't see any installation instructions or configure or setup files. How do you recommend I install it?
[04:52] <Guest83225> nvm I'm on a mac. I'm looking for another build
[05:11] <relaxed> Guest83225: look at the ffmpeg.org download page
[05:38] <Guest83225> I ran through every step of https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide, with only the error that libaacplus not found, yet when I ran make & make install, I got errors, beginning with this: Makefile:2: Makefile:2: config.mak: No such file or directoryconfig.mak: No such file or directory
[06:12] <Guest83225> nvm I got it up and running
[09:54] <nlight> what behavior can I expect from swscale if the input and output formats are the same?
[10:08] <b6> the AVFrames i'm reading have pkt_pts seemingly in milliseconds. i think those frames were encoded with microsecond precision. how can i tell?
[10:18] <elkng> I have a question related using ffmpeg libraries, anyone know something about ffmpeg libraries ? I think they can be used to work directly with wideo files on a low level, am I right ?
[10:18] <nlight> elkng, you are right
[10:18] <elkng> all right, so the question is:
[10:19] <elkng> I have a program like some sort of video editor but its more like frame manager, to edit video I convert video into bunch of png images and that program then uses SDL to show them and I can use "Left" "Right" to change images left and right like in some video editor, that program is better than image viewer like xnvies because if you use xnview
[10:19] <elkng> when you change images they blink and its very tiresome for eyes, also that program can do some other things, but now I want to know is it possible to somehowe use ffmpeg libraries or something to load frames directly from video file ? now I need to convert entire video to png images first then use something like "image=IMG_Load(path_to_file);
[10:19] <elkng> SDL_BlitSurface(image)" to load image from file and show it on the screen, I really would like not to convert video to png files because 5 minutes of video will consume 3GB of disk space, and its also time consuming operation, so is it possible to somehow skip part of converting video to images and use some functions from ffmpeg libraries to load
[10:19] <elkng> images from video file ?
[10:20] <nlight> yes, that's what ffmpeg is for
[10:21] <nlight> go here http://dranger.com/ffmpeg/tutorial01.html
[10:25] <elkng> nlight: but how fast it would be ? I have celeron 500, and in case I allready have converted video to png files, that program can show them at a rate about 10 frames per second because all it needs to do is to open png file, and its fast, but if I instead would use ffmpeg library how fast that library could access needed frame load it and give it
[10:25] <elkng> to my program for it to eventually show it ?
[10:28] <elkng> also my program uses SDL function "image = IMG_Load()" and it gets that image in "SDL_Surface" format, that also could increase time processing because of conversion, isn't it ?
[10:28] <elkng> beceuse I would need to convert from ffmpeg format to SDL_Surface format
[10:35] <elkng> any ideas ?
[10:35] <elkng> worth to try ?
[10:36] <nlight> celeron 500?
[10:36] <elkng> yes
[10:37] <nlight> what?
[10:37] <nlight> really?
[10:37] <elkng> yes
[10:37] <nlight> I don't think you can decode video in real time on that but dunno
[10:37] <elkng> "on that", was that offence ?
[10:38] <nlight> it's ancient hardware, so yes :D
[10:38] <nlight> it's a 7 years old cpu
[10:42] <elkng> I got it on 20 april in 2000
[10:43] <elkng> nlight: that PC also has video: Riva TNT, 400MB RAM 133Mhz, CDROM 48X speed, 2x80GB HDD
[10:43] <elkng> impressive ? monster
[10:43] <elkng> Riva TNT 16MB
[10:43] <nlight> wow
[10:44] <elkng> and any video I need to convert to 650xXXX so it will not be too slow to watch
[10:45] <nlight> well, go ahead and try it out
[10:46] <nlight> what is the difference between AVInputFormat and AVOutputFormat?
[10:46] <nlight> and why does AVFormatContext have both?
[10:46] <nlight> should I expect only one of iformat/oformat to be available at any time?
[11:07] <hendry> anyone tried streaming to icecast using ffmpeg? A "PUT" IIUC?
[12:27] <jcath> hi, friends. does ffmpeg support the blu-ray directory as input?
[12:28] <Fjorgynn> blu-ray direcotry?
[14:13] <pyBlob> I've got an avi file that contains 2 mjpg-streams
[14:15] <Fjorgynn> aha
[14:15] <pyBlob> ffmpeg -i HNI_0001.AVI -vcodec copy -f image2 dump/out%05d.jpg
[14:15] <pyBlob> that extracts the single jpg-frames
[14:16] <pyBlob> problem is that only the first 2 frames contain a HuffmanTable
[14:16] <pyBlob> > other jpg-files can't be read by standard image viewers
[14:20] <relaxed> pyBlob: try with -bsf:v mjpeg2jpeg
[14:23] <pyBlob> relaxed: that works, thanks =)
[14:24] <relaxed> you're welcome
[14:34] <b4u> is there a way to set a crf with libx264 but also have an upper bound on the bitrate rather than an average?
[14:36] <JEEB> bitrate is always an average of something
[14:36] <JEEB> amount of bits over something
[14:36] <JEEB> anyways, you will have to set BOTH -bufsize and -maxrate
[14:36] <b4u> is it possible to tell the encoder not to encode any frames higher than a specific bitrate though?
[14:36] <b4u> at all
[14:36] <b4u> but don't I need to know what will be buffered for bufsize?
[14:36] <JEEB> do you really need per-picture VBV?
[14:37] <JEEB> you really need to have a specific use case to need per-picture VBV
[14:38] <b4u> bandwidth limited situation where I need to know it won't go over a certain bitrate but can't guarantee a certain amount will be buffered in advance either
[14:39] <JEEB> well single picture VBV still means you will have to have that picture's amount buffered at the very least
[14:40] <b4u> okay, how do I do something like that?
[14:40] <b4u> I've not heard of it before
[14:40] <JEEB> I won't tell you unless I'm sure you need it :P
[14:40] <JEEB> because it means that encoder will be really limited and thus you are pretty much derping quality that way
[14:41] <b4u> well my other way of doing it was to set an arbitrarily low bufsize
[14:41] <b4u> of like 200k
[14:42] <JEEB> anyways, it sounds like you are dealing with something you could very well fix somewhere else
[14:43] <JEEB> instead you're just opting to *heavily* derp the encoder
[14:44] <b4u> does a low bufsize do that also?
[14:44] <JEEB> yes
[14:46] <b4u> is there a way to do this even with 2 pass?
[14:47] <JEEB> uhh, what? VBV works the same way no matter what rate control you are using (except maybe constant quant, although no-one should in general be using that rate control mode except for development purposes)
[14:51] <b4u> the problem is I can't guarantee a certain amount of data will be buffered
[14:51] <b4u> I can do a certain amount of seconds
[14:51] <b4u> which may vary depending on the video
[14:53] <JEEB> it can vary of course, but in general it should be OK. Just use <maxrate> * seconds_to_buffer in that case for bufsize?
[14:53] <bencoh> wow, two vbv-days in a row :)
[14:53] <JEEB> and match them that wise
[14:53] <b4u> uhh but that won't work will it?
[14:53] <JEEB> why wouldn't it
[14:53] <b4u> or could produce bad buffer times
[14:54] <b4u> because right now people wait a number of seconds worth of buffer to view a video rather than data
[14:54] <b4u> so I guess small videos will start more slowly than normal
[14:54] <b4u> perception wise
[14:55] <JEEB> I don't follow you
[14:56] <b4u> well right now a video with 100k bitrate takes not long to start
[14:56] <b4u> because 6 seconds of that is not much
[14:56] <JEEB> and it still wouldn't be because flash would then see that not much data is going on?
[14:56] <b4u> what I mean is
[14:57] <b4u> ok so you said set bufsize to seconds * maxrate?
[14:57] <b4u> that means the encoder assumes I will buffer that much before playback
[14:57] <b4u> yes?
[14:57] <JEEB> yes
[14:57] <b4u> my player only buffers in seconds
[14:57] <JEEB> yes, most probably some kind of dynamical thing
[14:58] <JEEB> so it looks how much data is flowing over and tries to adapt to that
[14:58] <JEEB> so it should still buffer the same amount?
[14:58] <b4u> it's a constant in seconds, I think
[14:58] <JEEB> seconds of content I would guess :P
[14:59] <JEEB> or dunno
[14:59] <b4u> but I mean the first seconds of the video might not be at that maxrate
[14:59] <b4u> so surely I will not necessarily buffer enough data
[14:59] <b4u> to meet what the encoder expects
[14:59] <JEEB> as far as I know flash shouldn't be that dumb
[14:59] <JEEB> as to not be adaptive related to your use of bandwidth
[14:59] <b4u> how would it know when to start playing?
[15:00] <b4u> short of having a time or data limit
[15:00] <JEEB> anyways, tons of people are using it well
[15:00] <JEEB> so you are most probably looking at it too bad :P
[15:00] <JEEB> and yes, I hate things that don't let you set the amount of data to buffer
[15:01] <JEEB> anyways, single picture VBV totally was the wrong thing for you, as I thought
[15:01] <b4u> so what kind of buffer limit should I set do you think? I feel like normalseconds * maxrate is too much
[15:01] <JEEB> just use bufsize = <seconds to buffer> * maxrate
[15:01] <b4u> I could maybe do 1 or 2 seconds at maxrate
[15:04] <JEEB> anyways, for all of the things I've so far seen if you have to set a time on the decoder side to buffer, the bufsize to be calculated with that should be <time_to_buffer> * maxrate
[15:04] <nlight> anyone seen these kind of artifacts - http://i.imgur.com/tob4Bm5.jpg ?
[15:17] <JEEB> b4u, I just checked the blog of a certain x264-using streaming thingy, and it uses the exact same thing to calculate the matching between seconds of buffering and bufsize
[15:18] <JEEB> and this is with CRF rate control, yes
[15:25] <luc4> Hi! I noticed that libavformat needs to seek when using callbacks muxing a stream. Is this always necessary? Can I avoid this somehow or is it impossible to avoid?
[15:26] <JEEB> b4u, btw I would say that such VBV-specific questions with x264 might be better off being asked on #x264 rather than here
[15:28] <b4u> sorry, was afk
[15:30] <Sum> Afternoon chaps - I'm having trouble getting ffmpeg to install in ubuntu 13.04 64 bit using the guide on http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide. Running ffmpeg 2>&1 | head -n1 gives an error saying I need to install ffmpeg via apt-get install. Any ideas?
[15:30] <JEEB> Sum, sounds like you're just not having wherever you compiled your ffmpeg binary in your PATH
[15:32] <b4u> you didn't forget to "make install" right? :P
[15:33] <Sum> yes - i did 'make install'
[15:33] <b4u> probably what JEEB says then
[15:34] <Sum> @ubuntu:~/ffmpeg_sources/ffmpeg$ find ~ -name ffmpeg -print gives:
[15:34] <JEEB> uhh
[15:34] <JEEB> you set a prefix as well as a bindir when configuring
[15:34] <JEEB> IIRC the guide says to do that
[15:34] <JEEB> the bindir would be the place where the binary gets installed
[15:35] <Sum> ah - i just copied and pasted the commands - will read a bit further
[15:40] <Sum> ah - i see I think. I guess running the following will fix the path to the executable? echo 'export PATH=$PATH:/home/sum/bin' >> ~/.bashrc
[15:40] <JEEB> basically yes
[15:40] <JEEB> in the next opened terminal that is
[15:40] <JEEB> since that file is run every time you open bash
[15:41] <JEEB> for currently open terminals you would have to run that export part in the terminal
[15:42] <Sum> brill! thanks :-)
[17:25] <Sum> Hey folks. I'm wondering if you can help with this: I don't appear to have the 'libfaac' encoder installed and following https://help.ubuntu.com/community/Medibuntu hasn't appeared to install that encoder. any hints on where to get this encoder from and how to install it?
[17:26] <microchip_> Sum: did you ask in #ubuntu ?
[17:26] <JEEBsv> That's because faac was found to be nonfree, aka not distributable. Which means you will have to compile it yourself. That said, now we have something better than that, so you will most probably want to build fraunhofer's encoder instead :)
[17:27] <JEEBsv> (fdk-aac)
[17:29] <JEEBsv> http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide there's always this, but this includes way too many encoders in it, so feel free to read through and compile only the external encoders you need
[17:38] <Sum> ok - is this another instance where the fdk-aac 'file' (executable?) isn't in the path environmental variable (or whatever it's called in unix? As per the Ubuntu Compilation Guide I ran make, make install adn make distclean adn there is a file that looks like the one I need - /home/sum/ffmpeg_sources/fdk-aac - is this the file that should be in a path statement?
[17:41] <JEEBsv> Sum: ffmpeg -codecs:a |grep "aac"
[17:42] <JEEBsv> see if it's listed there
[17:42] <JEEBsv> if it is, you can just use its name with -c:a
[17:45] <Sum> JEEBsv: - it isn't I think - output is DEA.L. aac AAC (Advanced Audio Coding) (encoders: aac libfdk_aac ) D.A.L. aac_latm AAC LATM (Advanced Audio Coding LATM syntax)
[17:45] <Sum> do i need to recompile ffmpeg with this encoders support added?
[17:47] <klaxa> >encoders: aac libfdk_aac
[17:47] <klaxa> that looks good though
[17:48] <JEEBsv> Sum: libfdk_aac is fdk-aac :)
[17:48] <JEEBsv> so -c:a libfdk_aac will use it
[17:48] <JEEBsv> instead of -c:a libfaac for example
[18:04] <Sum> JEEBsv - fantastic! Now transcoding at 110fps instead of 8 - I'm a very happy man. Thanks for your patience. :-)
[20:21] <phr3ak> how could I join several asf?
[20:28] <durandal_1707> phr3ak: with concat demuxer
[22:31] <roxlu> hi guys, I'm a bit cross posting, but I hope someone here knows this ....
[22:31] <roxlu> when I combine a video and audio file, how can I set that the resulting video takes the duration of the video, not of the audio?
[00:00] --- Wed Jul 31 2013
1
0
[00:00] <durandal_1707> what I should do instead?
[00:01] <cehoyos> You wrote above that you don't want to revert but instead fix the issue properly.
[00:02] <cehoyos> (I would of course have been able to revert but you said you are against reverting.)
[00:07] <durandal_1707> i thought it was possible to fix bug without reverting, but i found it revert is better
[00:07] <durandal_1707> i will rewrite this code anyway
[00:07] <cone-858> ffmpeg.git 03Carl Eugen Hoyos 07master:2c046c718aef: Revert "Avoid overflows when reading pgm files with maxval != 255 and != 65535."
[00:07] <cone-858> ffmpeg.git 03Paul B Mahol 07release/1.1:ef81f55ec7a9: Revert "pnm: remove nonsense code"
[00:07] <cone-858> ffmpeg.git 03Paul B Mahol 07release/1.2:9f2d73168f54: Revert "pnm: remove nonsense code"
[00:07] <cone-858> ffmpeg.git 03Paul B Mahol 07release/2.0:0047a310905c: Revert "pnm: remove nonsense code"
[00:25] <durandal_1707> if filter_ctx->input/output_count is deprecated what is used instead?
[00:28] <cone-858> ffmpeg.git 03Paul B Mahol 07master:329221eee7d6: pnm: fix 255 < maxval < 65535 for pam with depth 1
[00:28] <cone-858> ffmpeg.git 03Paul B Mahol 07master:a5155294e571: pnm: do not set avctx->coded_frame
[00:43] <cone-858> ffmpeg.git 03Paul B Mahol 07master:e999f2339ab0: truemotion2: make code independent of sizeof(AVFrame)
[00:43] <cone-858> ffmpeg.git 03Paul B Mahol 07master:19da86f3ff43: targaenc: remove unused TargaContext
[01:04] <durandal_1707> hey http://ffmpeg.gusari.org/viewtopic.php?f=8&t=1014
[02:07] <michaelni> is jon severinsson on irc ?
[02:18] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:f3c300d0a4d3: update all trac links to use the trac subdomain
[02:44] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:73746237a188: Prepare for 0.8.7 Release
[02:44] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:a563e4af9f56: oma: Validate sample rates
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:2eaf8698a3bb: avfiltergraph: check for sws opts being non-NULL before using them.
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:c65fb5b41b8e: xmv: do not leak memory in the error paths in xmv_read_header()
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:0f6364b62bb5: bmv: check for len being valid in bmv_decode_frame().
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:9aa2eee31389: xmv: check audio track parameters validity.
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:4c7f40c6df83: dfa: check for invalid access in decode_wdlt().
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:881526744eea: lavf: make sure stream probe data gets freed.
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:74753cf1a99b: indeo3: fix data size check
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:c5084a176549: rv10: check that extradata is large enough
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:9b2af4d080c7: indeo3: check motion vectors.
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:c579d4283edb: indeo3: switch parsing the header to bytestream2
[02:44] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:43c0a87279e7: qdm2: check that the FFT size is a power of 2
[02:44] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:be90f0279d07: Merge commit '43c0a87279e717c1384314c6da7155c306ee7c60' into release/0.10
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:d2d2ddf9a34e: oggdec: fix faulty cleanup prototype
[03:26] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:7bf6a86f2e49: update Changelog
[03:26] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:a590979988b1: aac: check the maximum number of channels
[03:26] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:6742f0408dba: indeo3: fix off by one in MV validity check
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:f4bb72d33db2: id3v2: check for end of file while unescaping tags
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:31ed79af7f47: wav: Always seek to an even offset
[03:26] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:2f61e4090820: update Changelog
[03:26] <cone-858> ffmpeg.git 03Michael Smith 07release/0.10:4941dfb4f6de: proresdec: support mixed interlaced/non-interlaced content
[03:26] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:e6617580e3f2: update Changelog
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:a03dcec36474: mjpegdec: properly report unsupported disabled features
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:2ebabfff4804: jpegls: return meaningful errors
[03:26] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:ca4a25acf89b: jpegls: factorize return paths
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:d26bc6c6b69f: jpegls: check the scan offset
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:6711d410dc13: wavpack: validate samples size parsed in wavpack_decode_block
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:da5cf7e45263: ljpeg: use the correct number of components in yuv
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:33492ad81000: mjpeg: Validate sampling factors
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:7ca8d8223db2: mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac
[03:26] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:42fed7f433e6: wavpack: check packet size early
[03:26] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:7118358a950e: Merge commit '42fed7f433e6d2167ffd4aae31905b583a53b988' into release/0.10
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:5a6af4fd74a4: wavpack: return meaningful errors
[04:02] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:ea7ba1d8717d: apetag: use int64_t for filesize
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:96de1c5ed90b: tiff: do not overread the source buffer
[04:02] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:e98f95670bf1: Prepare for 0.8.8 Release
[04:02] <cone-858> ffmpeg.git 03Kostya Shishkov 07release/0.10:e96aaa5622ed: smacker: fix an off by one in huff.length computation
[04:02] <cone-858> ffmpeg.git 03Kostya Shishkov 07release/0.10:d7b7b10518cc: smacker: check the return value of smacker_decode_tree
[04:02] <cone-858> ffmpeg.git 03Kostya Shishkov 07release/0.10:db0c8061fe54: smacker: pad the extradata allocation
[04:02] <cone-858> ffmpeg.git 03Kostya Shishkov 07release/0.10:b40870e63640: smacker: check frame size validity
[04:02] <cone-858> ffmpeg.git 03Alexandra Khirnova 07release/0.10:9248f789d1fa: vmdav: convert to bytestream2
[04:02] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:078e68d2617f: 4xm: don't rely on get_buffer() initializing the frame.
[04:02] <cone-858> ffmpeg.git 03Anton Khirnov 07release/0.10:e797b7787b25: 4xm: check the return value of read_huffman_tables().
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:284ac9191b75: 4xm: use the correct logging context
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:e5679444fd60: 4xm: reject frames not compatible with the declared version
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:6a4f1e784e39: 4xm: check bitstream_size boundary before using it
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:0c943d1cdd18: 4xm: do not overread the source buffer in decode_p_block
[04:02] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:b20004b2e616: lavc: move put_bits_left in put_bits.h
[04:02] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:4ff5167ee7fd: wmapro: make sure there is room to store the current packet
[04:02] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:a3539d26ecee: Merge commit '4ff5167ee7fdee6d35c1bb2558172329ae6ec770' into release/0.10
[04:40] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:4e1999ebcb67: wmapro: check num_vec_coeffs against the actual available buffer
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:46e09894acb2: wmapro: return early on unsupported condition
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:bd5ff335ec55: wmapro: check the min_samples_per_subframe
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:f16aa5843ff9: wmapro: error out on impossible scale factor offsets
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:7658333c1755: indeo: Properly forward the error codes
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:7eff48029f99: indeo: use proper error code
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:0a1d02ca77c9: indeo: check for reference when inheriting mvs
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:e6a365b5d2fc: lavc: check for overflow in init_get_bits
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:c9d8424395fc: indeo: use a typedef for the mc function pointer
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:e22a5d490de1: kmvc: use fixed sized arrays in the context
[04:41] <cone-858> ffmpeg.git 03Luca Barbato 07release/0.10:79edb9adf619: kmvc: Clip pixel position to valid range
[04:41] <cone-858> ffmpeg.git 03Reinhard Tartler 07release/0.10:8c62082b5127: Changelog for 0.8.8
[04:41] <cone-858> ffmpeg.git 03Justin Ruggles 07release/0.10:e786cc333120: swfdec: do better validation of tag length
[04:41] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:62d9d4d9d4be: Merge remote-tracking branch 'qatar/release/0.8' into release/0.10
[05:14] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:4e17e9f8afc4: update for 0.10.8 Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[05:14] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:5bb347a3b4a8: dct-test: fix order of evaluation bug
[05:14] <cone-858> ffmpeg.git 03Michael Niedermayer 07release/0.10:e3e25777944e: ffserver: fix order of evaluation bugs
[11:14] <cone-858> ffmpeg.git 03Luca Barbato 07master:e13a929314e4: xl: K&R formatting cosmetics
[11:15] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:688331c51ce6: Merge commit 'e13a929314e4a9a09d3146648f876f162f46cc32'
[11:21] <saste> durandal_1707, you should not consider user ffmpeg-related incompetence as a personal attack
[11:22] <saste> about workarounds, most people prefer that way, just because they can fix it quickly
[11:22] <saste> it will broke apart the next time they upgrade, but in the short time workarounds represent the shortest path solution
[11:23] <saste> the weird thing is that the guy found the time to document all that stuff, for no obvious reason
[11:32] <cone-858> ffmpeg.git 03Luca Barbato 07master:f1cb490d6d73: xl: Fix the buffer size check
[11:32] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:03853b1091e4: Merge commit 'f1cb490d6d7391ff7e28cc376908cc98a652228d'
[11:38] <cone-858> ffmpeg.git 03Luca Barbato 07master:0e78ef0f94cf: flac: use meaningful return values
[11:38] <cone-858> ffmpeg.git 03Luca Barbato 07master:45ee556d51ef: qdm2: Whitespace cosmetics
[11:38] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:5f312139dff4: Merge commit '45ee556d51ef04d79d52bf6b0b7f28a4d231cb0c'
[11:42] <saste> log level bikeshed
[11:50] <cone-858> ffmpeg.git 03Luca Barbato 07master:62b1e3b1031e: aasc: Check minimum buffer size
[11:50] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:0c6f382e8557: Merge commit '62b1e3b1031e901105d78e831120de8e4c3e0013'
[11:52] <durandal_1707> michaelni: if i prefer to merge every single commit stop doing merges
[12:06] <cone-858> ffmpeg.git 03Paul B Mahol 07master:b09d86c6366f: utvideoenc: use av_image_copy_plane()
[12:06] <cone-858> ffmpeg.git 03Zhang Rui 07master:0f51c398beac: http: Support reading gzip/deflate compressed data
[12:06] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:39a69d9dfbc7: Merge commit '0f51c398beac87682b2249662b97e30512f7868c'
[12:20] <cone-858> ffmpeg.git 03Luca Barbato 07master:3ca1dd2502a8: xl: Make sure the width is valid
[12:20] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:6561aae8a955: Merge commit '3ca1dd2502a860989ee5289316af6b9816cee78f'
[12:33] <cone-858> ffmpeg.git 03Luca Barbato 07master:4f03a77e5259: oma: refactor seek function
[12:33] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:bc672a016fa1: Merge commit '4f03a77e52596cbe9ec179666ddb3e0345a8133a'
[12:46] <michaelni> mergig comits one at a time makes later bisecting and debuging much easier
[12:48] <michaelni> git can bisect of course over arbitrary complex merges but that doesnt help if one ancestor branch is 2+ years outdated and missing the feature one wants to debug
[12:49] <michaelni> also it avoid having to rebase huge merges when others push changes while confilcts are being resolved
[12:51] <cone-858> ffmpeg.git 03Luca Barbato 07master:9d0b45ade864: oma: check geob tag boundary
[12:51] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:9d8fb2374723: Merge commit '9d0b45ade864f3d2ccd8610149fe1fff53c4e937'
[12:51] <ubitux> BBB: i really don't know what is the timeline and workload required for each thing; as long as i learn about video codecs i'm happy with anything
[12:59] <durandal_1707> michaelni: cherry-pick, actually pushing real commits and not merges actually show what is changed
[12:59] <durandal_1707> how i'm supposed to see what really changed?
[12:59] <durandal_1707> by using merges you helping noone
[13:01] <cone-858> ffmpeg.git 03Luca Barbato 07master:2219e27b5b17: oma: correctly mark and decrypt partial packets
[13:01] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:5fb652dddb79: Merge commit '2219e27b5b17d146e4ab71a3ed86dfc013fb7a93'
[13:02] <michaelni> the gitlog script could be changed to show the changes to the first parent on merges
[13:03] <michaelni> also somethig like "git log --first-parent -p -m" might work
[13:04] <durandal_1707> this is far from useful
[13:20] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:c5b46a064d99: lavf: Don't interpret just slightly broken timestamps as wraparound
[13:20] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:f7bc03bcaff5: Merge commit 'c5b46a064d9991f2cd045c90179fccf35ecffc34'
[13:28] <michaelni> if you think cherry picks work better (against everything linus says about rebasing others history), noone stops you from using them to "merge" changes from libav into your private git repo. If they (against my expectations) do work better nothing would be in the way to reconsider things (given there are volunteers, lack of technical issues ...)
[13:30] <durandal11707> michaelni: i read what linus said, and what you are doing is definitely not following him
[13:32] <michaelni> what libav is doing is not following him really, and thats where all the problems stem from
[13:32] <durandal11707> this is like tallking with wall
[13:35] <michaelni> i cant change libav, nor can i change your oppinon on merges but cherry picks dont work as replacement for merges, you are welcome to show me wrong on any point i said
[13:36] <durandal11707> i'm not looking for replacement of merges, i do not want merges at all
[13:36] <durandal11707> just commit normal way
[13:38] <michaelni> normal way is to use merges (see linux or any other large project)
[13:38] <nevcairiel> merges allow the history to be used for conflict resolving, ie. with a 3-way merge, only if the merge history is known it can use the full power of this merge and resolve more cases automatically
[13:38] <durandal11707> but merges: hides actuall changes, introduces new changes, introduces subtle bugs
[13:40] <durandal11707> nevcairiel: you cleary do not know what you are talking about, should ffmpeg merge itself to 'speed' development and help conflict resolving?
[13:40] <nevcairiel> i know what i talk about, but you clearly dont know the full power of git
[13:41] <durandal11707> if the full power of git is to create subtle bugs than its really nice feature
[13:42] <nevcairiel> this wouldnt change if you apply the changes any other way
[13:43] <durandal11707> not at all, who check that merges are actually doing the right thing?
[13:43] <nevcairiel> who checks if a cherry-pick does the right thing?
[13:44] <nevcairiel> a cherry-pick is just a rebased fast-forward merge, it uses the same mechanism internally
[13:53] <durandal11707> with merges, person that do merges usually just let git do it and do not care single bit if result is optimal
[14:03] <cone-858> ffmpeg.git 03Martin Storsjö 07master:eb33ba04e03d: hls: Return all packets from a previous variant before moving on to the next one
[14:03] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:07440c938073: Merge commit 'eb33ba04e03d9f36e23fffd442510c824be709c3'
[14:08] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:82bf8c878345: hls: Copy the time base from the chained demuxer
[14:08] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:cdd2d73d315e: hls: Don't check discard flags until the parent demuxer's streams actually exist
[14:08] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:d31c0fcfa55a: Merge commit 'cdd2d73d315ecaf19ff49e64c91923275f1bda68'
[14:15] <cone-858> ffmpeg.git 03Martin Storsjö 07master:c11e33a3d966: hls: Set stream offset before opening a chained demuxer
[14:15] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:2f9e97b32a7a: Merge commit 'c11e33a3d9665dd1fc5dbdecdd03a4860ac6a622'
[14:29] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:9d64f236292b: hls: Respect the different stream time bases when comparing dts
[14:29] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:65dcb5449344: Merge commit '9d64f236292ba28018dd9afd2d57f8f944b33f81'
[14:36] <cone-858> ffmpeg.git 03LYF 07master:c110cbf6b59d: hls: Create an AVProgram for each variant
[14:36] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:994e09345ef9: Merge remote-tracking branch 'qatar/master'
[16:38] <durandal_1707> michaelni: why no merges have bunch of See: .... i'm not interested what commits are being duplicated in commit history
[16:38] <durandal_1707> *now
[16:46] <cone-858> ffmpeg.git 03Paul B Mahol 07master:2786ac777d2c: zmbv: use av_image_copy_plane()
[17:00] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:a9903f7ec123: Revert "bitstream: make vlc init of static tables thread safe."
[17:00] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:6af8326354ed: avcodec/ff_init_vlc_sparse: use a spinlock for thread sync
[17:00] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:f80ccf074a3b: avcodec/ff_init_vlc_sparse: use a local array for static vlcs avoiding malloc()
[17:07] <durandal_1707> ubitux: why your site is dead?
[19:41] <cone-858> ffmpeg.git 03Carl Eugen Hoyos 07master:f2118d44c9f1: Fix compilation with --disable-everything --enable-shared.
[20:42] <cxo> On Android if I use stlport_static, at runtime I get a Zdlpv symbol could not be found. If I use gnustl_port, at compile I get undefined reference to _M_allocate/deallocate. What's going on?
[20:44] <cxo> (Trying to use build_stagefright)
[20:58] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:3cd8aaa2b2e7: avcodec/kmvc: fix MV checks
[21:13] <cone-858> ffmpeg.git 03Paul B Mahol 07master:6b68e2a43b34: lavfi: add compand filter
[21:24] <llogan> durandal_1707: you missed the me/be typo
[21:37] <cxo> I think I got disconnected. Any body know if build_stagefright works?
[22:06] <durandal_1707> cxo: give exact build failure
[22:08] <cone-858> ffmpeg.git 03Paul B Mahol 07master:c96b3ae8db35: doc/filters: fix typo
[22:21] <cxo> durandal_1707, sure
[22:28] <cxo> I'm just getting the output now.... By the way, is ffmpeg not compatible with google's stlport_static?
[22:30] <durandal_1707> i dunno what is that
[22:33] <cxo> https://raw.github.com/flyskywhy/android-ndk-r7b/master/docs/CPLUSPLUS-SUPP…
[22:36] <cxo> I just did a git pull and remake and it compiles now with gnustl_port (it didnt yesterday). I get a different runtime error (compared to when using stlport) http://pastebin.com/Ljk3rnt1
[22:38] <durandal_1707> cxo: i see you disabled bunch of stuff, it happens with normal setup too?
[22:39] <cxo> What is a normal setup?
[22:40] <durandal_1707> the one you do not disable everything
[22:41] <cxo> But I am not using --disable-everything
[22:42] <durandal_1707> but you use --disable-decoders
[22:42] <cxo> Do you want me to remove that and rebuild?
[22:43] <durandal_1707> note this just to find out if the source of problem is bug in Makefile
[22:43] <durandal_1707> cxo: yes, if noone give some better solution
[22:44] <cxo> I dont understand c++ symbols, is OMXCodec::create the same as the missing "_ZN7android8OMXCodec6CreateERKNS_2spINS_4IOMXEEERKNS1_INS_8MetaDataEEEbRKNS1_INS_11MediaSourceEEEPKcj"
[22:44] <cxo> If its the same, then that symbol is not part of FFmpeg
[22:46] <durandal_1707> i can't dechiper that error at all, thus way i proposed ....
[22:50] <cxo> No difference, same error
[22:52] <durandal_1707> perhaps shared is broken, what if you try static?
[22:54] <cxo> where do i go for static stagefright libs?
[22:54] <cxo> And back to my original question; has anyone know if tools/build_stagefright works?
[22:55] <durandal_1707> well it worked for someone
[22:55] <cxo> who?
[22:56] <cxo> maybe they can help me
[22:56] <durandal_1707> you should also open bug report
[22:58] <cxo> I will submit a bug report
[00:00] --- Tue Jul 30 2013
1
0
[00:55] <alsu> how do I print the Lavf version ffmpeg is using?
[05:21] <kidx> I have a question how do i get the latest FFMPEG and also why does it say outdated on my Lubutu based distro and one last thing how can i screen cast and broadcast?
[05:24] <nownot> question on avconv, how would I convert flac to alac (mp4) ? I keep getting errors like "utomatic encoder selection failed for output stream #0:0. Default encoder for format ipod is probably disabled. Please choose an encoder manually."
[05:25] <kidx> I love ffmpeg just dont know why my distro has it outdated when a version was release this year?
[05:26] <kidx> I cant make youtube videos or broadcast with ffmpeg not working with oput bugs?
[05:26] <sacarasc> kidx: Get one of them ^
[05:27] <kidx> how do i install latest one
[05:27] <kidx> i want latest ffmpeg
[05:27] <sacarasc> Just get a static build and you won't need to build/install.
[05:27] <kidx> what is that a deb
[05:27] <sacarasc> nownot: avconv is not part of ffmpeg. Try #libav.
[05:27] <kidx> where i get that from
[05:28] <kidx> can i get a 2.0 static build?
[05:28] <nownot> sacarasc: oh, sorry. well, do you know the command I would use for ffmpeg? I'm pretty impartial as long as the job gets done
[05:29] <sacarasc> kidx: The second link is newer than 2.0...
[05:30] <kidx> how do i install this i am new here and love this but new?
[05:31] <kidx> I just wnat that stupid thing to goaway where it says please use libav I dont want to
[05:31] <sacarasc> Just unarchive it, then use ./ffmpeg in the directory you put the binary in.
[05:32] <kidx> oh
[05:33] <kidx> thanks you gusy are very helpfull unlike libav they have attitudes not supporting bash scripts and stuff question do you guys know how to capture the screen or broadcast or have a fourm i ca look for the topics in?
[05:34] <sacarasc> !forum
[05:34] <sacarasc> Bah.
[05:34] <sacarasc> The link is in the topic, anyway.
[05:36] <kidx> thansk alot guys my dad has used this all the time and now my turn hehe well thansk for every thing one thing before i go is .ffmpeg in the home folder or no casue i dont see it?
[05:37] <sacarasc> I don't think ffmpeg makes one.
[05:37] <kidx> so where is the directory of ffmpeg go once install i am on lubuntu
[05:38] <sacarasc> The static build shouldn't install.
[05:38] <sacarasc> It's just a binary you run when you want to.
[05:38] <kidx> oh ok
[05:38] <kidx> well this is confusing now casue i have ffmpeg installed on here and its saying please use avconv
[05:39] <kidx> and all i wanted to do was update that to latest
[05:39] <sacarasc> In the directory where you put the ffmpeg binary, run ./ffmpeg to run it.
[05:39] <kidx> let me try
[05:39] <sacarasc> If you want to install it, add that directory to your path BEFORE where ffmpeg is installed.
[05:40] <kidx> i am new here all i wanna do is make youtube videos with out lag.
[05:40] <sacarasc> And then it should find the static build before the avconv thing.
[05:40] <kidx> what you are saying is unarchive the latest to the place its inatalled on my HD
[05:41] <kidx> overright the existing one and voila
[05:42] <sacarasc> That would probably work, but could cause problems with your package manager. Put it somewhere like ~/bin/, then add $HOME/bin to the $PATH BEFORE the rest of it... (So it would looke like PATH=$HOME/bin:$PATH or similar.)
[05:43] <kidx> make a bin folder in my home folder and extract it there correct and cd to the driver and use./ffmpeg
[05:43] <kidx> sounds simple
[05:44] <nickeest> I can't seem to convert an mkv file to an avi. It's an h264 and ac3 audio. I get error: [mp2 @ 0x8331a90]encoding 6 channel(s) is not allowed in mp2
[05:45] <kidx> also i hope ffmpeg stays forever
[05:46] <sacarasc> nickeest: -ac 2
[05:46] <nickeest> sacarasc, can you give me the full command please, I am not so literate
[05:46] <sacarasc> nickeest: What command do you have so far?
[05:46] <kidx> nickeest add -ac 2 to your command you have i believe
[05:47] <nickeest> sacarasc, yep its working now
[05:47] <nickeest> kidx, thx
[05:47] <kidx> np
[05:47] <nickeest> sacarasc, thx
[05:47] <kidx> i am here to help as well as get help
[05:47] <kidx> this is why i love ffmpeg
[05:53] <kidx> question how do I do fullscreen broadcast with our the game going black?
[05:56] <kidx> also it is not grabing my screen
[05:56] <kidx> giving me errors and this avconv thing is ticking me off i am gona uninstall ffmpege
[06:04] <kidx> Unknown input format: 'x11grab'
[06:04] <kidx> thats the error i am getting on linux
[06:08] <nickeest> How do I estimate completion time? I see: frame=22601 fps=18 size= 84343kb time=958.34 bitrate=721.0kbits/s
[06:08] <sacarasc> I'm not sure the static builds are built with X stuff.
[06:09] <nickeest> oh oh, now it printing that line I mentioed on new lines and scrolling the page.
[06:10] <sacarasc> Make your terminal larger.
[06:10] <kidx> nickeest you jut tryign to screen cap
[06:10] <nickeest> sacarasc, it is, but when it would keep updating the same line, now it is printing new lines
[06:10] <kidx> want a full code for that
[06:11] <kidx> also this updates in lines
[06:11] <nickeest> kidx, what do you mean? I have an mkv video, but my computer is slow, so I am converting it to avi so maybe it will play smooth
[06:11] <kidx> thats why you dedicate a terminal to it
[06:11] <kidx> why
[06:11] <nickeest> oh wait, it went back to just one line again
[06:12] <kidx> mkv opens with VLS
[06:12] <kidx> VLC
[06:12] <kidx> and is not slow
[06:12] <nickeest> kidx, I can open it and play it, but its slow, I have a really old computer
[06:12] <kidx> it depends on your sets
[06:12] <nickeest> its only 2ghz
[06:12] <kidx> me to
[06:12] <kidx> thats why i run LXLE
[06:12] <nickeest> and you can play it. I have debian
[06:12] <nickeest> I am using xfce
[06:12] <kidx> only uing 2 cpu
[06:13] <kidx> 27/30 max on recording
[06:13] <nickeest> and you can play mkv 720p video?
[06:13] <kidx> nw lets try playing a game hehe
[06:13] <kidx> yup
[06:13] <nickeest> I am surprised
[06:13] <kidx> i use terminal
[06:13] <kidx> casue i am on LXLE
[06:13] <kidx> what distro you on
[06:13] <nickeest> ok, I can play it from terminal and try then
[06:13] <nickeest> debian
[06:13] <kidx> yuck
[06:14] <nickeest> kidx, and yourself?
[06:14] <kidx> its good but not that good if you want small and less pc usage use LXLE
[06:14] <kidx> by the way i have 2 2.0ghz
[06:14] <kidx> i have a server pc
[06:14] <nickeest> lxle or lxde?
[06:15] <nickeest> but the video is still on gonna play in one of the two cpu's
[06:15] <kidx> Lubuntu Xtended Life Edition
[06:15] <nickeest> I trust debian guys more than anyone else
[06:15] <kidx> runs greate for me here
[06:15] <kidx> i dont trust them casue lthey lack updates
[06:15] <kidx> I only trust them for a base
[06:16] <nickeest> they are slow, no doubt about that
[06:16] <kidx> as for my main os I would not reconmend them
[06:17] <nickeest> I am running old stable, but I gonna have to upgrade to stable if I want to use google chrome with flash, cause youtube videos are playing really slow in firefox 3.5
[06:17] <nickeest> Once I get youtube vids going fine, I am set, thats all I need, everything else is fine for me
[06:18] <kidx> back to the x11 grab thing
[06:18] <kidx> whay is x11 grab an error
[06:18] <nickeest> How long will it take me to convert this mkv video you'd guess that is 1gig in size to avi
[06:18] <kidx> a while
[06:18] <nickeest> hour?
[06:18] <kidx> almost not worth recording in mkv if your gona jsut convert
[06:19] <kidx> just record in avi
[06:19] <nickeest> its at 130mb now, since I started when you recall I asked for the -ac 2 command
[06:19] <nickeest> I downloaded the vid
[06:19] <kidx> ply it in VLC
[06:19] <nickeest> the avi will be larger or smaller than the original
[06:19] <kidx> no need to convert and openshot can open it as well as kdenlive
[06:19] <nickeest> kidx, I tried that first, it isn't smooth play, it isn't watchable
[06:20] <kidx> casue you prolly lagged when recording it
[06:20] <kidx> witch that is not gona fix your issue but wast time
[06:20] <nickeest> kidx, I downloaded it, I didn't record it myself
[06:20] <kidx> then the vid is junk
[06:20] <kidx> not your pc
[06:21] <kidx> if it plays like junk then its prolly junk
[06:21] <nickeest> but on my old computer which was much faster, these same vids played well
[06:21] <kidx> link me to thsi vid
[06:21] <kidx> i wanna test it
[06:21] <nickeest> kids criten network, elitewarez
[06:21] <kidx> oh
[06:22] <kidx> i dont bother with them
[06:22] <kidx> all i can say is run it on somthing else
[06:22] <kidx> or upgrade
[06:23] <nickeest> yeah, I am gonna wait, and in the meantime find a cheaper version
[06:23] <nickeest> I am also gonna upgrade to wheezy, but I'd they didn't include compiz on wheezy. Do you use compiz?
[06:24] <kidx> no
[06:24] <kidx> i just game
[06:24] <kidx> and make youtube vids
[06:24] <kidx> but seems like all the distros are junk except LXLE
[06:26] <nickeest> you play games on lxle, I though you need windows for games, I thought linux wasn't good for gaming
[06:27] <kidx> it is
[06:27] <kidx> people lie
[06:27] <kidx> steam on linux naitive
[06:27] <kidx> no need for windows
[06:27] <nickeest> steam?
[06:29] <kidx> yes
[06:29] <kidx> i am getting alot of errors
[06:29] <kidx> wow
[06:30] <kidx> ffmpeg -f x11grab -r 25 -s 1280x1024 -i :0.0+100,200 -f alsa -ac 2 -i pulse -vcodec libx264 -crf 0 -preset fast -acodec pcm_s16le output.mkv
[06:30] <kidx> thats my code but no cast is working
[06:30] <kidx> cant grab x11
[06:31] <kidx> also shared memory found x error failed request?
[06:34] <kidx> could it be this --enable-indev=x11_grab_device and if show how do i enable that so i can use x11grab
[06:41] <kidx> well i am outthanks for everything guys
[08:32] <dedeeer_> http://paste.ubuntu.com/5924298/
[08:33] <dedeeer_> whats wrong
[08:38] <JEEB> I can see a report for an older ffmpeg version and GCC 4.8.1
[08:39] <johnny22> whats the best way to syncronize audio and video from a live audio source and from a live video source with the ffmpeg libs ?
[08:39] <JEEB> https://trac.ffmpeg.org/ticket/2756
[08:39] <JEEB> that was fixed by updating ffmpeg
[08:40] <dedeeer_> to me ?
[08:40] <JEEB> yes
[08:41] <dedeeer_> I just complie the xbmc android builds its refer to ffmpeg builds
[08:42] <JEEB> yes, xbmc internally contains some random version of ffmpeg :)
[08:42] <JEEB> I tried looking through dca-related commits but I couldn't really notice anything that would clearly fix your problem http://git.videolan.org/?p=ffmpeg.git&a=search&h=HEAD&st=commit&s=dca
[08:43] <JEEB> one way or another that problem has been already fixed, but I have no idea which commit did it :P
[08:43] <dedeeer_> you mean i should to update the ffmpeg modules for xbmc builds
[08:43] <dedeeer_> ou mean i should update the ffmpeg modules for xbmc builds
[08:51] <dedeeer_> does ffmpeg is optimized x264 on NEON ?
[09:05] <JEEB> dedeeer_, I mean that one way or another the ffmpeg you're building should be updated, or you downgrade your toolchain :D I just checked http://git.videolan.org/?p=ffmpeg.git;a=shortlog;h=refs/heads/release/1.2 and I don't see any related fixes in there after the 1.2.0 release. so welp
[09:05] <JEEB> that is, if you are using the 1.2 release branch :P
[09:06] <JEEB> (which is what that error was reported with)
[10:20] <nlight> I want to build ffmpeg for windows using visual studio 2013
[10:20] <nlight> any tips?
[10:20] <JEEB> expect breakage? :D
[10:21] <JEEB> anyways, I don't think all of those features noted at BUILD are yet in, so you will most probably have to wait until RTM for "pure" compilation
[10:21] <JEEB> so I guess follow the usual steps?
[10:21] <nlight> ok, scratch that then
[10:22] <nlight> I'll build it with mingw
[10:22] <JEEB> :)
[10:22] <JEEB> yes, c99wrap is not exactly fast
[10:22] <JEEB> anyways, this is the usual way http://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002…
[10:23] <JEEB> this way you can get MSVC debug symbols and all, but unfortunately c99wrap is needed
[10:23] <nlight> is it worth to do this if I can use mingw?
[10:24] <JEEB> if mingw isn't any worse for you use case (see: debug symbols not needed to be usable from MSVS), then mingw-w64 generally is less of a hassle
[10:25] <nlight> is this guide up to date - https://trac.ffmpeg.org/wiki/MingwCompilationGuide ?
[10:25] <xlinkz0> why would you compile it yourself for windows?
[10:26] <JEEB> lol, that compilation guide really tries to add everything, and only notes mingw (the original project), while nowadays mingw-w64 is definitely the better choice
[10:26] <JEEB> xlinkz0, why would you not?
[10:27] <xlinkz0> because zeranoe
[10:27] <JEEB> because zeranoe only gives GPLv3 compiles?
[10:27] <JEEB> there are plenty of reasons for various people to compile their own thing
[10:27] <JEEB> and nothing bad or weird in that
[10:27] <xlinkz0> just asking
[10:28] <JEEB> also I guess fdk-aac is one of the main reasons to build yourself otherwise
[10:28] <JEEB> since it can't be distro'd
[10:28] <JEEB> (in binary form)
[10:28] <xlinkz0> didn't say it was bad, i genuinely was curious why would someone do that :)
[10:28] <JEEB> or a limited build for a specific purpose? there's plenty of reasons
[11:07] <Pet0r> Is there any way to force ffmpeg to obey a maximum bitrate even when -crf is set?
[11:08] <Pet0r> For x264 I am using crf 18 which is proving great for 99% of videos, but on some videos with a high input bitrate (10MBit/s+) it's overshooting on bitrate hugely and I would prefer it to cap out at the bitrate rather than try to maintain crf 18
[11:08] <JEEB> If you mean the equivalent of -b:v, no. You can limit bandwidth within a buffer with -bufsize and -maxrate, though.
[11:10] <Pet0r> I currently have -b:v 3M and -maxrate 3M, and it overshoots to ~7.5MBit/s bitrate
[11:10] <Pet0r> on average
[11:10] <JEEB> 1) you didn't set bufsize 2) -b:v is over the whole clip
[11:11] <JEEB> also if you want one-pass encoding -crf + VBV (bufsize + maxrate) is IMHO better than setting a bit rate and VBV
[11:12] <Pet0r> am I right in thinking bufsize is what it buffers in order to make a better decision about the upcoming video?
[11:12] <Pet0r> or am I totally wrong there
[11:13] <Pet0r> not sure what it does
[11:13] <JEEB> bufsize is the amount of buffer within which the maxrate is calculated
[11:13] <JEEB> in theory if you are not streaming over limited bandwidth and just want to limit the overall file size you could set this rather large
[11:13] <Pet0r> I need to assume bandwidth is limited
[11:13] <JEEB> well then you should always be using VBV :P
[11:13] <Pet0r> The overall file size cannot exceed duration * 3mbps
[11:13] <JEEB> pronto
[11:14] <JEEB> eh
[11:14] Action: JEEB sighs
[11:15] <JEEB> anyways, it's the amount of buffer within which the maxrate is calculated and kept within limits (and if x264 cannot do that it will scream at you loudly, although that really doesn't happen much nowadays with all the emergency modes etc. in place)
[11:15] <JEEB> aka the amount which the player has to buffer when starting the playback to make sure that it never has to buffer again as long as it has maxrate amount of bandwidth
[11:15] <Pet0r> So is there a good way to calculate a decent value for that?
[11:15] <Pet0r> ah
[11:15] <JEEB> a decent value is something you decide, and then match up on the encoder and the player :P
[11:16] <Pet0r> So is that value in bit/s or byte/s?
[11:16] <JEEB> ffmpeg's is bits/s
[11:16] <JEEB> and bits
[11:16] <Pet0r> oh
[11:16] <Pet0r> *ok
[11:17] <JEEB> it will then divide by eight when passing it to the x264 API
[11:17] <JEEB> ah, no
[11:17] <JEEB> it will divide by 1000
[11:17] <JEEB> because x264 takes kilobits
[11:17] <Pet0r> thing is, will this negatively affect other videos which do not require the whole bitrate?
[11:17] <Pet0r> because right now
[11:17] <Pet0r> if I encode a video way under 3mbps with these settings
[11:18] <Pet0r> the bitrate will come out below 3mbps
[11:18] <Pet0r> which is what I want
[11:18] <JEEB> it will affect all videos that you encode, to make sure that nothing goes over maxrate calculated over a bufsize buffer
[11:18] <JEEB> it will not make anything use more bits
[11:19] <JEEB> also if you have encoded without maxrate + bufsize before you have pretty much failed as a VOD provider unless you expected your users to buffer a lot :P
[11:19] <Pet0r> So I guess my question is then, what is the point of bufsize? If I set a max bitrate, why isn't that just obeyed over the whole video? and if I do set a bufsize, why does that make any difference since isn't it always limited to that?
[11:20] <Pet0r> I feel like I am fundamentally misunderstanding bufsize and I do want to understand it :P
[11:20] <JEEB> normal rate control controls the bit rate over the whole clip, bufsize controls rate control within a constantly moving buffer so that at all points if you have buffered bufsize amount of video and have at least maxrate amount of bandwidth, you will never have to buffer again
[11:21] <Pet0r> okay, I see
[11:21] <Pet0r> so what you're saying is, in the video player, you tell it to download a certain amount of the video (bufsize), as opposed to a duration of the video, before it starts playing
[11:21] <Pet0r> at which point as long as the bandwidth remains available, the video should always play
[11:22] <JEEB> I don't understand the "as opposed to a duration of the video" part, but yes -- it will make sure that if those parameters are true, then the viewer will have a smooth playback experience
[11:23] <JEEB> you just match up the player with the encoder with regards to how much bufsize you used, and encode accordingly
[11:24] <JEEB> in theory if you encoded with just bit rate rate control, if the beginning of a clip is very very bandwidth needing, you could end up exhausting all of your bits there (esp. if the stuff after that needs only nominal bit rate)
[11:24] <JEEB> thus if you are giving out video over a limited bandwidth, you *need* VBV
[11:25] <JEEB> the beginning in that case will look worse, but it will be within the VBV limits
[11:25] <Pet0r> I see, so would setting bufsize quite low force the video to always obey maxrate as well?
[11:25] <Pet0r> like I don't know, if you set it to something stupidly low like 100k
[11:25] <JEEB> huh?
[11:25] <Pet0r> what would happen?
[11:25] <JEEB> it would just make it very hard for the encoder to fluctuate anything
[11:26] <JEEB> it would be a very small buffer in that case
[11:26] <JEEB> usually such are only used in low-latency things where you can't buffer much
[11:27] <JEEB> in your case I would at the very least recommend having a maxrate amount of bufsize, possibly more
[11:27] <Pet0r> well, the problem for me is not just the buffering, the reason I was asking originally about the maxrate etc. is that I have a file size constraint
[11:27] <Pet0r> now I know 2 pass is usually best for that
[11:27] <JEEB> well, maxrate + bufsize is even more limiting than that :P
[11:28] <Pet0r> but the problem with 2 pass is that it seems to do the opposite of what it does now, it perfectly makes this 10mbps video 3mbps for the duration
[11:28] <Pet0r> but it then upscales smaller videos to a higher bitrate than necessary
[11:28] <Pet0r> well, I use "upscales" wrongly, it doesn't upscale
[11:28] <Pet0r> but you know what I mean
[11:28] <JEEB> yes, because you've asked for X, you got X
[11:28] <Pet0r> yeah, is there a way to say, like
[11:28] <Pet0r> don't exceed the input bitrate
[11:29] <Pet0r> short of looking that up in advance and passing it in
[11:29] <JEEB> the input bit rate is irrelevant as soon as you start re-encoding
[11:29] <JEEB> forget about the input bit rate, basically
[11:29] <JEEB> if you have a limitation on the output, that is a limitation on the output
[11:30] <Pet0r> a lot of the videos we get are passed in containers which have crappy codecs, like FLV
[11:30] <Pet0r> so we can usually rely on being able to produce a smaller output with comparable quality
[11:30] <JEEB> anyways, maxrate + bufsize will keep the average bitrate under something because it even has a smaller buffer within which it limits the clip :P
[11:30] <Pet0r> so input bitrate is sometimes useful
[11:30] <Pet0r> ok
[11:30] <Pet0r> so a maxrate of 3M with a buffer size of say... 1M?
[11:30] <JEEB> ugh
[11:31] <JEEB> use AT LEAST maxrate amount of bufsize
[11:31] <JEEB> I mean, you would be OK with a bufsize of the whole damn clip, if you were using -b:v without VBV before, which is of course completely incorrect for any kind of limited bandwidth video provision
[11:32] <Pet0r> well, I didn't write any of the previous stuff, I am trying to improve it
[11:33] <JEEB> I would say even 2-3 "seconds" worth of buffer would be usable
[11:33] <JEEB> if not even more
[11:33] <JEEB> maxrate * 2 or 3 that is
[11:33] <JEEB> then set the player to buffer the same amount, and enjoy
[11:35] <Pet0r> what about -bt, does that have any effect as well?
[11:35] <Pet0r> or not worth using?
[11:35] <JEEB> what is bt in ffmpeg again? I'm more knowledge'able in x264 settings than ffmpeg's
[11:35] <Pet0r> bitrate threshold, apparently
[11:35] <JEEB> keep away from all that stuff
[11:35] <JEEB> x264's defaults are GOOD
[11:36] <JEEB> all you should in general be touching are: preset (defaults, speed vs compression), some kind of rate control mode (bitrate or CRF), VBV (maxrate and bufsize)
[11:37] <Pet0r> okay so with a bufsize set, the output video bitrate (average) is much lower
[11:37] <Pet0r> but it's actually way under 3mbps even
[11:37] <Pet0r> (I set bufsize = maxrate = 3M)
[11:38] <Pet0r> average bitrate with those settings is 1600kbps
[11:38] <JEEB> if the crf is so that it always ends up using the maximum amount of buffer then it will be pretty much 3M in the end, otherwise it will just be smaller
[11:38] <JEEB> because VBV only limits
[11:39] <JEEB> and the larger the bufsize the more playing ground the encoder will have
[11:39] <Pet0r> one sec
[11:40] <Pet0r> so with identical settings (crf 18, b:v 3M, maxrate 3M)... bufsize: 3M = 1600kbps avg, no bufsize = 3750kbps
[11:41] <JEEB> because maxrate does nothing without a bufsize
[11:41] <JEEB> maxrate is only applied with a bufsize
[11:42] <Pet0r> but why is bufsize 3M producing such a low bitrate encode? surely if you can buffer 3M the average bitrate could be much higher than 1600K
[11:43] <JEEB> basically some part would have taken more bit rate, but it was limited, and CRF didn't need as much rate in other places so it kept the average down
[11:44] <JEEB> and if you keep making bufsize bigger the encoder will be able to fluctuate more
[11:44] <JEEB> thus getting closer and closer to that unlimited result
[11:45] <Pet0r> presumably it's not a good idea to have a static bufsize for every input video though?
[11:45] <JEEB> why not?
[11:45] <Pet0r> ok
[11:46] <JEEB> you have the certain maximum bit rate, and a bufsize for it
[11:46] <Pet0r> well, I guess, yeah, it would be alright
[11:46] <Pet0r> I was thinking if you had a really low quality input video that ended up with a low bitrate output, it would have to buffer a lot more of the video
[11:46] <Pet0r> and of course, it would
[11:46] <Pet0r> but it would take the same time to do so
[11:46] <JEEB> that's why I kept telling you that at the very least you should use at least a 1sec bufsize
[11:46] <Pet0r> in the player, I mean
[11:47] <JEEB> not related to your last lines
[11:47] <JEEB> but you basically have a case where you can have the user wait a couple of seconds at the beginning
[11:47] <JEEB> and then just keep to the maxrate under that buffer
[11:50] <Pet0r> okay
[11:51] <Pet0r> that's been very helpful, thanks
[11:51] <Pet0r> I now understand what those settings mean and how they work
[11:51] <JEEB> I'm still surprised that people who actually get paid know less of this than I do :P
[11:51] <Pet0r> I didn't get hired specifically to do this :P
[11:52] <Pet0r> I'm a software engineer
[11:52] <Pet0r> lol
[11:53] <JEEB> and I'm a random coder
[11:54] <JEEB> also, just so that there are no misunderstandings, <JEEB> and then just keep to the maxrate under that buffer <- this doesn't mean that the maxrate always has to be under the bufsize (that is needed in low-latency cases over limited bandwidth), it was written as "within the buffer"
[11:54] <JEEB> *that
[11:56] <Pet0r> I see
[11:59] <Keshl> Before I make a dumb mistake while we're on the topic of bufsize.. I have a video that has a lot of repeating frames over the course of 5-10 seconds, and it's running at 120 FPS. If I increase the bufsize to some rediciously large amount will it actually pick up those repeating frames and offer better compression than it does now, oÉo?
[12:00] <JEEB> bufsize is not that kind of buffer
[12:00] <JEEB> that's a job for rc-lookahead and amount of refs/bframes
[12:00] <Keshl> Okay, good thing I asked first ^É^; What should I be doing them, oÉo?
[12:00] <Keshl> But rc-lookahead is limited to 250.
[12:00] <JEEB> yes
[12:00] <Keshl> At 120 frames per second, 250's.. Very inadiquite. XD
[12:01] <JEEB> well, it should capture enough pictures being the same, just keep keyframe interval long
[12:01] <Keshl> How do I do that exactly, oÉo? I'm not terribly familier with ffmpeg's magical commands. xwx
[12:02] <JEEB> -g?
[12:03] <Keshl> I have this feeling that I won't get it right. o_o Does -g 1200 sound reasonable if I want it to have around 10 seconds of lookahead/behind?
[12:04] <JEEB> that will mean that the maximum interval between keyframes that also cut the pictures future pictures can reference off of will be 1200
[12:04] <JEEB> for 120fps content that would be 10 seconds, yes
[12:04] <Keshl> Awesome, oÉo.
[12:07] <Keshl> oÉo Is -g all I need?
[12:08] <JEEB> and naturally a preset that lets you use enough refs/bframes
[12:08] <Keshl> Like medium? Or OH.
[12:08] <Keshl> ... -Facedesk-
[12:08] <Keshl> Kay, yeah, now I see my mistake, thanks.
[12:10] <Pet0r> ok yeah that seems to be working well, even with a bufrate = maxrate, the average bitrate is half maxrate, but I see it spiking as high as 133% of the maxrate during actual playback
[12:15] <Keshl> JEEB: How do I do -no-scenecut of -keyint? http://mewiki.project357.com/wiki/X264_Settings seems outdated, and the video in question has no scenecuts.
[12:16] <Keshl> *or
[12:16] <JEEB> -g = keyint
[12:16] <Keshl> Ohhhh.. oÉo..
[12:17] <Keshl> .... And how do I set -bframes and -b-adapt? x.x
[12:24] <microchip_> Keshl: https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping
[12:25] <Keshl> Dankye, oÉo
[12:30] <Keshl> ... Motion estimation depends on color, doesn't it? So if I only have two colors, black (the background) and orange (And I don't mean different shades, I mean two colors, /period/), motion estimation becomes next to impossible and results in inordinately large files? xwx
[12:35] <ubitux> BBB: i really don't know what is the timeline and workload required for each thing; as long as i learn about video codecs i'm happy with anything
[12:49] <saste> ubitux, wrong ML
[12:49] <saste> bah wrong channel...
[12:50] <ubitux> oups
[12:51] <ubitux> thx
[13:01] <nlight> I'm trying to compile using mingw and I get the following error during compilation "libavutil/atomic.c:101:2: error: #error "Threading is enabled, but there is no implementation of atomic operations available"
[13:02] <nlight> any ideas?
[13:02] <nlight> I have explicitly passed --enable-w32threads
[13:03] <nlight> here is my whole configure statement $ ./configure --prefix=/mingw --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-w32threads --enable-runtime-cpudetect --enable-memali
[13:03] <nlight> gn-hack --enable-zlib --enable-libx264 --enable-libxvid --enable-static --disab
[13:03] <nlight> le-shared --disable-debug
[13:03] <nlight> sorry for the spam :|
[13:04] <spaam> nlight: :(
[13:05] <Pet0r> http://trac.ffmpeg.org/ticket/2363
[13:05] <Pet0r> did you try that?
[13:05] <nlight> I could do that, but I wanted native threads, well..
[13:06] <Pet0r> you can have native threads
[13:06] <Pet0r> if you specify a --cpu val
[13:07] <nlight> it compiles with --enable-pthreads, that's ok for now I guess
[13:07] <nlight> thanks
[13:07] <Pet0r> look at comment 3
[13:07] <Pet0r> if you want native threads
[13:08] <JEEB> uhh
[13:08] <JEEB> native threads should work out-of-box
[13:09] <nlight> I guess I should switch to mingw64
[13:09] <JEEB> also disable-shared is the default
[13:09] <JEEB> yes, yes you should
[13:09] <JEEB> http://files.1f0.de/mingw/
[13:09] <JEEB> grab one of those and switch your /mingw
[13:09] <nlight> will do, thanks
[13:11] <JEEB> also runtime-cpudetect is default now too
[13:11] <JEEB> memalign hack is only needed for mingw32
[13:11] <JEEB> not mingw-w64
[13:12] <JEEB> zlib is enabled by default if found
[13:12] <JEEB> (is visible in configure's output)
[13:12] <JEEB> also you haven't enabled anything nonfree
[13:13] <JEEB> generally I'd say you only need possibly prefix, enable-gpl, enable-libx264, enable libxvid
[13:13] <nlight> ok
[13:13] <JEEB> also as a hint for msys
[13:13] <nlight> it's the first time I'm building ffmpeg so any tips are super welcome
[13:13] <JEEB> you can switch between mingws with etc/fstab
[13:13] <JEEB> first tip: start with pure ./configure first
[13:13] <JEEB> then look if it passes
[13:14] <JEEB> after that enable those external things you need, and possibly some internal ones
[13:14] <JEEB> enable-gpl is pretty much the only thing that enables something inside ffmpeg itself
[13:14] <JEEB> everything else is just for third party libraries
[13:15] <nlight> aha, so --enable-nonfree does nothing by itself?
[13:15] <JEEB> yes
[13:18] <JEEB> also, funny enough pretty much the only thing that prefers pthreads to native threads for whatever reason in its configure is x264
[13:18] <JEEB> and I think that one is a mistake
[13:18] <Fjorgynn> I am
[13:19] <JEEB> basically x264's configure first tries native threads, and then if it finds pthreads and they are usable it will switch to that
[13:19] <JEEB> so there you will have to specify the native threads
[13:19] <JEEB> ffmpeg and friends default to native threads
[13:22] <nlight> isn't there some python script that automatically downloads and builds everything?
[13:22] <nlight> like ffmpeg + xvid + x264 + aac + lame
[13:22] <nlight> or something
[13:22] <JEEB> you could create one rather easily, or a shell script
[13:22] <nlight> that's what I'm currently doing
[13:23] <nlight> I wish one was already available but meh
[13:27] <Pet0r> there are windows builds released very often @ zeranoe.com
[13:27] <nlight> do they include xvid + x264?
[13:27] <Pet0r> yes
[13:27] <Pet0r> http://ffmpeg.zeranoe.com/builds/
[13:28] <nlight> oh, figures
[13:28] <nlight> I should just use those then
[13:28] <nlight> thanks
[13:30] <Fjorgynn> :)
[13:32] <nlight> I'm still setting up my own ffmpeg build but these will do the trick for testing
[13:33] <Pet0r> fair enough :P
[13:33] <nlight> is there a 'static library' version?
[13:34] <nlight> i'm not sure if it's good practice to link ffmpeg statically
[13:36] <JEEB> if you are following the license there's no real problem with static linking. it's a bit funky with mingw-w64 tho :)
[13:37] <elkng> I use command: "ffmpeg ../1.avi -c:v png "%3d.png"" to make video into set of png images, but they are too dark, when I watch video I can increase bringtness with some key, but how to make those images brighter while converting using that command ?
[13:37] <JEEB> (although it's only funky when you are linking the static lib from MSVC, if you are using mingw64 all-around then there's no problem)
[13:38] <nlight> JEEB, funky in what way?
[13:38] <nlight> as in "don't do this unless you're damn sure you need it"?
[13:39] <JEEB> when you link a static mingw-w64 lib from MSVC there are some functions that aren't found, and thus you need to define that one or those two somewhere as a workaround in your MSVS code
[13:39] <elkng> should I use "-vf mp=eq2=1.0:2:0.5" ?
[13:39] <Pet0r> why not give it a try?
[13:39] <Pet0r> :P
[13:39] <JEEB> officially it's not really supposed to be used, but it's found to be rather usable because people have been doing it for years :P
[13:39] <Pet0r> just limit your video to a time when you know it's dark
[13:39] <JEEB> dll is preferable of course
[13:39] <Pet0r> and see how they come out
[13:40] <JEEB> since dll is less :effort:
[13:47] <elkng> Pet0r: I mean there is also lutrgb='r=1.1*val:g=1.1*val:b=1.1*val' or lutyuv=y=val*1.1
[13:47] <Pet0r> there are multiple ways to do it with different filters
[13:47] <Pet0r> give it a try and just use a slice of your video where you know it's dark
[13:47] <Pet0r> like if you know it's dark in 30-35 seconds then use -ss 00:30:35 -t 00:00:05
[13:47] <Pet0r> so just cut that section of video
[13:48] <Pet0r> and see if they come out dark or not
[13:48] <Pet0r> * -ss 00:00:30
[13:48] <Pet0r> lol
[17:07] <hackeron> hey, any ideas what is wrong with this command? < "ffmpeg -rtsp_transport tcp -i 'rtsp://192.168.55.3/media/video1' -analyzeduration 0 -map 0 -dn -codec:v copy -f alsa -ac 2 -i hw:0,0 -codec:a libfdk_aac -flags +qscale -global_quality 1 -afterburner 1 -reset_timestamps 1 -ar 44100 -y video.mkv" -- I'm getting Option map (set input stream mapping) cannot be applied to input file hw:0,0
[17:09] <hackeron> durandal_1707: http://pastie.org/8186961
[17:10] <sacarasc> hackeron: You have input and output options mixed up.
[17:11] <hackeron> sacarasc: do I move the -f alsa -i hw:0,0 straight after the -i 'rtsp://..."?
[17:11] <sacarasc> Yes.
[17:12] <hackeron> sacarasc: then I get this: http://pastie.org/8186968 - no audio in output file :(
[17:23] <Fjorgynn> I disagree
[19:56] <t4nk795> hi, I have been trying to find the correct command to overlay two png images and keep the alpha channel, but the second image always loses it and has a black background instead, can anyone help me? This is the command line I've been using ffmpeg.exe -f image2 -i image000.png -vf "[in] scale=iw:ih, pad=2*iw:ih [left]; movie=image000.png, scale=iw:ih [right]; [left][right] overlay=main_w/2:0 [out]" -vcodec png Output.png
[20:03] <relaxed> t4nk795: first make sure you're using a recent version of ffmpeg, then look at -filter_complex
[20:08] <t4nk795> thanks!
[21:50] <griddy> Hi guys, i get the following error when sending a video stream fom ffmpeg to ffserver: "av_interleaved_write_frame(): Connection reset by peer". Any tips?
[21:51] <griddy> *from
[21:52] <Fjorgynn> Sit Now :)
[21:52] <griddy> ok sitting:P
[21:55] <griddy> Hi guys, i get the following error when sending a video stream from ffmpeg to ffserver: "av_interleaved_write_frame(): Connection reset by peer". Any tips?
[23:42] <alexschomb> hello there :)
[23:43] <alexschomb> I'm trying to compile FFMPEG via cross-compiling for Raspbian following the wiki entry: http://trac.ffmpeg.org/wiki/How%20to%20compile%20FFmpeg%20for%20Raspberry%2…
[23:44] <alexschomb> In the last step FFMPEG is not being compiled because "libx264 not found". I suppose this happens because there is no libx264.so created in /my/path/were/i/keep/built/arm/stuff/lib/
[23:45] <alexschomb> (I change the path to my own one of course)
[23:46] <alexschomb> I'd love some advice, already tried building with --enable-static, not helping.
[23:50] <llogan> alexschomb: try adding --extra-libs=-ldl to ffmpeg configure
[23:50] <llogan> those non CamelCase urls are annoying
[23:51] <alexschomb> llogan: thanks that helped! :)
[23:51] <llogan> i'll update that page then
[23:52] <alexschomb> it configured although i got an potential error about pkg-config not found
[23:53] <alexschomb> thank you very much :)
[23:54] <llogan> alexschomb: what's the exact error? (if it is long use pastebin.com)
[23:54] <alexschomb> i guess i found another small error. you'd need to make && make install in the step "Compiling ALSA library" too
[23:55] <llogan> ok, thanks.
[23:56] <alexschomb> llogan: http://pastebin.com/HdjzWV8w/
[23:59] <llogan> ah, i see it already mentions PKG_CONFIG_PATH, but it could probably be moved.
[00:00] --- Tue Jul 30 2013
1
0
[00:39] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/1.2:930d035e72ca: update for 1.2.2
[01:25] <KGB> 01[13FFV101] 15michaelni pushed 2 new commits to 06master: 02http://git.io/JUTNUg
[01:25] <KGB> 13FFV1/06master 146eeb731 15Michael Niedermayer: ffv1/3.1: Fix punctuation to make the text understandable
[01:25] <KGB> 13FFV1/06master 14924e9d3 15Michael Niedermayer: ffv1/3.1: The border is about slices not pictures
[03:06] <cone-656> ffmpeg.git 03Marton Balint 07fatal: ambiguous argument 'refs/tags/n1.2.2': unknown revision or path not in the working tree.
[03:06] <cone-656> Use '--' to separate paths from revisions
[03:06] <cone-656> refs/tags/n1.2.2:HEAD: lavc: do not override format if neither text nor bitmap codec prop is set
[03:35] <cehoyos> mateo: Regarding vaapi with ffplay, I don't think SDL supports any hardware acceleration, I would have to get OpenGL support to ffplay first (which would also allow VDPAU support)
[04:10] <cone-656> ffmpeg.git 03Nicolas Bertrand 07release/2.0:e0d88cfd1818: jpeg2000: Initialize only once mqc arrays
[04:10] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:fa6b6dad3d78: jpeg2000: fix overflow in dequantization
[04:10] <cone-656> ffmpeg.git 03Carl Eugen Hoyos 07release/2.0:09b33f9a8251: Fix pix_fmt detection in the native jpeg2000 decoder.
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:9da9b36435c9: jpeg2000dec: parse CDEF
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:8b221d60fa5e: jpeg2000dec: Support non subsampled 8bit planar pixel formats
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:9a6d3eee5995: jpeg2000dec: silence unused variable warning
[04:11] <cone-656> ffmpeg.git 03Nicolas Bertrand 07release/2.0:e0d88cfd1818: jpeg2000: Initialize only once mqc arrays
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:d73ce6cb5609: jpeg2000dec: Support non subsampled 9-16bit planar pixel formats
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:fa6b6dad3d78: jpeg2000: fix overflow in dequantization
[04:11] <cone-656> ffmpeg.git 03Carl Eugen Hoyos 07release/2.0:09b33f9a8251: Fix pix_fmt detection in the native jpeg2000 decoder.
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:9da9b36435c9: jpeg2000dec: parse CDEF
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:8b221d60fa5e: jpeg2000dec: Support non subsampled 8bit planar pixel formats
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:9a6d3eee5995: jpeg2000dec: silence unused variable warning
[04:11] <cone-656> ffmpeg.git 03Michael Niedermayer 07release/2.0:d73ce6cb5609: jpeg2000dec: Support non subsampled 9-16bit planar pixel formats
[11:34] <cone-858> ffmpeg.git 03Diego Biurrun 07master:966689442ed8: buffersink: K&R formatting cosmetics
[11:34] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:edab63a4067a: Merge commit '966689442ed843019dc0722a49bfb0ac51755d19'
[11:53] <cone-858> ffmpeg.git 03Diego Biurrun 07master:16c22122c788: h264: K&R formatting cosmetics
[11:53] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:102397d2c14d: Merge commit '16c22122c788b5e54a2f2e224bd0106429f0714c'
[11:58] <cone-858> ffmpeg.git 03Diego Biurrun 07master:37063714c0a0: build: Only check FATE dependencies when running FATE tests
[11:59] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:1ecf380223b0: Merge commit '37063714c0a064808f9671ec4d376955d664f463'
[13:12] <cone-858> ffmpeg.git 03Luca Barbato 07master:10aa44aa675e: avidec: K&R formatting cosmetics
[13:12] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:d78122099113: Merge commit '10aa44aa675e05067845e3e55fac37642cbbdae4'
[13:23] <cone-858> ffmpeg.git 03Luca Barbato 07master:c8f0b20b4a6b: avidec: Let the inner dv demuxer take care of discarding
[13:23] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:3afcddcff2bc: Merge commit 'c8f0b20b4a6bb6691928789d83e4b02896969848'
[13:29] <mateo`> hi guys
[13:30] <mateo`> in which case s->oformat can be NULL in the mov muxer ? (lines 3541, 3550)
[13:34] <cone-858> ffmpeg.git 03Diego Biurrun 07master:6ff15cd569e1: Remove unreachable returns
[13:34] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:2655c1ac1282: Merge commit '6ff15cd569e1345bc3612fb69ad3003b104fe50d'
[13:43] <cone-858> ffmpeg.git 03Diego Biurrun 07master:5b097399baa2: eval: Explicitly ignore return value of strtod() in parse_db()
[13:43] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:8ff23f0e3c9a: Merge commit '5b097399baa2e38cc513939cfab3a9b6fdbc33df'
[13:51] <cone-858> ffmpeg.git 03Diego Biurrun 07master:bf4b0ed1d5d3: Add missing deprecation attributes
[13:51] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:b0edd5999404: Merge commit 'bf4b0ed1d5d323050a87c9f0ad1dd40860eb3da2'
[14:04] <mateo`> s->oformat seems not to be check in matroskaenc
[14:21] <cone-858> ffmpeg.git 03Diego Biurrun 07master:270d7e3a1802: doc: cosmetics: Consistently format list and table items
[14:21] <cone-858> ffmpeg.git 03Michael Niedermayer 07master:f0308af5fac9: Merge remote-tracking branch 'qatar/master'
[14:35] <michaelni> mateo`, maybe the oformat checks are unneeded
[14:36] <mateo`> it seems like, i will send a patch
[15:51] <saste> any XML expert around?
[16:27] <BBB> ubitux: Daemon404: let's talk logistics, when do you guys want to start? next week monday (i.e. in 8 days)?
[16:28] <BBB> ubitux: Daemon404: then second, I've written a skeleton (keyframe bitstream parsing and some minor parts of keyframe reconstruction), shall I upload that to my github so we can work on such a branch together?
[16:40] <cone-858> ffmpeg.git 03Stefano Sabatini 07master:18df69d238fb: doc/ffprobe.xsd: specify tag elements in stream after disposition element
[16:40] <cone-858> ffmpeg.git 03Stefano Sabatini 07master:2fcd400669bc: ffprobe: do not treat array elements as nested in the compact writer
[16:40] <cone-858> ffmpeg.git 03Florent Tribouilloy 07master:2186a7e547fd: ffprobe: add -show_programs option
[16:47] <Daemon404> BBB, that depends when i can mov e into my flat in london
[16:47] <Daemon404> which i should find out tomorrow at latest
[17:05] <BBB> Daemon404: ok I guess.. any interest in me pushing an early nonworking branch to github?
[17:06] <Daemon404> BBB, actually im technically unemployed for 2 weeks or so in aug (while i transfer)
[17:06] <Daemon404> so i should have time
[17:06] <Daemon404> soon... sh
[17:06] <BBB> lol
[17:06] <Daemon404> ish*
[17:06] <Daemon404> i also mostly finished The H.264 Book
[17:06] <Daemon404> thought i got lost in the CABAC chapter
[17:07] <Daemon404> though*
[17:07] <BBB> that's ok, cabac is already implemented
[17:07] <BBB> so is vp8/9/5/6's rac coder
[17:07] <Daemon404> entropy coding didnt change?
[17:07] <BBB> not the base part
[17:07] <BBB> the use in the codec did, of course
[17:07] <BBB> and it added adaptivity at a higher layer
[17:07] <BBB> but the lowlevel part is identical
[17:07] <Daemon404> k
[17:12] <cone-858> ffmpeg.git 03Matthieu Bouron 07master:ee4ef139e361: lavf/movenc: remove useless checks on AVOutputFormat
[17:12] <cone-858> ffmpeg.git 03Matthieu Bouron 07master:8a0919554502: lavf/movenc: improve psp check
[17:25] <kurosu_> BBB / Daemon404: what codec are you discussing about ?
[17:26] <JEEB> vp9
[17:26] <BBB> kurosu_: we want to write a native ffmpeg decoder in august
[17:27] <kurosu_> ah ah ok, you want to beat hevc on another topic then :)
[19:27] <cone-858> ffmpeg.git 03Carl Eugen Hoyos 07master:ae4dc0b37aa8: Set bits_per_raw_sample when decoding mjpeg / ljpeg.
[19:27] <cone-858> ffmpeg.git 03Carl Eugen Hoyos 07master:7e8e8ba9cc2b: Assume gray8 if 1 < maxval <= 255 in pgm.
[19:27] <cone-858> ffmpeg.git 03Carl Eugen Hoyos 07master:7651c0e49b1f: Avoid overflows when reading pgm files with maxval != 255 and != 65535.
[20:47] <cehoyos> It is possible that both 7651c0e and a0348d0 are wong
[20:47] <cehoyos> I am not sure how to test
[20:50] <durandal_1707> uhh 7651c0e looks like workaround for bug in libjpeg
[20:50] <cehoyos> "The most significant byte is first." - does that imply big endian?
[20:52] <cehoyos> See http://netpbm.sourceforge.net/doc/pgm.html "9."
[20:54] <durandal_1707> cehoyos: pnm code have big-endian variants only
[20:54] <durandal_1707> so more 1 byte its in big-endian
[20:55] <cehoyos> Which on of these is big-endian (assuming 12 bit): "02 d0" or "d0 02"?
[21:02] <durandal_1707> big endian system reads bytes from left to right
[21:22] <durandal_1707> did we get bankrupt?
[22:00] <cone-858> ffmpeg.git 03James Almer 07master:ac8e70d7358e: oggenc: Write stream metadata if available
[22:11] <cehoyos> durandal_1707: a0348d0 definitely breaks some pgm's on little endian, do you want to fix it? I will then revert 7651c0e if you don't do it.
[22:12] <cehoyos> av_le2ne16() cannot be correct on both le and be if the pix_fmt is gray16be in both cases
[22:12] <cehoyos> av_be2ne16() cannot be correct on both le and be if the pix_fmt is gray16be in both cases
[22:15] <durandal_1707> cehoyos: what pgms?
[22:16] <durandal_1707> your "patch" that get commited did not fix anything, it just introduced regression, because now ffmpeg decoder incorrectly some pnm files
[22:24] <alsu> I have an rtmp stream which works with flvstreamer but not ffmpeg. should I file a bug with ffmpeg?
[22:24] <cehoyos> The patch was not correct but It did not introduce a regression, the regression was there since a0348d0
[22:25] <alsu> happy to try and debug it too, if I can be of use
[22:25] <cehoyos> There are no pgm's that were decoded correctly on le since a0348d0, current FFmpeg decodes libjpeg's broken pgm's correctly.
[22:25] <cehoyos> No pgm
[22:25] <cehoyos> No pgm's with 255 < maxval < 65535
[22:25] <durandal_1707> nonsense
[22:26] <durandal_1707> as i already said ffmpeg does correctly decodes netpbm images with maxval != 255 & maxval !=65535
[22:30] <cehoyos> Yes, on be; on le, it is not correct. Note that av_be2ne16() cannot be correct on both be and le for the same colourspace
[22:31] <durandal11707> and where is av_be2ne called?
[22:33] <cehoyos> grep av_be2ne libavcodec/pnmdec.c ? (Note that the call is visible in my patch that you don't like.)
[22:34] <durandal11707> cehoyos: your patch is wrong
[22:34] <cehoyos> YES
[22:35] <durandal11707> and code in pnmdec is worse than it was before
[22:35] <cehoyos> Please fix the regression you introduced, you can either revert my patch, or I will do it when I backport your fix.
[22:35] <durandal11707> and upgrade =2 silly obscure crap is wrong too
[22:35] <cehoyos> I don't disagree, but before a0348d0 the "crap" worked, it is broken since
[22:35] <durandal11707> cehoyos: your claim that i break pgm decoder for maxval != 65535
[22:36] <cehoyos> No for 255 < maxval < 65535
[22:36] <durandal11707> i'm telling you that i broke nothing that was not already broken
[22:37] <durandal11707> cehoyos: there is ticket on trac that explains why maxvals: 255<maxval<65535 & 0<maxval<255 are not decoded correctly
[22:39] <cehoyos> Wow, that's cool: You first broke decoding, then you reported it and nobody tested it for a regression;-)
[22:40] <cehoyos> otoh: This ticket is about ppm, I was only talking about pgm, so I don't think these are related.
[22:41] <durandal11707> not at all, decoding was never correct
[22:41] <cehoyos> To shorten this: Do you want to fix the regression or not?
[22:41] <cehoyos> It worked fine before (and it still works fine with avconv)
[22:41] <durandal11707> also calling av_be2ne16 for each pixel is smart too
[22:43] <durandal11707> cehoyos: do whatever you want, but be aware I may rewrite anything stupid i find
[22:47] <cehoyos> That is exactly why I ask you: Do you want to fix the regression you introduced?
[22:47] <cehoyos> (And additionally: Do you want to send patches for review?)
[22:51] <durandal_1707> cehoyos: i'm against revert, as setting pix_fmt and than changing it is bad practice
[23:00] <durandal_1707> nice, i get enormous spam when building
[23:01] <durandal_1707> bunch of input/output_count
[23:07] <cehoyos> durandal_1707: I am not sure I understand: Do you mean we should not revert my patch? Or we should leave the regression because fixing bugs is "bad practice"? (Sorry, I really don't understand.)
[23:08] <durandal_1707> cehoyos: i was talking about reverting my patch
[23:08] <cehoyos> So why are you against reverting your patch?
[23:09] <durandal_1707> because seting pix_fmt, than checking pix_fmt and seting it again is bad practice
[23:09] <durandal_1707> it should be set in single place
[23:09] <cehoyos> So do I understand correctly that you want to fix the regression differently? That is perfectly fine with me.
[23:10] <durandal_1707> yes
[23:10] <cehoyos> Great, when will you do it?
[23:11] <durandal_1707> i can do it, and give whole commit authorship to you
[23:11] <cehoyos> Why? (I don't understand.)
[23:13] <durandal_1707> because you found it
[23:14] <cehoyos> Then please give me creadit for finding the issue if you want, just fix it;-)
[23:15] <durandal_1707> but you also provided solution for problem
[23:16] <cehoyos> Really? (I intentionally didn't.)
[23:23] <durandal_1707> can pnms be read with netpbm ?
[23:30] <durandal_1707> cehoyos: also what about pams with maxval < 65535 ?
[23:30] <durandal_1707> pams with depth 1
[23:32] <cehoyos> What about pams? I am not sure I understand.
[23:32] <cehoyos> (I thought a0348d0 only affected pgm's)
[23:33] <durandal_1707> 7e8e8ba9cc2b074b988e8ab28f69cfc5d454d674 changed pam code
[23:35] <cehoyos> It only affects images with maxval < 255 but the regression I mentioned above only appears for maxval > 255
[23:36] <durandal_1707> regression only broke pgms not pams
[23:37] <cehoyos> That is what I am saying, yes. And 7e8e8ba also only affected pgm's, so how is this related to pam's ?
[23:37] <durandal_1707> no 7e8.. affects only pams
[23:38] <cehoyos> Afaict, it only affects pgm's, but if you have a pam that gets affected, I'd love to see it.
[23:39] <durandal_1707> cehoyos: it changes only pam's code
[23:40] <durandal_1707> pgms are type 5
[23:45] <cone-858> ffmpeg.git 03Paul B Mahol 07master:768e40b451a4: Revert "pnm: remove nonsense code"
[23:51] <cehoyos> You are right, the commit message is not correct, it fixes pam decoding.
[23:59] <cehoyos> Your commit message is only marginally better;-( (255 < ...)
[23:59] <cehoyos> Why did you revert the patch?
[00:00] --- Mon Jul 29 2013
1
0
[02:37] <alsu> I have a video file which seems to have odd timing information. there are no frames between 21:21 and 34:40. playing the file with VLC correctly skips ahead in time instantly.
[02:37] <alsu> is there a way I can re-process this video with ffmpeg to remove that oddity?
[02:37] <alsu> preferably without re-encoding the video
[02:39] <alsu> (that is, I want to collapse time, not insert still frames)
[02:41] <Aprel> alsu: you could try `-acodec copy -vcodec copy`. That will simply take the file and put it in a new container. Maybe ffmpeg will be smart with the timing in the process.
[02:41] <Aprel> Dunno if it will work, but might be worth a shot.
[02:42] <alsu> Aprel: nope. same property in the output file
[02:46] <alsu> converting to another format either keeps the artifact or inserts strange (transparent?) frames for the duration of the gap
[05:16] <salamanderrake> seems like the best place to ask, what is better webm or mp4 as far as quality or are they just container?
[05:31] <defaultro> hey folks, -loop_input doesn't work anymore
[05:34] <defaultro> -loop 1 worked
[05:38] <defaultro> what's wrong with this, it's only creating one frame? ffmpeg -i M000077.jpg -t 10 -loop 1 -r 24000/1001 -vcodec libx264 -crf 0 -preset veryslow last.mp4
[05:38] <defaultro> -t 10 from my old notes works
[05:41] <defaultro> got it working: ffmpeg -loop 1 -i M000077.jpg -r 24000/1001 -vcodec libx264 -crf 0 -preset veryslow -t 10 last.mp4
[07:53] <johnny22> does ffmpeg support timed metadata frames ?
[07:53] <johnny22> i basically would like to have ffmpeg create a mp4 out of 3 pipes: video, audio and data
[07:57] <johnny22> not sure what type of data, maybe it's side data or metadata
[08:37] <blippyp> I'm applying a filter to the same video, but I keep getting this error: "First input link top parameters (size 704x480, SAR 1:1) do not match the corresponding second input link bottom parameters (704x480, SAR 40:33)". Even though it's the same file. The filter is doing something to it or something. How can I fix this? The scale option for filtering is suppose to have a sar parameter, but when I use it, it complains that this option doe
[08:38] <johnny22> is it possible to pipe a live subtitle stream as input to ffmpeg ?
[08:38] <blippyp> FYI - the video is used as two input sources for the filter - I'm blending them both, one on top of the other (same file).
[08:39] <blippyp> Sorry johnny22, I don't know anything about that... :(
[08:40] <johnny22> m'ok
[08:41] <blippyp> To help elaborate on my issue - The video was recorded on my hand-held video camera, and even though it was recorded at 16:9 at a resolution of 640x480 - if that makes any sense to anyone - but when I watch it, the video is 704x480....
[09:32] <alsu> hm, ffmpeg -i rtmp://... doesn't seem to work nearly as well as flvsteamer -r rtmp://...
[09:33] <alsu> is rtmp support still maintained?
[10:23] <ilmenite> what inbuilt variable is available which returns the length of the [0:v] input ?
[10:25] <Mavrik> none afaik.
[10:26] <ilmenite> ah, nvm, i don't actually need to specify the length. I tried my command without the -t options
[10:26] <ilmenite> option*
[16:59] <blippyp> when doing any overlay with an alpha layer, there is a 'blending' effect that happens to the transparent areas - anyone know how to prevent this 'blending' and instead be completely transparent?
[17:00] <Fjorgynn> thank you
[17:00] <Fjorgynn> blippyp: blending?
[17:00] <blippyp> I'm using alphamerge/alphaextract...
[17:01] <blippyp> when I add the alpha image to a background, the 'transparent areas' have a blending effect - I'm doing a overlay filter...
[17:03] <blippyp> ffmpeg -i $backdrop -map 0:1 -i $backdrop -vf "movie=tmpCamera.mov, scale=$cameraX:$cameraY [vid2]; [in][vid2] overlay=$cx:$cy" -c:v libx264 -crf 17 -preset ultrafast -to $testTime -c:a ac3 $base
[17:04] <blippyp> that's the final overlay command that I'm using - The alpha transparency is working, except the transparent edges aren't 'completely' transparent...
[17:17] <blippyp> fixed it: http://ffmpeg.org/pipermail/ffmpeg-user/2013-April/014562.html
[19:16] <Ener2> hello, how do I scale a video with ffmpeg, if video has two streams and I want to scale both?
[19:19] <blippyp> Ener2: Not sure, my guess would be to use the -vf (scale) option... You will likely need to map the video streams
[19:19] <Ener2> I tried something like this:
[19:19] <Ener2> ffmpeg -i HNI_0020.avi -map 0:0 -map 0:1 -map 0:2 -s 480x240 -acodec copy output.avi
[19:20] <Ener2> but alas it has only one stream included
[19:20] <Ener2> and it even changed the video codec...
[19:20] <JEEB> unspecified = container-specific default that can be pretty much anything
[19:21] <JEEB> also you can't scale without re-encoding, just FYI
[19:21] <Ener2> I dont mind reencoding
[19:22] <Ener2> also it seems to be missing audio stream even though it is mapped...
[19:24] <blippyp> This is suppose to work: ffmpeg -i input1 -i input2 -c copy -map 0 -map 1 output.mkv - Change your containers
[19:24] <Ener2> blippyp: but I have only one source
[19:26] <blippyp> I just did it and it worked...
[19:26] <Ener2> huh?
[19:27] <Ener2> you have two inputs in your command, I have only one input video containing three streams, audio which I want to copy and two video streams which I want to scale...
[19:27] <blippyp> do this: ffmpeg -i HNI_0020.avi -copy -map 0:0 -map 0:0 -map 0:1 out.mkv (this should duplicate your video stream twice and add the audio as well I believe)
[19:28] <Ener2> unrecognized option copy
[19:28] <Ener2> but again, I dont want to duplicate stream
[19:30] <blippyp> then what do you want exactly - because your previous command suggest that...
[19:30] <Ener2> I have a video
[19:30] <Ener2> it has one audio stream and two different video streams
[19:30] <Ener2> (it is a 3D video)
[19:30] <Ener2> what I want is to scale both videos to 480x240
[19:31] <Ener2> because now they are 800x240
[19:31] <blippyp> k - hold on...
[19:31] <Ener2> sure
[19:33] <blippyp> k - I just did this and it worked: ffmpeg -i in.avi -map 0:0 -map 0:1 -map 0:2 -s 480x240 out.avi
[19:33] <Ener2> blippyp: it does, but it changes the codec...
[19:33] <blippyp> basically, exactly what you said previously...
[19:34] <blippyp> it worked for me fine
[19:34] <Ener2> it changes codec for me
[19:34] <blippyp> (i forgot to included the -c:a copy in my example - I used it when I tested it...
[19:34] <blippyp> yes it has to
[19:34] <Ener2> why?
[19:34] <blippyp> or at least, re-encode it - because you changed the video size
[19:34] <Ener2> sure but reencode to same codec...
[19:35] <blippyp> doesn't matter, it's not a copy
[19:35] <Ener2> http://pastebin.com/5rzjLrZp
[19:35] <blippyp> it has to re-encode it
[19:35] <Ener2> well codec matters to me otherwise video will be unplayable on the device
[19:35] <blippyp> then you have to re-encode them
[19:35] <Ener2> ugh three reencodes will make video ... unwatchable...
[19:36] <Ener2> cant I specify which codecs?
[19:36] <Ener2> to use
[19:36] <JEEB> yes
[19:36] <blippyp> yes
[19:36] <blippyp> c:v libx264 will encode in x264
[19:36] <JEEB> s/in x264/in H.264/
[19:36] <Ener2> hmm
[19:37] <Ener2> there is no codec mjpeg/mjpg...
[19:37] <blippyp> type ffmpeg -codecs to see a list of codecs you can use
[19:37] <blippyp> yes there is - it's mjpeg I believe
[19:37] <blippyp> Hmm, maybe not - I thought for sure I read about that being one...
[19:38] <Ener2> [NULL @ 04d601c0] Unable to find a suitable output format for 'mjepg' mjepg: Invalid argument
[19:38] <Ener2> err
[19:38] <Ener2> this
[19:38] <Ener2> NULL @ 04d201c0] Unable to find a suitable output format for 'mjpeg' jpeg: Invalid argument
[19:38] <blippyp> Maybe you have to re-compile ffmpeg to get mjepg working... I'm sure I read about it working... You probably just need to include it....
[19:39] <JEEB> wat
[19:39] <JEEB> Ener2, pastebin your full command line and output and link here
[19:39] <Ener2> d:\export>ffmpeg -i HNI_0020.avi -map 0:0 -map 0:1 -map 0:2 -s 480x240 -c:a -c:v mjpeg out.avi
[19:39] <Ener2> sure
[19:39] <JEEB> uhh
[19:39] <JEEB> see -c:a and -c:v right after it
[19:39] <Ener2> http://pastebin.com/gAGf0EFs
[19:40] <Ener2> hmm
[19:40] <JEEB> -c:a copy -c:v mjpeg maybe? :P
[19:40] <Ener2> hmm
[19:40] <Ener2> okay seems to be reencoding but
[19:40] <Ener2> I get this error:
[19:40] <Ener2> [avi @ 048ef420] Non-monotonous DTS in output stream 0:1; previous: 1485, curren
[19:40] <Ener2> t: 492; changing to 1486. This may result in incorrect timestamps in the output
[19:40] <Ener2> file.
[19:41] <Ener2> and no audio stream at all
[19:41] <Ener2> video streams are fine though
[19:41] <JEEB> once more pastebin kthx
[19:41] <Ener2> uhh I will try to catch it
[19:42] <JEEB> just push stdout and stderr to a file
[19:42] <JEEB> Ener2, http://stackoverflow.com/questions/1420965/redirect-stdout-and-stderr-to-a-…
[19:42] <Ener2> god knows how you do it in windows
[19:42] <Ener2> ah okay thanks
[19:43] <blippyp> got it working - I see what you did wrong - include an audio encoder
[19:43] <blippyp> you didn't in your example...
[19:43] <JEEB> I think we're like a mile past that :P
[19:43] <blippyp> ffmpeg -i video.avi -c:a ac3 -c:v mjpeg out.avi
[19:43] <Ener2> I would need
[19:43] <Ener2> adpcm_ima_wav
[19:44] <Ener2> to be specific
[19:44] <Ener2> adpcm_ima_wav ([17][0][0][0] / 0x0011), 48000 Hz, stereo
[19:44] <JEEB> which is -c:a copy
[19:44] <Ener2> which gives that error...
[19:44] <JEEB> thus, pastebin pl0x
[19:45] <Ener2> http://pastebin.com/QcfLJ3by
[19:45] <Ener2> stdout
[19:45] <JEEB> well yeah
[19:45] <JEEB> just use what I linked
[19:45] <JEEB> :P
[19:45] <JEEB> because ffmpeg outputs most stuff to stderr
[19:45] <Ener2> that is what I used...
[19:46] <JEEB> and if you got your warnings during encoding why did you exit when it asked about overwriting... -__
[19:46] <Ener2> d:\export>ffmpeg -i HNI_0020.avi -map 0:0 -map 0:1 -map 0:2 -s 480x240 -c:a copy
[19:46] <Ener2> -c:v mjpeg out.avi > a.txt 2>&1
[19:46] <JEEB> how am I supposed to help you for eff's sake
[19:46] <JEEB> ok, so you had stdout and -err there
[19:46] <Ener2> hmm well I am not sure when to exit actually
[19:46] <Ener2> I just exit after some delay
[19:46] <Ener2> but I guess I have to put in "y", sorry
[19:47] <Ener2> JEEB:http://pastebin.com/3HpCnnLt
[19:47] <JEEB> ok
[19:48] <Ener2> also I dont like those changes between reencodings
[19:48] <Ener2> like SAR DAR for mjpegs....H
[19:48] <Ener2> but might not be fatal for playback I suppose
[19:48] <JEEB> well
[19:48] <JEEB> you changed the aspect ratio of the picture
[19:48] <Ener2> okay
[19:48] <JEEB> thus the metadata will have to change as well
[19:49] <JEEB> that tells it to keep the original ratio
[19:49] <JEEB> naturally, with avi most things don't read that stuff from the video stream :P
[19:49] <Ener2> also video quality is horrible
[19:49] <JEEB> welcome to ffmpeg defaults
[19:50] <Ener2> along with no sound stream
[19:50] <JEEB> also those messages pretty much mean that the decoding timestamps (DTS) of the audio stream are somehow wonky o_O
[19:50] <Ener2> video has only 20fps though
[19:50] <Ener2> maybe that can throw it off?
[19:50] <JEEB> I see it writing the audio tho
[19:50] <Ener2> yeah but media player sees no audio stream
[19:50] <JEEB> audio:2462kB
[19:50] <Ener2> Video: MJPG 480x240 20.00fps [Stream 00]
[19:50] <Ener2> Video: MJPG 480x240 20.00fps [Stream 02]
[19:51] <JEEB> I think AVI had per-stream info for that
[19:51] <JEEB> so no, the frame rate shouldn't really matter
[19:51] <JEEB> it's a per-stream thing
[19:51] <Ener2> original file:
[19:51] <Ener2> Video: MJPG 800x240 20.00fps [Stream 00]
[19:51] <Ener2> Video: MJPG 800x240 20.00fps [Stream 02]
[19:51] <Ener2> Audio: IMA ADPCM 48000Hz stereo 128kbps [Stream 01]
[19:51] <JEEB> also if you want to make sure random players can handle it, I recommend you take it through virtualdub with copying audio and video
[19:51] <JEEB> that muxes in a way that MS things generally like
[19:52] <Ener2> actually it is for 3DS ...
[19:52] <Ener2> but I encoded original, which I already deleted to wrong size...
[19:52] <Ener2> thus the need for scale
[19:53] <JEEB> anyways, can't really say more about why the audio is wonky, and if it's an ffmpeg bug, or if it's something else
[19:53] <JEEB> you're in general doing it all right command-line wise
[19:56] <JEEB> but it most definitely is writing the audio stream there :)
[19:56] <Ener2> :(
[19:56] <Ener2> cat hear anything though
[19:56] <JEEB> so do see what remuxing that with vdub + audio and video set to copy does
[19:57] <JEEB> what did you create that thing you're inputting with btw?
[19:57] <JEEB> ffmpeg or something else?
[19:57] <JEEB> as in, should ffmpeg's avi output work as is on that nintendo thing?
[19:57] <Ener2> well it should
[19:57] <Ener2> I found a website with ffmpeg commands
[19:58] <Ener2> and it was fine except they had wrong resolution...
[19:58] <JEEB> funky
[19:58] <Ener2> https://javaz.org/2011/12/ffmpeg-convert-3d-video-for-nintendo-3ds/
[19:58] <JEEB> might want to report it over at the trac then I guess?
[19:58] <JEEB> with a sample that creates those DTS messages when you read it in and try to copy the audio
[20:00] <blippyp> do you guys have any experiene with alphamerge dropping frames - do you know any possible fixes? like switching to a different codec maybe? I'm usuing qtrle in a mov container currently, and it keeps dropping frames and messing up my final video...
[20:03] <blippyp> my only current solution at this time is to record a longer video sequence for that section and then re-encode when I'm done specifying a time before the video freezes, everything looks fine in the video, but that section just 'freezes' after a while...
[20:42] <alsu> can I overwrite the timecode in a file?
[20:43] <alsu> I think the timecode in this represents the live stream, but I tuned in about 3 hours in, so it thinks 3 hours of video is missing :/
[23:06] <Aprel> hi is there anyway to truncate an audio/video file in ffmpeg without de/reencoding it?
[23:07] <durandal_1707> Aprel: yes, not that you can truncate audio packets only not exact samples
[23:07] <durandal_1707> *note
[23:07] <Aprel> for ex: if I have a 4-hour aac-encoded mp4 file, and I'm only interested in the last hour, can I do that?
[23:08] <Aprel> durandal_1707: do you know the command?
[23:08] <Mavrik> use "copy" as codec.
[23:09] <Aprel> Mavrik: okay, then how do I specify to ffmpeg with portion of the file to cut out?
[23:09] <Aprel> ^what
[23:11] <Aprel> Okay, I'll check the docs, but is there a term I can search for for what I want to do? I didn't get far on google because 'cropping' seems to mean to cut out pixels, not frames. What is cutting frames called?
[00:00] --- Mon Jul 29 2013
1
0
[00:28] <durandal_1707> sorry for spam
[00:35] <durandal_1707> michaelni: if i want to mux qtrle into nut, shoult i add qtrle tag to nut.c or isom tags table to nut.c ?
[00:41] <michaelni> id say table to nut.c if this has no negative sideeffects
[00:42] <michaelni> also nut4cc.txt needs to be updated which needs a patch to be sent to nut-devel for discussion there
[00:45] <durandal_1707> i'm not going to subscribe to yet another mailing list nobody use
[00:46] <durandal_1707> also nut does not store bits_per_coded_sample anywher
[00:46] <llogan> nobody? then you won't have to worry about getting any messages from it
[00:46] <durandal_1707> and adding extradata handling in encoder/decoder and muxer smells wrong
[00:47] <durandal_1707> in this case extradata would just store bits_per_coded_sample
[00:48] <durandal_1707> llogan: why you do not comment other, bigger patch?
[00:49] <llogan> which one is the bigger patch?
[00:49] <durandal_1707> very big patch
[00:51] <llogan> sorry, but i don't know which one that is.
[00:52] <wm4> too bad
[00:52] <durandal_1707> llogan: one i sent the other day not this day
[00:53] <llogan> compand?
[00:57] <durandal_1707> and perspective, and whole doc/*
[01:42] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:8efe96ee6f3f: swscale/fill_rgb2yuv_table: fix default detection
[01:42] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:8720d3ac217e: avfilter/vf_scale: set in_color_matrix default to "auto"
[01:47] <wm4> michaelni: would it be possible to add ycgco to swscale?
[01:47] <wm4> that's really just a "why not", not a serious feature request
[02:03] <Compn> wm4 : got a sample ?
[02:14] <michaelni> everything is possible, i suspect its not trivial though
[08:59] <cone-368> ffmpeg.git 03Hendrik Leppkes 07master:779e6c2b985f: lavfi: add attribute_align_arg to all public entry points
[08:59] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:2fffc05f424f: Merge commit '779e6c2b985f2ad461a1ae704160822f97709ba7'
[09:05] <cone-368> ffmpeg.git 03Martin Storsjö 07master:1297f7b87f8a: rtpenc: Fix some odd comments
[09:05] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:5cb3d35dcc23: Merge commit '1297f7b87f8a84930a23eca705765c7c353dfcd5'
[09:12] <cone-368> ffmpeg.git 03Hendrik Schreiber 07master:b512360184ad: avio: Don't set the seekable flag if no seek function is provided
[09:12] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:103b8d876a86: Merge commit 'b512360184ade835fba621f5042d643fc9e2ee9d'
[09:18] <cone-368> ffmpeg.git 03Michael Kostylev 07master:80ade7985cd9: AIX: add support for shared builds
[09:18] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:e64dc86a13c0: Merge commit '80ade7985cd95156e2156f50adc7b86d0e43a07a'
[09:25] <cone-368> ffmpeg.git 03Martin Storsjö 07master:86f042dcabde: wtv: Make WTV_SECTOR_BITS a 64 bit constant
[09:25] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:902792852279: Merge commit '86f042dcabde2a5386dbd95ab0451b274987d253'
[09:52] <cone-368> ffmpeg.git 03Martin Storsjö 07master:979e9e8f3671: wtv: Drop some casts that now are unnecessary
[09:52] <cone-368> ffmpeg.git 03Michael Niedermayer 07master:e8023dbaf0db: Merge remote-tracking branch 'qatar/master'
[10:24] <ThePuppetMaster_> i try to recode a avi file into a mpeg file. but i get a error: Insufficient thread locking around avcodec_open/close() ... thats the full output: http://pastebin.com/SGn1UH3j .... can anyone tell me whats wrong, and how i can fix it?
[10:33] <michaelni> ThePuppetMaster_, check what is calling avcodec_open/close at the same time
[10:35] <michaelni> and if these calls are valid & intended to occur at the same time then set a lock manager with av_lockmgr_register
[10:35] <ThePuppetMaster_> well ... how i can check this? ... i'm only use mencoder ... i'm not develing in it ... but, i search in the source the point, where calling this output, but foudn a lot and i don't know whats the right
[10:36] <ThePuppetMaster_> and, avcodet lib is realy big :P
[10:37] <michaelni> a gdb backtrace from where the message is printed will tell you one of the 2 conflicting uses of avcodec_open/close
[10:37] <ThePuppetMaster_> can u give me a searchpoint for me?
[10:37] <ThePuppetMaster_> ok
[10:37] <ThePuppetMaster_> i try it
[10:49] <michaelni> also to find the 2nd one, you can make gdb print stacktraces on calls to avcodec_open/close, something like break avcodec_open // commands 1 // bt // continue
[10:56] <ThePuppetMaster_> well .. gdb is not my favorite .. .. its hard for me to use it
[10:56] <ThePuppetMaster_> but, it looks, my mencoder was compiled without -debug flags
[10:57] <ThePuppetMaster_> i only get adresses of the break
[10:57] <ThePuppetMaster_> like this #0 0x00007fffefa221b5 in ?? ()
[13:00] <durandal_1707> perhaps those failures with clang 2.9 are because of clang bug?
[13:16] <ThePuppetMaster> which?
[13:20] <ubitux> hey
[13:20] <ubitux> i'm alive
[13:20] <ubitux> i'm soon back on ffmpeg
[13:20] <durandal_1707> who are you?
[13:21] <ubitux> BBB / BBB-work is the vp9 prect still ok?
[13:21] <ubitux> durandal_1707 :D
[13:23] <ubitux> s/prect/project/
[13:23] <ubitux> anyway, 1st august i'm on the plane on my way back
[13:53] <saste> ubitux, hey!
[13:53] <saste> why, where are you this time?
[13:55] <ubitux> japan again saste
[13:55] <ubitux> lost in hokkaido :)
[13:55] <saste> eheh
[13:55] <ubitux> i love this country so much seriously...
[13:57] <JEEB> hokkaido seems nice
[13:57] <JEEB> TT is currently in Japan, too
[13:57] <durandal_1707> japan doesn't have internet?
[13:57] <JEEB> very little free wifi
[13:57] <JEEB> the only one I know is at the tokyo metro
[13:58] <JEEB> basically if you need internets your best bet is to buy a b-mobile (virtual operator on the NTT DoCoMo network) prepaid SIM card for data
[13:58] <JEEB> you don't need papers that you live in Japan for getting a data-only line, thank goodness
[13:58] <saste> JEEB, probably he has better things to do there than checking his emails
[13:59] <JEEB> haha, most probably :)
[13:59] <JEEB> still, people in Japan don't SMS
[13:59] <JEEB> they e-mail
[13:59] <JEEB> (because of the differing types of networks and the fact that you couldn't even send SMS to other networks within the same technological system until very lately)
[14:00] <JEEB> So, even if DoCoMo and SoftBank f.ex. both used W-CDMA for 3G, you couldn't still send SMS between these two until very recently IIRC :)
[14:00] <JEEB> and then you have au with CDMA2000rev0
[14:01] <JEEB> and willcom with le HPS
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:5efa5103b0e7: sgidec: simplify return path
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:997e2b59e354: sgidec: return meaningful error codes
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:86e722ab97d7: sgidec: safer check for buffer overflow
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:573018c61fad: lclenc: cosmetics: reindent
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:6dbcecd78e02: lclenc: allocate FF_INPUT_BUFFER_PADDING_SIZE for extradata
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:3ea5d01a12ed: escape130: make "chroma_vals" static
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:d9954ccff07b: targa: set pict_type
[14:05] <cone-656> ffmpeg.git 03Paul B Mahol 07master:88b071a47392: exr: set pict_type
[15:31] <cone-656> ffmpeg.git 03Michael Niedermayer 07master:5e763920a44f: avcodec/mpegvideo: update disabled assert() to av_assert0()
[15:31] <cone-656> ffmpeg.git 03Michael Niedermayer 07master:3adf054b22d6: avcodec/vorbisenc: change 6 asserts to av_asserts()
[15:45] <mateo`> is ffplay enable to use vaapi for decoding ?
[15:46] <JEEB> if it's a hwaccel, no -- those need extra code to use it from the using side
[15:47] <mateo`> would it be a good idea to add such code to ffplay ?
[15:54] <durandal_1707> JEEB: ut patch sent
[15:56] <JEEB> ah
[15:57] <JEEB> at a quick glance looks OK
[15:57] <JEEB> have to run to the Koff's park soon
[15:57] <JEEB> free sausages
[15:58] <ubitux> < JEEB> still, people in Japan don't SMS // there is some kind of gateway between the two afaict
[15:58] <ubitux> which is cool
[15:58] <JEEB> yeah, lately
[15:58] <ubitux> and for free internet mmh, guest houses & hostel have them :)
[15:58] <JEEB> well, yeah :)
[15:59] <JEEB> I just need e-mail when I'm mobile generally in Kantou
[15:59] <ubitux> i actually have internet access almost every day, but i'm busy wondering about where i can go the next day :)
[15:59] <JEEB> since phone calls are lolexpensive and I was stupid enough not to make a softbank prepaid back when I had the papers
[15:59] <JEEB> also I should have definitely made a bank account in '05
[15:59] <durandal_1707> ubitux: are you near sea or vulcano or nuclear reactor?
[15:59] <JEEB> they made the rules harsher in '06 and now it's quite herp derp
[16:00] <ubitux> durandal_1707: i did a few island, and passed along fukushima
[16:00] <ubitux> right now, i'm at sapporo, going down to tokyo, yukuri~
[16:00] <ubitux> no volcano this time
[16:01] <ubitux> but i went to aso last time
[16:02] <ubitux> not a single earthquake yet
[16:02] <ubitux> almost disappointed :(
[16:03] <JEEB> you get used to them rather quickly
[16:03] <JEEB> and most are like shindo 1-3
[16:03] <ubitux> i didn't get any
[16:03] <ubitux> well it's not like i've lived in a earthquake-area for 5 years but well
[16:04] <ubitux> anyway, gtg 'see ya
[16:24] <durandal_1707> how much log() is slow?
[16:51] <cone-656> ffmpeg.git 03Stefano Sabatini 07master:b4bd21b7fe2a: doc/codecs: fix dangling reference to codec-options chapter
[17:38] <wm4> has anyone tried this lavfi opencl stuff? does it actually help?
[19:01] <cehoyos> Compn: Hi, in case user hotwings reappears and asks about vdpau again, please ask him to test current MPlayer and send him to one of the mailing lists. (I don't even understand his question.)
[19:02] <BBB> ubitux: yes
[19:02] <BBB> ubitux: we start in about a week right?
[20:18] <BBB> durandal_1707: pretty awful
[20:18] <BBB> durandal_1707: you can get faster if you know limitations on use
[20:19] <BBB> e.g. lower precision, lower range, ec.
[20:19] <BBB> *etc.
[20:35] <durandal_1707> hmm, filter does log+exp for every sample which is pretty costly...
[20:35] <BBB> lol that sounds awful yes
[20:35] <BBB> try profiling it
[20:35] <mateo`> michaelni, durandal_1707: hi, do you think it would be acceptable to add a write_apic_packet function to the muxers ?
[20:51] <durandal_1707> BBB: for 44100 sample rate its fast enough....
[20:52] <durandal_1707> but 96000 would already be slow here
[21:07] <michaelni> mateo`, which muxers and what would the function do ?
[21:10] <cone-656> ffmpeg.git 03Tim.Nicholson 07master:84e345b38e58: Forward interlaced field information from mov to v210 decoder.
[21:10] <mateo`> michaelni: it would be implemented in all muxers which handle cover arts (mp3, aiff, flac, ...)
[21:11] <mateo`> michaelni: all packets from streams with AV_DISPOSITION_ATTACHED_PIC will be pushed into it
[21:12] <mateo`> so we have a "generic" way to handle thoses streams in muxer (and avoid a if block)
[21:12] <michaelni> sounds reasonable ...
[21:13] <mateo`> but as I said on the mailing list, since my goal is still to add this support in the mp4 muxer, it won't simplify the support for this muxer
[21:14] <mateo`> or at least all the instrusive part
[21:14] <michaelni> i think something should be done about the intrusive stuff
[21:17] <mateo`> me too, but without addind a mapping between stream indexes and track indexes, the only solution left, is to not consider apic streams as normal streams (and not reference them in s->streams)
[21:17] <mateo`> (afaik)
[21:18] <michaelni> if theres no good solution then we have to accept a not so good one :(
[21:18] <michaelni> iam not objecting to the intrusiveness if its the least problematic path
[21:20] Action: michaelni afk
[21:20] <mateo`> it seems to be the least problematic path without modifying the way attached pics are handled
[21:21] <durandal_1707> the current (iirc only?) patch on ml?
[21:22] <mateo`> durandal_1707: yes
[22:08] <cone-656> ffmpeg.git 03Paul B Mahol 07master:60a7fac61b81: utvideoenc: use av_image_copy_plane()
[22:23] <cone-656> ffmpeg.git 03Paul B Mahol 07master:0909f3edbdfa: zmbv: return meaningful error code
[22:54] <cone-656> ffmpeg.git 03Paul B Mahol 07master:9d099b9ae4b6: targa_y216dec: remove empty function
[22:54] <cone-656> ffmpeg.git 03Paul B Mahol 07master:6a574942040c: dpxenc: cosmetics: reindent
[22:54] <cone-656> ffmpeg.git 03Paul B Mahol 07master:94ad38e2e8a5: dpx: use av_image_copy_plane()
[23:09] <cone-656> ffmpeg.git 03Marton Balint 07master:63c0113588d6: lavc: do not override format if neither text nor bitmap codec prop is set
[23:09] <BBB> durandal_1707: define fast enough
[23:10] <BBB> durandal_1707: you make it sound like there is a specific threshold above which it is 100% ok and below which it is 0% ok
[23:10] <BBB> durandal_1707: I don't think that's how these things work
[23:10] <nevcairiel> fast enough = still works in realtime :P
[23:10] <BBB> durandal_1707: we should make it afap (as fast as possible), so that it can be used in combination with as many features combined on as many systems combined that are as low-power as possible
[23:10] <durandal_1707> well its 40x fast for 44100
[23:10] <Compn> cehoyos : hotwings is on irc, send him a pm
[23:10] <Compn> cehoyos : hes just not on this channel...
[23:11] <durandal_1707> BBB: i just removed log/exp and it was 10x slower (I did not scaled other numbers to get correct output)
[23:12] <BBB> you are trying to say log/exp made it faster?
[23:12] <BBB> or you mean log/exp is 90% of its runtime?
[23:13] <durandal_1707> no, i think its because long float multiplications are slower or faster depending on input
[23:13] <durandal_1707> i did not looked how much log/exp costs
[23:13] <BBB> hm...
[23:14] <durandal_1707> or its CPU...
[23:36] <saste> mmh saturday night, time for nerds to send patches...
[00:00] --- Sun Jul 28 2013
1
0
[00:12] <linemimic> Sorry, that script is broken. This one works: http://pastebin.com/q4X3GdM64
[01:49] <cxo> If I --enable-decoder=aac, I get undefined reference to av_dct_init/calc/end when make reaches ffmpeg_g
[01:50] <cxo> (using git as over yesterday)
[02:05] <cxo> hmm i did --enable-dct and that compile error stopped, but at runtime (ffprobe) i get the same error
[09:26] <Belliash> hi
[09:26] <Belliash> is it possible to pipe output of ffplay to ffmpeg ?
[10:19] <ThePuppetMaster_> hi @all
[10:19] <ThePuppetMaster_> i try to recode a avi file into a mpeg file. but i get a error: Insufficient thread locking around avcodec_open/close() ... thats the full output: http://pastebin.com/SGn1UH3j .... can anyone tell me whats wrong, and how i can fix it?
[15:23] <Eduard_Munteanu> Hi.
[15:25] <Eduard_Munteanu> Could anyone suggest a near-lossless video codec, other than H264? Somebody's going to send me a video, I'll convert it to H264, but quality needs to be reasonable and the file shouldn't be too large.
[15:26] <Eduard_Munteanu> I'll convert to H264, so I don't care about playback details like hw acceleration.
[15:26] <klaxa> h264 is probably the best lossly compression you'll get
[15:26] <JEEB> unfortunately x264's lossless is most probably gonna end up the smallest (a small exception with not so changing content is to just 7z raw YCbCr or something)
[15:27] <JEEB> also with lossy x264's H.264 at low crfs can be quite "visually similar" if lossless in any case is gonna be too big
[15:27] <Eduard_Munteanu> I see... they've already sent me a huge, 1GiB msvideo1-encoded crappy quality video. :)
[15:28] <JEEB> also this reminds me of asking for a lossless clip and I got raw RGB in mov :P
[15:28] <JEEB> packed into rar
[15:28] <klaxa> haha
[15:28] <Eduard_Munteanu> JEEB: in my experience something like crf 16 is manageable wrt size.
[15:28] <Eduard_Munteanu> And quite lossless.
[15:29] <zap0> quality is subjective.
[15:30] <JEEB> crf 16 would really depend on the resolution and content
[15:30] <Eduard_Munteanu> zap0: sort of... if you can prove humans can't distinguish, that sort of quality is rather objective
[15:30] <JEEB> in the end I don't like taking chances so I end up just using lossless (Ž
[15:30] <JEEB> f.ex. I remember encoding DVD rips with crf 16 at one point
[15:31] <JEEB> although the problem is general in the fact that when you encode SD and your screen resolution is way higher than that
[15:31] <JEEB> even small artifacts start popping up
[15:31] <zap0> HDD space is 20G/$
[15:31] <Eduard_Munteanu> JEEB: it's just a 30s video, lossless should be fine I guess
[15:31] <Eduard_Munteanu> Hopefully they manage to do that, I'm talking about a non-technical person.
[15:31] <JEEB> :D
[15:31] <zap0> sometimes putting it into pespective like that, loosing your work to safe 20c of HDD space doesn't make sense.
[15:32] <Eduard_Munteanu> (and using some Windows thingy)
[15:32] <JEEB> well, on windows most editors at least can handle VFW output
[15:32] <JEEB> so in the worst case you can use ut video or something
[15:33] <Eduard_Munteanu> JEEB: what's "ut video"?
[15:33] <JEEB> a Japanese lossless video format that has decoders and encoders in pretty much every imaginable framework
[15:33] <Eduard_Munteanu> Ah.
[15:33] <JEEB> supports 4:2:0, 4:2:2 and RGB
[15:34] <klaxa> i didn't know video codecs had nationalities :>
[15:34] <JEEB> well, it's made by a guy called umezawa, thus ut
[15:34] <klaxa> ah
[15:34] <JEEB> originally to work with captured game content
[15:35] Action: JEEB implemented the encoder in libavcodec, and fixed single-symbol mode in the decoder last year
[15:35] <Eduard_Munteanu> Can webm go lossless, I wonder?
[15:35] <JEEB> webm is a container which is a subset of matroska
[15:35] <JEEB> not sure if VP8 had a lossless mode
[15:36] <JEEB> at least it didn't have at start
[15:36] <Eduard_Munteanu> Er, VP8
[15:36] <JEEB> ...and I'm poking umezawa because his dyndns host seems to be down
[15:37] <JEEB> (I mostly like Ut Video purely because it's open source and has stuff for so many frameworks, VFW, DS, MF, QT (OS X)... and libavcodec)
[15:37] <durandal_1707> its libavcodec decoder/encoder slow?
[15:37] <JEEB> thus you can use it out of many video editors and thus just tell folk to use it and get lossless :D
[15:38] <JEEB> durandal_1707, I don't think it has much SIMD, but I wouldn't call it *slow* per se
[15:38] <Eduard_Munteanu> Hm, I see.
[15:38] <JEEB> I could frame thread the encoder I guess, but people want sliced threading
[15:38] <JEEB> which they then found out wasn't a good idea because of :reasons:
[15:39] <Eduard_Munteanu> I wonder if I should ask for raw video in a zip.
[15:39] <JEEB> the official windows version at least has a *lot* of SIMD
[15:39] <durandal_1707> also Ut Video have only key frames
[15:40] <JEEB> yeah, it's not meant for high compression
[15:40] <JEEB> but the fact it's available pretty much everywhere makes it viable
[15:40] <JEEB> as in, you can ask a random video editor guy to give you stuff in it in most cases
[15:40] <Eduard_Munteanu> Only keyframes is useful for synced playback, I ended up encoding stuff like that.
[15:40] <durandal_1707> compared to ffvhuff?
[15:40] <JEEB> because that guy just has to install the component for that OS and be done with it
[15:40] <JEEB> uhh
[15:41] <JEEB> ffdshow-tryouts is dead
[15:41] <JEEB> and there are no things for MF or QT (OS X)
[15:41] <JEEB> and there is no DShow encoder
[15:41] <JEEB> umezawa has been pretty busy with implementing his stuff on pretty much all the things
[15:42] <JEEB> also what colorspaces did ffvhuff support?
[15:42] <JEEB> but yeah, compression-wise it's similar to ffvhuff
[15:43] <durandal_1707> JEEB: you wrote ut encoder in libavcodec?
[15:43] <JEEB> yes
[15:43] <durandal_1707> then why it does not use memcpy?
[15:44] <JEEB> excuse me?
[17:21] <griddy> Hi guys, what is the purpose of providing video and audio config settings for a input feed of FFServer?
[17:22] <zap0> why not?
[17:24] <griddy> I understand the settings for reincoding your feed to a suitable output stream but why the feed settings. I am a noob:P
[17:45] <zap0> why not feed settings?
[17:46] <zap0> your quetsion is like, why is the sky above us
[17:50] <t4nk452> hi
[17:51] <t4nk452> getting the following error
[17:51] <t4nk452> Unrecognized option 'directpred'. Error splitting the argument list: Option not found
[17:52] <t4nk452> full error http://pastebin.com/gkRDenfV
[18:02] <Angelaaaaa> hola
[19:14] <sacarasc> What kinds of subtitles does MP4 support?
[19:28] <Plorkyeran> mpeg-4 timed text
[19:29] <Plorkyeran> afaik muxing anything else into mp4 involves converting it to ttext or stuffing it in a userdata atom
[23:47] <blippyp> durandal_1707 - thx for pushing me to you use blend yesterday - I finally figured it out - much faster - just wanted to say thanks...
[00:00] --- Sun Jul 28 2013
1
0
[10:43] <cone-300> ffmpeg.git 03Diego Biurrun 07master:6c145ecf785d: twinvq: K&R formatting cosmetics
[10:43] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:e28fabb4cbe5: Merge commit '6c145ecf785dc3d26ba3fed3ea9892cc80244625'
[10:49] <cone-300> ffmpeg.git 03Diego Biurrun 07master:4a2ef39442bf: cosmetics: Add '0' to float constants ending in '.'.
[10:49] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:af7949fdea2f: Merge commit '4a2ef39442bf7f0150db07a1fbfcf8286e4d44a3'
[10:57] <cone-300> ffmpeg.git 03Rainer Hochecker 07master:582963a81565: vdpau: Fix VC-1 interlaced mode
[10:57] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:bbc7d33a0d7d: Merge commit '582963a8156522582e55466be4a59974a8d909a5'
[11:08] <cone-300> ffmpeg.git 03Rémi Denis-Courmont 07master:93a51984a27f: mpeg12: Ignore slice threading if hwaccel is active
[11:08] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:5dc2c99055ae: Merge commit '93a51984a27f3ba84d4e6f13d0c704ee9891603e'
[11:20] <cone-300> ffmpeg.git 03Diego Biurrun 07master:03039f4c8cdb: miscellaneous typo fixes
[11:20] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:46ad2d9e4463: Merge remote-tracking branch 'qatar/master'
[12:07] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:6663205338f5: avformat/dtsdec: Improve probe, reject things looking like analoge signals
[12:34] <cone-300> ffmpeg.git 03Michael Niedermayer 07release/1.0:34dfb907b222: avformat/dtsdec: Improve probe, reject things looking like analog signals
[12:34] <cone-300> ffmpeg.git 03Michael Niedermayer 07release/1.1:a1ac3c2d9cff: avformat/dtsdec: Improve probe, reject things looking like analog signals
[12:34] <cone-300> ffmpeg.git 03Rémi Denis-Courmont 07release/1.2:70127070dd9f: mpeg12: Ignore slice threading if hwaccel is active
[12:34] <cone-300> ffmpeg.git 03Michael Niedermayer 07release/1.2:875649bfaef8: avformat/dtsdec: Improve probe, reject things looking like analog signals
[12:34] <cone-300> ffmpeg.git 03Rémi Denis-Courmont 07release/2.0:ccf470fdb6e3: mpeg12: Ignore slice threading if hwaccel is active
[12:34] <cone-300> ffmpeg.git 03Michael Niedermayer 07release/2.0:18043e3d2282: avformat/dtsdec: Improve probe, reject things looking like analoge signals
[13:35] <durandal_1707> shit some guy started to send our code to fork
[13:44] <Compn> gasp!
[13:45] <durandal_1707> they can change random thing and break compability when merged by michaelni, as it already happened multiple times
[13:47] <cone-300> ffmpeg.git 03Paul B Mahol 07master:2a1a599bcb2b: lavfi/buffersrc: remove unused item from BufferSourceContext
[13:52] <Compn> did they rename jp2k twice ?
[13:56] <Compn> looks like i have to find samples of imc mode 1 for kostya :)
[14:05] <cone-300> ffmpeg.git 03Hendrik Leppkes 07master:af2a196e669c: lavfi: add attribute_align_arg to all public entry points
[14:47] <wm4> ffmpeg can't decode a simple 16384x16384 png
[14:47] <wm4> Picture size 16384x16384 is invalid
[14:50] <durandal_1707> wm4: how you got such sample?
[14:50] <wm4> http://dl.dropboxusercontent.com/u/5321377/Sierpinski%20Gaskets/sierpinski1…
[14:53] <durandal_1707> you can actually display it with some other app?
[14:53] <nevcairiel> there is some odd overflow check in imgutils which i dont really understand
[14:54] <nevcairiel> it checks if (w+128)*(h+128) is > INT_MAX/8
[14:54] <nevcairiel> not sure why
[14:54] <nevcairiel> probably for the image buffer size
[14:54] <durandal_1707> remove that check, and try to display it....
[14:54] <durandal_1707> good luck
[14:55] <nevcairiel> i see no reason it doesnt work
[14:55] <durandal_1707> on 64bit computer and bunch of RAM, maybe
[14:55] <wm4> it did work with some image viewer
[14:55] <wm4> on a 32 bit system
[14:55] <wm4> (ok maybe there's some luck involved)
[14:56] <durandal_1707> what image viewer?
[14:56] <wm4> simple gtk based thing
[14:56] <durandal_1707> and it have whole decoded image in memory?
[14:56] <nevcairiel> rgba 16384x16384 only uses a gigabyte of memory
[14:56] <wm4> yes
[14:56] <nevcairiel> should be well in thel imits
[14:56] <durandal_1707> yes,
[14:56] Action: nevcairiel removes check
[14:57] <durandal_1707> function is flawed
[14:57] <wm4> anyway, I don't understand that check either
[14:57] <wm4> maybe 8 because there's a maximum of 8 bytes per pixel?
[14:57] <nevcairiel> possible
[14:57] <durandal_1707> rgba64 would take 2 gb
[14:58] <durandal_1707> but design is flawed anyway
[14:58] <nevcairiel> thats near the signed integer overflow, which it will try to protect against i guess
[14:58] <durandal_1707> as monow would take even less memory
[14:58] <wm4> int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
[14:58] <wm4> const int srcStride[], int srcSliceY, int srcSliceH,
[14:58] <wm4> uint8_t *const dst[], const int dstStride[]);
[14:58] <wm4> oh... ok.
[14:59] <wm4> so that's why INT_MAX
[14:59] <durandal_1707> is sws_scale able to scale it on 32/64 ?
[15:00] <wm4> it does support RGBA64 if you mean that
[15:01] <durandal_1707> no, i mean is it able to scale down that png...
[15:01] <nevcairiel> at least the decode error went away, sadly my video player refuses ebcause it wants to allocate 3 or 4 image buffers already, which obviously doesnt work on 32-bit :p
[15:01] Action: nevcairiel builds 64-bit
[15:03] <durandal_1707> another nice feature would be decoding and displaying only part of image (if bitstream allows it)....
[15:03] <durandal_1707> it could be useful with tiled tiffs and exrs and others....
[15:05] <nevcairiel> ha on 64-bit it displays, but my players uses 6gb of memory :P
[15:05] <JEEBsv> :D
[15:06] <nevcairiel> so yeah the check is a bit overzealous
[15:06] <nevcairiel> sadly it doesnt have the correct information in that function to do it properly
[15:08] <wm4> my player manages to display hat png (after removing the check), but only with vo_x11 (the most crappy output)
[15:09] <nevcairiel> all my outputs try to allocate too many image buffers to hold in 32-bit
[15:09] <nevcairiel> so they bail
[15:09] <nevcairiel> but i'll worry about that once a video actually triggers that problem :p
[15:11] <durandal_1707> switch to 64bit and get min 1024GB of RAM ASAP
[15:53] <cone-300> ffmpeg.git 03Paul B Mahol 07master:cf5ab8b6f716: vmnc: make code independent of sizeof(AVFrame)
[15:53] <cone-300> ffmpeg.git 03Paul B Mahol 07master:94372592767f: vmnc: check return values of reallocation
[15:53] <cone-300> ffmpeg.git 03Paul B Mahol 07master:3838637bbb14: yop: check return value of av_frame_alloc()
[16:05] <cone-300> ffmpeg.git 03Paul B Mahol 07master:2868035d951b: pcxenc: get rid of unused PCXContext
[17:04] <durandal_1707> ahh random failures
[17:07] <cone-300> ffmpeg.git 03Paul B Mahol 07master:a4b899f588bd: lavfi/gradfun: remove nv21/nv12 as they are not supported
[17:28] <saste> ffprobe writers are painful
[17:29] <cone-300> ffmpeg.git 03Paul B Mahol 07master:0addc8288045: avdevice/x11grab: use AV_OPT_TYPE_VIDEO_RATE
[17:29] <cone-300> ffmpeg.git 03Paul B Mahol 07master:2634af575c2d: avdevice/fbdev: use AV_OPT_TYPE_VIDEO_RATE
[17:29] <cone-300> ffmpeg.git 03Paul B Mahol 07master:7ac736afbd18: lavfi/frei0r: use AV_OPT_TYPE_VIDEO_RATE
[17:34] <durandal_1707> saste: how?
[17:35] <wm4> saste: how does an application handle libavfilter EOF correctly? calling av_buffersink_get_frame() in a loop until no more data is available doesn't seem to do the right thing
[17:46] <nevcairiel> wm4: i flush the graph with a NULL frame for av_buffersrc_write_frame and then poll get_frame until it doesnt give me anything anymore, seems to work
[17:49] <wm4> just av_buffersrc_write_frame(s, NULL)?
[17:49] <nevcairiel> yes
[17:50] <wm4> ok thanks
[17:50] <wm4> of course this is not documented
[17:50] <nevcairiel> i think i read the code to figure this out
[18:39] <durandal_1707> descriptions of frei0r filters is really obscure
[19:17] <cone-300> ffmpeg.git 03Paul B Mahol 07master:be7d6710b45c: lavfi/frei0r: use AV_OPT_TYPE_IMAGE_SIZE
[20:24] <cone-300> ffmpeg.git 03Paul B Mahol 07master:fdf9296df7f5: sgienc: remove unused SgiContext
[20:33] <durandal_1707> michaelni: mpegvideo.c still calls assert
[20:35] <cone-300> ffmpeg.git 03Paul B Mahol 07master:1fa0284c57fd: qcelpdec: change asserts to av_asserts
[22:38] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:c88bbc01eb7f: avcodec/mpegvideo: replace assert about interlaced EC by debug av_log()
[22:38] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:205f423e28bc: libavcodec/mpegvideo: change some asserts to av_assert0()
[22:41] <wm4> so... why NIH assert()?
[22:51] <michaelni> wm4, is there an existing system that could be used ?
[22:52] <michaelni> some asserts are in speed critical code, some are checking conditions that the author really wants to be checked because failure may have security implications and theres no speed effect of te extra check
[22:53] <michaelni> so more than just 1 assert function is needed
[22:55] <wm4> what's the security issue?
[22:57] <michaelni> wm4, i dont understand the question
[22:58] <wm4> also, any reason why vf_scale uses AVFrame.color_range but not AVFrame.colorspace?
[22:58] <wm4> well you said "failure may have security implications"
[22:58] <wm4> if the assert is not compiled?
[22:58] <michaelni> well an example of a security related assert would be "av_assert0(pics <= MAX_DELAYED_PIC_COUNT);"
[22:59] <michaelni> you would write out of array if that fails and isnt stoped there
[22:59] <wm4> ok...
[23:01] <michaelni> vf_scale does use AVFrame.colorspace
[23:01] <michaelni> inv_table = parse_yuv_type(scale->in_color_matrix, av_frame_get_colorspace(in));
[23:03] <wm4> hm, maybe it doesn't work for me
[23:04] <michaelni> you have to specify "auto" as colorspace, which i wanted to make default after more tests
[23:06] <wm4> ok it does work with auto
[23:06] <wm4> why does vf_scale has its own array of coefficients instead of using the swscale functions?
[23:14] <cone-300> ffmpeg.git 03Michael Niedermayer 07master:f3f4e133d6a0: avfilter/vf_scale: use sws_getCoefficients()
[23:26] <durandal_1707> checking pointer that points out of array is safe or not?
[23:42] <durandal_1707> do you want to review my cosmetics patches?
[23:44] <wm4> durandal_1707: AFAIK out of bound pointers are never safe... unless they point right at the end of the valid range
[23:46] <durandal_1707> i have 10 patches here
[00:00] --- Sat Jul 27 2013
1
0
[00:12] <salamanderrake> Ok I got it to work but now its just black
[00:14] <salamanderrake> terminal output http://pastebin.com/tTAHg7eq
[00:14] <salamanderrake> command http://bpaste.net/show/117407/
[00:14] <llogan> add -pix_fmt yuv420p as an output option
[00:16] <salamanderrake> thanks that helped
[00:17] <llogan> you should suggest that to the script maker
[00:30] <salamanderrake> I did
[00:30] <salamanderrake> still need to adjust the quality because of my isp
[00:31] <brontosaurusrex> salamanderrake, i don't think you should use crf and b:v in the same sentence
[00:32] <brontosaurusrex> its either one or another
[00:33] <salamanderrake> crf?
[00:34] <klaxa> i uh... salamanderrake, i would change your twitch-tv api key now
[00:34] <klaxa> since you pasted it publicly on pastebin
[00:34] <brontosaurusrex> salamanderrake, http://bpaste.net/show/117407/ , line 21?
[00:34] <salamanderrake> I know
[00:34] <klaxa> and it expires never
[00:34] <salamanderrake> how do I change it?
[00:34] <klaxa> there's some option for it, let me find it
[00:37] <salamanderrake> I'm good now
[00:38] <klaxa> did you find where to change it?
[00:53] <salamanderrake> klaxa, yah
[00:54] <salamanderrake> but now the script is broke again. lol
[01:25] <salamanderrake> the problem this time was positional
[08:16] <posciak> would anyone be able t ohelp me with open gop setting please? I can't seem to be able to produce a stream with SEI recovery instead of IDRs, which I think this is for.
[08:16] <posciak> I tried: ffmpeg -i in.mp4 -c:v libx264 -x264opts open_gop=1 -c:a copy out.mp4 and some variations of open_gop argument, but x264 keeps reporting "open_gop=0"... what am I doing wrong?
[09:09] <posciak> l
[10:42] <Belliash> hello
[10:44] <Belliash> id like to ask whats wrong with ffplay, or what do i do incorrectly?
[10:44] <Belliash> when i try to play a stream using rtmpdump, its playing fine using this command: rtmpdump -r rtmp://95.211.186.67:1936/live/nick?token=gxqZr6H70ga1UQ5HOMoRrA -W http://goodcast.tv/jwplayer/player.swf -p http://goodcast.tv
[10:45] <Belliash> but when i try to use ffplay for this, then i got error... here is the command: ffplay "rtmp://95.211.186.67:1936/live/nick?token=gxqZr6H70ga1UQ5HOMoRrA swfUrl=http://goodcast.tv/jwplayer/player.swf pageUrl=http://goodcast.tv"
[10:45] <Belliash> and here is the output: http://wklej.org/hash/92fa8d131ba/
[11:04] <Belliash> http://wklej.org/hash/1785aaa92f5/
[11:12] <pyBlob> http://pastebin.com/BJfc2bMf
[11:13] <pyBlob> getting a "operation not permitted", why?
[11:15] <spaam> you are not allowed to read that file..
[11:16] <pyBlob> can't think of having set up a read-restriction
[11:18] <spaam> its something with ffprobe.
[11:18] <spaam> not your file :)
[11:18] <spaam> i guess it just show the wrong error code.
[11:19] <pyBlob> what was the option to make ffprobe more verbose?
[11:20] <praveenmarkandu> hi. for some reasons my hls segments are not the same from .ts file to ts file
[11:31] <Belliash> any1?
[11:33] <saste> pyBlob, report on trac
[11:34] <saste> what the file is supposed to contain? what is "srf"?
[11:34] <saste> i mean in terms of stream formats
[11:34] <pyBlob> saste: it's probably because the file is encrypted or something like that ^^
[11:34] <saste> pyBlob, a return value of -1 is weird anyway
[11:35] <saste> especially since ffmpeg gives no indication of what's wrong with the file
[11:35] <pyBlob> it's the recording of my new samsung-tv
[11:36] <saste> pyBlob, create a ticket with the sample, at least we can improve the feedback
[11:36] <pyBlob> ... but I already thought that it isn't as easy as giving the file to ffmpeg/ffprobe
[11:37] <pyBlob> the sample is ~1.4GB ... curently I don't have a smaller one
[11:37] <saste> you can cut only the first few megs
[11:38] <pyBlob> I'll do that, when I've got time for that
[11:39] <pyBlob> ... the format itself seems to be an mpeg-transport-stream
[13:44] <blippyp> Hi everyone - I'm trying to join two video clips (basically, one is a background 'video' image and the other is smaller video centered on the screen) - I can do this fine, but I'm trying to set the top video (the smaller one centered on the screen) to have transparency... I can use the blend filter and what not, but I'm basically looking for a way to 'blend' the two images with the top one having a specified % of opacity - Anyone know h
[13:46] <blippyp> I haven't tried the fade filter - but my guess is that it's something like that, only without a fade in/out time - I want the fade to be permanent and constant...
[13:53] <blippyp> I think that the blend filter is what I want to use - but I can't figure out how to use the all_opacity option - so that I can set the alpha bit...???
[14:51] <zap0> how do you say "don't copy the meta data to the result file" >
[14:51] <zap0> ?
[15:04] <zap0> how do you create a .wav file?
[15:04] <durandal_1707> !doc
[15:07] <zap0> can anyone help?
[15:08] <blippyp> zap0: I don't think it does copy metadata by default - what command are you using?
[15:09] <zap0> blippyp an mp3 to a wav file. it copied meta data. so i'm trying to go via raw PCM, but now i'm having trouble getting it to make a wav file, i say out.wav as filename, yet it makes raw pcm file.
[15:11] <blippyp> hmm, not sure about that - if you man ffmpeg and search for 'meta' you will see a way to 'clear' each meta tag, but you will have to specify each tag...
[15:13] <zap0> too complicated. i'll just convert to raw, then back to wav.
[15:13] <durandal_1707> so you are still not going to read documentation?
[15:19] <zap0> thanks blip. i think i got it now.
[15:22] <durandal_1707> there is switch to disable metadata and it is mentioned in documentation
[16:13] <blippyp> if anyone was curious about my problem, the solution I just found was with using the geq filter...
[16:13] <durandal_1707> blippyp: geq is generic and thus very slow....
[16:14] <blippyp> I'm all ears if you have a better solution - geq is working....
[16:14] <durandal_1707> and you can also use overlay filter
[16:14] <blippyp> how?
[16:14] <blippyp> overlay doesn't have the option for opacity???
[16:16] <durandal_1707> its opacity is derived from alpha plane
[16:16] <durandal_1707> and you can set opacity with blend filter ....
[16:16] <blippyp> yes - so how do you set that using the overlay filter?
[16:17] <durandal_1707> i already told you, you modify alpha plane....
[16:18] <durandal_1707> alpha plane specify opacity for each pixel
[16:18] <blippyp> I played with the blend filter - no matter what I did this image was only 'barely' visible - I couldn't get one to show more than the other...
[16:18] <blippyp> I need an example - I obviously don't know what you mean...
[16:19] <durandal_1707> i do not know what you are actually really doing
[16:19] <blippyp> blending two videos - with one showing thru more than the other...
[16:20] <blippyp> Basically - two videos, one as a backdrop - the other to be resized as I want with opacity so that I can still see the background video thru it (but only barely)
[16:20] <durandal_1707> that is what blend filter do
[16:20] <durandal_1707> so your need give more precise description
[16:21] <blippyp> blend would only allow me to use a number between 0 and 1 and no matter what I set it to, both images were barely visible... maybe I was using it wrong, but I don't think...
[16:21] <blippyp> think so...
[16:22] <durandal_1707> you can do that with crop: crop what images you want to blend (and how to blend) and than overlay that overlays blended image on top of bigger one....
[16:22] <blippyp> that's what I did - i cropped it out and blended it with geq
[16:22] <durandal_1707> you can't blend wit geq...
[16:22] <blippyp> yes you can - I just did it
[16:22] <durandal_1707> geq can only "blend" with color
[16:23] <blippyp> there ya go...
[16:23] <durandal_1707> so you just blend something with background color, that is not much ....
[16:24] <blippyp> blend doesn't work right
[16:24] <durandal_1707> really?
[16:24] <blippyp> I literally tried pretty much everything...
[16:24] <blippyp> seriously
[16:24] <blippyp> both images were extremely transparent - I couldn't get one to be the 'parent' and show thru more
[16:25] <durandal_1707> then you did not cropped at all
[16:25] <blippyp> although I didn't play around with all_expr too much, perhaps that would have helped...
[16:25] <blippyp> not with blend I didn't
[16:25] <blippyp> maybe that was the 'key'
[16:25] <durandal_1707> also blend filter have expressions too, so you can do same as with geq, but much more than blending just static color
[16:27] <durandal_1707> but using combination of crop,blend and overlay may be faster
[16:27] <blippyp> brb, my kids up - I gotta go change here diaper and give her a bottle...
[16:31] <salamanderrake> the error trying to capture output from a window to put in a webm file http://pastebin.com/BBz0aMNT the script http://bpaste.net/show/117599/
[16:31] <salamanderrake> is the -s flag for video out a scale option?
[16:31] <pyBlob> I'm searching for an option that tells ffmpeg to start decoding at a specific frame ... but "-ss" or the other options seem to accept a timestamp only, not frames
[16:33] <zap0> pyBlob, what is a 'frame' ?
[16:34] <pyBlob> it's one image of the video
[16:34] <zap0> what is an image of the video?
[16:34] <durandal_1707> salamanderrake: that error is nonsense - there should not be such error at all....
[16:35] <salamanderrake> durandal_1707, really
[16:35] <pyBlob> zap0: so how would you call it?
[16:35] <salamanderrake> would it be a libvpx limitation?
[16:35] <zap0> pyBlob, call what?
[16:35] <salamanderrake> an image of a video is a frame
[16:36] <durandal_1707> you build it yourself?
[16:36] <salamanderrake> durandal_1707, gentoo
[16:36] <durandal_1707> salamanderrake: one thing i dont unerstand: why you scale to 1x480 image?
[16:36] <zap0> pyBlob, not being difficult. you really do need to think quite hard about this. the reason there is no 'frame', is because you define it as a point in time.
[16:37] <salamanderrake> thats what I got from here https://www.virag.si/2012/01/webm-web-video-encoding-tutorial-with-ffmpeg-0…
[16:37] <durandal_1707> salamanderrake: 1x480 is not watchable at all
[16:37] <salamanderrake> durandal_1707, what should I set that as?
[16:37] <salamanderrake> or drop it
[16:37] <durandal_1707> it is -1 not 1
[16:37] <pyBlob> zap0: that's the point ... I don't specify a framerate, so I also can't use the time to get the n-th frame of the video
[16:38] <salamanderrake> durandal_1707, so it should be -1:480 ?
[16:38] <durandal_1707> yes
[16:38] <durandal_1707> use your brain cells
[16:39] <salamanderrake> thanks
[16:39] <salamanderrake> and learn to read
[16:39] <salamanderrake> cause its right there
[16:39] <zap0> pyBlob, you can't get the "what?-th" of the video? you are going in circles cause you still think a 'frame' is something a video has.
[16:40] <blippyp> pyBlob: http://superuser.com/questions/459313/how-to-cut-at-exact-frames-using-ffmp…
[16:40] <pyBlob> -.-
[16:41] <blippyp> Also, you cannot copy, you MUST re-encode the video to do precision cuts...
[16:42] <zap0> pyBlob, do you `get it` yet?
[16:44] <pyBlob> that's what I've figured out too, so there is no straightforward way to do that, even if there is no audio in the video?
[16:45] <zap0> audio is irrelevant.
[16:45] <pyBlob> nice
[16:49] <salamanderrake> with the script I showed you and the fix I got no audio
[16:49] <pyBlob> with "-vframes" you can specify how many frames should be recorded, why isn't there something similar to specify the start-offset using a framecount?
[16:50] <pyBlob> theoretically I could use "-r 1 -ss <framecount>"?
[16:50] <durandal_1707> salamanderrake: that is probably not ffmpeg issue
[16:51] <salamanderrake> I get audio with other scripts
[16:51] <salamanderrake> if anything its vorbis
[16:52] <salamanderrake> the streaming script http://bpaste.net/show/117609/
[16:53] <blippyp> -ss num is the miliseconds - not framecount...
[16:54] <pyBlob> ooops ... so I have to set -r to 1000
[16:55] <blippyp> -r is your framerate, you don't want it at 1000
[16:56] <salamanderrake> and the video is like altra fast
[16:57] <durandal_1707> salamanderrake: with rtmp or with webm?
[16:59] <salamanderrake> ohh sorry with webm
[16:59] <salamanderrake> I changed the fps and it made it wors
[16:59] <salamanderrake> *worse
[17:01] <durandal_1707> salamanderrake: set -framerate for x11grab
[17:01] <durandal_1707> default one is ntsc
[17:01] <salamanderrake> oh ok
[17:01] <durandal_1707> so if you record at ntsc and than trascode to !ntsc funny things happen
[17:02] <salamanderrake> what about this -quality option I can not find it in the wiki
[17:02] <salamanderrake> sorry this is the webm wiki not the ffmpeg wiki http://wiki.webmproject.org/ffmpeg
[17:03] <durandal_1707> look at libvpx wrapper documentation...
[17:08] <salamanderrake> what is the scale for 16:10 ?
[17:09] <salamanderrake> the -vf scale=-1:1.6
[17:09] <durandal_1707> salamanderrake: there is documetnation for scale filter
[17:10] <durandal_1707> where -1 thing is explained....
[17:10] <durandal_1707> and bunch of others nice features
[17:13] <salamanderrake> reading the wrong page then http://trac.ffmpeg.org/wiki/Scaling%20(resizing)%20with%20ffmpeg
[17:13] <durandal_1707> what is wiki
[17:14] <salamanderrake> https://ffmpeg.org/ffmpeg-filters.html#scale is what I am looking fore
[17:14] <salamanderrake> *for
[17:15] <salamanderrake> so I basicly don't need it unless I am resizing it
[17:16] <durandal_1707> yes
[17:29] <salamanderrake> I set the fps back to 25 fps for the x11grab and its still plays fast.
[17:32] <salamanderrake> here is the new script http://bpaste.net/show/117623/
[17:48] <durandal_1707> salamanderrake: you still do not set framerate at wich you record
[17:49] <durandal_1707> default framerate at which x11grab records is ~30
[17:49] <durandal_1707> reported as 29.97
[17:50] <durandal_1707> i already said that -framerate cotrols fps at which x11grab records
[17:50] <durandal_1707> and same one is already explained in, guess where, documentation
[18:02] <gerion> https://github.com/OpenHEVC/openHEVC just discovered, is this known? maybe this could be used to implement hevc nativly in ffmpeg
[18:03] <gerion> openHEVC is an open source compliant HEVC video decoder created as a fork of Libav for research purposes
[18:03] <JEEBsv> gerion: openhevc's decoder is smarter's :P
[18:04] <JEEBsv> they just hacked on it :D
[18:04] <JEEBsv> and smarter is on #ffmpeg-devel and #libav-devel
[18:04] <JEEBsv> so yes, it is known
[18:04] <gerion> JEEBsv: ah ok
[18:04] <JEEBsv> the problem with openhevc folk was that they basically only cared about their herpy derpy API
[18:04] <JEEBsv> thus breaking compatibility with normal libavcodec in all ways possible
[18:05] <JEEBsv> lately they finally started backporting their changes into proper libavcode
[18:05] <JEEBsv> *libavcodec
[18:05] <JEEBsv> (the libav repo under openhevc)
[18:07] <gerion> nice to know, that there are efforts ;)
[18:21] <salamanderrake> thanks I missunderstood what you said earlyer
[18:22] <salamanderrake> oh and there is audio now.
[18:42] <sekh> hi
[18:42] <sekh> can you help me, I'm trying to use the alsa output of ffmpeg
[18:43] <sekh> I'm not sure of how to use it
[18:43] <sekh> ffmpeg -f lavfi -i aevalsrc="0::duration=10" -f alsa -
[18:44] <sekh> thanks, but I already read it
[18:47] <sekh> https://pastee.org/dmb2h
[18:51] <pfloyd> When I use -vf "transpose=1" the resulting video is all black. full command line is: ffmpeg -y -i in.mp4 -vf "transpose=1" out.mp4 and this is the latest ffmpeg as of a few mins ago and a fresh git clone (ffmpeg version N-54954-g7ac736a)
[19:00] <durandal_1707> pfloyd: what you use to play?
[19:00] <pfloyd> it's just windows media player. I suppose I could try vlc
[19:02] <pfloyd> it does play in vlc, hmm
[19:09] <sekh> I finally found how to do it, but it's not clear in the documentation http://ffmpeg.org/ffmpeg-devices.html#alsa :-)
[19:10] <sekh> maybe just a link to the input alsa format can be useful
[19:10] <sekh> (about the syntax)
[23:05] <linemimic> I made a simple script for streaming a video file with ffmpeg or avconv: http://pastebin.com/4ypbkNDh3
[23:29] <Fjorgynn> Dang!
[23:29] <Fjorgynn> linemimic: :)
[23:31] <linemimic> :)
[00:00] --- Sat Jul 27 2013
1
0
[00:59] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:6db57fa8bc1a: avcodec/mjpegdec: Support RGBA lpegs
[01:00] <durandal_1707> what is lpegs ?
[01:08] <Compn> ljpegs
[01:09] <durandal_1707> no its not, its typo
[01:11] <durandal_1707> michaelni: what is J thing commented out?
[01:13] <durandal_1707> also if i do conversion with scale filter from non YUVJ to YUVJ will it do right conversion now (without any additional options)?
[01:17] <durandal_1707> color_range is not used by scale filter, but ideally it should be used with 'auto' ....
[01:21] <michaelni> YUVJ->YUVJ should work
[01:21] <durandal_1707> not YUVJ aka YUV -> YUVJ
[01:21] <michaelni> that should work too
[01:36] <durandal_1707> michaelni: i think subsampled yuv should not be hard to add to j2kdec
[01:40] <durandal_1707> BuxiNess: does jpeg2000 performance matches libopenjpeg or its still worse?
[01:41] <j-b> matches, IIRC
[02:09] <axorb> hey guys, I'm modifying the mp3 encoder to include a guess of the total number of frames
[02:09] <axorb> how would I go about getting the input duration?
[02:10] <axorb> I'
[02:10] <axorb> I'm dealing with streams here so it can't be 100% accurate, I just want to provide the user with something rather than default to 0
[02:15] <michaelni> axorb, see AVDurationEstimationMethod
[02:15] <axorb> neat, thanks
[02:25] <axorb> actually, I don't understand how the encoder and decoder interact
[02:26] <axorb> I've got an AVFormatContext, but the duration is not set because it isn't used when encoding
[02:26] <axorb> somebody I need to get the length from the decoder but I'm looking for examples but not finding anything yet
[02:27] <axorb> somehow* and*
[02:53] <axorb> yeah, all of the AVFormatContext is empty and there isn't enough in AVCodecContext
[02:54] <axorb> I'm just trying to make it automatic, but I guess I can just have the user pass in the duration
[02:55] <axorb> I don't understand the workflow enough at the moment to do it properly
[03:01] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:a7e45cfa1185: swscale/sws_getColorspaceDetails: dont fail for non yuv
[03:01] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:5156d482cd60: avfilter/vf_scale: use the inputs color range when its set and its not overridden
[09:20] <BuxiNess> durandal_1707, j-b, Now jpeg2000 quicker
[09:20] <BuxiNess> But not all pathces for speed up pushed yet
[09:20] <BuxiNess> mainly SSE stuff
[10:22] <cone-532> ffmpeg.git 03Martin Storsjö 07master:54ba52077c96: arm: Comment out unused labels in simple_idct_arm
[10:23] <cone-532> ffmpeg.git 03Michael Niedermayer 07master:0815b230628e: Merge remote-tracking branch 'qatar/master'
[16:19] <durandal_1707> michaelni: recent filter change introduced bunch of errors in valgring full fate box: http://fate.ffmpeg.org/report.cgi?time=20130725053855&slot=x86_64-archlinux…
[16:26] <wm4> saste: how do I handle EOF correctly with libavfilter? just calling av_buffersink_get_frame() until no frame is returned doesn't seem to work
[16:33] <durandal_1707> saste: will program thing for ffprobe be finally committed?
[16:38] <xlinkz0> can ffmpeg be built using something other than gcc?
[16:38] <durandal_1707> xlinkz0: yes
[16:39] <xlinkz0> clang?
[16:39] <Plorkyeran> clang, icc, msvc (with the help of c99conv)
[16:39] <Plorkyeran> maybe the dumb sun compiler?
[16:40] <cptspiff> that would surprise me ;)
[16:42] <xlinkz0> damn apple llvm-gcc is old as shit doesn't support thread local
[16:42] <nevcairiel> I think suncc even works
[16:43] <nevcairiel> http://fate.ffmpeg.org/history.cgi?slot=x86-opensolaris-suncc5.10 found a fate box with it :D
[17:15] <cone-532> ffmpeg.git 03Michael Niedermayer 07master:6bde1e9d14ff: avfilter/avfiltergraph: fix check using the wrong variables
[17:15] <cone-532> ffmpeg.git 03Michael Niedermayer 07master:de0a1f63dff9: avfilter/can_merge_formats: fix memleak
[17:21] <ramiro> saste: hi!
[17:22] <ramiro> where's the best place to document that change I sent for img2enc?
[17:22] <durandal_1707> doc/muxers.texi
[18:17] <aballier> avformat_query_codec for ticket 2209 ?
[18:51] <durandal_1707> cehoyos best of the best ^
[19:50] <llogan> durandal_1707: where did you find that sample (ticket 2810)?
[20:02] <durandal_1707> llogan: iirc superuser something
[20:02] <durandal_1707> by using google
[20:02] <durandal_1707> searching for something unrelated....
[20:07] <durandal_1707> http://stackoverflow.com/questions/17809407/ffmpeg-cannot-open-a-simple-mic…
[20:07] <durandal_1707> i did not checked is this because of file size or something else ...
[21:57] <durandal_1707> stop the spam
[22:14] <cone-400> ffmpeg.git 03Reuben Martin 07master:4a60df2d35e7: avformat/gxfenc: Added support for writing correct auxiliary data for DV streams.
[22:23] <durandal_1707> do not use past tense in log messages
[22:42] <cone-400> ffmpeg.git 03Paul B Mahol 07master:fd84b6fd3389: lavu/opt: show default values for AV_OPT_TYPE_PIXEL_FMT and AV_OPT_TYPE_SAMPLE_FMT too
[23:16] <durandal_1707> beastd: no more logo contest?
[23:16] <beastd> hi
[23:16] <llogan> durandal_1707: you complained about it too much
[23:17] <durandal_1707> ahh, you mean that airplane thing :)....
[23:17] <cone-400> ffmpeg.git 03Carl Eugen Hoyos 07master:8ca3766f007d: Allow native compilation on the iPhone.
[23:17] <beastd> it was a bit unfortunate this time. but i plan to restart in autumn
[23:17] <cone-400> ffmpeg.git 03Carl Eugen Hoyos 07master:9375879d5702: Show max bitrate for mpeg2 video streams in avcodec_string().
[23:17] <cone-400> ffmpeg.git 03Michael Niedermayer 07master:1af921196fbc: Merge remote-tracking branch 'cehoyos/master'
[23:19] <llogan> if we resume i'd like to see more submissions per contest, but i'm unsure of the best way to do that.
[23:21] <beastd> durandal_1707: i was also thinking about your request about different sizes. and you mentioned you would also consider a new different logo. i don't want to have submissions that use a logo that will be changed.
[23:22] <beastd> OTOH: if we would really decide to vote for a new logo the contest/search should be opened for month anyway. so i think autumn banner contest can be done anyway with the current logo.
[23:22] <durandal_1707> well idea about new logo is just that, if others prefer curren 3d one.... i not going to insist
[23:23] <beastd> agreed. a single person shouldn't decide about that anyway.
[23:26] <beastd> we also should bring up logo licensing once again. i think e.g. one of the CC licenses should actually be suitable. i would like to present all logos on a wiki page so visitors can look at them and download them under a clear legal conditions (as clear as legal gets that is).
[23:30] <beastd> maybe by-nc-sa 3.0
[23:33] <llogan> the 3d logo is troublesome for some printing
[23:33] <beastd> ack
[23:38] <llogan> also usage of a free font should be a requirement if there is a new logo. it's restrictive to only be able to work with text outlines because herve never said what typeface he used and he never responded to my questions.
[23:38] <durandal_1707> i looked at photo of those stickers and they are ugly
[23:38] <llogan> what's ugly about them?
[23:38] <durandal_1707> or maybe it was low resolution....
[23:39] <llogan> i already mentioned in the RFC stickers that the printing quality could have been better if that is what you are referring to.
[23:41] <llogan> beastd: you should have michaelni send you some stickers since you attend the conventions (thilo sent him too many)
[23:41] <beastd> ok
[00:00] --- Fri Jul 26 2013
1
0
[00:00] <axorb> hey guys, I'm transcoding a flac file to mp3, writing to a pipe
[00:00] <axorb> I need to pass along the total duration of the file
[00:02] <axorb> if outputting to a file, the duration tag/header/? is properly set
[00:07] <axorb> just a bit of explanation, I'm transcoding large flac files to mp3 and serving them with chunked-transfer (no content-length)
[00:07] <axorb> so the player doesn't know the total duration because we didn't write a header of any sort
[00:08] <axorb> I'd like to force ffmpeg to write the duration at the start, possibly calculated from ffprobe
[00:09] <klaxa> mp3 is rather headerless afaik
[00:10] <axorb> "For seekable output the muxer also writes a Xing frame at the beginning, which contains the number of frames in the file. It is useful for computing duration of VBR files."
[00:10] <klaxa> it would be metadata
[00:10] <klaxa> ah
[00:10] <axorb> so I need to fake that frame
[00:10] <klaxa> nvm then, all mp3 i messed with was just frames glued together
[02:12] <Keshl> Anyone see this? http://www.tomshardware.com/reviews/x265-hevc-encoder,3565.html
[02:13] <klaxa> yeah seen it
[02:13] <klaxa> saw a thread on /a/ Daiz was being autistic again too
[02:19] <llogan> mercurial and cmake. not interested.
[02:19] <Samus_Aran> does anyone have any tips about encoding PNG frames from a 2D animation app (zero video noise) into a very high quality AAC/AVC? looking for almost lossless
[02:19] <Samus_Aran> the video is 1080p/60
[02:20] <Keshl> Samus_Aran: Firstly, don't use VLC to play it. It introduces noise unless you go OCD on the encoder settings.
[02:21] <Keshl> Hug http://mpc-hc.org/ instead.
[02:21] <klaxa> Keshl: wtf, that's... not what he asked at all
[02:21] <Keshl> I do 2D work sometimes too, sort of.
[02:21] <Keshl> klaxa: Getting there.
[02:21] <Samus_Aran> well, I don't get to choose the app people play it on
[02:21] <Keshl> Now, assuming you use basically anything but VLC, you can get by using X264 with a crf of 23, pretty much.
[02:21] <Keshl> If you think they might, you need to bring the CRF to like, 10 or less. x.x
[02:22] <Samus_Aran> I'll be upping them to YouTube, but the original will be downloadable
[02:22] <llogan> https://trac.ffmpeg.org/wiki/x264EncodingGuide
[02:22] <llogan> https://trac.ffmpeg.org/wiki/AACEncodingGuide
[02:23] <klaxa> ah also, re: x265, on my system it produces a floating point exception
[02:23] <Keshl> o.O' How come everyone keeps dialing the wrong number with me?
[02:23] <Keshl> Wrong window.
[02:23] <klaxa> didn't bother to run it through gdb after that, though
[02:23] <llogan> Samus_Aran: for youtube: ffmpeg -i input -codec:v libx264 -crf 18 -codec:a copy output.mkv
[02:26] <llogan> for download: ffmpeg -i input -codec:v libx264 -crf <up to you> -preset <choose one> -tune animation -pix_fmt yuv420p -codec:a libfdk_aac -vbr 4 output.mp4
[02:29] <Samus_Aran> llogan: why would they be different for YouTube or download? doesn't YouTube re-encode everything received?
[02:29] <Samus_Aran> I may just upload it to YouTube in 4K format, as YouTube now seems to support sizes above 1080p
[02:36] <Samus_Aran> why does -vbr 5 only encode to 80-96 Kbps?
[02:36] <Samus_Aran> that seems excessively low for full quality
[02:37] <Samus_Aran> my audio is in 24bit/96KHz
[02:39] <Samus_Aran> how do you disable the -cutoff?
[02:49] <mAGiC69> Hi, when using 2 passes I see that options I pass are not used, for example: -me_method and -trellis. Am I doing something wrong that overrides the command line ? these are the command i'm running: ffmpeg -y -i input.mp4 -pass 1 -b:v 6000000 -ab 192000 -s 1920x1080 -passlogfile 1passlog -vcodec libx264 -g 90 -bf 3 -refs 1 -b_strategy 2 -coder 1 -qmin 10 -qmax 51 -sc_threshold 40 -flags +loop -me_range 16
[02:49] <mAGiC69> -me_method dia -subq 2 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -direct-pred 3 -trellis 1 -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -r 48 -keyint_min 25 -wpredp 2 -acodec libfaac -ar 44100 /output.mp4
[02:49] <mAGiC69> ffmpeg -y -i input.mp4 -pass 2 -b:v 6000000 -ab 192000 -s 1920x1080 -passlogfile 1passlog -vcodec libx264 -g 90 -bf 3 -refs 1 -b_strategy 2 -coder 1 -qmin 10 -qmax 51 -sc_threshold 40 -flags +loop -me_range 16 -me_method umh -subq 2 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -direct-pred 3 -trellis 2 -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -r 48 -keyint_min 25 -wpredp 2 -acodec libfaac -ar 44100 -movfl
[02:49] <mAGiC69> ags faststart /output.mp4
[04:51] <mxmader> hello - just have a documentation update for you - WRT https://trac.ffmpeg.org/wiki/CompilationGuide
[04:52] <mxmader> when compiling libx264 on fedora (18), i needed to add "perl-Digest-MD5" to the list of RPMs
[04:52] <mxmader> apologies - the URL in question is https://trac.ffmpeg.org/wiki/CentosCompilationGuide
[05:05] <mxmader> previously, the above would cause libx264 compilation to fail, and cascading that failure to ffmpeg itself.
[05:05] <mxmader> it's compiling successfully now...
[12:16] <smadamr> Anyone have some resources for learning the difference between -b:a and -ar flags?
[12:23] <relaxed> smadamr: -b:a sets the bitrate and -a:r sets the sampling rate.
[12:24] <relaxed> er, I think you meatn -ar
[12:24] <relaxed> meant*
[12:24] <relaxed> or maybe -r:a
[12:25] <relaxed> oh, someone needs sleep
[12:26] <smadamr> cool thanks....yea we all need sleep sometimes ^_^
[13:53] <t4nk915> hi
[13:54] <t4nk915> does anyone know how to set timeout value in the arg list when I start ffmpeg?
[13:54] <t4nk915> I mean http timeout
[13:54] <t4nk915> for example
[13:54] <t4nk915> my ffmpeg command is :ffmpeg -loglevel debug -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i /dev/video1 -vcodec copy http://localhost:8090/feed2
[13:55] <t4nk915> then how to add http timeout value in agr list?
[13:55] <t4nk915> any idea?
[14:12] <smadamr> i'm converting speex to aac and have clicking and popping at the start of the stream, after the conversion. Anyone seen this before?
[14:13] <durandal_1707> smadamr: what aac encoder you use?
[14:14] <smadamr> originally plain, built-in aac, then I realized that could have been the problem and have changed to libfdk_aac
[14:14] <smadamr> still, the popping/clicking occurs though
[14:23] <durandal_1707> smadamr: what sample rate?
[14:24] <smadamr> the original sample rate is 16000, i've converted to 16k and to 44100 - just for some experimenting to see if it helped
[14:25] <smadamr> the strange thing is that I can convert speex -> vorbis without clicks, and then vorbix -> aac without clicks, but speex->aac always gives clicks
[15:16] <luc4> Hi! When muxing, how do I tell ffmpeg what kind of muxer to use? I'm reading the muxing.c sample code, but it seems the container is set according to the extension of the output file. But if I tried to mux into a buffer? How can I specify the container to use?
[15:16] <klaxa> luc4: -f <container>
[15:17] <ItsMeLenny> is there a way to copy just one video stream?
[15:17] <luc4> klaxa: sorry, I'm referring to libavformat
[15:17] <klaxa> for example: ffmpeg -i <input> -c copy -f matroska pipe: | <matroskaplayer>
[15:17] <luc4> klaxa: not the ffmpeg executable
[15:17] <ItsMeLenny> and does specifying the output file name with extension automatically detect the container
[15:17] <klaxa> ah... hmm... dunno
[15:19] <klaxa> ItsMeLenny: you can copy only one video stream if you use -map
[15:19] <klaxa> for example to copy the first video stream and the second audio stream use: ffmpeg -i <input> -map 0:v:0 -map 0:a:1 <output>
[15:20] <klaxa> ah needs -c copy too
[15:20] <klaxa> and yes ffmpeg will try to detect the correct container according to the output filename's extension
[15:21] <ItsMeLenny> ah sweet
[15:21] <ItsMeLenny> i'll try that now
[15:22] <ItsMeLenny> i just found that a video i had contained 4 different quality versions within it :P
[15:24] <ItsMeLenny> hmmm doesnt seem to be working for me
[15:24] <klaxa> maybe your ffmpeg version is too old?
[15:25] <Fjorgynn> probably
[15:28] <ItsMeLenny> "Failed to set value 'copy' for option 'c'", also i'm actually using avconv
[15:28] <ItsMeLenny> (ubuntu)
[15:28] <ItsMeLenny> "Unrecognized option 'c'"
[15:30] <ItsMeLenny> ah i think i got it
[16:08] <luc4> Hi! Anyone with experience with avformat_alloc_output_context2? I'm using that function with a output file name and after muxing, the result is correct. When instead I pass a AVOutputContext created with av_guess_format, I get a result almost identical, apart from a couple of bytes, but the file does not play with vlc.
[17:04] <luc4> Anyone able to write muxed frames using the callbacks instead of writing to file directly? It seems that slightly different data is passed when the callbacks are used.
[18:16] <luc4> Is the write callback for avio supposed to do something particular before writing the resulting video file?
[20:09] <rurtle> Hey guys
[20:10] <rurtle> I'm trying to write a skeletal app for displaying rtsp streams from a cam connected over lan
[20:10] <rurtle> *LAN
[20:11] <rurtle> I've already compiled the ffmpeg for target platform and it gave out the ffmpeg so file just fine
[20:11] <rurtle> can anyone suggest some pointers/links/documentation on how to write JNI wrapper for it
[20:12] <rurtle> I'm absolutely new to android development
[20:12] <rurtle> Will really appreciate your help on this matter
[20:22] <rurtle> BTW, I missed the fact that the app is for Android (ICS)
[20:35] <mkrufky> recent android has its own api for multimedia playback... i dont think u need to deal w ffmpeg
[20:39] <rurtle> Yeah, right. However, the usage of native api's resulted in flicker in real-time streaming from IP cam
[20:40] <rurtle> Also, I may have to make it to work for some earlier versions as well
[20:40] <mkrufky> my guess is that you'll get better results debugging the media content to figure out why it plays weird on your device rather than switching out the player
[20:41] <mkrufky> streaming on android before 4.2 is kinda not great
[20:41] <rurtle> Hmm. I should have done some digging on that
[20:41] <rurtle> meaning why the native player didn't perform well enough
[20:41] <mkrufky> another helpful hint, try on some other devices and see if they have the same issues, or if they have similar but different issues
[20:42] <mkrufky> what kind of flicker? is it a deinterlacing issue?
[20:42] <mkrufky> mobile devices generally dont love interlaced content, and webcams love to stream interlaced content
[20:42] <rurtle> like there is considerable latency and the playback freezes and comes back after some time and goes back to sleep again
[20:42] <mkrufky> note im using the words "love to" ... im generalizing ... its really device specific
[20:42] <rurtle> that sort of behavior
[20:43] <mkrufky> ah, so its not a flicker
[20:43] <mkrufky> it sounds like a buffering issue
[20:43] <rurtle> my bad
[20:43] <rurtle> and the device we tried it on, is an old one
[20:44] <mkrufky> yea... debugging from that point is just spinning your wheels
[20:44] <mkrufky> (in my opinion)
[20:45] <rurtle> I did a local build of VLC and ported in on both 4.2.2 & 4.1.2
[20:45] <rurtle> hmm
[20:45] <rurtle> and it works just fine on either of those platforms
[20:45] <rurtle> however, when we have multiple streams to observe, VLC is not able to clean up cache
[20:46] <rurtle> and leads back to old rtsp stream
[20:46] <rurtle> so, thought of using the base ffmpeg engine and tweak it as per my need
[20:47] <mkrufky> i thought u said you tried the native player
[20:47] <mkrufky> vlc is not the native player :-P
[20:48] <rurtle> :)
[20:48] <rurtle> yeah, I tried several means
[20:48] <rurtle> that includes building the native library and (trying to) write JNI wrapper
[20:49] <rurtle> and doing a local build of VLC latest from git
[20:51] <mkrufky> well, im not sure what the overall plan is
[20:51] <mkrufky> but
[20:51] <mkrufky> i was under the impression that the native playback api's of jellybean let you play rtsp streams
[20:52] <mkrufky> i know for SURE it plays HLS, but thats not what u asked :-P
[20:58] <rurtle> The overall plan is to stream several live cam feeds through an android app. The app should be flexible enough to run on multiple platforms
[20:59] <rurtle> I am yet to have a clear visibility on the deliverable in terms of which all platform it should support among other things
[20:59] <rurtle> Thanks for the tip on HLS player; I haven't checked it yet. Will definitely do.
[21:18] <raj___> I am seeing some flv video contents which has range requests using "ns" and "nk" parameter associated with response..Can anyone help me to understand these params here is the example URL http://65.255.34.10/abc/676EFE25A034833FBAA744744/0300020100518AB037DBAD083… and for nk param here is the URL: /abc/6571DFBC8E132831F2D4DA3D31/03000203
[21:19] <raj___> and for nk param here is the URL: /abc/6571DFBC8E132831F2D4DA3D31/030002030051C99005966008565B268B39BDC7-D4DA-386A-772D-4B73E83A8B47.flv?nk=66933666410_22881099153&ns=0_216384&special=true HTTP/1.1\r\n
[21:24] <raj___> <fflogger> i am using basic ffmpeg command for transcoding. this problem is when we do seeking.. i am not able to understand this "ns" and "nk" significanse
[21:26] <llogan> seeking with what?
[21:27] <raj___> seeking forward
[21:29] <raj___> For FLV the "from" and "to" offset s are encoded in the ns query parameter?
[21:29] <raj___> i am confused here
[21:30] <raj___> http://65.255.34.10/abc/676EFE25A034833FBAA744744/0300020100518AB037DBAD083…
[21:30] <raj___> &ns=0_22166660&special=true
[21:34] <llogan> i don't see what this has to do with ffmpeg, but I don't quite understand what you're trying to do.
[22:22] <Fjorgynn> so the internal mp3 encoder in ffmpeg
[22:22] <Fjorgynn> lafv54 or whatever
[22:26] <durandal_1707> Fjorgynn: there is not internal mp3 encoder in ffmpeg
[22:28] <Fjorgynn> durandal_1707: encoder : Lavf54.50.104
[22:28] <Fjorgynn> what is this then?
[22:30] <Fjorgynn> durandal_1707:
[22:30] <durandal_1707> container != codec
[22:31] <Fjorgynn> so I wonder what encoder that is
[22:32] <durandal_1707> that is not encoder
[22:32] <durandal_1707> libmp3lame is not internal mp3 encoder
[22:33] <durandal_1707> it is external mp3 encoder
[22:33] <Fjorgynn> yeah?
[22:33] <Fjorgynn> but whatever
[22:33] <durandal_1707> ... what was question?
[22:35] <Fjorgynn> it just does -acodec copy hm
[22:36] <Fjorgynn> I was using a script to download some files I know are mp3
[22:40] <durandal_1707> so everything works....
[22:54] <Fjorgynn> durandal_1707: yeah, I was just wondering what it did. Then I saw it copied it and I was asking what laf54 ment
[22:58] <llogan> libavformat version 54.50.104
[22:59] <Fjorgynn> aha?
[23:34] <salamanderrake> anyone know why the output from this screen is black on twitch.tv? http://bpaste.net/show/117396/
[23:43] <llogan> salamanderrake: i have an idea, but it is only a guess without the ffmpeg console output
[00:00] --- Fri Jul 26 2013
1
0
[00:00] <durandal_1707> llogan: what?
[00:00] <saste_> llogan, nice? doesn't sound like the correct term
[00:01] <llogan> a worthless, but entertaining joke filter.
[00:01] <saste_> i'd like a naive voice synth
[00:02] <saste_> not sure if we can do timelined audio overlay at the moment
[00:02] <durandal_1707> what is that?
[00:03] <saste_> you overlay audio at the given interval
[00:03] <saste_> like overlay=...:enable=expr
[00:05] <llogan> does clement not code in the northern hemisphere summer?
[00:05] <saste_> clement, not active in this period, he will be back in august he said
[00:08] <durandal_1707> saste_: you have pan,amerge for this
[01:14] <cone-528> ffmpeg.git 03Michael Niedermayer 07master:274a50ab5738: avcodec/utils: Warn the user about the lack of a lock manager if insufficient locks are detected
[03:02] <kierank> that has got to be the greatest ticket known to man
[03:05] <drv> it has cool pictures
[03:05] <kierank> 5 years of no aac work and now this
[03:05] <kierank> encoder work
[04:49] <cone-815> ffmpeg.git 03Zhang Rui 07master:6bab3430a775: avformat/http: support reading compressed data
[10:23] <cone-292> ffmpeg.git 03Luca Barbato 07master:70ecc175c7b5: alsdec: Fix the clipping range
[10:23] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:865f34823c57: Merge commit '70ecc175c7b513a153ac87d1c5d219556ca55070'
[10:39] <cone-292> ffmpeg.git 03Luca Barbato 07master:ca488ad48036: alsdec: Clean up error paths
[10:39] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:a550926705fe: Merge commit 'ca488ad480360dfafcb5766f7bfbb567a0638979'
[11:38] <cone-292> ffmpeg.git 03Luca Barbato 07master:2f034f255c49: 4xm: Reject not a multiple of 16 dimension
[11:38] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:82654172ced5: Merge commit '2f034f255c49050e894ab9b88087c09ebe249f3f'
[12:00] <cone-292> ffmpeg.git 03Luca Barbato 07master:bd7b4da0f462: 8bps: Bound-check the input buffer
[12:00] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:da0f67b177ad: Merge commit 'bd7b4da0f4627bb6c4a7c2575da83fe6b261a21c'
[12:16] <cone-292> ffmpeg.git 03Luca Barbato 07master:6fd221e5f8b0: 8bps: Make the bound-checks consistent
[12:16] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:7dec8512be12: Merge remote-tracking branch 'qatar/master'
[12:56] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:800637709c82: alsdec: minor simplification in read_block()
[12:56] <cone-292> ffmpeg.git 03Anshul Maheshwari 07master:a553cb4683a2: documented that av_codec_close is required to call
[13:06] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:101c7ea90673: avcodec/mpeg12dec: remove commented out assert
[14:10] <cone-292> ffmpeg.git 03Bernie Habermeier 07master:c5f3cc40e33a: matroskaenc: implement CueRelativePosition
[16:30] <cone-292> ffmpeg.git 03Timothy Gu 07master:11cb697501ed: doc/encoders: partially rewrite and reformat libx264 docs
[16:31] <Daemon404> o shit it finally went it
[16:31] <Daemon404> in*
[16:37] <saste_> Daemon404, why, was you waiting for it?
[16:37] <saste_> it took "only" a week, which is not so much for a 200+ lines documentation patch
[16:38] <Daemon404> i was just following the very large email thread
[16:57] <saste> ^^ epic ticket
[17:17] <Daemon404> yes epic
[17:57] <aballier> michaelni: (and others too) what is your opinion on an avframe based version of sws_scale/swr_convert that would allocate the output buffer as needed alike the avframe based avcodec_decode/encode_audio/video ?
[17:59] <aballier> if the interface is generic enough it might even be possible to plug it in avcodeccontext so that input frames are converted before being sent to the encoder and output frames are converted before being returned
[18:15] <michaelni> aballier, possible if someone wants to use it and someone volunteers to maintain it
[18:17] <aballier> i can try to bake up a patch
[18:17] <aballier> just wanted to be sure its not an idea that has been considered and discarded for some reason i dont know
[18:23] <michaelni> i dont remember that being suggested previously (at least not in that form)
[18:25] <wm4> michaelni: do I need to set any magical flags to make the libswscale chroma pos stuff for yuv->rgb take effect?
[18:26] <michaelni> wm4, no but its very easily possible theres a bug, for example some optimized X->Y converter could end up being used that doesnt know about chrma pos
[18:27] <nevcairiel> probably disable the inaccurate scalers, accurate_rnd and the full chroma flags
[18:27] <nevcairiel> or something
[18:27] <wm4> I was trying SWS_LANCZOS | SWS_FULL_CHR_H_INT | SWS_FULL_CHR_H_INP | SWS_ACCURATE_RND | SWS_BITEXACT
[18:29] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:e31d20255d81: vf_scale: add output h/v_chr_pos parameterss
[18:30] <wm4> oh, it only does something if I set the dst_ parameters
[18:30] <wm4> but wouldn't refer dst_... for yuv->rgb position to RGB, which does not have chroma position stuff?
[18:31] <wm4> are they just swapped?
[18:31] <michaelni> i hope not
[18:42] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:24a4367ae963: vf_scale: add input h/v_chr_pos parameters
[18:49] <hotwings> according to the author of the softhddevice output plugin for vdr, theres a problem with the vdpau decoder not ffw/rew'ing h264 (h264 paff to be exact, iirc). would this be the right place to talk to someone about that?
[18:50] <wm4> michaelni: so, is there something wrong with it?
[18:56] <michaelni> hotwings, if theres someone around who knows vdpau well, not sure there is atm (carl is listed as maintainer)
[18:56] <michaelni> reimar knows vdpau too
[18:56] <michaelni> and probably others
[18:57] <michaelni> hotwings, if its reproduceable with ffmpeg/ffplay then probably easiest to open a bug report
[18:57] <michaelni> wm4, dunno, how can i reproduce it ?
[19:07] <Compn> hotwings : upload a sample file that causes problems to the trac
[19:08] <Compn> er, and report the bug on the trac i mean
[19:19] <wm4> michaelni: I tried: ffmpeg -i chroma-pos-mpeg2.y4m -vf 'crop=32:32,scale=1000:1000:out_v_chr_pos=128:out_h_chr_pos=128:flags=accurate_rnd+full_chroma_int+full_chroma_inp+bilinear,format=rgba' avchroma.png -v debug
[19:19] <wm4> michaelni: changing the in_v_chr... etc. params didn't change anything
[19:19] <wm4> only out
[19:19] <wm4> input is yuv420
[22:53] <cone-292> ffmpeg.git 03Michael Niedermayer 07master:436616fd4251: swscale: exchange src & dst chroma pos
[00:00] --- Thu Jul 25 2013
1
0
[00:23] <pinPoint> I have question, can ffmpeg be used to address issues with videos?
[00:23] <pinPoint> corruption from let's say drive collapsing, etc?
[00:23] <pinPoint> I have the file but it is a R3D file... :/
[00:37] <telly> im trying to compile ffmpeg for raspberry pi, but he says libx264 not found though there is libx264.a in the path i supply with -extra-ldflags
[00:37] <telly> what can i try to fix this?
[00:39] <Keshl> I don't know, but if you get it to work, can'ya tell me how the performence is? XD
[00:41] <telly> ;D
[00:41] <telly> well i mean he can take the whole day, hes got the time? :P
[00:42] <pinPoint> heh
[00:42] <pinPoint> is anyone aware of MP4Repair.org?
[00:43] <Keshl> pinPoint: Both sites are unreated by WOT.
[00:43] <Keshl> Chances are both the .com and .org site are malware distributors.
[00:43] <pinPoint> unreated by WOT?
[00:43] <Keshl> WOT, web of trust. It's a group that has user-made reveiws for basically every /known/ website.
[00:44] <Keshl> And both the .com and .org sites are totally unrated.
[00:44] <pinPoint> are you serious?
[00:44] <Keshl> Yeah.
[00:44] <Keshl> Generally it works.
[00:44] <Keshl> http://www.mywot.com/en/scorecard/mp4repair.org?utm_source=addon&utm_conten…
[00:44] <Keshl> http://www.mywot.com/en/scorecard/mp4repair.com?utm_source=addon&utm_conten…
[00:44] <Keshl> Just search in the upper right corner, or go hug the addon for Chrome or Firefox.
[00:45] <pinPoint> unrated is true
[00:45] <pinPoint> but the point of the site is to repair damaged video files
[00:45] <Keshl> And after some quick checks of my own...
[00:45] <pinPoint> and they talk about ffmpeg
[00:45] <Keshl> Yeah, this is just... Don't download stuff from them, you /will/ catch something.
[00:45] <pinPoint> there is nothing to download
[00:45] <Keshl> Exactly.
[00:46] <pinPoint> http://mp4repair.org/blog/
[00:46] <pinPoint> look at their blog
[00:46] <pinPoint> its a legitimate site
[00:46] <Keshl> Link's there, it changes the page, nothing comes up. I'm sensing, failed exploit.
[00:46] <pinPoint> how is that even possible?
[00:46] <Keshl> Ah, I get what they're doiung.
[00:46] <Keshl> They're not really repairing it, they're generating it.
[00:47] <Keshl> Basically they're using motion estimation to track where pixels /might/ go, and then fill in the holes like JPEG decompression does.
[00:47] <Keshl> It works for video, somewhat, but won't be an exact match, and the longer the gap the less accurate it'll be.
[00:47] <Keshl> Audio's highly questionable.
[00:47] <Keshl> Frankly you can do this for free.
[00:48] <pinPoint> well I was wondering if anyone was aware of what they use to address issues with videos?
[00:48] <Keshl> Either grab software that's designed for motion estimation (There's a lot around, but good luck getting it to run. It's /really/ picky stuff), or tweak ffmpeg's X264 compression algorithm a bit.
[00:48] <pinPoint> because the site was able to preview R3D screenshots from a damaged .R3D file
[00:48] <Keshl> I mean, all you really need is it to do motion estimation for every pixel at once no matter what.
[00:48] <pinPoint> how are they pulling it off and could I do the same here at home?
[00:48] <Keshl> pinPoint: Read my posts.
[00:49] <pinPoint> i did
[00:49] <Keshl> Normally X264 only estimates some pixels depending on the settings you (or ffmpeg) passes to it.
[00:49] <pinPoint> compression alogrithm huh?
[00:49] <pinPoint> it's not an x264 file
[00:49] <Keshl> All you gotta do is make it do it to /every/ pixel, no matter the cirumstances, and it'll "repair" the file.
[00:49] <Keshl> Doesn't need to be.
[00:49] <pinPoint> it's redcode raw codec
[00:50] <Keshl> It can be any input, you just need to run it through X264.
[00:50] <Keshl> With some tweaks.
[00:50] <Keshl> Dunno how to do those, I just know that's what you (and they) need (and do) do.
[00:50] <pinPoint> yeah, i'm sorta new to this
[00:50] <Keshl> pinPoint: Might wanna spoend a month or so reading up on the terms and current trends then.
[00:50] <Keshl> *spend
[00:50] <Keshl> Video (en/trans/re/etc)coding is a /lot/ more in-depth than you think.
[00:50] <pinPoint> so they are doing about the same thing?
[00:51] <Keshl> The exact same thing.
[00:51] <Keshl> In fact, they probably use ffmpeg and X264 to do it.
[00:51] <pinPoint> i gave them a damaged file and the generated a preview...
[00:51] <pinPoint> I myself use a hex editor to get about 20 frames fixed out of 21 seconds of lost footage
[00:51] <Keshl> And the fact their site is so poorly designed makes me think the patch's dead simple, or that there might be some obscure set of paramaters that can do it.
[00:51] <pinPoint> my way was way toooo painful
[00:52] <pinPoint> Keshl: they said this "REDCODE .r3d files can be parsed by identifying blocks of data with the atom structure:
[00:52] <pinPoint> 32-bits length + token + payload
[00:52] <pinPoint> "
[00:53] <pinPoint> http://pastebin.com/mqiLwdEF
[00:53] <Keshl> I'm assuming by "broken" you mean "the file has been corrupted in such a way that entire frames need to be discarded"
[00:53] <pinPoint> probably
[00:53] <pinPoint> it was a challenge from a forum on the internet
[00:53] <Keshl> Then the way I wrote above will work.
[00:54] <pinPoint> well
[00:54] Action: pinPoint is confused
[00:54] <Keshl> Like I said. Read stuff for a month. <É<
[00:55] <Keshl> This is a very in-depth and complicated topic. A lot of people don't think it's that hard, but really, there's a LOT to this stuff.
[00:55] <Keshl> Just go to Wikipedia, /read/ (don't skim!) the /entire/ article, and keep clicking "see also" links. For a month. Seriously.
[00:55] <Keshl> And basically any other links if they use terms you don't fully understand.
[00:56] <Keshl> (And as of now, assume that's all of them. A lot of people, and I mean a lot, take this stuff for granted and think "oh 720p is always better than 1080p" or "oh 480p is worse than 1080i" when in reality it's the opposite.)
[00:57] <Keshl> (And "a bigger file means more quality" is another mis-conception.. "it's better to scale video up before playing it rather than in real-time" is another.. "higher compression means slower framerates" is a biggie..)
[00:57] <Keshl> (None of those things are true, by the way. A lot of people think they are, but the exact opposite is.)
[00:59] <pinPoint> what if the files i'm dealing with are 4096x2160?
[00:59] <pinPoint> same routine?
[00:59] <Keshl> No matter the input, same routene.
[01:00] <Keshl> Frames are frames are frames are frames, oÉo.
[01:01] <pinPoint> not to sound like broken record, in wikipedia, where or what do I start searching/reading about?
[01:01] <Keshl> http://en.wikipedia.org/wiki/FFmpeg oÉo, and literally, if there is /any/ word in blue that you don't fully understand, ctrl click it and read that tab right away.
[01:01] <Keshl> Do a depth-first search of what you don't know.
[01:02] <Keshl> Do not skip things, if you're "iffy" on something, read the entire page.
[01:02] <Keshl> There is no fast way to do this. oÉo.
[01:02] <pinPoint> that will lead me to understanding a repair process down the road say 3months?
[01:02] <Keshl> It might. It depends on how fast you read, how much you absorb and how much fluid intelligence you have. oÉo.
[01:03] <pinPoint> i'm savvy with the computers
[01:03] <pinPoint> i build my own I mean
[01:03] <Keshl> That means nothing. XD
[01:03] <pinPoint> trolol
[01:03] <Keshl> Hardware != software, not by a mile.
[01:03] <pinPoint> I did c++ 2yrs in HS, plus ~2 semesters in college.
[01:03] <pinPoint> its been a while however
[01:07] <pinPoint> Keshl: thanks
[01:10] <Keshl> Welcomes, oÉo
[01:10] <Keshl> And good luck -É-
[01:11] <pinPoint> yeah, no kidding. :)
[01:11] Action: pinPoint dead man walking.
[02:09] <zN0z> hi, I would like to know if it is possible to create variables in a command line to store values of one file to be used to format another
[02:21] <nfkd> Hello, #ffmpeg
[02:21] <nfkd> We are working in a Skype replacement over #InsertProjectNameHere
[02:21] <nfkd> And considering using ffmpeg
[02:21] <nfkd> http://tox.im/
[02:22] <nfkd> I guess you guys would be interested
[02:22] <klaxa> looks promising
[02:23] <nfkd> Hopefully
[02:23] <klaxa> oh it's p2p?
[02:23] <nfkd> Yes, DHT
[02:23] <nfkd> Decentralized, for better security
[02:23] <nfkd> No central server
[02:23] <klaxa> i like that idea
[03:20] <sacredchao> I am using Kdenlive to edit videos (using ffmpeg for the actual A/V encoding) and I am trying to make a profile with 384k CBR AAC LC audio + x264 1080p video at 12Mb/s
[03:22] <sacredchao> The command line switches I am using however seem to produce a file that VLC and mplayer cannot determine the bitrate of EITHER the audio or video stream via normal methods
[03:22] <sacredchao> hq=1 acodec=aac ab=384k ar=48000 pix_fmt=yuv420p vcodec=libx264 minrate=12000k vb=12000k g=250 bf=3 b_strategy=1 subcmp=2 cmp=2 coder=1 flags=+loop flags2=dct8x8 qmax=51 subq=7 qmin=10 qcomp=0.6 qdiff=4 trellis=1 aspect=%dar pass=%passes
[03:23] <sacredchao> Obviously I am doing something wrong. The destination is YouTube.
[03:23] <Aprel> Any luck with ffprobe?
[03:24] <sacredchao> Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
[03:24] <sacredchao> Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 (default)
[03:24] <Aprel> I find (maybe moreso with VBR files) vlc and totem can't figure the bitrate, but play it fine otherwise.
[03:24] <sacredchao> mediainfo cannot determine bitrate either
[03:25] <Aprel> Does the file play fine otherwise?
[03:25] <sacredchao> Yes.
[03:25] <sacredchao> The problem is that I changed the video bitrate and the filesize was exactly the same as the previous render
[03:26] <sacredchao> So I don't know if there is some limit configured elsewhere, but I need to make a render that is under 500MB for Vimeo and it keeps being 547MB
[03:28] <Aprel> As a last resort, you could use kdenlive to output the file in some format close to raw video/audio, and then use ffmpeg to do the encoding on that file. It's possible kdenlive is mucking it up. I've have many problems with that software :/
[03:37] <sacredchao> Also, I read that there are better AAC encoding libraries to use besides the one built into ffmpeg
[03:37] <sacredchao> Is this true, and does ffmpeg need to be specifically compiled to make use of them?
[03:41] <Aprel> I don't know about that. I use ffmpeg for aac encoding and it's fine for me. I haven't heard of the encoding being particularly poorer to any other open source library codec
[03:41] <relaxed> sacredchao: yes, compile ffmpeg with libfdk-aac support
[03:43] <relaxed> if you need a specific size use two pass encoding
[03:44] <relaxed> you can learn how to do both by following the ffmpeg compile guide and the x264 encoding guide, both found in the wiki.
[03:53] <sacredchao> relaxed: OKay thanks, I will stick with simply using 'aac' for now and concentrate on 2-pass encoding
[03:54] <sacredchao> On the wiki it simply reminds you of the bitrate = file size / duration formula before getting into 2-pass CLI switches
[03:54] <sacredchao> I have a 394 second video I want at 500MB wth 384k audio
[03:54] <sacredchao> So I am changing vb=10000k
[03:55] <sacredchao> I wonder why this formula doesn't work just as well for 1-pass encoding. The wiki doesn't explain this.
[04:09] <relaxed> the second pass is used to avaerage out the bits to achieve your size.
[04:10] <relaxed> average*
[05:04] <johnnny22> hey
[05:04] <johnnny22> woah ffmpeg 2.0
[05:06] <johnnny22> I was wondering what's the best way to get ffmpeg to encode from a pipe into a file that only keeps the last X seconds of video
[05:07] <johnnny22> and / or what keywords I could use to search for that technique
[05:26] <johnnny22> i guess the best approach is to have a sort of buffer
[09:06] <YeahBuddy> Hi everybody. Just built ffmpeg on a Raspberry Pi. Seems to have worked, but I have no idea where it was installed. So my question is A. Where is it? B. What's the easiest way to determine this from makefiles?
[09:07] <YeahBuddy> BTW, this is a Debian derivative.
[09:14] <YeahBuddy> This is a talkative bunch.
[09:18] <dv-> use the which command
[09:18] <dv-> which ffmpeg
[09:19] <YeahBuddy> this returns nothing
[09:22] <YeahBuddy> It could be that I'm an ass and forgot to run make install
[09:22] <YeahBuddy> In fact, it's looking a lot like that
[09:22] <YeahBuddy> I blame the bourbon
[09:23] <YeahBuddy> Oh look, there it is right where one might expect: /usr/local/bin
[09:23] <YeahBuddy> Well thanks for your help.
[09:23] <YeahBuddy> I'm going to celebrate with chocolate chips.
[10:24] <ThePuppetMaster> hi @all
[10:26] <ThePuppetMaster> i have a shot question .. i try to create a atrle movie from png files. i need the alpha chan of the png inside the new movie. but if i encode it, ffmpeg shows me on the INPUT test: Stream #0:0: Video: png, rgb24, .... but, rgb24 is not argb ... what i need to do that ffmpeg read the png as argb?
[10:27] <ThePuppetMaster> thats the output of ffmpeg: http://pastebin.com/D1aAYV0h
[12:26] <anddam> slightly OT: is it actually possible to cut an MP3 file without recoding?
[12:29] <JEEB> yes
[12:30] <JEEB> compressed audio streams generally consist of independently decode'able chunks, so if you cut at those you get lossless cutting
[12:30] <JEEB> the size of the chunks depends on the format/encoder/settings, but lossy encoders generally don't have too long ones, while f.ex. FLAC can have rather long ones
[12:31] <anddam> is the chunks' length fixed in MP3 case?
[12:31] <anddam> I see, thanks
[12:31] <JEEB> I would say no :P
[12:31] <anddam> so it can be done but at whole chunks granularity
[12:31] <anddam> pretty much like minecraft
[12:32] <JEEB> just like cutting video at random access points :)
[12:33] <JEEB> (of course with video there are other things to consider as well, such as how the extradata is set and so forth)
[12:33] <JEEB> anyways, ffmpeg with -ss and -t before -i (if it fails then move -t to after -i I guess?) and -c copy should work? :)
[12:34] <JEEB> of course when the stream is in a container it's simpler to cut, dot-mp3 is generally a raw MPEG-1 Layer 3 audio stream, and those don't exactly make seeking simple :)
[12:36] <anddam> :ls
[12:51] <anddam> ok, that was the wrong vim buffer
[12:52] <anddam> JEEB: thanks, bye
[12:52] <Fjorgynn> :D
[18:19] <Fjorgynn> 1,5 GHz Snapdragon S4 Pro
[22:38] <exutux> hi
[23:00] <exutux> guys I'll try to grab desktop video in a selected area but http://paste.ubuntu.com/5908953/ whats wrong in the command?
[23:02] <exutux> is it possible to grab desktop in a selected region?
[23:03] <klaxa> yes, what is your display resolution?
[23:03] <klaxa> because my first guess is, the area you want to record is out of your display bounds
[23:03] <exutux> current 1366 x 768
[23:04] <klaxa> okay so
[23:04] <klaxa> >1024x768 -i :0.0+100,200
[23:04] <klaxa> that will be out of bounds
[23:04] <klaxa> because you will be recording the rectangle: (100,200), (1124, 968)
[23:04] <exutux> uhm how can I find right bound?
[23:05] <klaxa> you can't record outside of your display
[23:05] <klaxa> so your resolution kinda defines your bound
[23:07] <llogan> exutux: you can use xwininfo if you want the coordinates for a certain window
[23:08] <llogan> http://pastebin.com/xuYUmnGU
[23:09] <llogan> also the defaults for flv output are going to be crappy.
[23:11] <llogan> generally for capturing the screen a fast encoder is used, then this output is re-encoded later.
[23:12] <llogan> ffmpeg -f x11grab -r 25 -s 1024x768 -i :0.0 -codec:v libx264 -preset ultrafast -crf 0 output.mp4
[23:12] <exutux> llogan: thank I'm reading
[23:13] <exutux> llogan: yeah but in this case it will grab all screen
[23:13] <llogan> yes, because i don't know the coordinates that you want
[23:14] <llogan> that was just an example for you to modify
[23:16] <llogan> then you can re-encode the first output to whatever you like: ffmpeg -i output.mp4 -codec:v libx264 -preset slow -crf 22 output2
[23:16] <llogan> of course if your computer is fast enough you can just do one command
[23:17] <llogan> and you may also need to add -pix_fmt yuv420p as an output option for the second command
[23:17] <exutux> http://paste.ubuntu.com/5908992/
[23:18] <exutux> so X 49 an Y 24?
[23:19] <exutux> by clicking in differnets areas results is always the same
[23:20] <llogan> -s 1317x744 -i :0.0+49,24
[23:20] <llogan> you click the window you want to record and it should give you the details of that particular window
[23:22] <exutux> llogan: well I get understanting maybe :D
[23:29] <exutux> llogan:
[23:29] <exutux> ffmpeg -f alsa -ac 2 -i pulse -r 15 -s 1244x614 -f x11grab -i :0.0+63,121 -acodec libmp3lame -ab 96k -ar 48000 -ac 2 -vcodec libx264 -crf 30 -threads 2 test.mkv
[23:29] <exutux> :D thanks
[23:30] <exutux> klaxa: thanks to you too
[23:30] <llogan> are you going to upload this to youtube or something?
[23:30] <llogan> because -crf 30 seems high
[23:32] <exutux> llogan: nope not now
[23:32] <exutux> llogan: btw which is right crf ?
[23:32] <llogan> screencasting can probably benefit from a higher frame rate
[23:33] <llogan> https://trac.ffmpeg.org/wiki/x264EncodingGuide
[23:33] <llogan> there is no "right" crf. it's subjective.
[23:33] <llogan> unless you're uploading to a video sharing site, then use -crf 18 since they will re-encode it anyway.
[23:34] <exutux> llogan: ok
[23:34] <klaxa> youtube re-encodes are meh though
[23:35] <klaxa> i have seen a guy that upscales his videos a little bit from 1080p to 1192p so he gets the "original source" quality
[23:35] <klaxa> also applys a sharpening filter to make up for the weird scaling
[23:35] <klaxa> don't know what i should think of that
[23:36] <llogan> i think he has a lot of time on his hands
[23:36] <klaxa> mmh
[23:36] <llogan> "time on his hands". english is weird.
[23:37] <llogan> i'm going to go chop down a tree and then chop it up.
[23:39] <exutux> :D
[23:53] <exutux> bye
[23:53] <exutux> and thanks again
[00:00] --- Thu Jul 25 2013
1
0
[00:45] <Compn> hmm
[00:45] <Compn> how did this email make it to me
[00:46] <Compn> Delivered-To: webmaster(a)ffmpeg.org
[00:46] <Compn> oh ok
[01:20] <cone-499> ffmpeg.git 03clook 07master:b9b1a2c3e470: libswscale: Adding RGB => XYZ support
[01:20] <cone-499> ffmpeg.git 03clook 07master:4443213d2ea4: avcodec/libopenjpegen: XYZ 12 bit support for libopenjpeg encoder
[03:21] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:b7397857e20d: avcodec: add avcodec_enum_to_chroma_pos()
[03:21] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:abc8110f7e54: avcodec: add avcodec_chroma_pos_to_enum()
[09:32] <bernie__> ok so I have a signed commit ready to go, but unsure if I should email the patch directly to ffmpeg-devel mail list or where...
[09:36] <nevcairiel> usually you would use git send-email and send it to ffmpeg-devel list
[09:37] <nevcairiel> or just send it as an attachment if you have issues with send-email
[09:37] <bernie__> okay, I'll try that :)
[09:37] <bernie__> thanks
[09:38] <bernie__> when I use git send-email, will it show me what it's gonna send? (just want to make sure I don't spam something stupid to the whole list)
[09:42] <bernie__> off it went... though I sent the patch as an attachment
[09:42] <bernie__> :)
[09:48] <bernie__> ... and I screwed it up... I'll just cut-n-paste it this time around
[09:53] <nevcairiel> lets hope that your mailer didnt screw up the copy/paste then :d
[10:39] <cone-528> ffmpeg.git 03Martin Storsjö 07master:69e6702c0132: arm: Mangle external symbols properly in new vfp assembly files
[10:39] <cone-528> ffmpeg.git 03Michael Niedermayer 07master:7dc77613f653: Merge remote-tracking branch 'qatar/master'
[14:16] <durandal_1707> lol
[17:30] <cone-528> ffmpeg.git 03Hendrik Schreiber 07master:650355089cc4: avformat/aviobuf/ffio_init_context: set seekable automatically
[18:11] <Compn> 99 comments, we have a winner
[18:12] <Compn> wow look at all of those graphs
[18:30] <hotwings> according to the author of the softhddevice output plugin for vdr, theres a problem with the vdpau decoder not ffw/rew'ing h264 (h264 paff to be exact, iirc). would this be the right place to talk to someone about that?
[19:22] <cone-528> ffmpeg.git 03Michael Niedermayer 07master:fe328f080768: avfilter: Dont partially merge lists
[21:25] <bernie_> wm4: hey I finally submittied my patch for the CueRelativeOffset... it's my first patch request to ffmpeg. yay!
[21:29] <cone-528> ffmpeg.git 03Michael Niedermayer 07master:6a0b72f94fb7: avfilter/avfiltergraph: minor cosmetic
[21:29] <cone-528> ffmpeg.git 03Michael Niedermayer 07master:55db06af64d1: avcodec/utils: use av_assert0() to check validity of input pointers for start code search
[22:35] <johnsmith> Hi all, since most of you are developing in ffmpeg, I was wondering how much I need know about libavfilter's "graph"?
[22:37] <durandal_1707> johnsmith: you want to use libavfilter or work on libavfilter?
[22:38] <johnsmith> durandal_1707: I wish to use libavfilter, but I know it's offtopic within this channel, but you and the other guys are more likely to answer the question than on #ffmpeg
[22:39] <johnsmith> To put the question in perspective to allow a simple answer:
[22:40] <johnsmith> I am using libavfilter for encoding audio with one of ffmpeg's filter features, should I care at all about what this "graph" is from the filter_audio.c example provided from ffmpeg doxygen trunk?
[23:07] <michaelni> bernie_, your patches are replies to random unrelated threads
[23:18] <llogan> anyone have a rough idea of the size of the make fate suite?
[23:18] <llogan> s/make//
[23:20] <llogan> the samples I meant.
[23:22] <durandal_1707> you mean size of fate directory?
[23:23] <nevcairiel> the samples are ~670mb
[23:23] <durandal_1707> 686
[23:26] <llogan> thanks
[23:27] <nevcairiel> hm wonder if i havent synced for a while
[23:30] <durandal_1707> 'du -m' gives 689 after 'gmake fate-rsync'
[23:40] <durandal_1707> lol, libav gonna deprecate above mentioned target...
[23:44] <durandal_1707> noone wants dynamic range filter?
[23:55] <saste_> durandal_1707, dynamic range filter, what's that stuff?
[23:56] <durandal_1707> compress or expand dynamic range of audio
[23:59] <llogan> a wilhelm scream filter would be nice. -af wilhelm='eq(t,10)'
[23:59] <saste_> durandal_1707, compand?
[00:00] --- Wed Jul 24 2013
1
0
[00:00] <brontosaurusrex> -crf = 0 = lossless, -crf = 23 = lossy
[00:00] <Aprel> k, brb
[00:00] <brontosaurusrex> basically -crf 23 will make smaller and uglier files
[00:12] <w1jp> Is there an updated 'how-to' on building the ffmpeg-all on Mac OS X? For example, I understand that yasm isn't required anymore.
[00:13] <w1jp> I also am noting that ffplay doesn't build and I didn't see any errors to that effect.
[00:14] <brontosaurusrex> w1jp, what guide are you following?
[00:14] <Aprel> K, I'm back. Still seeing desync very visible 3 mins into video from screen capture. 10min capture = 1GB file with -crf 23.
[00:15] <w1jp> The one on the wiki (trac.ffmpeg.org)
[00:15] <brontosaurusrex> Aprel, and the player that you are using is?
[00:15] <w1jp> Want to build ffplay
[00:15] <w1jp> I imagine sdl
[00:16] <brontosaurusrex> yeah, i remember that ffplay (was never able to build it)
[00:16] <Aprel> brontosaurusrex: totem. Also see the exact same desync in editing software pitivi and kdenlive, so it's not the paler
[00:16] <brontosaurusrex> Aprel, how do you measure desync?
[00:17] <Aprel> brontosaurusrex: I'm watching a video w people talking and I notice the lips don't match the words. Those framerates I gave earlier I got examine a video in editing software.
[00:18] <Aprel> So I play a video, record the screen capture, and watch the screen capture (for this debugging)
[00:18] <brontosaurusrex> Aprel, what would happen if you convert the clip with ffmpeg to something I-frameish? like prores maybe or that avid thingy
[00:19] <Aprel> brontosaurusrex: ffmpeg command?
[00:19] <brontosaurusrex> Aprel, also, what happens with mplayer ?
[00:19] <brontosaurusrex> Aprel, hold on ...
[00:21] <brontosaurusrex> Aprel, ffmpeg -i in.file -vcodec dnxhd -acodec pcm_s16le -b:v 120M -f mov out.mov
[00:22] <brontosaurusrex> i'am pretty sure kdenlive should have some good support for dnxhd (from memory)
[00:22] <Aprel> k, I will try that.
[00:22] <brontosaurusrex> no promisses, i'am guessing
[00:24] <Aprel> All right. It's encoding.
[00:29] <Aprel> It's gonna take a little bit. I need to do like 10 mins of this video I have handy to really know if it's resyncing.
[00:30] <brontosaurusrex> Aprel, another guess would be something to do with variable-frame-rate and mkv container, try mp4
[00:30] <brontosaurusrex> Aprel, or try to capture to say dnxhd
[00:31] <Aprel> Also had another video up in a player just like 300x300 and screencapture that player with -crf 23. Very bad, quality, obviously. I can't really see people's mouths to judge the desync, but it doesn't seem to desync as much if at all with only 300x300 of the screen.
[00:31] <brontosaurusrex> (But do some reading, i think dnxhd is resolution dependant, or it used to be)
[00:31] <Aprel> Also I used to capture in the mp4 container before I knew what mkv was, and I got the same problem.
[00:34] <Aprel> Just finished the encoding. -vcodec dnxhd didn't make a difference.
[00:35] <brontosaurusrex> Aprel, try to capture to dnxhd directly
[00:35] <brontosaurusrex> but i think you must use standard hd - 1920x1080 (not 1920x1200)
[00:36] <Aprel> brontosaurusrex: like this?: ffmpeg -f x11grab -r 25 -s 1920x1080 -i :0.0 -f alsa -ac 2 -i pulse -vcodec dnxhd -crf 23 -preset ultrafast -acodec pcm_s16le output.mov
[00:37] <brontosaurusrex> yeah
[00:37] <brontosaurusrex> no
[00:38] <brontosaurusrex> skip "-crf 23 -preset ultrafast -acodec pcm_s16le"
[00:38] <Aprel> k.
[00:39] <Aprel> brontosaurusrex: video parameters incompatible with DNxHD.
[00:40] <Aprel> I think I need to set a bitrate... so add -b 175M?
[00:40] <Aprel> i ffmpeg outputs Frame size: 1920x1080p; bitrate: 175Mbps; pixel format: yuv422p10; framerate: 24000/1001 as one of the valid profiles, but I don't know how to set that in the command line
[00:41] <Aprel> nvm, just got it.
[00:42] <brontosaurusrex> what command did you use?
[00:43] <Aprel> just added -b 175M to the command line and it started without errors.
[00:43] <brontosaurusrex> ok
[00:45] <Aprel> btw, later I'll try capturing a long vdieo at just like 300x300 and see if the audio still is in sync at like 20 mins in. If it's fine at a small screen size, what could be the cause of the problem with only big sizes like 1920x1080?
[00:46] <brontosaurusrex> Aprel, could be a lot of things, including drivers and whatnot
[00:47] <Aprel> ugh, already had enough "fun" trying to fix a video tearing issue in ubuntu. :/
[00:47] <brontosaurusrex> also the problem is that kdenlive is something thats hard to trust
[00:48] <brontosaurusrex> so the decoder side can be problematic somehow
[00:48] <brontosaurusrex> what OS are you running? ubuntu?
[00:48] <Aprel> haha, I'm just lucky if I can get kdenlive to not crash
[00:48] <Aprel> yeah ubuntu 13.04
[00:49] <brontosaurusrex> Aprel, did you test lightworks beta?
[00:50] <Aprel> brontosaurusrex, yeah, but it's a little above my learning curve. Plus I had some codec issue (what I encoded in ffmpeg didn't play right in lightworks), but I tried the beta like several months ago so could be better
[00:51] <brontosaurusrex> yeah :|
[00:51] <brontosaurusrex> video editing in nix is just sad
[00:52] <Aprel> btw, doing it with dnxhd not only cause desyncing, but audio dropping (like people talking and their word drops as they say it).
[00:52] <brontosaurusrex> I did some editing with lightwork like 10 years ago (they were using dos then)
[00:52] <brontosaurusrex> so i had high hopes for a linux version
[00:52] <brontosaurusrex> lightworks*
[00:52] <Aprel> yeah, I want to use unix so bad to edit video, so many promising programs...so many problems with them.
[00:53] <Aprel> damn, I have to run, but I'll be back in 30 mins, if you happen to be on.
[00:53] <brontosaurusrex> have fun
[00:54] <eggyknap> Can someone explain this "No channel layout" error for me? http://pastie.org/8165503
[00:55] <eggyknap> I originally figured it meant I needed -ac, to see that what ffmpeg thought were stereo inputs were really mono... but I added that, and it correctly sees they're mono, and it still complains
[00:57] <eggyknap> The anull filters are just to allow me to refer to streams by nice names rather than [0:0], etc., which is helpful for the more general development I'm doing.
[00:58] <eggyknap> ...but perhaps they're not working as I'd like, and I just don't know it.
[01:34] <Aprel> Back. If there's a possibility that it's a driver issue causing the desync, it probably is, because I've got an nVidia GTX 550 Ti and as nice as the card is, it likes to cause a lot of problems.
[01:37] <eggyknap> Is there any reason to believe multiple ffmpeg processes would perform better than one ffmpeg process with an intelligent -threads setting?
[01:39] <Zerxer> I'm trying to use ffmpeg to record a dshow input but right now I'm having trouble with the audio. here's the command I'm using: ffmpeg -f dshow -s 1280x720 -r 59.94 -pix_fmt uyvy422 -i video="Blackmagic WDM Capture" -r 29.97 -pix_fmt yuv420p -t 15 out.mp4
[01:39] <Zerxer> that Blackmagic WDM Capture should include its own audio stream but that command itself makes my video not have any audio, is there something else I have to attach to the command?
[01:39] <Aprel> Zerxer: does this help?: http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20%28scr…
[01:41] <Zerxer> Aprel: I'm capturing from an external device but I did try looking into using :audio="" but there's no specific audio stream listed when I list devices. I tried using Blackmagic WDM Capture as both the video and audio settings but it threw an error that the audio stream wasn't found
[01:45] <jankowiak> how can I check how long an encode lasted?
[01:45] <Zerxer> I may have figured it out
[01:46] <jankowiak> I'm looking at the out put but I don't see any time output
[01:47] <Zerxer> my last question is this: if I'm capturing & encoding with a command like that, how do I safely tell it to stop capturing/outputting? do I simply close the command prompt, or will that cause it to be unclosed and corrupted in some way?
[01:51] <Aprel> Zerxer, when I do screen capture, I use Ctrl-C to stop. If you press it only once, it tells ffmpeg to stop and clean up. 2+ times means abort.
[01:52] <Aprel> Hardclosing the command prompt might corrupt the file. It will depend on the container.
[01:52] <Zerxer> Aprel: awesome, thanks, Ctrl-C is what I wanted :) can't wait to give this all a spin and see how it does
[01:53] <posciak> hi, I wanted to encode a stream that would have SEI recover points instead of IDRs when possible, I thought open_gop to x264 would be the option I need. I tried: ffmpeg -i in.mp4 -c:v libx264 -x264opts open_gop=1 -c:a copy out.mp4 and some variations of open_gop argument, but x264 keeps reporting "open_gop=0"... what am I doing wrong?
[01:53] <Aprel> Zerxer, good luck :)
[01:53] <Zerxer> the device I'm using outputs at 60fps so every other capture software I've used has wanted to write 60fps to disc and my hard drive is just not fast enough to do that, so I'm very excited that I discovered how to use ffmpeg to both capture it and write it to disc as 30fps
[01:53] <Zerxer> hoping to finally be done with out of sync issues
[01:55] <Aprel> Zerxer, well I hope it works out for you. I came here trying to work out out-of-sync issue captures myself :/ But I've got a graphics card, so I think that's overcomplicating things.
[02:17] <Zerxer> hm still out of sync for me too& maybe I shouldn't try changing the pixel format while capturing? the cmd log did have a lot of dropped frames
[02:19] <Zerxer> or if I can increase the buffer, says it hit 121%
[02:23] <Zerxer> what's the best way to have it capture the raw/uncompressed video but still have it cut the framerate in half before outputting to a file?
[02:28] <Aprel> Zerxer: check your CPU during the capture and see if it's close to 100%.
[02:29] <Zerxer> good idea
[02:30] <Aprel> Also feel free to report back with any progress you make. I'm having a similar issue with out-of-sync. Could be the ffmpeg code itself?
[02:31] <Zerxer> I've been having nothing but out of sync problems with my Blackmagic Intensity Shuttle itself so I'm not sure I'd jump on ffmpeg being the cause for my issue :(
[02:31] <Zerxer> the conclusion I came to is my hard drive is definitely not fast enough to handle writing 720p at 60fps
[02:31] <Zerxer> which is why I'm resorting to ffmpeg now to cut the frames in half. my last option that I'm avoiding is to use motion jpeg
[03:44] <Zerxer> I checked my CPU usage while recording and it stayed around 60%
[03:44] <Zerxer> but the cmd log, frequently, would say in red text "real-time buffer 121% full! frame dropped"
[03:49] <Aprel> hm, then you could be right about the hard drive being the bottleneck. btw, the blackmagick device, is that over usb (sorry I have no idea what that is)
[03:49] <Zerxer> yup, usb 3.0
[03:50] <Zerxer> I know absolutely nothing about video-related items, completely new in this area, but should I also be capping the bitrate of the output file?
[03:51] <Zerxer> I might as well try and not change the pixel format of it, see if that helps anything
[03:55] <uersbob> hi, im writing a c# screen recording app, and i am using the following line to feed images taken to ffmpeg using image2pipe. It works, but the timestamps of the frames seem to be off, since when i sync it with audio, the frames are a bit to fast near the start, then slowly balance out near the end
[03:55] <uersbob> here is the line i am using. -f image2pipe -i pipe:.bmp -c:v libx264 -an -y "video.mp4"
[03:55] <Aprel> Yeah, I was thinking maybe the buffer overfill was on the usb side, but shouldn't be a problem with usb 3.0. Could be hard drive, could be ffmpeg...it's a frustrating issue, I know. You could try less bitrate=smaller file=less hd use and see if that helps. btw, what command line command are you using for the capture?
[03:56] <Aprel> uersbob: funny you should ask. We have been having out-of-sync capture problems ourselves....
[03:57] <uersbob> this is after i run another ffmpeg command using PTS to make the framerate correct, as a new video file, since it plays to fast normally
[03:59] <uersbob> i guess i am asking, how can i output the frames with the correct timestamps, when the recording is taking place
[04:10] <Zerxer> I tried making the filename .avi since that's what my other capture programs made, for a raw/uncompressed file, and then I played 10 mins and monitored the output/cpu usage as I did. I was very impressed, no dropped frames, cpu below 15%, thought I figured it out
[04:10] <Zerxer> then I went to play back the .avi file and it was very low quality, lol. but doing .mp4 causes 60% and dropped frames :(
[04:13] <Aprel> Zerxer: what's your ffmpeg command line to creat teh avi file?
[04:14] <Zerxer> ffmpeg -f dshow -s 1280x720 -r 59.94 -pix_fmt uyvy422 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -r 29.97 out.avi
[04:14] <Zerxer> (or out.mp4, which makes higher quality video, but dropped frames)
[04:15] <relaxed> It drops frame to achieve 30pfs.
[04:15] <relaxed> er, 30fps
[04:15] <relaxed> Is the input interlaced?
[04:16] <Zerxer> I mean it says the buffer is 121% full, frame dropped
[04:16] <Zerxer> not that it's dropping frames to achieve the 30fps
[04:16] <Zerxer> the input is 720p60
[04:17] <Zerxer> or well 720p59.94 to be completely true
[04:17] <relaxed> 59.94 does not imply progressive content.
[04:19] <Zerxer> oh, I thought the "p" did though. it's progressive
[04:21] <relaxed> I thought fractional frame rates meant the content was interlaced
[04:21] <relaxed> the correct way to specify the input frame rate is -r 60000/1001
[04:22] <Zerxer> hm do you think that's contributing to my issue then?
[04:22] <relaxed> and the output should be -r 30000/1001
[04:23] <relaxed> You need to watch the source frame by frame and make sure it's not interlaced.
[04:24] <Zerxer> I know it's not interlaced at all. it's coming out of an xbox 360 that's outputting at 720p and the blackmagic is set to progressive input as well
[04:25] <Aprel> what if you tried -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le ? This will use hardly any cpu and you can see if the difference is that 15%-60% cpu increase that's causing frame drop (i.e. overfilling the buffer into cpu processing). Maybe the codec can only use 2 cores so it's pushing them all the way and 65% is on a quad core cpu?
[04:27] <Zerxer> that's possible. it is indeed a quad core
[04:28] <Zerxer> would I put that before or after the -i input? does it apply to the input or the output?
[04:29] <Aprel> After -i input. It just means don't do any on-the-fly cpu processing during capture.
[04:30] <Aprel> So if the desync looks even worse with that command, it probably means a hdd bottleneck (because it write raw video and uses a lot of hdd space). If the desync goes away, then the cpu isn't keeping up with the encoding and you can capture in raw and encode after you're done capturing.
[04:32] <Zerxer> since it's writing raw video, will I still be able to force the output to 30fps? cause I know my hdd is going to bottleneck on the raw 60fps
[04:32] <Zerxer> and that'll ruin the test
[04:32] <Zerxer> going to run it now
[04:32] <Aprel> I think so.
[04:33] <Zerxer> got some errors right away with that: track 1: could not find tag, codec not currently supported in container. and Could not write header for output file #0 (incorrect coedc parameters ?): Error number -1 occured
[04:34] <Aprel> sorry, you need to use the .mkv container
[04:34] <Zerxer> gotcha
[04:34] <Aprel> can you play that? Otherwise, it might be compatible with other containers, just not sure which.
[04:35] <Zerxer> got the buffer error right as it started, after I hit enter on the command, but it's going through now and cpu usage is below 20%. going to try actually doing things in the game now
[04:35] <Zerxer> yeah I can
[04:35] <Aprel> k, best of luck
[04:42] <Zerxer> no issues at all while recording& 15% cpu, no dropped frames (except it giving the buffer error right when it started and right when it ended). playing back the MKV file now
[04:45] <Zerxer> 6 minutes into the video and there's no sync issues! a great sign. you said that this should do no processing though, right? just a raw dump of quality? the quality just seems slightly less than what it was as the mp4 without those settings, but I could just be looking at it too much
[04:48] <Aprel> Zerxer: I was under the impression it's raw. Got that command from http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20%28scr….
[04:49] <Aprel> It might do a very minimal processing.
[04:50] <Zerxer> I think it's fine, I have my girlfriend watching the video now and she said the quality is good. I've just been staring at all this for too long and just got done playing it directly off the xbox
[04:50] <Aprel> But it says this is the command to use for "uncompressed video/audio" which I read as raw.
[04:50] <salamanderrake> hello having issues streaming to twitch.tv http://pastebin.com/SL8Df3jA
[04:51] <salamanderrake> I used the command from here http://trac.ffmpeg.org/wiki/StreamingGuide
[04:51] <Zerxer> and thanks, you've been extremely helpful :) I hope you're able to resolve the issue you're having
[04:52] <salamanderrake> ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0 -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 -threads 0 -f flv "rtmp://live.twitch.tv/app/live_********_******************************"
[04:53] <Aprel> Zerxer, thanks, glad to help. You can continue to play around with it. Seems like your problem was a combo of hdd write speed and cpu limits.
[04:53] <salamanderrake> oops thought you was talking to me Zerxer
[05:01] <salamanderrake> shoud -pix_fmt yuv420p be for 16:10 resolution recording?
[05:05] <relaxed> salamanderrake: yes, and it's the color format best supported for streaming.
[05:05] <salamanderrake> ok
[05:11] <salamanderrake> do I have to use libx264 for the video?
[05:13] <relaxed> I guess you don't have to but it's a good codec and is well supported.
[05:14] <salamanderrake> well for me its borked
[05:20] <Zerxer> Aprel: just saw in the cmd output that it actually says to hit q to stop, so there's another way to do it
[05:21] <Zerxer> then again, you do screen capture, so cmd may not be in focus for you (just caught myself there)
[05:23] <Aprel> Zerxer: you're right. And I've seen that line every time I've used ffmpeg, lol. As soon as I read that, I remembered in my head the '[q]' in the output. Never actually read that whole output line, lol. Thanks for the tip :)
[05:24] <Aprel> Zerxer: That might read sarcastic, but seriously, I never internalized the [q] shortcut despite seeing that output line all the time, lol :)
[05:24] <Zerxer> I only caught a quick glance of it and was like "wait what was that"
[05:25] <salamanderrake> here is the output from my terminal http://pastebin.com/mjGJvDeV
[05:25] <relaxed> Zerxer: -t $time
[05:26] <Aprel> Zerxer:Ha, yeah, ffmpeg output goes fast. Hope that capture command continues to work well for you.
[05:26] <Zerxer> relaxed: ? I was using that flag earlier today but I wouldn't use it for actual capture runs since I don't know how long we'd be playing the game :)
[05:27] <Zerxer> if you mean to see the output better, can at least scroll back up through it all once you end the capture
[05:28] <Aprel> Zerxer: true. I should pipe it to file more often because it floods my terminal.
[05:38] <eggyknap> Can someone explain this "No channel layout" error for me? http://pastie.org/8165503
[05:39] <eggyknap> I originally figured it meant I needed -ac, to see that what ffmpeg thought were stereo inputs were really mono... but I added that, and it correctly sees they're mono, and it still complains
[05:39] <eggyknap> The anull filters are just to allow me to refer to streams by nice names rather than [0:0], etc., which is helpful for the more general development I'm doing.
[06:23] <salamanderrake> is there a quick way to see if its libx264 thats causing my segmentation fault?
[06:34] <Mr_Ewscoba> salamanderrake yes try mpeg2video as vcodec ?
[06:49] <salamanderrake> how do I do that?
[06:50] <salamanderrake> ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0 -c:v libmpeg2video -preset fast -pix_fmt yuv420p -s 1280x800 -threads 0 -f flv rtmp://live.twitch.tv/app/`cat ~/.twitch_key` does not work
[06:55] <salamanderrake> ok got the same error
[07:10] <Mr_Ewscoba> salamanderrake no
[07:10] <Mr_Ewscoba> -c:v mpeg2video
[07:11] <Mr_Ewscoba> and preset wont work for mpeg2video
[07:11] <salamanderrake> ahh not compatible with flv
[07:12] <Mr_Ewscoba> try the mpeg4 codec then not libx264, it should be flv compatible :)
[07:13] <salamanderrake> ok mpeg4 works
[07:13] <salamanderrake> mpeg4 @ 0x7f0f45c66780] header damaged
[07:13] <salamanderrake> saved it to mpg
[07:13] <salamanderrake> thats what I got
[07:15] <Mr_Ewscoba> try -vcodec msmpeg4
[07:16] <salamanderrake> instead of -c:v ?
[07:16] <Mr_Ewscoba> Im not sure, but flv and x264 might not be a good mix, something tell me that you can only use mpeg4 for flv
[07:16] <Mr_Ewscoba> yeah or just -c:v msmpeg4
[07:17] <salamanderrake> unknow format
[07:17] <salamanderrake> missing an m
[07:17] <salamanderrake> and no it did not work
[07:18] <salamanderrake> [flv @ 0x6c54c0] Video codec 'msmpeg4v3' for stream 0 is not compatible with FLV
[07:18] <salamanderrake> Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[07:21] <Mr_Ewscoba> What happends if you remove the -c:v blah completely from the line
[07:21] <Mr_Ewscoba> ?
[07:21] <Mr_Ewscoba> ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0 -pix_fmt yuv420p -s 1280x800 -threads 0 -f flv
[07:22] <salamanderrake> lol it works
[07:22] <Mr_Ewscoba> It should choose the encoder best suited itself then :)
[07:22] <Mr_Ewscoba> What encoder did it use then ? :)
[07:22] <salamanderrake> looks like dirt
[07:22] <salamanderrake> and libx264 worked before
[07:22] <relaxed> probably flv as the codec
[07:23] <salamanderrake> this script sorta worked I think before
[07:24] <salamanderrake> http://pastebin.com/mmavyTQn
[07:24] <salamanderrake> sorry
[07:24] <salamanderrake> wrong one
[07:24] <salamanderrake> thats to save to disk
[07:25] <salamanderrake> why doesn't this one work from here for twitch.tv http://trac.ffmpeg.org/wiki/StreamingGuide
[07:25] <salamanderrake> ahh its old
[07:25] <salamanderrake> thats for 1.0 I have 1.2.1
[07:27] <Mr_Ewscoba> Yup its some old shit, and rtmp and flv is some quite nasty formats with ugly limits, they will always be bugged at best in ffmpeg :)
[07:31] <Mr_Ewscoba> If you just want to stream to some vlc clients for example, you'd be better of using the apple segmenter and http.
[07:34] <salamanderrake> apple? I am on linux
[07:35] <Mr_Ewscoba> -f segment -segment_format mpegts -segment_list_type m3u8 -segment_list /var/www/live/mystream.m3u8 -segment_list_flags +live -segment_wrap 6 -segment_time 10 /var/www/live/mystream-%08d.ts
[07:35] <salamanderrake> o ok
[07:36] <salamanderrake> was trying to do this for a live session on twitch.tv
[07:39] <salamanderrake> I think something is broke on my system
[07:39] <salamanderrake> well I am off to bed
[09:19] <pinPoint> hello
[09:25] <pinPoint> I have question, can ffmpeg be used to address issues with videos?
[09:25] <pinPoint> corruption from let's say drive collapsing, etc?
[09:27] <pinPoint> I have the file but it is a R3D file... :/
[15:32] <mcr_> Hi, I have a problem. I'm using -t option to trim content. Here is full command I use: ffmpeg -ss 00:00:00 -t 00:10:10 -i big_buck_bunny_1080p_h264.mov -codec copy big_buck_bunny_1080p_h264_short.mov
[15:32] <mcr_> I'm getting error: -t is not an input option
[15:33] <mcr_> and my file isn't trimmed at all
[15:33] <mcr_> when I do -t 00:00:30, ffmpeg trims file to 30 seconds, as expected
[15:34] <mcr_> what am I doing wrong?
[15:36] <relaxed> mcr_: -t goes after the input
[15:39] <mcr_> ok, I have no error when i put -t after input, but output file size stays the same, same as reported length in VLC.
[15:41] <mcr_> I'm sorry, everything's ok now :)
[15:41] <mcr_> thanks
[16:25] <Fjorgynn> :D
[16:33] <salamanderrake> >D
[16:53] <eggyknap> Can someone explain this "No channel layout" error for me? http://pastie.org/8165503
[16:53] <eggyknap> I originally figured it meant I needed -ac, to see that what ffmpeg thought were stereo inputs were really mono... but I added that, and it correctly sees they're mono, and it still complains
[16:53] <eggyknap> The anull filters are just to allow me to refer to streams by nice names rather than [0:0], etc., which is helpful for the more general development I'm doing.
[16:53] <eggyknap> (perhaps there's a better way to assign those names... that's the first way I came up with)
[18:00] <bAndie9100> hi all
[18:03] <bAndie9100> http://pastebin.com/QDpDt4vb
[18:03] <bAndie9100> there is my question
[18:03] <bAndie9100> i have raw video on stdin and audio on microphone. how to grab them togather?
[18:56] <Bourbon> is it possible to do mp4-container output with ffmpeg?
[18:56] <Bourbon> I mean, through pipes
[19:10] <mkrufky> is there a guide anywhere for porting applications that depend on ffmpeg 1.x to ffmpeg 2.0 ?? i notice that some av_buffersink_foo & avfilter_foo functions have been deprecated
[19:11] <Bourbon> there's 2.0?
[19:14] <JEEBsv> yes, the current release is 2.0
[19:14] <mkrufky> heh
[19:15] <mkrufky> ...then im guessin that you guys dont know of any porting guide or some kind of reference of which functions to use instead of the deprecated ones
[19:15] <JEEBsv> the changelog should note some of the stuff
[19:15] <JEEBsv> changes.txt or something
[19:15] <JEEBsv> also going through the doxygen is useful as well
[19:16] <mkrufky> Changelog just lists the new features
[19:17] <mkrufky> i was hoping to port my code to use 2.0, in hopes that maybe the 2pass encoding might be better in 2.0 (even tho Changelog makes no mention of improvements to 2pass encoding, i still think its worth a try)
[19:18] <mkrufky> ...also i stand to benefit from the 10% efficiency increase in aac
[19:18] <JEEBsv> there was some API changes log as well, you should also try reading through the avfilter doxygen if you were using libavfilter before
[19:18] <mkrufky> ah, perfect, that should help -- thanks
[19:18] <mkrufky> awesome
[19:18] <mkrufky> doc/APIchanges
[19:18] <mkrufky> thanks :-)
[19:23] <axorb> hey guys, is it safe to say that -ss x before -i will seek to the first keyframe after time x?
[19:23] <axorb> will always*
[19:33] <axorb> I know it will always seek to a keyframe, but is that keyframe always after the given time or the nearest match?
[19:36] <xlinkz0> axorb: no
[19:36] <xlinkz0> or actually nvm me
[19:40] <axorb> the seeking guide example shows the fast seek picking the keyframe before the time, so I guess not
[19:41] <axorb> makes sense anyway because you'd rather not seek backwards after going too far
[21:04] <mkrufky> ok, so the doc/APIchanges file made the avfilter_graph_parse_ptr() port an easy one :-P
[21:04] <mkrufky> but im still hunting for av_buffersink_get_buffer_ref(), av_buffersink_poll_frame(), avfilter_copy_buf_props(), avfilter_unref_bufferp() & avfilter_uninit()
[21:04] <JEEBsv> p1
[21:05] <JEEBsv> ugh, damn small laptop keyboard
[21:14] <matttt> Hi there I'm trying to take frames from an mts file. What I'm noticing are lines in certain parts of my images however when viewing the video in media player classic these lines are not there even when viewing frame by frame. I'm using the command: .\bin\ffmpeg.exe -i .\00001.MTS -dframes 100 -ss 00:00:00 image-%d.jpeg Any thoughts?
[21:24] <wawrek> hello
[21:24] <wawrek>
[21:25] <wawrek> I have problem trying to run ffmpeg filtering examples
[21:25] <wawrek> i get this error: Unknown input format: lavfi
[21:44] <llogan> matttt: can you provide a link to one of the images that shows the lines?
[21:46] <matttt> llogan: actually if it makes any sense to you I've narrowed it down to ffmpeg and all other programs seem to open my mts file as 1440x1080. Media player classic opens it at 1920x1080. It seems the scaling is what is causing the lines. I'll try get a link to you once I can!
[21:54] <wawrek> fflogger: I will do that, i understand
[21:56] <matttt> fflogger: will do
[21:57] <llogan> fflogger is the channel bot
[21:57] <matttt> thanks. always good to know hehe ;)
[22:28] <johnsmith> Hi all, has anyone worked with the libav's before? I am just curious on what the "graph" is in the libavfilters, thanks
[23:19] <Joske> Hello. av_find_input_format("video4linux2") returns NULL, does this mean FFMPEG no longer supports v4l2?
[23:29] <llogan> Joske: ffmpeg still supports it.
[23:31] <Joske> llogan: is it normal for it to return NULL?
[23:32] <llogan> i'm not sure. i don't use this stuff programtically.
[23:52] <Joske> llogan: oh, it's fixed now. i forgot to do avdevice_register_all();
[00:00] --- Wed Jul 24 2013
1
0
[00:39] <Compn> kierank : what airport are you flying into france on ?
[00:39] <Compn> :P
[00:44] <Compn> assuming flight
[02:54] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:682e8a694f6c: avcodec/h264_sei: Try to make code more robust by jumping to the specified SEI ends
[02:55] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:5169111145bc: avfilter/REDUCE_FORMATS: fix bug that ended reducing too early
[03:11] <kierank> Compn: i am not flying
[03:11] <kierank> but you will probably want to go to charles de gaulle
[03:32] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:e2b718464e92: swresample: Make rematrix maxvalue user settable
[03:32] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:7ac12599fe3a: swresample: fix negative rematrix volumns
[04:37] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:5feaa451bb65: doc: add "rematrix_maxval"
[10:32] <cone-499> ffmpeg.git 03Derek Buitenhuis 07master:4719040cd1b5: libx264: Define X264_API_IMPORTS on MSVC/ICL
[10:32] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:b909428dabe3: Merge commit '4719040cd1b54381796b22056a9ae37bd2b4668d'
[10:42] <cone-499> ffmpeg.git 03Hendrik Leppkes 07master:7ef760d95c73: configure: generate full msvc debug symbols when linking in debug mode
[10:42] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:2ca6a13b5290: Merge commit '7ef760d95c73dfee021b8fdee04f65126eb7edd1'
[10:57] <cone-499> ffmpeg.git 03Justin Ruggles 07master:8000206abcc8: libspeexdec: fix detection of final terminator code
[10:57] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:9d4dece6b66c: Merge commit '8000206abcc82491c2a8c71e494c5477ede7264c'
[11:48] <cone-499> ffmpeg.git 03Ben Avison 07master:41ef1d360bac: arm: Add VFP-accelerated version of synth_filter_float
[11:48] <cone-499> ffmpeg.git 03Ben Avison 07master:ce9ed10ac27b: arm: Add VFP-accelerated version of int32_to_float_fmul_scalar
[11:48] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:0129026c4e62: Merge commit '41ef1d360bac65032aa32f6b43ae137666507ae5'
[11:48] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:877bbe05cef0: Merge commit 'ce9ed10ac27b9cf32a6257e083ea2f052692d971'
[11:56] <cone-499> ffmpeg.git 03Ben Avison 07master:31c6f6f65c0e: fmtconvert: Add a new method, int32_to_float_fmul_array8
[11:56] <cone-499> ffmpeg.git 03Ben Avison 07master:26ffcc7de1d9: dcadec: Use int32_to_float_fmul_array8
[11:56] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:0d3400ec5329: Merge commit '31c6f6f65c0ed5a894e26ce44ab0c3e89c82b9a2'
[11:56] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:1573274b914e: Merge commit '26ffcc7de1d98f77400a2ebe4e75055515c54587'
[12:04] <cone-499> ffmpeg.git 03Ben Avison 07master:d6e4f5fef0d8: arm: Add VFP-accelerated version of int32_to_float_fmul_array8
[12:04] <cone-499> ffmpeg.git 03Martin Storsjö 07master:b63bb251ea6d: arm: Add VFP-accelerated version of imdct_half
[12:04] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:3cab2280058c: Merge commit 'd6e4f5fef0d811e180fd7541941e07dca9e11dc0'
[12:04] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:2305a6775dd6: Merge commit 'b63bb251ea6d6ba23295294e37a92625c0192206'
[12:11] <cone-499> ffmpeg.git 03Martin Storsjö 07master:ba6836c966de: arm: Add VFP-accelerated version of dca_lfe_fir
[12:11] <cone-499> ffmpeg.git 03Martin Storsjö 07master:8b9eba664eda: arm: Add VFP-accelerated version of fft16
[12:11] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:bacba8e5d1e9: Merge commit 'ba6836c966debc56314ce2ef133c7f0c1fdfdeac'
[12:11] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:c30eb74d1820: Merge commit '8b9eba664edaddf9a304d3acbf0388b5c520781d'
[12:17] <cone-499> ffmpeg.git 03Ben Avison 07master:800ffab48a78: dcadsp: Add a new method, qmf_32_subbands
[12:17] <cone-499> ffmpeg.git 03Ben Avison 07master:ff30d121595e: arm: Add VFP-accelerated version of qmf_32_subbands
[12:17] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:366e415836c5: Merge commit '800ffab48a7844dd5dc0a33b8f6b8e5ed718cf2e'
[12:17] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:23f250d2bc53: Merge remote-tracking branch 'qatar/master'
[13:18] <cone-499> ffmpeg.git 03Martin Storsjö 07master:47d57f24e35f: arm: Mangle external symbols properly in new vfp assembly files
[17:39] <j-b> anyone has a raw thd samples?
[18:03] <hotwings> according to the author of the softhddevice output plugin for vdr, theres a problem with the vdpau decoder not ffw/rew'ing h264 (h264 paff to be exact, iirc). would this be the right place to talk to someone about that?
[20:15] <cone-499> ffmpeg.git 03Zhang Rui 07master:2a5891bb9dfe: avformat/hls: parse EXTINF duration as floating-point number
[20:15] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:419a3d8a43d2: avformat/hls: avoid floating point arithmetic
[20:38] Action: Daemon404 sighs at the continued copious av_restrict warnings
[00:00] --- Tue Jul 23 2013
1
0
[00:04] <t4nk574> nah
[00:04] <t4nk574> doesnt work with the full command line
[00:04] <klaxa> post it
[00:05] <t4nk574> ffmpeg -i "$f" -i /home/logo.png -filter_complex overlay="10:10" -y -s 568x320 -c:v libx264 -vf ass="${f%.*}".ass -map 0:3 -b:v 300000 -movflags faststart -coder 1 -flags +loop -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -refs 4 -trellis 2 -chromaoffset 0 -bf 3 -b-pyramid normal -weightb 1 -mixed-refs 1 -8x8dct 1 -fast-pskip 1 -b_strategy 1 -direct-pred 3 -wpredp 2 -me_method hex -subq 6 -me_range 16 -g 250 -b-bias 0
[00:05] <t4nk574> i tried without -map 0:3 before
[00:05] <t4nk574> same problem
[00:06] <t4nk574> maybe i just need to add ass=blablabal behind overlay
[00:06] <t4nk574> where the other complex filter parameter is
[00:06] <klaxa> yeah maybe
[00:08] <t4nk574> Stream #0:0 (h264) -> overlay:main Stream #1:0 (png) -> overlay:overlay overlay -> Stream #0:0 (?) Stream #0:0 -> #1:0 (h264 -> libx264) Stream #0:1 -> #1:1 (ac3 -> libfaac) Encoder (codec none) not found for output stream #0:0
[00:11] <t4nk574> argh, this is hell
[00:12] <t4nk574> just one tiny parameter
[00:12] <t4nk574> cant they all wrap it into one simple command??
[00:16] <Mr_Ewscoba> I dont thik you can have filter complex
[00:16] <Mr_Ewscoba> and -vf in the same line
[00:16] <Mr_Ewscoba> one or the other
[00:22] <t4nk574> it seems like it Mr_Ewscoba
[00:22] <t4nk574> -vf and filter_complex seem to do the same thing
[00:23] <t4nk574> but when I add complex filter only once
[00:23] <t4nk574> it tries to output as the .ass file again
[00:23] <t4nk574> or simply ignores .ass
[00:27] <t4nk574> FINALLY
[00:27] <t4nk574> -vf = simple filter and does not work with multiple filter streams
[00:28] <t4nk574> so i had to use -filter_complex AND seperate overlay and ass with a comma
[00:29] <Mr_Ewscoba> :)
[00:29] <t4nk574> without the comma it doesnt load both filters, without the complex filter it does not encode two filters at the same time, without libass it does not parse ass correctly and without the ass conversion , the srt would not play
[00:29] <t4nk574> so this was 4 level problem
[00:30] <Mr_Ewscoba> subs is always a big problem, the dvbsub support in ffmpeg is so broken im just burning my subs instead as you do.
[00:31] <t4nk574> in that case i hope that my problem will help other newbies
[00:32] <t4nk574> in case somebody else encouters this problem
[01:01] <t4nk574> hmm
[01:01] <t4nk574> now there is a new problem sigh
[01:02] <t4nk574> Mr_Ewscoba when you convert srt to ass, is there a way to specify screen size, font style?
[01:06] <t4nk574> anyone?
[01:06] <t4nk574> we cant be the only ones with the problem
[01:50] <b6> is there some type of stream that can contain arbitrary text to serve as per-frame metadata for a video stream?
[01:53] <Mr_Ewscoba> t4nk574 I would guess so but no idea, I only use ffmpeg for messing with dvb - iptv stuff, where srt/ass is useless :p
[03:20] <norbert_> hi
[03:20] <norbert_> what exactly is avconv?
[03:21] <norbert_> I booted a Mint live CD and when I tried to run ffmpeg, the system said ffmpeg has been replaced by avconv
[03:22] <norbert_> is it a fork of avconv
[03:22] <norbert_> and, if so, why did the fork take place... what are the differences?
[03:25] <klaxa> norbert_: ^
[03:27] <norbert_> thanks
[05:14] <juanmabc> hi, my code is from ffmpeg-0.10/0.11+, but on 1.2 i hear sound only on left and low or glitches in right, sounds familiar? many api changes?
[07:28] <posciak> hi, I wanted to encode a stream that would have SEI recover points instead of IDRs when possible, I thought open_gop to x264 would be the option I need. I tried: ffmpeg -i in.mp4 -c:v libx264 -x264opts open_gop=1 -c:a copy out.mp4 and some variations of open_gop argument, but x264 keeps reporting "open_gop=0"... what am I doing wrong?
[10:04] <natrixnatrix89> I have a weird situation.. I'm creating a hls stream.. and it runs fine until media sequence 21
[10:04] <natrixnatrix89> ffmpeg -f hls
[10:04] <natrixnatrix89> after that it stops and doesn't run further
[10:05] <natrixnatrix89> I'm wondering why does it always stop on media sequence 21
[10:05] <natrixnatrix89> #EXTM3U
[10:05] <natrixnatrix89> #EXT-X-VERSION:3
[10:05] <natrixnatrix89> #EXT-X-TARGETDURATION:10
[10:05] <natrixnatrix89> #EXT-X-MEDIA-SEQUENCE:21
[10:05] <natrixnatrix89> #EXTINF:10,
[10:05] <natrixnatrix89> zalajs21.ts
[10:05] <natrixnatrix89> #EXTINF:10,
[10:05] <natrixnatrix89> zalajs22.ts
[10:05] <natrixnatrix89> #EXTINF:10,
[10:05] <natrixnatrix89> zalajs23.ts
[10:11] <praveenmarkandu> when i output a transcode output to file, i see a lot of ^M in the output before frame=
[10:11] <praveenmarkandu> how do i remove that?
[10:15] <praveenmarkandu> if i do sed 's/^M//g' log.txt | less it still shows ^M
[10:15] <Mr_Ewscoba> I think i had some semi luck at that using unix2dos convert scripts praveenmarkandu
[10:15] <praveenmarkandu> i tried dos2unix
[10:15] <Mr_Ewscoba> sed can't do it, that was my first try aswell
[10:16] <praveenmarkandu> wrong way?
[10:16] <Mr_Ewscoba> it can buy you need some special options
[10:16] <Mr_Ewscoba> sec
[10:16] <Mr_Ewscoba> but*
[10:17] <praveenmarkandu> hmmm
[10:17] <praveenmarkandu> tried tr , awk,
[10:17] <praveenmarkandu> also didnt work
[10:17] <Mr_Ewscoba> unix2dos -c 7bit faultyfile
[10:17] <Mr_Ewscoba> try that
[10:22] <Mr_Ewscoba> found the script where i knew i had used just that
[10:22] <Mr_Ewscoba> dos2unix -l -f -c 7bit temp/$name.x264.log
[10:26] <Mr_Ewscoba> praveenmarkandu
[10:26] <Mr_Ewscoba> user@box:~$ cat log | tail -n 4
[10:26] <Mr_Ewscoba> Stream #0.0 -> #0.0
[10:26] <Mr_Ewscoba> Stream #0.1 -> #0.1
[10:26] <Mr_Ewscoba> Press ctrl-c to stop encoding
[10:26] <Mr_Ewscoba> user@box:~$ 25 q=-1.0 size= 37926kB time=79.39 bitrate=3913.6kbits/s
[10:26] <Mr_Ewscoba> user@box:~$ cat log | dos2unix -l -f -c 7bit | tail -n 4
[10:26] <Mr_Ewscoba> frame= 2095 fps= 25 q=-1.0 size= 40332kB time=83.56 bitrate=3953.8kbits/s
[10:26] <Mr_Ewscoba> frame= 2110 fps= 25 q=-1.0 size= 40554kB time=84.00 bitrate=3955.1kbits/s
[10:26] <Mr_Ewscoba> frame= 2134 fps= 25 q=-1.0 size= 41289kB time=85.15 bitrate=3972.3kbits/s
[10:26] <Mr_Ewscoba> frame= 2158 fps= 25 q=-1.0 size= 41797kB time=86.01 bitrate=3980.8kbits/s
[10:26] <Mr_Ewscoba> user@box:~$
[10:26] <Mr_Ewscoba> ;)
[10:28] <praveenmarkandu> hmmm thanks
[10:28] <praveenmarkandu> will try it out :D
[10:31] <Mr_Ewscoba> np :)
[12:01] <elkng> for options like "-ss 00:00:38" is it possible to set fraction of a second ? I would really like to have it start from 38.5 second instead of 38
[12:06] <elkng> also what if I convert audio from video to wav file, should I use "-ab 192" option ?
[12:06] <elkng> or wav is lossless raw format ?
[12:09] <Mr_Ewscoba> pcm is, wav is a container :)
[12:11] <elkng> I use that command "ffmpeg -i file.avi -vn -ar 44100 -ac 2 -ab 192 -y -f wav file_out.wav" is it correct ?
[12:11] <elkng> when I use "-f wav" option does ffmpeg understand it should use "pcm" encoding or it just uses wav container ?
[12:12] <elkng> and I should also use option for pcm format ?
[12:12] <wawrek> is this a channel for users?
[12:12] <elkng> wawrek: are you from netherlands ?
[12:13] <Mr_Ewscoba> -f rawaudio file.pcm
[12:13] <wawrek> elkng: yes, why do you ask?
[12:13] <wawrek> elkng: how did you know?
[12:13] <elkng> wawrek: yes, why do you ask ?
[12:13] <elkng> wawrek: your ip
[12:13] <elkng> wawrek: "channel for users", yes, why do you ask ?
[12:14] <wawrek> I want to know if it is possible to manipulate the content of video frames while compressing a clip with ffmpeg. we can apply filters..
[12:15] <elkng> wawrek: was that aquestion ?
[12:15] <elkng> wawrek: there are filters for ffmpeg, try them out
[12:16] <wawrek> yes it is a question, i want to create masks, overlay frames and so on.
[12:16] <wawrek> I will do so, but i couldn't find examples so far.
[12:17] <elkng> Mr_Ewscoba: if I use "-f rawaudio file.pcm" it says "[NULL @ 0x80896c0] Requested output format 'rawaudio' is not a suitable output format"
[12:19] <Mr_Ewscoba> try just raw then
[12:20] <elkng> I will use "-f wav"
[12:21] <Mr_Ewscoba> Should be the same, just raw audio in a wav container
[12:25] <Mr_Ewscoba> -acodec pcm_s16le -f rawvideo file.pcm
[12:25] <Mr_Ewscoba> there you have it ^^
[17:26] <Azrael_-> hi
[17:28] <Azrael_-> is it possible to supply ffmpeg data on windows from somewhere else beside files? it isn't possible to access the source-files directly, i want to supply the data as a stream to ffmpeg without the need to store it first into a file
[17:28] <JEEBsv> stdin is always an alternative, the API also would let you deal with memory if you were using that
[17:30] <Azrael_-> how could i use stdin on windows?
[17:30] <JEEBsv> -i - ? there's also the pipe protocol
[17:30] <JEEBsv> both should be documented
[17:30] <Azrael_-> k, will have a look
[17:33] <Fjorgynn> You where always on my minds...
[17:34] <Fjorgynn> not files?
[17:37] <Azrael_-> the big problem with stdin, ffmpeg keeps everything in memory if i supply non streaming-files
[17:37] <Fjorgynn> ooooh
[17:37] <Azrael_-> or am i wrong?
[17:37] <JEEBsv> uhh, wat. No, it shouldn't
[17:37] <JEEBsv> are you by chance using powershell or something?
[17:38] <JEEBsv> that one actually does that if you try to pipe
[17:38] <Azrael_-> using a c#-program directly
[17:38] <JEEBsv> ffmpeg itself shouldn't cache more than absolutely needed
[17:39] <JEEBsv> (unless you tell it to do something else of course)
[17:39] <Azrael_-> k
[19:07] <hotwings> according to the author of the softhddevice output plugin for vdr, theres a problem with the vdpau decoder not ffw/rew'ing h264 (h264 paff to be exact, iirc). would this be the right place to talk to someone about that?
[19:51] <jankowiak> I've been looking at python wrappers for ffmpeg, and most of them seem to be dead
[19:51] <jankowiak> Are there any that are recommended?
[19:57] <JEEBsv> nope
[20:32] <megaTherion> has the cli changed, I cannot do '-vcodec copy' - it says unknown decoder
[20:33] <sacarasc> You've probably put it in the wrong place.
[20:34] <megaTherion> sacarasc: ah, you're right
[20:41] <natrixnatrix89> I have the following problem.. ffmpeg runs fine and stores an input stream if I run it as a user.
[20:41] <natrixnatrix89> But if ffmpeg is ran programmatically by cron, then it freezes after first 2 minutes.
[20:41] <natrixnatrix89> Is it because there is no stdout? Is there a way to suppress this behavior?
[20:45] <natrixnatrix89> from what I read in stackoverflow, it's due to deadlock..
[20:45] <natrixnatrix89> how exactly do I fix that?
[20:57] <Plorkyeran> > /dev/null 2> /dev/null, if that actually is the problem
[20:57] <Plorkyeran> although dumping to a log file instead is likely to be useful at some point
[22:44] <colinb> Hi all, I am using ffmpeg in the command line to encode my videos and I am running into a problem with concat. I record from the screen in FRAPS and then encode each piece, finally stitching them together with the concat demuxer. This time, around the 5th file, right at the stitch, things get weird. I don't know the technical terms but it seems like the dithering or encoding from frame to frame has a problem. Very blocky and distorted whe
[22:44] <colinb> re both the source and the encoded files are clean. Any ideas?
[22:45] <colinb> All the files are encoded with the same parameters and bitrate, by the way
[22:46] <colinb> I even tried to re-concat them but no dice :|
[22:51] <colinb> Howdy Carraway
[22:51] <Carraway> hellooooo
[22:52] <colinb> how goes it
[22:52] <colinb> Are you familiar with the concat demuxer by any chance? :)
[23:08] <colinb> Ugh, the new Gmail key shortcuts just made me prematurely send an e-mail to the ffmpeg users list :|
[23:13] <brontosaurusrex> colinb, no big deal, just spammed few 1000 users.
[23:13] <colinb> I know :(
[23:13] <colinb> I blame it all on Gmail though!
[23:13] <brontosaurusrex> just kidding.
[23:16] <colinb> Agh this is such strange behavior. I am experiencing major distortion at the stitch point between two videos.. so I tried concatting the first section and then the second section at the problem point, both video are fine, but when I try to concat the two new sections together I get the same problem at the same point
[23:17] <colinb> perhaps I need to re-encode the video at the problem point? even though the encoded section of video seems to be fine on its own?
[23:24] <colinb> Nope, still the same issue. is it possibly because the clip preceding the clip which errors out is only 5 seconds long?
[23:29] <brontosaurusrex> colinb, what codec they use?
[23:30] <colinb> original is fraps to mpeg4 I believe
[23:30] <brontosaurusrex> i mean the clips that you are concating?
[23:30] <colinb> I have successfully used this method for several videos before this
[23:31] <colinb> umm just to be certain and clear is there a ffmpeg command to analyze a file?
[23:31] <brontosaurusrex> there is
[23:32] <colinb> yes, mpeg4
[23:32] <colinb> in an avi container
[23:33] <brontosaurusrex> and concat docs are clear that such codec/container is supported?
[23:33] <colinb> FRAPS -> FMP4
[23:33] <colinb> I _think_ so.. but I am not entirely sure let me check again
[23:34] <brontosaurusrex> i still don't know what you are concating, fraps or mpeg4, so yeah ...
[23:34] <brontosaurusrex> the usual "paste the complete command and output to the paste bin."
[23:34] <colinb> mpeg4
[23:34] <colinb> sure, lemme do that
[23:38] <colinb> here's the paste for the encoding: http://pastebin.com/i1Ph4cdJ
[23:39] <colinb> and the concat action http://pastebin.com/SBthgxbX
[23:40] <colinb> sorry that concat paste got mangled a bit
[23:40] <colinb> here's a cleaner version: http://pastebin.com/dvtiBGX4
[23:40] <brontosaurusrex> i would assume this has something to do with fraps and variable frame rate and variable frame rate flags and avi
[23:41] <brontosaurusrex> so you are probably concating multiple streams with different framerates and ...
[23:41] <colinb> could you perhaps elaborate on VBR flags and avi? are you saying that the vbr is causing issues? are you saying there is a vbr flag that might assist me?
[23:42] <colinb> the strange thing is that all should be exactly the same.. bitrate, framerate..
[23:42] <colinb> I appreciate your attention I am just (obviously) a encoding newb
[23:43] <brontosaurusrex> can you analize few of them with ffmpeg/ffprobe and see whats up with framerate?
[23:44] <brontosaurusrex> basically what i would do is intermediate to some uncompressed constant-frame-rate format, then concat, then encode to final format
[23:45] <colinb> do you have a suggestion for a constant rate format/codec?
[23:46] <brontosaurusrex> perhaps ut-video or fv1
[23:47] <colinb> okay thanks for the assistance! I've run out of time to work on it for now so I gotta run!
[23:47] <brontosaurusrex> have fun
[23:50] <Aprel> hi compiled ffmpeg from source. Works great from cli, but video software like kdenlive can't find the binaries. How to I set up the proper links? On ubuntu 13.4
[23:53] <brontosaurusrex> Aprel, /j #kdenlive
[23:53] <Aprel> One more q: When I do a screen capture, the audio and video desyncs, about a couple frames every 1-2 minutes--more frames if there's a lot of motion in the capture. Any way to avoid this, or programmatically repais desynced files?
[23:54] <brontosaurusrex> Aprel, post the command line you use for capturing and all
[23:55] <Aprel> I use this command: ffmpeg -f x11grab -r 25 -s 1920x1080 -i :0.0 -f alsa -ac 2 -i pulse -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv
[23:55] <Aprel> I've got a i5 2500K cpu, and it's no wherre near %100, so it's not a cpu bottleneck.
[23:56] <klaxa> might be harddrive bottleneck
[23:57] <Aprel> klaxa: for a desync? I'd think hdd would cause frame and audio drops.
[23:57] <klaxa> hmm true
[23:57] <brontosaurusrex> Aprel, you can try -crf 23 or something like that
[23:58] <brontosaurusrex> to see if it is a hdd issue
[23:59] <Aprel> yeah, okay. Thing is I need to record like 8 mins video and watch it before the sync is easily noticeable to me, so hang tight :)
[23:59] <Aprel> btw what does the crf switch do?
[00:00] --- Tue Jul 23 2013
1
0
[01:08] <wm4> wow that ticket
[01:08] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:3242747df392: avfilter/vf_scale; fix indent
[01:08] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:0c480bcfd932: doc/filters: document vf_scales color range
[01:08] <wm4> it even has graphs and stuff
[01:10] <wm4> michaelni: are you not confident that avcodec_enum_to_chroma_pos() is the right thing?
[01:13] <michaelni> just thought it cant hurt to wait a day or 2 extra to make sure noone has a better idea
[01:20] <michaelni> (thats more about the chroma pos thing that the function depends on)
[01:55] <Compn> michaelni : did rockbox ever reply about fixed point fft from mips ?
[01:55] <kierank> yes
[01:55] <kierank> see ml
[01:55] <Compn> oh
[01:57] <Compn> of course, :)
[01:57] Action: Compn grumbles to himself
[01:58] <kierank> Compn: are you going to come to vdd
[01:58] <Compn> i was thinking about it
[01:59] <Compn> i'd like to see france
[02:00] <Compn> guess i'd have to register
[02:00] <Compn> and ask those videolan guys :)
[02:01] <Compn> sure why not
[02:01] Action: Compn is shy person
[03:44] <cone-196> ffmpeg.git 03James Almer 07release/1.0:ddfff763978d: oggparseskeleton: Fix fisbone header parsing
[03:44] <cone-196> ffmpeg.git 03James Almer 07release/1.0:2d66486b8eab: oggparseskeleton: Replace avpriv_report_missing_feature() with a normal av_log() call
[03:44] <cone-196> ffmpeg.git 03Michael Niedermayer 07release/1.0:be23cee317f5: oggparseskeleton: avoid header parsing failure
[03:44] <cone-196> ffmpeg.git 03Dale Curtis 07release/1.0:858e06aabe12: avformat/utils: Keep internal and external av_read_frame() packets in sync.
[03:44] <cone-196> ffmpeg.git 03Michael Niedermayer 07release/1.0:b896c1c98e06: update all trac links to use the trac subdomain
[03:44] <cone-196> ffmpeg.git 03Michael Niedermayer 07release/1.0:9c7c2abad4a8: swfdec: check lens validity
[03:44] <cone-196> ffmpeg.git 03Justin Ruggles 07release/1.0:d46713cc7e7d: swfdec: do better validation of tag length
[03:45] <cone-196> ffmpeg.git 03Michael Niedermayer 07release/1.0:b8b73739141e: Merge remote-tracking branch 'jamrial/release/1.0' into release/1.0
[04:46] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:1434df3b93fd: jpeg2000dec: Support non subsampled 9-16bit planar pixel formats
[04:46] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:7b79c84b40b7: avcodec/snowdec: remove assert.h include, its unused
[04:46] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:953c7550f832: avcodec/snowenc: convert speed relevant asserts to av_assert2()
[05:31] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:1f7acf3cff06: vfilter/vf_scale: avoid using "{}"
[11:34] <bernie_> sigh
[11:54] <cone-525> ffmpeg.git 03Luca Barbato 07master:fcae3ff124ee: dsicinav: K&R formatting cosmetics
[11:54] <cone-525> ffmpeg.git 03Michael Niedermayer 07master:75fbe41fc61e: Merge commit 'fcae3ff124ee97c9265e3b93f3d41238b2aee9bd'
[12:08] <cone-525> ffmpeg.git 03Luca Barbato 07master:dd0bfc3a6a31: dsicinav: Bound-check the source buffer when needed
[12:08] <cone-525> ffmpeg.git 03Michael Niedermayer 07master:0a28a52d53e2: Merge commit 'dd0bfc3a6a310e3e3674ce7742672d689a9a0e93'
[13:32] <cone-525> ffmpeg.git 03Luca Barbato 07master:fd8189932147: dsicinav: Clip the source size to the expected maximum
[13:32] <cone-525> ffmpeg.git 03Michael Niedermayer 07master:db0384c9c962: Merge remote-tracking branch 'qatar/master'
[15:54] <cone-499> ffmpeg.git 03Anshul Maheshwari 07master:0f229f9b91fe: avformat/utils: Close codec context since it is allocated by avformat_new_stream in refrence to ticket 2716
[16:11] <cone-499> ffmpeg.git 03Joakim Plate 07master:8710a634a5d4: h264: add frame packing as stereo_mode frame metadata
[18:03] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:37ecd67b5e14: Revert "avformat/utils: Close codec context since it is allocated by avformat_new_stream in refrence to ticket 2716"
[18:03] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:800ffa1fc089: avcodec/h264_sei/ff_h264_decode_sei: fix error codes for insufficient data
[18:03] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:80c873a87ed0: avcodec/ff_h264_decode_sei: fix integer overflow with size.
[18:03] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:45da7a0e8f27: avcodec/ff_h264_decode_sei: Check SEI size
[18:03] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:118a1c2f4c23: avcodec/ff_h264_decode_sei: use skip_bits_long()
[18:11] <cone-499> ffmpeg.git 03Marton Balint 07master:b198e33ad8b3: ffplay: fix build with disabled avfilter
[18:11] <cone-499> ffmpeg.git 03Michael Niedermayer 07master:9042c8a4db9b: Merge remote-tracking branch 'cus/stable'
[19:29] <cone-499> ffmpeg.git 03Stefano Sabatini 07master:f9f7f4c9bbd1: ffplay: improve error message in case of failure, mention filtergraph configuration
[00:00] --- Mon Jul 22 2013
1
0
[02:03] <Gnintendo> I recently upgraded to ffmpeg 1.2.1 from 1.0.(?), and my filter chain is no longer working
[02:03] <Gnintendo> the error thrown is "Size and width/height expressions cannot be set at the same time."
[02:03] <Gnintendo> and it is referring to the [0]scale=1280/6:-1[pip] filter in my chain
[02:04] <Gnintendo> I am unsure exactly how to rectify this issue to still achieve the result I am aiming for here; any assistance would be appreciated
[06:41] <elkng> I use few commands to convert same file into few others with different bitrate, I do it in two pass encoding, so first step command is: "ffmpeg -i file.mkv -c:v mpeg4 -vb 600k -s 650x365 -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1 -passlogfile log_1 -an -f rawvideo -y /dev/null" then on that first pass it creates file
[06:41] <elkng> "log_1" and then goes second pass that uses information from that "log_1" to createt new video file, then I change option "-vb 600k" to "-vb 800k" and do the same two pass encoding to get second video file with 800 bitrate and then same for 1000,1200,1500 bitrate files, but the strange thing is the first pass step should be similar for all of
[06:41] <elkng> them and it should create "log_*" files that absolutely the same but they actually differ, why ?
[07:22] <elkng> another question
[07:23] <elkng> to cut out some piece of video I have two alternatives: "ffmpeg -ss 00:02:45 -t 00:06:54 -i file.avi -vcodec copy -acodec copy file_out.avi" or "mencoder -ss 00:02:45 -endpos 00:06:54 -oac copy -ovc copy file.avi -o file_out.avi" which way is more prefferable, "ffmpeg" or "mencoder" ?
[07:24] <elkng> I have hyperthreaded CPU, and I noticed if I encode video with ffmpeg its about twice faster, so does ffmpeg use hyperthreading for every activity so even with cuting out from video will be faster with ffmpeg ?
[07:49] <elkng> is it because of sunday no one here ?
[11:25] <MrE_> What tool would you guys recommend to fetch a hls stream and broadcast it as udp/rtp?
[11:26] <MrE_> Tried ffmpeg, ffmpeg -i url -vcodec copy -acodec copy - f mpegts "udp://239.0.0.1:5501?ttl=1&pkt_size=1316&buffer=262140" but that seems to dump every segment to udp every 10 seconds, and not properly stream it.
[11:27] <MrE_> Adding -re fix that, but then ffmpeg will get out of sync with the segment list and skip segments.
[16:05] <stefanha> Can ffmpeg concatenate ogg files and insert silence between some of the file segments without re-encoding?
[16:06] <stefanha> From the documentation it seems the concat demuxer can concatenate without re-encoding. I don't see a way to set the starting time of each ogg segment though (I'd like to insert some silences).
[16:06] <stefanha> For example: a.ogg, b.ogg, silence (10 seconds), c.ogg -> output.ogg
[16:09] <saste> stefanha, what's the problem with generating a silence file, and then use concat?
[16:09] <stefanha> saste: I'll try that. Not very familiar with ffmpeg so I wanted to check first.
[16:10] <saste> you can use aevalsrc for example, or a simple read from /dev/zero
[16:10] <stefanha> saste: Excellent, thanks!
[16:42] <newbie|3> what does AV_DICT_IGNORE_SUFFIX do?
[16:42] <newbie|3> can't seem to find any docs on it
[16:42] <newbie|3> "metadata is read using the AV_DICT_IGNORE_SUFFIX flag"
[16:42] <newbie|3> what does that mean?
[16:44] <newbie|3> also, I can't really make sense of "filter_codec_opts", which seems to assume the type specificiers are prefixes, however, in all the docs I've found they are suffixes, e.g. "b:v" whatšs goign on there?
[19:13] <1JTAADT7Z> Use -vf pad=width:height:x:y:color as in libav doc found here:
[19:14] <1JTAADT7Z> i wanted to add 139pixels to top and bottom. What would be the pad parameters then?
[19:35] <Yagger> I have a question concerning the --enable-sram configure flag. Will it make a difference when using the flag when compiling for a Core i7 machine?
[19:43] <MrE_> What tool would you guys recommend to fetch a hls stream and broadcast it as udp/rtp?
[19:43] <MrE_> Tried ffmpeg, ffmpeg -i url -vcodec copy -acodec copy - f mpegts "udp://239.0.0.1:5501?ttl=1&pkt_size=1316&buffer=262140" but that seems to dump every segment to udp every 10 seconds, and not properly stream it.
[19:43] <MrE_> Adding -re fix that, but then ffmpeg will get out of sync with the segment list and skip segments.
[19:45] <MrE_> Running ffmpeg twice one to do the downloading part and mux it as a mkv file, and then 10 seconds later, another ffmpeg that read that mkv file and broadcast it as udp, everything works, but should be posible with 1 command and no temp file...
[19:58] <1JTAADT7Z> man, just noticed my weird nick. That's wrong
[19:59] <defaultr0> i got the padding working
[20:00] <defaultr0> I'm running this now and bitrate is only 10000kbit. I want it higher since source is huffyuv(lossless). I am happy if bitrate was showing 26000kbits
[20:00] <defaultr0> ffmpeg -i g200mm.mkv -vf scale=1920x802,pad=1920:1080:0:139:black -vcodec libx264 -pix_fmt yuv420p -an -crf 15 -preset veryslow output2.mp4
[20:27] <relaxed_> defaultr0: use a lower crf value
[20:32] <MrE_> or dont use crf, use -vb 26000k
[20:36] <relaxed_> right, and if you want a specific size use two passes
[21:38] <akovia> Hi, I am a moderator over on fanart.tv and have been using ffmpeg to make video tutorials for the site and for some users. The first ones I created seemed to not have any troubles but lately people have been having trouble playing them back. I asked for help and followed the "HOWTO Proper Sceencasting" guide on the ubuntu forums (which is of course down right now), but the help I received didn't fix the problem. My system and ffmpeg sp
[21:38] <akovia> ecs to follow.
[21:39] <akovia> Specs http://pastebin.com/DhpKE686
[21:39] <Fjorgynn> akovia: what are you using now?
[21:39] <Fjorgynn> ffmpeg?
[21:39] <Fjorgynn> so what's the output
[21:39] <akovia> coming
[21:39] <Fjorgynn> if you do ffmpeg -i latestscreencast.mp4
[21:39] <akovia> http://pastebin.com/tpwsFSXB
[21:41] <akovia> and here's the script I use http://pastebin.com/2gf23nzm
[21:42] <akovia> all that shows the info you needed or you need me to run that command?
[21:42] <Fjorgynn> so you can watch it?
[21:42] <akovia> it all plays back fine on my machine
[21:43] <akovia> here's where i think the problem lies...
[21:43] <akovia> if i open the file in smplayer, i'll get a time of around 1 minuts, in avidemux, it's like 20% shorter
[21:44] <akovia> so i thought it may be a framerate thing?
[21:44] <Fjorgynn> avidemux?
[21:44] <Fjorgynn> why do you use that?
[21:44] <akovia> well i noticed the discrepancy when doing some editing.
[21:45] <akovia> i use avidemux to find good cutting points
[21:46] <akovia> looking for keyframes, then i use mmg to do the cutting
[21:46] <akovia> so this last screencast shows 57 seconds in smplayer, and only 36 seconds in avidemux
[21:47] <akovia> it may not be related why some people can't watch them, but I didn't have any other ideas
[21:50] <akovia> I've searched extensively to find a way to cut mkv's with frame accuracy, but never found a way. At least if i cut at the keyframes shown in avidemux, it always seems close to where i want the cut
[22:02] <Mr_Ewscoba> akovia VideoRedo or TS Doctor
[22:03] <Mr_Ewscoba> Both are made for cutting transport streams, videoredo should be able todo mkv files and frame accurate cutting :)
[22:03] <akovia> thanks, but i think they are both for windows
[22:04] <Mr_Ewscoba> They are, there is nothing that works for linux yet that is frame accurate and doesn't create artifacts
[22:04] <akovia> yeah, that's what i found as well =/
[22:05] <Mr_Ewscoba> I need to run a virtual windows to be able to use videoredo with as near as host operation disk speeds
[22:06] <akovia> i'm afraid my computer is quite up to the tak of video editing in a VM
[22:06] <akovia> task
[22:07] <Mr_Ewscoba> you could try wine, ive never had any luck with it thou
[22:08] <akovia> i use wine for a few things, but it's more trouble than it's worth if it doesn't "just work"
[22:08] <Mr_Ewscoba> tried mencoder and edl files ?
[22:08] <akovia> edl files?
[22:09] <Mr_Ewscoba> http://en.wikipedia.org/wiki/Edit_decision_list
[22:09] <akovia> Fjorgynn, here is a link to one of the videos if you are still around
[22:09] <Fjorgynn> hm
[22:10] <akovia> will look into that, thanks!
[22:10] <akovia> https://dl.dropboxusercontent.com/u/93550827/Toke2.mkv
[22:11] <Mr_Ewscoba> There is a program called comskip that does commercial detection and creates such edl files, for 3rd party tools to use for cutting out video parts, you can find much more on that over at comskip's forum ;)
[22:11] <akovia> Mr_Ewscoba, I'm familiar with mencoder, but never played with it. edl files look interesting though
[22:11] <Fjorgynn> if you want to edit mp4-files you can use like kdenlive or OpenShot
[22:11] <Fjorgynn> on linux
[22:12] <Mr_Ewscoba> both sucks at cutting video parts out without artifacts Fjorgynn :)
[22:12] <akovia> openshot and piviti both i've had bad luck with. they seem like dead projects. I'm assuming kdenlive requires all the KDE libraries to be installed which isn't an option =/
[22:13] <akovia> unfortunately, video editing in linux could use some more love
[22:14] <akovia> Mr_Ewscoba, are you on windows?
[22:14] <akovia> have you tried playing that video i linked?
[22:15] <Mr_Ewscoba> Yes I am one of those that use windows on my main desktop and linux on everything else in the house :D
[22:15] <akovia> hehe
[22:15] <akovia> it took me a couple years to cut the strings but I'm glad I did
[22:17] <Mr_Ewscoba> Hehe i can see the video fine open's up in vlc, not that i get anything out of it, never played with such video editing only cutting and reencoding :D
[22:19] <akovia> i recommended those that couldn't play my videos to try VLC or MPC-HC, and most say they can watch them after that. Just curious why it can't be played without those.
[22:22] <Mr_Ewscoba> Input #0, matroska,webm, from 'Toke2.mkv':
[22:22] <Mr_Ewscoba> Metadata:
[22:22] <Mr_Ewscoba> ENCODER : Lavf53.21.1
[22:22] <Mr_Ewscoba> Duration: 00:05:19.06, start: 0.000000, bitrate: N/A
[22:22] <akovia> what would be a good command to re-encode to mp4 without taking forever but decent quality.
[22:22] <Mr_Ewscoba> Stream #0.0: Video: h264 (High 4:4:4 Predictive), yuv420p, 1680x1026, PAR 1:1 DAR 280:171, 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
[22:22] <Mr_Ewscoba> No faults with that video, seems to work fine on anything based on ffmpeg/libav
[22:23] <akovia> hmmm
[22:24] <akovia> maybe i'm just getting people that don't play back many videos complaining then
[22:24] <akovia> just thought it was curious to have such a big time discrepancy in avidemux.
[22:25] <akovia> might not be the problem at all then
[22:25] <akovia> that still screws up my editing flow though =/
[22:26] <akovia> it's like avidemux is basing the time on total frames of the clip to determine the time
[22:26] <akovia> so when my framerate drops below 30, it cuts the time
[22:31] <t4nk574> hi @ll
[22:32] <t4nk574> Hope you are fine
[22:32] <t4nk574> I understand it that this is THE way to go to, when it comes to ffmpeg settings
[22:33] <t4nk574> I have been trying to hardcode external .srt files into a mp4 container for hours, but to no avail.
[22:33] <t4nk574> After reading the documentary and the man ffmpeg, it pains me to say that I still do not understand why the srt are not included in the output mp4 file
[22:34] <t4nk574> and thought maybe I could find some help from an experience encoder here?
[22:35] <t4nk574> running ffmpeg 2.0
[22:35] <t4nk574> does somebody know something?
[22:38] <Mr_Ewscoba> tryin to mux srt with mp4, or hardcode it onto the vide
[22:38] <Mr_Ewscoba> video*
[22:38] <Mr_Ewscoba> ?
[22:38] <Mr_Ewscoba> akovia variable frame rate ?
[22:40] <akovia> ffmpeg -f x11grab -s $SIZE -r $RATE -i :0.0 -vcodec $VCODEC -preset $PRESET -crf 0 -threads 0 -y "$OUTPUT"/"$input".mkv
[22:40] <akovia> rate at 30
[22:40] <akovia> so i guess not
[22:40] <t4nk574> mr_ewscoba to hardcode it into mp4
[22:41] <Mr_Ewscoba> convert it to ass and then, -vf aas=file.ass
[22:42] <saste_> Mr_Ewscoba, simpler -vf subtitles=file.any
[22:42] <akovia> if i re-encode to mp4 and open in avidemux the time is correct, but it crashes avidemux if I cancel safe mode
[22:43] <akovia> "H.264 detected
[22:43] <akovia> If the file is using B-frames as reference it can lead to a crash or stuttering.
[22:43] <akovia> Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY.
[22:43] <akovia> Do you want to use that mode?"
[22:43] <Mr_Ewscoba> Sure, do you know how to use an internal track like if input is from a dvb adapter and stream has text based dvb subs saste_ ? :D
[22:45] <JEEB> akovia, yes avidemux sucks balls handling b-frames even in containers where it's completely OK
[22:45] <JEEB> that warning literally should be limited to AVI
[22:45] <JEEB> anyways, that just shows how much of a trainwreck avidemux is ^^;
[22:45] <Mr_Ewscoba> avidemux sucks balls at almost everything, stupid useless bug filled app :p
[22:45] <akovia> lol, wish there were better options
[22:46] <akovia> i use mmg for most editing, but just use avidemux for cut points
[22:46] <JEEB> I generally use aegisub for the cut points
[22:46] <JEEB> uses ffms2 for video loading
[22:46] <klaxa> aegisub performes unexpectedly well on my computer
[22:47] <akovia> never thought of that
[22:47] <akovia> i have that installed
[22:47] <akovia> hmmm, thought i did
[22:47] <Mr_Ewscoba> ffmpeg -i inputfile.mkv -vcodec copy -acodec copy -f mpegts out.ts
[22:48] <Mr_Ewscoba> you will have much more luck cutting in such ts file, than a mkv container
[22:48] <JEEB> actually I wouldn't be that sure of it, since the tools for cutting on random access points in matroska are actually pretty usable :)
[22:48] <Mr_Ewscoba> There are tons of programs made for that since thats what you get from a satelite cable tv etc feed
[22:50] <akovia> well if i use my smplayer to just look for cut points where i want them in the timeline and then try using mmg to cut at those points i get really random results. If i use avidemux to search to keyframes and make my cuts there, i seem to get really good results
[22:50] <Mr_Ewscoba> Well you can be sure of that, transport streams are most cutting friendly, VideoRedo for example first got mkv support after tvheadend came arround and in its first manny versions only could dvr mkv
[22:51] <Plorkyeran> transport streams are no more cutting friendly than matroska, but what is in them often is
[22:51] <Plorkyeran> TV broadcasts don't have the 10+ second GOPs that you often see in internet-distributed videos
[22:52] <Plorkyeran> it'd kinda suck to have it take up to ten seconds for things to look right after changing channels
[22:52] <t4nk574> Mr_Ewscoba , when I add that parameter it says Output file #0 does not contain any stream
[22:52] <Mr_Ewscoba> A proper program like videoredo can do cutting on non gop boundary also.... it will just reencode that little part ;)
[22:53] <akovia> i thought i had Aegisub installed and I did. Is there anything special you do to pick out cut cut points JEEB?
[22:54] <t4nk574> im trying to convert .avi + .srt / .ass -> mp4
[22:54] <t4nk574> but it always says Output file #0 does not contain any stream
[22:57] <JEEBsv> akovia: the time/framenum thing goes light blue with "random access points"
[22:57] <JEEBsv> and they are visible on the timeline
[22:58] <Mr_Ewscoba> t4nk574 can you put the complete command and output on paste ?
[22:58] <t4nk574> on pastebin?
[22:58] <Mr_Ewscoba> yup
[23:00] <akovia> JEEBsv, I'm not seeing that on ver 3.0.1
[23:01] <JEEBsv> after loading a video file?
[23:01] <JEEBsv> anyways, 3.x when I last tried still was doing that
[23:02] <t4nk574> Mr_Ewscoba http://pastebin.com/PXJry2MY
[23:02] <akovia> yeah, loaded that same video, tried sliding the seek video slider and also just let it play but the time/frame never highlights
[23:03] <akovia> oh well, was worth a try
[23:08] <t4nk574> Mr_Ewscoba have you seen it?
[23:18] <t4nk574> hmm
[23:18] <t4nk574> feels so unlucky
[23:19] <t4nk574> why is it so difficult to hardcode subs with ffmpeg :(
[23:20] <klaxa> but it's not
[23:20] <klaxa> or is it?
[23:20] <klaxa> -vf ass=subtitles
[23:23] <t4nk574> doesnt work for me :(
[23:23] <t4nk574> see the pastebin log i posted 23:02
[23:23] <Mr_Ewscoba> back
[23:27] <klaxa> t4nk574, you didn't even compile ffmpeg with --enable-libass
[23:29] <akovia> Just wanted to say thanks to all who helped. I'll try some of the suggestions and hopefully get a workflow going that works. Cheers!
[23:30] <t4nk574> klaxa im doing now
[23:33] <t4nk574> klaxa Output file #0 does not contain any stream
[23:33] <t4nk574> that's what i still get ^^
[23:33] <klaxa> haha
[23:33] <t4nk574> compiling ffmpeg with libass didnt seem to help
[23:34] <klaxa> well try addming -map 0
[23:34] <klaxa> i doubt it'll work, but it's worth a shot
[23:34] <t4nk574> does it matter where exactly?
[23:34] <t4nk574> well i dont exaclty understand how map works
[23:34] <klaxa> i think so, i'm not sure though, put it after the input
[23:34] <t4nk574> ok
[23:35] <klaxa> -map is pretty straightforward (and useful) once you understand the syntax
[23:36] <t4nk574> klaxa http://pastebin.com/yytw0es3
[23:36] <t4nk574> welcome back Mr _Ewscoba
[23:36] <klaxa> haha
[23:36] <klaxa> >Output #0, ass, to 'ass=Man.Called.God.E01.450p.HAN.dramayou.com.ass':
[23:36] <klaxa> that's uh... the problem
[23:36] <t4nk574> oh i see
[23:36] <t4nk574> so it thinks that im trying to output as as ass
[23:37] <klaxa> ffmpeg wants to put stuff in the .ass container but only text goes into .ass so everything else is unmapped
[23:37] <t4nk574> but you guys told me to wrap it as ass
[23:37] <klaxa> so nothing is left
[23:37] <klaxa> can you post the command line again?
[23:37] <klaxa> oh
[23:37] <klaxa> wait
[23:37] <klaxa> >ffmpeg -i "$f" ass="${f%.*}".ass
[23:37] <klaxa> make it: ffmpeg -i "$f" -vf ass="${f%.*}".ass
[23:39] <t4nk574> at least its encoding now
[23:39] <t4nk574> let see if there are subs
[23:39] <t4nk574> i thought -vf was depreciated for -filter_complex
[23:41] <klaxa> huh? maybe so...
[23:43] <t4nk574> hm, ok so it works for the test file
[23:43] <t4nk574> lets see if it works for the complete encoding line
[23:43] <klaxa> hardsubbing for hardware compatibility?
[23:48] <holgersson> Hi all
[23:50] <Mr_Ewscoba> t4nk574
[23:50] <Mr_Ewscoba> Output #0, ass, to 'ass=Man.Called.God.E01.450p.HAN.dramayou.com.ass':
[23:50] <klaxa> Mr_Ewscoba: we resolved that issue ;)
[23:51] <holgersson> I want to downmix a soundstream and read several old posts at different places, that ffmpeg doesn't downmix. Instead, it was 'accused' to use just 2 channels and drop the rest.
[23:51] <Mr_Ewscoba> kk Looks like somehow ffmpeg thinks it need to output aas not mp4 ^^
[23:51] <holgersson> Is this right? Were it right?
[23:51] <klaxa> doesn't libavfilter have a mix audio filter?
[23:52] <klaxa> http://ffmpeg.org/ffmpeg-filters.html#amix
[23:52] <t4nk574> yes, klaxa pointed that out
[23:53] <t4nk574> i fixed that part
[23:53] <t4nk574> now it s a bit more complicated as i try to put it all into the encoding command line
[00:00] --- Mon Jul 22 2013
1
0
[00:00] <bernie_> grrr... I'm a git patch newbie... I have 2 commits ahead of master, but I can only seem to grab each diff for each commit. I can do git format-patch -1 --stdout > patch, or I can do git format-patch -2 --stdout > patch, but I want to have a combined patch...
[00:01] <wm4> AFAIK format-patch doesn't combine commits to a single patch
[00:01] <wm4> you _could_ use git diff for that
[00:01] <wm4> you could also just squash the two commits into one
[00:01] <wm4> but I think if they are supposed to be separate commits - just send two patches
[00:02] <bernie_> okay, tell me how to squash (I don't know how)
[00:02] <bernie_> no, it's just fixing the bug I made earlier... no need to have 2 separate ones
[00:02] <bernie_> it's just going to you, so I could just send you the patch for my patch ;)
[00:03] <wm4> you could use "git reset origin/master" to go back to the upstream branch, and turn all commits into local changes
[00:03] <wm4> then you can make a commit with these changes
[00:03] <wm4> a patch on top of the previous patch would be ok
[00:04] <bernie_> bombs away
[00:05] <bernie_> I do have to say that I'm sorry to be chewing up your time with testing...
[00:05] <wm4> no problem
[00:05] <wm4> I (probably) want to implement this feature too
[00:05] <wm4> for my own demuxer
[00:05] <wm4> so some testing is good
[00:05] <wm4> we already found a mkvmerge bug
[00:06] <bernie_> hopefully I won't have to make a patch for a patch for a patch ;)
[00:06] <bernie_> yes, you did! Thank you!
[00:13] <wm4> bernie_: I think it's correct now
[00:13] <bernie_> wm4: wooot!
[00:13] <wm4> I can't guarantee it's correct though, it's just my wacky code which is riddled with debug-printfs
[00:14] <wm4> and which seems to give the same result with ffmpeg-remuxed and mkvmerge-remuxed
[00:14] <bernie_> Now alls we got to do is figure out how to change the fate test!
[00:14] <bernie_> Well, I'm implementing code that relies on it right now
[00:20] <bernie_> it's fate!
[00:26] <llogan> durandal_1707: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavfilter/vf_separatefield…
[00:27] <durandal_1707> llogan: ????
[00:27] <llogan> shouldn't the ;; be ;?
[00:28] <durandal_1707> ahh, you stopped my p0rn watching because of ;; ?
[00:28] <llogan> carry on.
[00:29] Action: llogan is procrastinating
[00:42] <bernie_> wm4: if I also wanted to implement the other way of fast seeking (ie: force Cluster start on keyframes, and controlling keyframe placement to where I need them), I'd need to augment ffmpeg. If I implemented this feature (it's quite trivial), would it be allowed into ffmpeg? It's obviously a pretty specialized use-case, and while I could always have a locally patched binary available, it would be better if I knew it was in the pu
[00:43] <wm4> bernie_: your line was cut off at ..."it would be better if I knew it was in the pu"
[00:43] <wm4> well, it might be accepted if it's an option, I don't know
[00:43] <bernie_> that's terrible!
[00:43] <bernie_> :) (that my line was cutt off)
[00:43] <wm4> you should ask whoever maintains the ffmpeg matroska stuff (I don't know who)
[00:44] <bernie_> "it would be better if I knew it was in the public version"
[00:44] <bernie_> Hmm. David Conrad (according to the matroskaenc.c file)
[00:47] <bernie_> aka yuvi
[00:49] <bernie_> got his email. Nice.
[00:50] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:74561680cd01: avfilter/vf_separatefields: fix ;;
[01:12] <bernie_> wonder if I should email David directly, or post to ffmpeg-devel mailing list
[01:21] <b_jonas> argh! I accidentally got a segmentation fault from ffmpeg when playing with parameters. Now I'll have to examine this with the lastest version and report it.
[01:21] <b_jonas> Not now though. I'll write it up to myself.
[01:21] <b_jonas> ffmpeg -filter_complex "testsrc=s=100x80,split[o1][o2]" -frames 200 -map "[o1]" -y a.mkv -map "[o2]" -y a2.mkv
[01:22] <b_jonas> In fact, this already segfaults: ffmpeg -map "[o1]" a.mkv
[01:31] <Compn> bernie_ : best to post to list with sample that causes problem hosted on other site, trac or file locker
[01:42] <llogan> Compn: testsrc is the sample
[01:43] Action: Compn wasnt paying attention
[01:43] <Compn> llogan : did you email mike ?
[01:44] <llogan> no. i wrote a message and then deleted it. i haven't seen him around in ages.
[01:44] <bernie_> Compn: this is an optimization question, not so much something that does not work, etc.
[01:46] <bernie_> I'll pose the question to the list and see what happens... ;)
[03:03] <wm4> bernie_: btw. I think you could submit your CueRelativePosition patch too
[03:17] <bernie_> wm4: yes -- that would be good. But I still must learn about how to teach fate about the change in file
[03:18] <bernie_> wm4: change in the produced mkv file. I believe it is unhappy that the output changed.
[03:19] <bernie_> wm4: but have not probed too deeply on that just yet. Need to figure it out.
[03:29] <cone-261> ffmpeg.git 03Marton Balint 07master:782e06e292c5: ffplay: simplify audio decoding
[03:29] <cone-261> ffmpeg.git 03Marton Balint 07master:b383498ea8b8: ffplay: estimate audio frame pts from the previous frame pts values
[03:29] <cone-261> ffmpeg.git 03Marton Balint 07master:73b2043d7270: ffplay: use start_time as next audio pts on flush when seeking is not supported
[10:48] <cone-577> ffmpeg.git 03Ed Torbett 07master:336353deaad6: rtpproto: Support IGMPv3 source specific multicast inclusion
[10:48] <cone-577> ffmpeg.git 03Martin Storsjö 07master:4d97ca040b40: rtpproto: Check the source IP if one single source has been specified
[10:48] <cone-577> ffmpeg.git 03Ed Torbett 07master:36fb0d02a1fa: rtsp: Support multicast source filters (RFC 4570)
[10:48] <cone-577> ffmpeg.git 03Michael Niedermayer 07master:48353325372a: Merge commit '36fb0d02a1faa11eaee51de01fb4061ad6092af9'
[12:12] <cone-166> ffmpeg.git 03Nicolas George 07master:c25d1ba55636: lavu/log: print prefix after \r.
[15:11] <JEEB> btw, nevcairiel -- finally got some data off of the Panasonic crapdisc out, and it seems those bastards used some custom encryption scheme in there
[15:11] <JEEB> so no simply available "12bit" data
[15:11] <JEEB> lul
[15:11] <Daemon404> wut
[15:12] <Daemon404> how do you even play it back then
[15:12] <Daemon404> on a regular bd player
[15:12] <Daemon404> or is it BD+ javashit
[15:12] <JEEB> the base layer is backwards compatible
[15:12] <saste> what's the difference between -x264opts and x264-params?
[15:12] <JEEB> only the second layer seems to be bullshit
[15:12] <Daemon404> i see... so... how to do you play it at all
[15:12] <Daemon404> saste, one is ffmpeg, one is libav iirc
[15:12] <Daemon404> is all
[15:12] <Daemon404> ive always used x264opts
[15:12] <saste> Daemon404, semantically... are they the same?
[15:12] <saste> so I can avoid some doc duplication
[15:12] <Daemon404> no idea. ive never used x264-params
[15:14] <saste> so no they are slightly different
[15:14] <saste> stupidity is awesome
[15:30] <Daemon404> saste, how so?
[15:30] <Daemon404> i know x264opts just takes param=val:param2=val2
[15:30] <Daemon404> with x264's names
[15:30] <Daemon404> anything else seems silly
[15:31] <saste> Daemon404, actually, x264-params mat be even saner
[15:31] <Daemon404> o?
[15:31] <saste> x264-params performs escaping
[15:31] <saste> x264opts doesn't, but it interprets opt: as opt=1
[15:32] <saste> in case the value is omitted
[15:32] <saste> i'll send a patch to document the differences
[15:32] <Daemon404> ah
[15:32] <Daemon404> what x264 ops even need to be escaped?
[15:33] <saste> Daemon404, in case you have a ":" in the value, for example
[16:05] <Daemon404> i guess for e.g. deblock=-1:-2
[16:18] <wm4> awesome magic numbers
[16:22] <Daemon404> its an example, why do i need to justify a random choice of numbers
[16:23] <wm4> if the actual options are not full of magic numbers, that is good
[16:30] <JEEB> wm4, or even better
[16:30] <JEEB> a magical string of a GUID
[16:30] <wm4> fortunately this is not windows programming
[16:31] <nevcairiel> GUIDs are usually inside some header so you just use a define name for them. :p
[16:41] <JEEB> nevcairiel, yet there are some within code without a name :D
[16:41] <JEEB> I'm lovin' it
[16:41] <wm4> "let's use random numbers to name things! no clashes anymore!"
[16:42] <wm4> genius
[16:42] <wm4> but extremely clunky
[16:42] <nevcairiel> well you complain about everything, so i stopped listening anyhow
[16:43] <wm4> I can't help that most computer technology is pure crap
[16:43] <nevcairiel> complaining wont change that
[16:43] <nevcairiel> changing that will change that
[16:48] <Kovensky> <+nevcairiel> GUIDs are usually inside some header so you just use a define name for them. :p <-- *usually*
[16:48] <Kovensky> and it's harder to map it the other wayaround :P
[16:48] <Kovensky> +\
[16:49] <nevcairiel> well sure, but we can't complain about everything or we'll just get bitter and grow neckbeards, so instead focus on the important things :p
[16:49] <Kovensky> dem neckbeards
[16:49] <wm4> well, if I complained about _everything_, I'd spam this IRC channel 24/7
[16:50] <saste> the important question if why IT technology tends to be crap
[16:50] <nevcairiel> because developers dont get enough time to do it properly
[16:50] <Kovensky> "I'll just make this quick hack, I'll fix it later, I swear"
[16:50] <wm4> often they don't care enough and just want get stuff done
[16:50] <Kovensky> there's also the problem that most programmers in the world are just in for the paycheck and don't actually care about the quality of their output
[16:50] <saste> nevcairiel, how is that different from architecture or mechanical engineering?
[16:51] <nevcairiel> who says thats much better?
[16:51] <wm4> collapsing bridges D:
[16:51] <nevcairiel> many devices and buildings tend to be assembled rather flimsy :p
[16:51] <Kovensky> flimsly?
[16:52] <nevcairiel> no idea if that word can even be an adverb
[16:53] <saste> Kovensky about the paycheck thing, well free software is mostly done by volunteers, and still it is mostly crap (ffmpeg is no difference)
[16:54] <nevcairiel> usually too many people and their own ideas of "good" colliding giving you a common denominator that is below good
[16:55] <nevcairiel> or like wm4 said, people that are after results instead of style
[16:55] <saste> well but at the end saying that "everything is crap" is not useful, since everyone has a different definition of quality and of focus
[16:55] <wm4> also, many don't even know the value of simplicity
[16:55] <Kovensky> <@saste> Kovensky about the paycheck thing, well free software is mostly done by volunteers, and still it is mostly crap (ffmpeg is no difference) <-- that falls under the <Kovensky> "I'll just make this quick hack, I'll fix it later, I swear"
[16:56] <nevcairiel> plenty code monkeys, not enough actual program designers
[16:58] <Daemon404> [10:55] <+wm4> also, many don't even know the value of simplicity <-- git commit -a -m "fix a bug"
[16:58] <Daemon404> cant get a simpler message
[16:58] <Daemon404> ;)
[16:59] <Kovensky> Daemon404: git commit -a -m '.*'
[16:59] <Kovensky> Daemon404: the reader can fill in his own commit message; it'll match the regexp ;)
[17:00] <Daemon404> ffmpeg has a one character commit message somewhere
[17:00] <Kovensky> (I guess that's less simple in some ways, but simpler in others)
[17:00] <wm4> wat
[17:00] <wm4> must be from ffmpeg's dark cvs and svn past
[17:01] <Daemon404> svn
[17:01] <Daemon404> the commit message was a single semicolon
[17:06] <saste> everyone has a different focus on "quality"
[17:06] <saste> some people are obsessed by commit messages or code reindent
[17:07] <saste> other focus on performance, on security, on usability, consistency etc etc
[17:08] <saste> so the code will be always considered as "crap" in a way or another
[17:09] <BBB> I think that era used "10l" a lot as commit message
[17:14] <wm4> it has something to do with cola I heard?
[17:16] <Daemon404> yes
[17:16] <Daemon404> google yields intresting uses
[17:16] <Daemon404> "DonDiego, you are honored by 10l cola per day for deliberately
[17:16] <Daemon404> breaking MPlayer CVS.
[17:16] <wm4> ah, mplayer cvs
[17:16] <wm4> the ring of it
[17:19] <JEEB> :D
[17:19] <BBB> my preciousss
[17:37] <bernie_> Hmmm kvminfo reports # of frames on a simple block, but I fail to see how the spec for SimpleBlock contains a frame count info
[17:37] <bernie_> as in: | + SimpleBlock (key, track number 1, 1 frame(s), timecode 0.064s = 00:00:00.064) at 1423 size 19435
[17:38] <bernie_> oh never mind
[17:38] <nevcairiel> simpleblock is always one frame, isnt it
[17:38] <wm4> matroska blocks can be "laced", which means they contain multiple packets
[17:38] <bernie_> If Lace is set
[17:38] <bernie_> yep
[17:38] <bernie_> :)
[17:38] <wm4> but these are not organized as ebml elements
[17:39] <nevcairiel> i dont think simpleblock allows lacing
[17:39] <bernie_> it does allow it from the spec, I think
[17:39] <bernie_> in the flags section
[17:39] <bernie_> I was just not expecting to see reference to frame count... but all is well.
[17:40] <wm4> yeah seems allowed
[19:09] <saste> ffplay -i test.ogg -af "atrim=duration=2" -autoexit
[19:09] <saste> doesn't exit and spam the log
[19:09] <saste> is this known?
[20:11] <saste> how do you convert stereo to mono?
[20:11] <Daemon404> -ac 1 ?
[20:12] <saste> I'm doing ffmpeg -i test.ogg -ac 1 test1.ogg
[20:12] <saste> but then test1.ogg just contains random noise...
[20:13] <Daemon404> ... does that use our WMD of a vorbis encoder?
[20:14] <Daemon404> something's funky if you cant even dump pcm
[20:20] <saste> uh cool... it's averaging the two channels, which are almost opposite
[22:21] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:bbf6cb754cc8: avfilter/vf_scale: Add in/out yuv color matrix option
[22:21] <cone-196> ffmpeg.git 03Michael Niedermayer 07master:835eee88ec4c: avfilter/vf_scale: add in/out color range option
[00:00] --- Sun Jul 21 2013
1
0
[00:02] <eth2wlan> I'll try to re-install tomorrow
[00:03] <eth2wlan> Should i remove the current (wrong version of) ffmpeg with "apt-get --purge remove"?
[00:06] <eth2wlan> I'm sleepy
[00:06] <eth2wlan> (here i't midnight )
[00:07] <eth2wlan> Good night
[00:07] <eth2wlan> Thx
[00:11] <axorb> hey guys, I'm wondering if it's possible to copy codecs but fill in anything that is missing
[00:12] <axorb> I want to start a video 10 seconds in but the first keyframe after that is at the 12 second mark
[00:12] <axorb> so would it be possible to encode those first 2 seconds but reuse the rest?
[00:27] <teratorn> axorb: it does not sound *impossible*
[00:29] <axorb> I'm doing HLS so I'm experimenting with a few things
[00:29] <axorb> overlapping the PTS doesn't seem to work unfortunately
[00:32] <dx926> Hi! Can I ask a question about building compact version of ffmpeg on linux?
[00:33] <llogan> dx926: just ask. no need to ask to ask.
[00:33] <dx926> I have disabled everything by passing that option to configure script and enabled support for mp4, mov, flv. now I want to enable avi file support so that I can convert mp4, mov, flv file to avi file. Sorry if it's a stupid question. What option do I pass to configure script to enable avi? cause I can't convert to avi from one of the mentioned foromat.
[00:36] <llogan> show your configure options
[00:38] <dx926> "llogan" here it is. http://pastebin.com/yQV2kb41
[00:40] <llogan> why --enable-memalign-hack?
[00:41] <saste> llogan, ^^ cargo cult
[00:43] <llogan> in that case, where is --enable-small?
[00:43] <dx926> Actually I did that for android and it's copied from a script found online. Added some of my own options. Sorry if I offended anyone by my stupidity. Before I deploy the program for android I wanted to test how many file format I can convert. I've no idea what that option does.
[00:44] <llogan> no offense. i was just curious.
[00:44] <llogan> nobody knows what it does since it's for windows, IIRC.
[00:45] <dx926> is there any option I used there that's causing the problem? I thought android was armv6 or v7.
[00:46] <llogan> i'm not sure what the problem is because you haven't shown any console outputs that show the problem.
[00:46] <llogan> and --disable-everything --enable-foo is always tricky
[00:47] <llogan> (not that i've really tried it myself)
[00:50] <dx926> LOL here's execution of ffmpeg and error message. http://pastebin.com/z7dm2ZKX
[00:53] <dx926> llogan Do you want any other output?
[00:56] <llogan> i guess you forgot --enable-muxer=avi
[00:58] <llogan> does all of this extra configure work make the result significantly smaller?
[00:58] <dx926> No it
[00:58] <dx926> it's 16MB
[00:59] <dx926> I mean static binary ffmpeg
[00:59] <dx926> that's why I'm trying to make it compact.
[01:00] <llogan> heh. the static builds from burek are ~18 MB (but this particular build is old)
[01:01] <dx926> but if i enable only mp4 and x264 thats 6MB.
[01:04] <dx926> Thanks for your knowledgable help. I appreciate it and your community. Again thanks. Bye!
[01:33] <axorb> hey guys, can you lie about the duration of a video file?
[01:33] <axorb> like the duration reports 10 seconds but the actual content is 15 seconds?
[01:37] <llogan> possibly a bug
[01:43] <axorb> I want to cause it :P
[01:43] <axorb> maybe I should explain more
[01:44] <axorb> I'm generating a HLS video which means 10 seconds chunks, only I'm doing it in a time-sensitive environment
[01:44] <axorb> so I'm faking the m3u8 and hard-coding a duration of exactly 10 seconds, instead of having the segmenter automatically split on keyframes
[01:45] <axorb> this works for reencoding because I can seek and generate an exact amount of video
[01:45] <axorb> but I'm trying to optimize things and pass-through the streams if the input settings match the output settings
[01:46] <axorb> but since the original video does not have keyframes every 10 seconds exactly, each part has some unwatchable video at the start
[01:46] <axorb> I either need to a) re-encode the part up until the first keyframe, then I can copy
[01:46] <llogan> you lost me at HLS. i have no experience with that.
[01:47] <axorb> it's pretty simple, .ts files of 10 second length
[01:47] <llogan> http://ffmpeg.org/ffmpeg-formats.html#hls-1
[01:48] <llogan> -hls_time seconds
[01:48] <axorb> the problem is that time is not exact, it uses the closest keyframe
[01:48] <axorb> the usual work-around is to force a keyframe
[01:48] <axorb> but I can't do that if I'm copying streams
[01:50] <axorb> I can't download the entire file and scan for keyframes unfortunately
[01:51] <axorb> because the file is stored on S3 and we want the user to be able to watch the first part without waiting for it all to be downloaded/scanned
[01:52] <axorb> anyway, at this point I think the only solution is some way of encoding up until the first keyframe, then switching to copy stream mode
[01:53] <axorb> teratorn: said it might be possible, but I imagine I'd have to add the feature myself
[01:55] <axorb> alternatively, some quick way of getting the closest keyframes to 10 seconds without downloading the entire file
[01:55] <axorb> (ie lots of seeking)
[01:56] <axorb> something like
[01:56] <axorb> ffprobe -ss 30 -i file.avi
[01:56] <axorb> and just outputing the current time
[08:58] <fling> When will vp9 encoder be supported?
[09:14] <SirCmpwn> I'm experiencing unusually long encoding times for theora videos on my server
[09:15] <SirCmpwn> ffmpeg there is minimal, only configured with what it needs
[09:15] <SirCmpwn> is there something I might have missed that could speed up encoding?
[09:15] <SirCmpwn> configuration: --enable-gpl --enable-libx264 --enable-libtheora
[09:34] <R0SSI> which part of this code is wrong?
[09:34] <R0SSI> ffmpeg -i "L01 - Realms of Physics".avi -map 0.1 -map 1.0 -vf nullsink\;color -acodec copy out.mkv
[09:34] <R0SSI> I get this error: http://paste.ubuntu.com/5893278/
[09:36] <durandal_1707> R0SSI: you are not using ffmpeg
[09:36] <R0SSI> alo?
[09:37] <durandal_1707> that is "deprecated ffmpeg" from Libav, FFmpeg fork
[09:41] <R0SSI> durandal_1707: So, how can I install ffmpeg; when I run `sudo apt-get install ffmpeg`; the package manager says: "ffmpeg is already the newest version."
[09:44] <R0SSI> I want to decrease the video quality as much as possible, but I want to keep the original audio quality!
[09:47] <durandal_1707> you want to replace video with black frame?
[09:47] <durandal_1707> you could do this with several steps, if single one does not work
[09:48] <durandal_1707> if you use reall ffmpeg, read:
[09:48] <R0SSI> the black is the best!
[09:49] <R0SSI> How can I use the reall ffmpeg! it seems mine is not the real. My operating system is Ubuntu 13.04
[09:50] <durandal_1707> i told you already, where you can download the realy thing
[10:53] <fling> Mplayer2 is not playing encoded file :\
[10:53] <fling> http://dpaste.com/1311391/
[10:53] <fling> also tried mkv
[11:10] <elkng> when I use option '-c:v png "%3d.png"' to convert video to many *.png images is there a way to set quality ? or png format has only one quality not like jpeg ?
[11:11] <zap0> png should default to lossless quality
[11:14] <durandal_1707> you can set compression
[11:14] <durandal_1707> looks like its not documented at all
[11:15] <durandal_1707> -compression_level 0-9
[11:58] <elkng> there is an option to set limit on time "-ss 00:10:30 -t 00:00:40" so for "-ss" you set "start" position but for "-t" you don't set "end" position but need to set amount of time you need from that video cuted, and its frustrating because evertime you should calculate that time, isn't it possible to set "end" position ?
[12:00] <fling> elkng: no
[12:01] <elkng> its really frustrating, isn't the logic of that case should be like: you have "start" position and "end" position of the piece of video you want to cut out ?
[12:02] <elkng> but you can set "start" position with "-ss" but then you should calculate how much minutes,seconds its untill end position and use it for second option "-t"
[12:02] <fling> elkng: no, I need to encode exactly 60s starting from 3s, so I use -t 60 -ss 3
[12:04] <fling> elkng: is not 00:10:30 equal to 630?
[12:06] <elkng> yes, so what ?
[12:09] <fling> no need to count minutes&
[12:09] <fling> time ffmpeg -f concat -i svetik.txt -c:a libopus -c:v libvpx-vp9 -strict -2 -t 60 svetik.webm
[12:09] <fling> took real 72m51.697s
[12:10] <elkng> so should I make some script like: "a=$(date +%s 00:10:30) b=$(date +%s 00:00:40); ((c=b-a)); d=$(date -d @${c})" and then: "ffmpeg -ss 00:10:30 -t ${d}" ?
[12:10] <fling> 0 fps is too slow&
[12:10] <fling> elkng: you may script anything, yes.
[12:11] <elkng> "may script anything" except girlfriends
[12:11] <fling> right :D
[12:13] <joeka> hello
[12:15] <elkng> its strange I copied piece from video first using: "ffmpeg -ss 00:02:45 -t 00:06:54 -i file_in.avi -vcodec copy -acodec copy file_out.avi" then using command: "mencoder -ss 00:02:45 -endpos 00:06:54 -oac copy -ovc copy file_in_2.avi -o file_out_2.avi" and got two files 00:06:54 in length but they sizes are differ, first from "ffmpeg" is 82980KB s
[12:16] <elkng> econd one from "mencoder" is 76126KB, about 6.5MB difference, why ? they should just raw copy from one file to another file ?
[12:16] <fling> why is vp9 so slow? > http://dpaste.com/1311433/
[12:17] <fling> elkng: different muxing overhead?
[12:17] <fling> elkng: try extracting streams and compare them
[12:18] <fling> also use `-c copy' instead of `-vcodec copy -acodec copyŽ
[12:18] <joeka> have some of you tried streaming to twitch? With my settings I only produce a black image while audio seems to work fine. If I output to a file with the same settings, it works. settings: http://pastebin.com/kPSsJbyQ
[12:21] <fling> joeka: this works for me > http://bpaste.net/show/115833/
[12:21] <fling> joeka: also try piping with glc&
[12:21] <fling> (if you are capturing opengl)
[12:24] <joeka> only tune and preset different for video?
[12:24] <fling> umm?
[12:25] <joeka> oh wait, no
[12:26] <joeka> you have one ffmpeg call nested in there
[12:26] <joeka> why?
[12:27] <fling> joeka: because it is not possible to double a single encoded stream (or not documented)
[12:27] <joeka> ok
[12:28] <fling> joeka: so if I want to write a file and rtmp with a single ffmpeg, I need to encode twice.
[12:28] <fling> so I use one ffmpeg for encoding, and another ffmpeg for copying stream in a file and rtmp
[12:34] <fling> joeka: just found this > http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
[12:35] <joeka> fling, thanks
[12:36] <joeka> I read that, but I still have no idea what could be wrong with mine
[12:36] <joeka> maybe twitch just doesn't like me
[12:37] <fling> joeka: use mine?
[12:38] <joeka> noooooo I have to figure it out :D
[13:16] <joeka> fling, I think I give up, even using all your video related options does not help. I can create an flv video without problems, only streaming to twitch does not work.
[13:16] <fling> joeka: do you have a proper key?
[13:16] <fling> joeka: have you tried my script? :D
[13:17] <joeka> the key is not the problem, the audio stream works, only image is missing
[13:18] <joeka> fling, ok ok I try yours
[13:21] <joeka> fling it doesn't stream at all?
[13:27] <joeka> fling I got something that works
[13:29] <fling> give me a link :P
[13:29] <joeka> oh I even know which specific option did the trick
[13:29] <joeka> -pix_fmt yuv420p
[13:32] <JEEB> yes, flash can only handle 4:2:0 and 4:2:2 YCbCr
[13:33] <JEEB> and the streaming service can kick your ass for 4:2:2, possibly
[13:33] <JEEB> the only thing that has hardware acceleration is 4:2:0 YCbCr
[13:40] <joeka> if only the audio would be in sync with the video now :D
[14:45] <zap0> just move closer/further away until it is.
[14:45] <zap0> light/sound travel at different speeds.
[17:16] <elkng> is it possible to convert *.gif file to a set of frames in one png or jpg file, like sprites for games they are all in one file with some grid and some background color that would be transparent ?
[18:25] <iio7> I have a 3D mkv file side-by-side. Is it possible to use ffmpeg to convert it into 2D, and if yes, how do I do that?
[18:25] <iio7> It's "Side by Side (left eye first)".
[18:30] <mark4o> iio7: you can easily get left-only or right-only using crop or stereo3d filters
[18:30] <mark4o> I don't think ffmpeg has a filter that can average them if that's what you are looking for
[18:30] <iio7> How do I get left only?
[18:31] <mark4o> just crop to left side, or use -vf stereo3d=sbsl:ml
[18:31] <mark4o> http://ffmpeg.org/ffmpeg-filters.html#stereo3d
[18:35] <iio7> I get "No such filter: 'stereo3d'"
[18:36] <mark4o> are you using an old version? should be non problem, use crop filter instead
[18:36] <mark4o> http://ffmpeg.org/ffmpeg-filters.html#crop
[18:38] <mark4o> ffmpeg -i input -vf crop=in_w/2:in_h:0:0 output
[18:41] <iio7> I'm going to compile the latest, do I need any kind of enable-filter-X?
[18:42] <mark4o> stereo3d is enabled by default
[18:42] <iio7> thanks!
[18:43] <norbert_> hi, I'm trying to screen record a Flash game with ffmpeg; the output is a green rectangle; any ideas/suggestions?
[18:46] <norbert_> if I try to make a screenshot of the game with GIMP then the result is a transparent area without content
[18:46] <norbert_> it's probably related to how the video driver puts stuff on the screen, but I'm hoping I can keep the software settings as they are and still use ffmpeg to screen record
[19:02] <norbert_> nobody have any suggestions?
[19:02] <norbert_> *has
[21:28] <Zerxer> I converted an AVI file that was created with Fraps, codec ID of FPS1, to an mp4 file. Plays fine on Windows and OS X. I also converted an AVI file that was created using a capture device, so it was a completely raw/uncompressed video, codec ID of UYVY. I did the same conversion (to an mp4 file) and it plays fine on Windows, but OS X has black video (audio is fine). I checked the media info of both files and each are nearly sim
[21:28] <Zerxer> (using AVC format) with only minor differences. The first mp4 file has a profile of "High(a)L3.1" while the second has "High 4:2:2@L3.1". The Chroma subsampling is also different on each, 4:2:0 on the first and 4:2:2 on the second. Only other difference is the resolution and the bitrate.
[21:29] <Zerxer> I didn't set any advanced settings when using ffmpeg at all, just setting output framerate to 30
[21:30] <Zerxer> I'm new to using ffmpeg so I'm hoping there's some command line arguments I can use to make the second video's conversion completely similar to the first, or something else that will make the video compatible with OS X playback. It's worth noting that I did install something on OS X for allowing QuickTime to play more codecs than what it can by default.
[21:48] <Zerxer> Okay, so as it appears is true, OS X cannot play 4:2:2 YUV MPEGs. Any way to have ffmpeg force it to 4:2:0 ?
[21:48] <klaxa> see ffmpeg -pix_fmts
[21:51] <Zerxer> Thanks, would you know which one I should be using? sounds like yuv420p is what I'd want, just based off the name
[21:51] <mark4o> -pix_fmt yuv420p
[21:52] <Zerxer> then again, it says yuv420p would be 12 bits per pixel, while the media info on both of my files (the one that works and one that doesn't) has a bit depth of 8
[21:53] <Zerxer> unless that doesn't matter
[21:54] <mark4o> yes it is 8 bits, but there is only 1 u and 1 v for every 4 pixels
[21:54] <Zerxer> thanks, I'm going to try this right now. it's a 2 hour video so it'll take a bit to know if all is well
[21:55] <klaxa> just encode the first few seconds and check
[21:55] <klaxa> add -t 30
[21:55] <klaxa> that will encode the first 30 seconds
[21:55] <klaxa> you don't have to encode the entire file to check if it would work
[21:56] <Zerxer> ah great, will do. I figured a flag like that would exist and secretly hoped you'd mention it
[21:59] <Zerxer> worked great, thanks! no problems on OS X now
[21:59] <Zerxer> I'm knocking a 637GB file down to below 4GB with this, haha
[21:59] <klaxa> haha wow
[22:00] <Zerxer> using a blackmagic intensity shuttle to capture hdmi input from a game console, and it produces huge files at 720p
[22:01] <klaxa> hardware encoder probably?
[22:02] <Zerxer> not sure, possible since it is an external device connected via usb 3
[22:03] <Zerxer> sadly the video is out of sync, not sure if that's because of the hard drive speeds I'm writing to, or just the device/software isn't that great, but I figure I can fix that later by detaching the audio in my movie editor
[22:04] <Zerxer> girlfriend is starting to do let's plays on youtube and I'm the lucky tech guy
[22:05] <klaxa> heh
[22:05] <klaxa> well you're the lucky guy for having a girlfriend
[22:05] <Zerxer> no doubt
[22:54] <braincracker> hey guys, there's me riding my new trike http://esteedv.files.wordpress.com/2011/11/death_rides_a_pale_trike_by_mjra… so what's up ?
[00:00] --- Sun Jul 21 2013
1
0
[00:19] <bernie_> anyone have experience with fate? To figure out if a test is OK does it just do a check-sum of the output text?
[00:21] <bernie_> because when I pull from git, and run one of the tests by hand, it shows an assertion failure, but somehow the test is accepted.
[00:29] <BBB-work> make fate-list
[00:29] <BBB-work> grep for your test of interest
[00:29] <BBB-work> make fate-h264 groups all 264 tests
[00:29] <BBB-work> etc.
[00:50] <bernie_> cool -- thanks BB-work
[00:52] <bernie_> could it be possible that a test that is marked as accepted has an assertion failure in it's output? I have not looked that closely at it, but does fate compare a hash of what is "accepted" vs. what is run, and if the "accepted" test has an assertion failure, then that fate test is still OK? (hope my question makes sense)
[01:01] <bernie_> never mind -- looks like I messed something up real good with just a few lines of code. yay!
[01:04] <BBB-work> bernie_, sorry, was off for a sec
[01:05] <BBB-work> no, if a tests asserts, it will not be marked as passed
[01:05] <BBB-work> the test needs to complete 100% succesfully and return a known-good hash before it's marked as completed and succesful
[01:05] <BBB-work> but it looks like you figured that out already :)
[01:17] <bernie_> BBB-work -- thanks. Yeah, investigating...
[01:39] <bernie_> oh shit found my bug
[01:39] <bernie_> I don't usually write code like this:
[01:39] <bernie_> entries[cues->num_entries ].pts = ts;
[01:39] <bernie_> entries[cues->num_entries ].tracknum = stream + 1;
[01:39] <bernie_> entries[cues->num_entries++].cluster_pos = cluster_pos - cues->segment_offset;
[01:40] <bernie_> because then I just went and added...
[01:40] <bernie_> entries[cues->num_entries++].relative_pos = relative_pos - cluster_pos;
[01:40] <bernie_> which is obviously stupid of me...
[01:40] <bernie_> but I didn't look for the ++ right there, because I would never do something like that ;)
[01:41] <bernie_> Not to start any wars or anything, but I personally like keeping statements with side-effects like that on a line by itself.
[01:46] <bernie_> okay no more assertion failures, but the test is still failing. Should I be surprised that it's failing if I ended up adding a new EBML tag to the output of the video file? I guess not. But do I tell if it's failing because it's a different output file?
[01:47] <bernie_> meant to say: How do I tell if it's failing because it's a different video output file?
[01:50] <wm4> bernie_: I looked at it myself
[01:51] <bernie_> wm4: cool
[01:51] <wm4> bernie_: I wonder how this seeking is supposed to work, because it points directly to the block, instead of the block group
[01:51] <wm4> but the block group is the containing element, and contains important information
[01:51] <bernie_> Hrmmm
[01:51] <wm4> so I guess it's somehow guaranteed that the Block is the first element of the BlockGroup?
[01:54] <bernie_> I see your point.
[01:54] <bernie_> Would also be nice to know the size of the block group...
[01:56] <wm4> either way, if I understand this right, the Matroska devs fucked up yet again
[01:56] <bernie_> So you'd need like a reference to the blockGroup, and the the offset into that blockGroup to seek to the block?
[01:57] <wm4> a BlockGroup contains only one Block
[01:57] <wm4> and some other elements to e.g. set the duration of the block
[01:57] <bernie_> oh, gotcha
[01:57] <wm4> so there'd be no downside to point to the BlockGroup instead (but mkvmerge doesn't do that)
[01:59] <bernie_> I see, so your point being, if the Block is the first element, you can just continue to read the other tags, and pick those up, but it's unclean, because you are depending on the order of the EBML tags, which is kind of an implementation question. Not specified per spec.
[01:59] <wm4> you also need to know when the BlockGroup ends
[01:59] <wm4> which is hard
[02:00] <bernie_> yep, which would be the reason to actually point to the blockgroup tag, which would have that info
[02:00] <wm4> yes but mkvmerge doesn't do that
[02:00] <bernie_> Poop
[02:00] <wm4> indeed
[02:01] <bernie_> do you ever talk to those guys?
[02:01] <wm4> no
[02:04] <bernie_> I wonder who in the world actually uses this currently? My guess is no one. So they should just fix their spec, and then fix mkvmerge and be done with. "what could possibly go wrong" ;)
[02:04] <wm4> but there are broken files out there
[02:04] <wm4> oh well, they still could introduce a separate, correct element
[02:05] <bernie_> yeah
[02:05] <bernie_> I'll see if they'll get back to me on that
[02:06] <bernie_> Hmm they have an IRC #matroska
[02:07] <wm4> joined there
[02:09] <bernie_> you beat me to it :)
[02:10] <bernie_> wm4: not too active in there... :/
[02:10] <cone-561> ffmpeg.git 03Ramiro Polla 07master:454c89dde3af: img2enc: add option to use strftime() for filename
[02:10] <wm4> well, if we get any reply, it'll probably take half a day or something
[02:11] <bernie_> groan
[02:12] <bernie_> okay, so maybe for now, I'll point it to blockGroup for myself, but obviously won't put up a patch to ffmpeg for it, but I do need to keep going on my implementation
[02:12] <bernie_> In the future, I'd hope they add a new EBML tag for this purpose
[02:12] <wm4> if I were you I'd test with a mkvmerge produced file first
[02:25] <bernie_> You know, I bet the only real other important information besides the block itself is the block duration, and the other elements do not get used typically -- of course, that's kind of a lame explanation, but given a cuepoint is an I-frame... maybe you only really need the block + the duration
[02:27] <bernie_> and the block duration could be indicated by CueDuration
[02:28] <wm4> that's even worse
[02:28] <bernie_> hahaaa
[02:28] <wm4> that'd you somehow need to get the duration value from the index
[02:29] <bernie_> via CueDuration
[02:29] <wm4> it's bad because it makes the code more complicated
[02:30] <bernie_> I agree
[03:26] <bernie_> wm4: cool, so all I have to do to force a new matroska cluster at the start of a key frame is to modify some logic in mkv_write_packet(), specifically right at the first logic block that has the comment about when it currently starts a new cluster.
[03:26] <bernie_> seems quite easy
[10:22] <bernie_>
[10:53] <cone-261> ffmpeg.git 03Martin Storsjö 07master:d010e95f8608: avserver: Remove unused loadable module support
[10:53] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:8740762c43dc: Merge commit 'd010e95f86089abe9a3d4d4a66ac8102312d28a4'
[11:03] <cone-261> ffmpeg.git 03Diego Biurrun 07master:439902e0d68a: Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/
[11:03] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:c88503e3f6bd: Merge commit '439902e0d68a0f0d800c21b5e6b598d5fa0c51da'
[11:36] <cone-261> ffmpeg.git 03Diego Biurrun 07master:910042072a88: compat: Add missing license boilerplates
[11:36] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:25ffaf527702: Merge remote-tracking branch 'qatar/master'
[12:18] <cone-261> ffmpeg.git 03wm4 07master:06b269dacbe1: examples: demuxing: do partial audio packet decoding
[12:18] <cone-261> ffmpeg.git 03wm4 07master:9f31c1608c74: examples: demuxing: simplify audio output
[12:18] <cone-261> ffmpeg.git 03wm4 07master:72f5a6d0672a: examples: demuxing: print ffplay command even if sample format is planar
[12:51] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:a4b55bbb6f8b: swscale/input: fix 16bit gbrp input
[15:00] <cone-261> ffmpeg.git 03Michael Niedermayer 07release/1.2:d83ab33715cb: swscale/input: fix 16bit gbrp input
[15:00] <cone-261> ffmpeg.git 03Michael Niedermayer 07release/2.0:8f9bc6f2ce49: swscale/input: fix 16bit gbrp input
[15:07] <JEEB> hmm
[15:07] <JEEB> I might have found the first semi-valid use for MVC
[15:08] <JEEB> hacking high bit depth video onto blu-ray
[15:08] <JEEB> I thought there was a guy here who was working on MVC decoding? :D
[15:08] <JEEB> might have to read the logs back a few months
[15:14] <saste> just got SOCIS mail
[15:15] <saste> we were not accepted
[15:16] <nevcairiel> JEEB: the only valid use is multi-view coding, using it as a hack is by definition completely invalid
[15:17] <nevcairiel> also, since the second view is always a predicted frame against the first view, such a hack would also be very inefficient :p
[15:17] <JEEB> I guess that's why they only went for 12bit and not for 16bit :
[15:17] <JEEB> :D
[15:17] <JEEB> also in such a way I completely agree, I wonder how much herp and derp panasonic got from Sony
[15:17] <JEEB> for this hack
[15:18] <nevcairiel> but i also heard of this hack before
[15:18] <JEEB> yes
[15:18] <JEEB> I brought it up on another channel earlier
[15:19] <JEEB> we got the first blu-ray using that just a couple of days ago
[15:19] <nevcairiel> if earlier is weeks ago, then sure
[15:19] <JEEB> well, I remember linking it back in april when panasonic first announced it, too :D
[15:19] <JEEB> http://dl.dropboxusercontent.com/u/17138887/ADC/Porco%20Rosso/Info.png "master grade video coding"
[15:20] <nevcairiel> that they are still allowed to carry the Blu-ray Disc logo is mind boggling
[15:21] <JEEB> well, the higher 8 bits are on the main view so it's backwards compatible in a way :D
[15:21] <JEEB> until some player tries to play that as '3-D' :D
[15:21] <saste> i get this email from an indian guy who calls me "mam", guess my name sounds like a female name in his (her?) language
[15:21] <j-b> JEEB: WTF
[15:21] <j-b> JEEB: you are joking, right?
[15:21] <nevcairiel> even if backwards compatible, you usually cant bastardize a standard format like this
[15:21] <JEEB> j-b, I'm not, although it will be some hours before my copy is here
[15:21] <JEEB> so I can have a full look
[15:22] <JEEB> but the article's out and that's a real thing
[15:22] <JEEB> lol
[15:22] <JEEB> nevcairiel, true
[15:22] <JEEB> which is why
[15:22] <JEEB> > I wonder how much herp and derp panasonic got from Sony
[15:23] <nevcairiel> next up, half-4K discs with two 1080p frames coded as MVC and then stretchted vertically :p
[15:23] <JEEB> :DDD
[15:24] <j-b> nevcairiel: oh god...
[15:24] <j-b> or just 4k interlaced with two 1080p frames?
[15:24] <nevcairiel> not enough frame rate allowed for that to be viable
[15:31] Action: Daemon404 just luls
[15:39] <Compn> and we thought video stuff would get more normal
[15:39] <Compn> we thought maybe interlaced was going away
[15:39] <j-b> Compn: do you honestly think it will get more normal?
[15:40] <Compn> i meant back in 2004
[15:40] <Compn> whenever h264 came out
[15:41] <Compn> kinda thought we were done with format wars
[15:41] <wm4> "more sins are committed in the name of optimization than something something"
[15:41] <wm4> whatever was the correct quote
[15:41] <Daemon404> grep dsputil
[15:41] <Daemon404> im sure its there
[15:42] <wm4> I guess cargo culting and micro optimizations are really big in multimedia, just like in game dev
[15:42] <Daemon404> id wager its worse in game dev... from what ive seen anyway
[15:42] <Daemon404> optimizing like it's 1994
[16:18] <gnafu> So what do you think it'd look like if you watched one of these 12-bit MVC videos decoded as 3D video? What would your right and left eyes see?
[16:30] <nevcairiel> one eye sees an 8-bit image, the other garbage
[16:35] <gnafu> nevcairiel: I'd love to try it :-).
[16:35] <gnafu> Could be some real psychedelic stuff.
[16:36] <nevcairiel> probably similar to this avisynth stacked high-bit hack
[17:28] <Compn> i dont get why people are creating encodes that wont play with hwaccel decoders
[17:28] <Compn> i guess reencoding for mpeg2 or mpeg4 without qpel never goes out of style
[17:29] <nevcairiel> because they want to preserve more information than the default profile supports? :D
[17:41] <wm4> saste: will the HAVE_INCOMPATIBLE_LIBAV_ABI issue be fixed at some point?
[17:54] <cone-261> ffmpeg.git 03Piotr Bandurski 07master:5f39992ed925: bmp: fix decoding of flipped rle4
[18:42] <saste> wm4, what's the issue with have-incompatible-libav-abi?
[18:43] <saste> if they will ever be completely compatible? only $deity knows
[18:43] <wm4> include/libavfilter/avfilter.h:1314:5: warning: "HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined [-Wundef]
[18:44] <saste> uh?
[18:44] <saste> wm4, how did you get it?
[18:44] <wm4> by including avfilter.h
[18:45] <saste> weird
[18:45] <Compn> >warning
[18:45] <Compn> >not error
[18:46] <saste> wm4, what if you put AV_HAVE...
[18:46] <saste> that should fix it, since it will use the public symbols
[18:47] <saste> *symbol
[18:49] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:db33010483a0: jpeg2000dec: silence unused variable warning
[18:51] <wm4> saste: I think that works
[18:54] <saste> wm4, please send a patch, I'm uncomfortable to commit patches which I didn't test
[19:06] <wm4> saste: sent
[19:07] <wm4> feel free to adjust the commit message
[19:15] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:6d323ff57af2: swscale: remove unneeded include assert.h
[19:15] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:8589d7a61c56: avfilter/vf_yadif:remove unneeded include assert.h
[19:15] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:ca857c86bdd3: tests/tiny_psnr: remove unneeded include assert.h
[19:15] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:56123fc721b1: avutil/softfloat: remove unneeded include assert.h
[20:02] Action: llogan is looking forward to the resulting Kamedo2 tests
[20:03] Action: nevcairiel is looking forward to the actual patches that give use these fixes
[20:43] <bernie_> wm4: thanks for your help regarding the CueRelativePosition
[20:49] <wm4> bernie_: so now that it turned out this was a mkvmerge bug, and CueRelativePosition is a bit more sane than we thought, which approach will you implement?
[21:05] <bernie_> wm4: It's a good question. I really like the simplicity of starting a new cluster, and the code change is trivial in ffmpeg. I'd like to add this as an optional feature to ffmpeg, but would need guidance on if that is a reasonable thing to add, given the use-case is quite constrained to the specific project I'm working on. I like the idea of adding it, because it's an easy change
[21:09] <bernie_> wm4: I do have a patch that I think implements CueRelativePosition correctly, but it blows up fate test -- I'm guessing fate looks at the output video file and checks if it's been unchanged from what is currently accepted?
[21:10] <wm4> uh, I don't know
[21:10] <nevcairiel> yeah it does a crc check on the file, so if you add new elements it would need to be updated, after validating with mkv validation tools that the file is valid, of course
[21:10] <wm4> I guess it might be possible that there's a seek check
[21:10] <wm4> so if the seek behavior changes, the test could blow up?
[21:10] <wm4> much simpler
[21:10] <nevcairiel> there might be seek tests too, i dont know about that
[21:11] <bernie_> Well currently I have both things turned on: forcing a new cluster on a keyframe and generating CueRelativePosition.
[21:11] <bernie_> So for the first path, I guess I should turn forcing a new cluser on a keyframe off.
[21:12] <bernie_> ^path^patch
[21:12] <wm4> bernie_: how much overhead do clustered keyframes cause?
[21:12] <wm4> when remuxing
[21:14] <bernie_> well -- for me it's not worth to worry about, because I basically constrain my keyframes to happen only at the percise points in the video file that I need fast-seeking to. In my case, that would be maybe 100 key frames for a video that's ~20 minutes long.
[21:16] <bernie_> I'm using -force_key_frames and -g with a very high number.
[21:16] <bernie_> afk for a bit. My wife wants to share a sandwich with me for lunch
[21:37] <cone-261> ffmpeg.git 03Lukasz Marek 07master:a289f418e4fa: doc/filters: add sepia example for colorchannelmixer
[21:56] <bernie_> wm4: seek behavior should not have changed -- code that doesn't make use of CueRelativePosition can safely ignore it, and i didn't make any modification to demux. Just adding an EBML element. Which mkv validation tools should I be using to verify, and how would I go about adding / changing the fate test expected output data?
[21:57] <wm4> these are good questions, and I don't know how to answer any of them
[21:58] <bernie_> d'oh!
[21:58] <wm4> but it'll probably be hard to verify it's correct, because the only thing that is writing these elements (mkvmerge) did it incorrectly so far
[21:58] <bernie_> yes
[21:59] <bernie_> well, perhaps I can give you the patch, have you code review it, and then you could double check the EBML dump and verify a sample? :) (doesn't that sound like fun?)
[21:59] <bernie_> after all, you are the one that caught the bug in mkvmerge
[22:00] <wm4> I could try whether my code can read it correctly
[22:00] <bernie_> yep
[22:00] <bernie_> do you want me to email you the proposed patch real quick?
[22:00] <wm4> sure
[22:02] <wm4> you can also compile mkvmerge from git
[22:02] <wm4> mosu said he fixed it
[22:31] <bernie_> so many interruptions today
[22:33] <bernie_> wm4: finally got around to emailing you the patch. I'll look at downloading mkvmerge and building that... though I'm totally new to that tool
[22:38] <bernie_> aww man, mkvtoolnix is complaining about gcc, and my machine happens to be mac OS X, so it's really XCode underneath... configure: error: support for required C++11 features incomplete
[22:38] <bernie_> grrr
[22:39] <wm4> hm, try to get it to use clang
[22:42] <bernie_> they suggest compiling the latest version of gcc
[22:42] <bernie_> ouch
[22:43] <bernie_> And with "they" I mean Mosu
[22:44] <bernie_> http://forum.doom9.org/archive/index.php/t-155732-p-5.html ... "There's no workaround, I will not remove the code using these features again. See http://marcmutz.wordpress.com/2011/09/20/c98-support-costs-extra/ why. I like being an early adopter of good stuff :)" and "What you can do is compile gcc 4.6.1"
[22:44] <wm4> yeah, isn't it a joy?
[22:45] <nevcairiel> i think its great that a dev doesnt enslace himself to the stupid legacy systems in this world
[22:45] <bernie_> and all I wanted to do was implement a video player. hahaha
[22:45] <nevcairiel> enslave*
[22:47] <durandal_1707> those are some c++ extensions?
[22:47] <nevcairiel> no extensions, just a newer version of the standard
[22:48] Action: wm4 is so glad that ffmpeg uses C
[22:48] <wm4> also why does mkvmerge want boost::filesystem
[22:49] <nevcairiel> its not like C doesnt have the opportunitys to use newer functionality, in C99 or even C11
[22:49] <nevcairiel> but its easier to decide for a project that you basically control alone
[22:50] <wm4> now boost regex
[22:50] <wm4> which depends on libicu
[22:51] <nevcairiel> while i do like c++, i'm not a fan of boost =p
[22:52] <wm4> aaand it compiles soo slow
[23:07] <wm4> bernie_: I'm not sure yet (and mkvmerge is still compiling), but I think there might be a problem with your patch (or with my code)
[23:07] <wm4> bernie_: we said the relative offset starts from the end of the cluster length field, right?
[23:07] <wm4> while your patch looks like it takes the start of the cluster
[23:08] <wm4> as in, the file position of the cluster ebml id
[23:26] <wm4> bernie_: ok my code works with the newest mkvmerge
[23:29] <bernie_> wm4: oh I screwed it up? sorry.
[23:30] <bernie_> wm4: so you'll submit your patch?
[23:31] <bernie_> wm4: I think you are right, I have a bug in my implementation
[23:31] <wm4> I didn't write a patch against ffmpeg if you mean that
[23:31] <bernie_> wm4: oh, okay -- then I shall go and fix my patch proposal for ffmpeg
[23:34] <cone-261> ffmpeg.git 03wm4 07master:122536e01a0a: avfilter: fix preprocessor condition
[23:34] <cone-261> ffmpeg.git 03Michael Niedermayer 07master:07704c61dd70: avformat/matroskaenc: Only change chapter ids if needed.
[23:41] <durandal_1707> this mxf is nightmare
[23:43] <bernie_> wm4: okay, just making sure I understand the structure correctly, ebml_master.pos points to the offset where the first child element goes. Given I'm interested in that point for relative cluster offset, I should be using mkv->cluster.pos, so specifically: (packet_start_pos - mkv->cluster.pos)
[23:46] <wm4> cluster pos seems to point to the start of the cluster element itself
[23:47] <wm4> but you need the position where the cluster element's header ends
[23:47] <wm4> mkv->cluster = start_ebml_master(pb, MATROSKA_ID_CLUSTER, 0);
[23:47] <wm4> after his, probably
[23:47] <wm4> *this
[23:47] <wm4> again I ask me why they did it this way... seems confusing
[23:49] <bernie_> yeah, and start_ebml_master -- I think returns ebml_master struct that seems to populate the pos field with the position after writing the EBML tag and the size data.
[23:50] <bernie_> so mkv->cluster.pos should point where we want it.
[23:50] <bernie_> Just confirming... ;)
[23:50] <wm4> I think it doesn't
[23:51] <wm4> mkv->cluster_pos points to the start of the cluster element itself
[23:51] <wm4> including the MATROSKA_ID_CLUSTER id and the cluster size field
[23:51] <wm4> but you want the position after this
[23:51] <bernie_> I agree
[23:51] <bernie_> that is why I wrote, mkv->cluster.pos
[23:52] <bernie_> and not mkv->cluster_pos
[23:52] <bernie_> :)
[23:53] <wm4> oh
[23:53] <wm4> ok then it should be correct
[23:54] <wm4> will you send an updated patch?
[23:54] <bernie_> nice, okay -- I will do that
[23:54] <bernie_> first have to undo my force-new-cluster-for-every-keyframe hack
[00:00] --- Sat Jul 20 2013
1
0
[02:45] <FunkyELF> hi guys... I have a bunch of .3g2 files from my mom's old phone. I want to change the container to mp4 or something that her new Android phone can play. I do ffmpeg -i video.3g2 -acodec copy -vcodec copy video.mp4 and what I get no longer plays in mplayer
[02:47] <FunkyELF> Can I upload a file somewhere and get some help. The video is only 316K
[02:49] <FunkyELF> I have a bunch of .3g2 files that I want to convert to .mp4 or .m4v or whatever so that my mom can play videos from her old phone on her new Android phone. I have tried using ffmpeg with -acodec copy and -vcodec copy but no luck. Any other tools I should try?
[02:50] <LunixA380> why -acodec copy should work?
[02:50] <LunixA380> What the .3g2 codec are using?
[02:50] <LunixA380> mp4 often expect H.264 + MP3/ACC
[02:50] <FunkyELF> LunixA380: I don't really care if it is mp4.... you tell me what the appropriate container is
[02:51] <LunixA380> There's multiple appropriate container
[02:51] <LunixA380> AFAIK, Android phones can read mp4 and WebM
[02:51] <LunixA380> but, the unknown thing is what's the codec inside the .3g2, FunkyELF
[02:52] <FunkyELF> LunixA380: I wouldn't mind even having her install some 3rd party video player like MX Player. I just need something to play. The videos are so terrible to begin with I don't want to re-encode them
[02:52] <FunkyELF> [lavf] stream 0: video (mpeg4), -vid 0
[02:52] <FunkyELF> [lavf] stream 1: audio (qcelp), -aid 0, -alang eng
[02:52] <FunkyELF> that is what mplayer says when I play the file
[02:53] <LunixA380> hm
[02:54] <LunixA380> Wait, why you don't want to reencode them, in fact?
[02:55] <FunkyELF> LunixA380: because they're terrible quality from a terrible phone
[02:56] <LunixA380> so reencoding them will make the quality worse...
[02:56] <FunkyELF> yeah
[02:56] <LunixA380> Hm, I see
[02:56] <FunkyELF> well.... It looks like I can play the files as .3g2 on my Android phone but I can't hear the audio.... perhaps I need to re-encode audio
[02:59] <FunkyELF> LunixA380: can I send you an example file... its only 316K
[02:59] <LunixA380> it's a common bug on android forum
[02:59] <LunixA380> I saw it reported while doing somme Google search
[03:00] <FunkyELF> LunixA380: whats that?
[03:00] <LunixA380> and sending me the file wouldn't be helful
[03:00] <LunixA380> hm. I rephrase trhat.
[03:00] <FunkyELF> LunixA380: I'd like to use ffmpeg to re-encode to something that my Android phone will play
[03:00] <LunixA380> It's a common bug I saw reported on android communities*
[03:00] <LunixA380> Hm yes.
[03:00] <FunkyELF> LunixA380: I can't get this to work.... ffmpeg -y -i 0106021043.3g2 -acodec copy -vcodec copy test.3g2
[03:01] <FunkyELF> [3g2 @ 0x22b0740] Tag mp4a/0x6134706d incompatible with output codec id '86042'
[03:01] <FunkyELF> er.... that would be dumb anyway. Copying streams to the same container.
[03:01] <FunkyELF> What I wanted to show was the error I get trying to re-encode the audio
[03:02] <FunkyELF> ffmpeg -y -i 0106021043.3g2 -acodec libmp3lame -vcodec copy test.mp4
[03:02] <FunkyELF> [mp4 @ 0x1971740] track 1: muxing mp3 at 8000hz is not supported
[03:08] <LunixA380> you don't reencode it properly
[03:08] <LunixA380> use ffprobe for see actual specs of the movie
[03:09] <LunixA380> then you can know what you can/can't do
[03:12] <FunkyELF> LunixA380: http://pastebin.com/F1qf9nRr
[03:13] <FunkyELF> LunixA380: I was able to to an -acodec libmp3lame -vcodec copy video.avi
[03:13] <FunkyELF> that converted the audio to something Android should be able to play but the players in Android only played like 2 seconds of the 20 second clip
[03:15] <LunixA380> what's the encoding logs, FunkyELF ?
[03:18] <FunkyELF> LunixA380: http://pastebin.com/Hhj8nthz
[03:19] <FunkyELF> when I ffprobe test.avi I get this.... Duration: 00:00:00.00,
[03:19] <klaxa> can you play it back with ffplay?
[03:19] <FunkyELF> klaxa: I can with mplayer and it plays all 20 seconds just fine
[03:19] <klaxa> also, you are not using ffmpeg but avconv
[03:19] <FunkyELF> klaxa: lemmie try ffplay
[03:19] <FunkyELF> klaxa: yeah test.avi plays with ffplay
[03:20] <klaxa> wait, you already have a test.avi?
[03:20] <klaxa> i thought that failed?
[03:20] <FunkyELF> klaxa: I'm converting 0106021043.3g2 into test.avi
[03:20] <klaxa> yes, the latest paste of you states that the encoding failed
[03:20] <klaxa> >[avi @ 0xdcc740] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 184 >= 184
[03:20] <klaxa> >av_interleaved_write_frame(): Invalid argument
[03:21] <FunkyELF> klaxa: yet I have test.avi and it plays all 20 seconds
[03:21] <FunkyELF> klaxa: even after deleting test.avi to make sure that I'm not crzy
[03:22] <klaxa> the problem was the audio, right?
[03:22] <FunkyELF> klaxa: I take that back... the avi didn't play all 20 seconds
[03:22] <klaxa> can you hear the audio if you play back the .3g2 with ffplay?
[03:23] <FunkyELF> klaxa: yeah
[03:23] <klaxa> but if you encode it to mp3 it no longer works? can you test with: ffmpeg -i some_file.3g2 -c:a libmp3lame test.mp3 ?
[03:24] <klaxa> (i also would like to encourage you to get ffmpeg instead of using avconv, you can grab a static build over here: http://ffmpeg.gusari.org/static/64bit/)
[03:24] <FunkyELF> Failed to set value 'libmp3lame' for option 'c:a'
[03:25] <FunkyELF> This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[03:25] <FunkyELF> am I not using ffmpeg?
[03:25] <klaxa> no
[03:25] <klaxa> it's badly worded
[03:25] <FunkyELF> klaxa: is there a repo or should I just use that link you supplied?
[03:26] <klaxa> if you want to, you can compile the latest git http://git.videolan.org/?p=ffmpeg.git
[03:26] <klaxa> but using the static binary is fine too
[03:26] <FunkyELF> klaxa: that link you supplied... seems to have daily builds until 06-28 then they stopped?
[03:27] <klaxa> maybe so, but that's rather recent
[03:27] <FunkyELF> downloading
[03:28] <FunkyELF> klaxa: okay so now that command succeeded
[03:29] <FunkyELF> ffmpeg -i 0106021043.3g2 -c:a libmp3lame test.mp3
[03:29] <klaxa> can you play back the mp3?
[03:29] <FunkyELF> yeah
[03:29] <FunkyELF> what does -c:a do?
[03:29] <klaxa> it's the same as -acodec but a more sophisticated syntax
[03:30] <klaxa> this way you can abstract the codec parameter further, if you use "-c copy" it will copy all codecs, earlier you had to do "-acodec copy -vcodec copy -scodec copy"
[03:32] <FunkyELF> this command... ffmpeg -y -i 0106021043.3g2 -c:a libmp3lame -c:v copy test.avi ... with the static ffmpeg gives me an avi that plays all the way
[03:32] <klaxa> sounds good to me then
[03:32] <FunkyELF> klaxa: thanks. What would be a better audio codec to use... aac? Some default sane parameters?
[03:33] <klaxa> um... well you are encoding from celt right?
[03:33] <FunkyELF> qcelp
[03:33] <klaxa> ah no
[03:33] <klaxa> >Stream #0.1(eng): Audio: qcelp, 8000 Hz, 1 channels, flt, 14 kb/s
[03:34] <FunkyELF> so what would be a good choice of audio codec (since that seems to be the problem playing it on Android). mp3 works but should I try another one?
[03:34] <klaxa> yeah, well it's 14 kb/s mp3's lowest bitrate is 32 kb/s afaik, so you will have almost twice as much bandwidth even though it is mp3 i doubt it will be a big drawback on quality, otherwise i can recommend vorbis which has great quality for low bitrates
[03:35] <klaxa> i once set up a vorbis stream at 48 kb/s it still sounded decent, 48 kb/s is about as low as you can go with vorbis
[03:36] <klaxa> ah not sure avi supports vorbis audio though
[03:36] <FunkyELF> This command works with avi but not mp4..... ffmpeg -y -i 0106021043.3g2 -c:a libmp3lame -c:v copy test.mp4
[03:36] <FunkyELF> what container should I use?
[03:37] <klaxa> hmm... i would recommend mkv (matroska) since it's probably the most advanced container available, i'm not sure stock android has a matroska demuxer though, you could try to use vorbis with mp4 though
[03:39] <LunixA380> vorbis, mp4?
[03:40] <klaxa> dunno, does mp4 mux vorbis?
[03:40] <klaxa> i rarely use anything besides matroska
[03:40] <FunkyELF> libvo_aacenc is noticeably better than libmp3lame on this crappy audio
[03:42] <LunixA380> Not really
[03:42] <LunixA380> it's more about using MP3 with 8000Hz the problem
[03:42] <LunixA380> I don't like MP3, it does has problems, but not this one.
[03:42] <klaxa> well you can either use the internal aac encoder which is not recommended, or you can go with libfdk-aac
[03:42] <klaxa> or libfaac
[03:43] <klaxa> http://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide
[03:43] <FunkyELF> I'm saying I noticed audio artifacts in the mp3
[03:43] <klaxa> > You can add metadata to any of the examples on this guide:
[03:43] <klaxa> >ffmpeg -i input ... -metadata author="FFmpeg Bayou Jug Band" -metadata title="Decode my Heart (Let's Mux)" output.mp4
[03:44] <klaxa> haha
[03:45] <FunkyELF> Unknown encoder 'libfdk-aac'
[03:46] <klaxa> well, go with "-c:a aac -strict -2" for now, if you want to use libfdk-aac you will have to either get an (undistributable?) static build of ffmpeg with libfdk-aac or compile from souce with --enable-libfdk-aac
[03:47] <FunkyELF> klaxa: with aac -strict -2 I get this .... [aac @ 0x34c9220] Too many bits per frame requested
[03:47] <FunkyELF> ... and this Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[03:47] <klaxa> i uh... um... hmm...
[03:48] <FunkyELF> but the experimental one works
[03:48] <klaxa> the native encoder ("-c:a aac") is the experimental one
[03:49] <FunkyELF> okay... libvo_aacenc works fine... aac -strict -2 doesn't work
[03:49] <FunkyELF> klaxa: seriously thanks for the help. Got to go
[03:49] <klaxa> ok then
[03:49] <FunkyELF> thanks from my mom too
[03:49] <FunkyELF> ;-)
[03:50] <klaxa> heh :)
[04:47] <gatorX2> Hi! Can I ask you a question about android-ffmpeg-x264-master obtained from git?
[04:48] <gatorX2> It's about an error message.
[04:51] <klaxa> don't ask to as--
[04:51] <klaxa> well...
[05:15] <praveenmarkandu> hi guys. when i log an ffmpeg transcode
[05:15] <praveenmarkandu> it provides a lot of ^M
[05:15] <praveenmarkandu> how to i remove that
[06:23] <gustavo_brazil> someone know how to use ffmpeg to record skype conversations ?
[06:24] <klaxa> that's a bit tricky unless you are using pulseaudio
[06:24] <klaxa> and using pulseaudio will then require you to use a loopback- and a null-module
[06:24] <klaxa> actually two loopback-modules
[06:25] <gustavo_brazil> Can I use alsa instead
[06:25] <gustavo_brazil> ?
[06:27] <gustavo_brazil> I want to use alsa, because I updated a pulse-audio package on my Chakra and its brakes my login
[06:27] <klaxa> i don't know how to do it with alsa, sorry.
[06:28] <gustavo_brazil> what is the pulse packages I have to install to get it ?
[06:40] <gustavo_brazil> at least you can tell me the ffmpeg command using pulse, so i can test
[10:46] <efyx> Hi everybody, is it possible with ffmpeg to encode a video with closed captioning (EIA-708) ?
[10:53] <Mavrik> hmm
[10:53] <Mavrik> no idea, I know it can encode DVB subs
[11:43] <guru_shipu> is it possible to capture from webcam and stream to the network using http?
[11:44] <guru_shipu> i know we can capture from webcam, but how to stream to http?
[11:44] <Mavrik> depends on what do you mean by "stream to the network"
[11:44] <guru_shipu> Mavrik, depends how
[11:45] <guru_shipu> would you please elaborate
[11:45] <Mavrik> nothing to elaborate
[11:45] <Mavrik> what are you trying to do? which streaming technology do you need?
[11:45] <Mavrik> since you already know you need HTTP, you should know what kind of playback are you attempting right?
[11:45] <guru_shipu> just http
[11:45] <Mavrik> what is "just http"?
[11:46] <Mavrik> do you have a streaming server?
[11:46] <guru_shipu> nope
[11:46] <Mavrik> do you have another http endpoint you're trying to stream to_
[11:46] <guru_shipu> yes
[11:46] <guru_shipu> all the other machines in my home network
[11:46] <Mavrik> you do know http doesn't work like that right? :P
[11:47] <Mavrik> so.
[11:47] <Mavrik> you need a streaming server.
[11:47] <Mavrik> the streaming server will accept http requests and serve them to your machines on the network
[11:47] <Mavrik> you can use http to stream TO the streaming server with http, even though RTMP or UDP/TS would be better.
[11:47] <guru_shipu> ok
[11:48] <Mavrik> ffmpeg bundles "ffserver" but it's not that trivial to setup
[11:48] <guru_shipu> ok then, suppose I want to capture the webcam and stream to just one machine using http
[11:49] <Mavrik> see this: https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
[11:58] <guru_shipu> Mavrik, thank you
[12:31] <CableNinja> mornin all. I've got a couple songs that were setup as 2849Kbps... these are much too large for my uses, how can I lower them down?
[12:34] <Mavrik> reencode them into a compressed format
[12:37] <CableNinja> .-. I know that much.. heh, sorry... I should rephrase... I'm horrible with ffmpeg and have no idea what I'm doing
[12:44] <Mavrik> CableNinja, ok :)
[12:44] <Mavrik> so, what format do you want the audio in? :)
[12:45] <Mavrik> and what format is it currently in? :)
[12:45] <CableNinja> flac -> flac
[12:45] <Mavrik> um
[12:45] <Mavrik> CableNinja, that won't be possible then
[12:45] <CableNinja> I dont know whose idea it was to make it such a high bitrate, but I want to give them a firm pimphand... a 100mb for a single 5 minute piece of audio is insane
[12:45] <Mavrik> you can lower number of channels and/or sample rate
[12:45] <CableNinja> Mavrik: alright, flac->mp3?
[12:46] <Mavrik> but FLAC is a losless format, so you can't change bitrate :)
[12:46] <CableNinja> whatever I can do to drop the size of these...
[12:46] <Mavrik> ffmpeg -i <file.flac> -codec:a libmp3lame -b:a 320 output.mp3
[12:46] <Mavrik> that should do what you want :)
[12:47] <Mavrik> (note: you need ffmpeg with libmp3lame)
[12:47] <CableNinja> should have those already. I'll give it ago, thanks
[12:48] <Mavrik> -b:a sets bitrate
[12:48] <Mavrik> 320 obviously would be 320kbps CBR :)
[12:48] <CableNinja> yup
[12:49] <CableNinja> waiting for it to copy somewhere I can mess with it... I forgot to do that first, heh
[15:06] <gatorX2> Hi! Can I ask a question about converting mp4 file to 3gp conversion with ffmpeg?
[15:07] <zap0> try
[15:07] <gatorX2> I've built ffmpeg with libaacplus and libx264 support. How can I convert mp4 to 3gp file?
[15:07] <Mavrik> ffmpeg -i file.mp4 -codec copy out.3gp _
[15:07] <Mavrik> ?
[15:11] <gatorX2> `Mavrik` Thanks a lot and sorry for not knowing this before and bothering you.
[15:11] <gatorX2> Bye!
[15:12] <saste> that was fast
[15:13] <Mavrik> yeah
[16:12] <khali> oh, flv container supports AAC for audio now? sweet
[16:37] <Fjorgynn> hm
[16:57] <xlinkz0> why is the build script still trying to compile ffprobe.o if i configured with --disable-ffprobe ?
[17:06] <saste> xlinkz0, because it's stubborn
[17:22] <xlinkz0> saste: is there any way to make it obey?
[17:27] <mkrufky> so, my transcoder application uses ffmpeg libraries... it runs fine against 1.2 but it segfaults in 2.0 ... after debugging in gdb it looks like a memory overrun, maybe an off-by-1 error somewhere. i spent some time doing a git bisection test to find the problem changeset and it ended at a merge changeset :-( 80e9e63c946660304fc65fa8141ccfdbe4d196d1 no idea where to begin now :-/
[17:28] <mkrufky> er, actually, the particular merge just merges in the patch "759001c534287a96dc96d1e274665feb7059145d" ... but this itself is a huge one
[17:39] <shagoyjo> Transcoding interlaced content, does the +-alt flag still exist?
[17:51] <shagoyjo> I ask because I get "unable to parse option value 'alt'"
[19:55] <mkozjak> hi
[19:56] <mkozjak> how to copy video and audio and hardburn srt? ffmpeg -i input.mp4 -vcodec copy -acodec copy -vf subtitles=subs.srt out.mp4 just copies everything and ignores subtitles
[19:57] <llogan> mkozjak: -vcodec copy and -vf are mutually exclusive since you must re-encode to hardcord the subs
[19:57] <mkozjak> aah, yeah..
[19:58] <mkozjak> llogan: is there a simple way to use the same picture properties (resolution, framerate) and just burn them?
[19:58] <llogan> ffmpeg will use the same frame rate and frame size as the input
[19:58] <llogan> unless you tell it not to
[19:59] <llogan> depending on your ffmpeg configuration libx264 will be the default encoder for mp4 output container. you should mostly be concerned with -crf and -preset when re-encoding (unless the defaults look good enough)
[20:01] <llogan> see http://trac.ffmpeg.org/wiki/x264EncodingGuide
[20:02] <mkozjak> thanks
[20:49] <_aeris_> hello everybody :)
[20:49] <_aeris_> i have a question about ffmpeg
[20:49] <_aeris_> i have a video, saying Input #0, avi, Video: msmpeg4v3 (DIV3 / 0x33564944)
[20:50] <_aeris_> but if i try to change resolution with ffmpeg -i input.avi -s 1280x720 -c:v msmpeg4v3 output.avi
[20:50] <_aeris_> i have on output Video: msmpeg4v3 (MP43 / 0x3334504D)
[20:50] <_aeris_> input = DIV3, output = MP43 How i can have DIV3 on output too ?
[20:54] <_aeris_> http://pastebin.com/qs33NG7S
[20:59] <llogan> _aeris_: you can add "-vtag DIV3" if that is what you want
[21:00] <_aeris_> :)
[21:00] <_aeris_> so simple :D
[21:01] <llogan> you should also add "-codec:a copy" so you do not re-encode the audio.
[21:07] <mablae> Hi!
[21:10] <mablae> I need libavcodec-dev <=55.0.0 on Ubuntu 13.04 Raring. Packages just give me libavcodec53-dev. What to do?
[21:11] <llogan> mablae: you can compile it
[21:11] <llogan> http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[21:14] <mablae> llogan, So current ffmpeg build we automatically install libavcodec-dev for me? Just make ; make install ? Or any other config needed?
[21:14] <mablae> *will
[21:15] <mablae> Okay, thats great then... :-) Thanks
[21:16] <llogan> it won't make a "libavcodec-dev" package, but you can do that with checkinstall instead of "make install" if that's what you want
[21:16] <llogan> the guide does not install to the system
[21:18] <mablae> It would be nice to have some deb packages that can be uninstalled and dont mess up depedencies...
[21:19] <llogan> dependencies of ffmpeg package are not interfered with in the guide since it does nto isntall to system
[21:20] <llogan> *not install
[21:23] <mablae> But I dont need new ffmpeg, I need new libs , dev libs to comile sth other against it
[21:23] <mablae> Tvheadend to be precise
[21:24] <mablae> It has some build in transcoding using libavcodec and its ./configure complains about:
[21:25] <mablae> checking for pkg libavcodec <=55.0.0 ... fail
[21:25] <mablae> BTW thanks for the help, llogan
[21:26] <llogan> the source contains the libraries
[21:29] <llogan> or you can try this if you get stuck: https://tvheadend.org/projects/tvheadend/wiki/AptRepository
[22:02] <mablae> llogan, back again, when compiling x264 like described in that guide I got this error: undefined reference to `x264_encoder_open_130'
[22:02] <klaxa> wrong x264 shared library installed
[22:02] <mablae> /usr/local/lib/libavcodec.a(libx264.o): In function `X264_init'
[22:03] <klaxa> do you have x264 installed? if so, can you post the version it states? (x264 --version)
[22:03] <mablae> ah, fuck I messed around with avconv...
[22:03] <mablae> sry for the f-word
[22:03] <klaxa> also run: ldconfig -p | grep x264
[22:03] <klaxa> and see what version that states
[22:04] <mablae> x264 --version: http://paste.ubuntu.com/5891913/
[22:05] <mablae> ldconfig -p | grep x264 : http://paste.ubuntu.com/5891914/
[22:05] <klaxa> hmm... your installed x264 is version 130, but the shared library is version 123
[22:06] <mablae> As I said I messed around with avconv, too
[22:09] <mablae> klaxa, Thanks for the help!
[22:09] <klaxa> oh it worked? did you re-install x264 or what fixed it?
[22:09] <klaxa> or did you just go the dirty way and copy libx264.so.130 to /usr/local/lib =?
[22:10] <mablae> No, I am tryin but you gave me a good hint
[22:11] <mablae> I did a 'apt-get install x264'
[22:13] <mablae> Okay : I had the x264 v130 on /usr/local/bin and 123 is now on /usr/bin
[22:14] <mablae> remove the 130
[22:14] <mablae> *I removed
[22:15] <mablae> But why do I need x264 when I actually want to compile it? Thats seems strange
[22:16] <mablae> I think /usr/local/lib/libavcodec.a is the problem
[22:16] <mablae> That is from my experiement with avconv I guess
[22:18] <mablae> How would I fix my ldconfig to use ubuntu's system libavcodec again?!
[22:23] <mablae> klaxa, haha I did some mixup with ffmpeg and avconv libs#
[22:23] <mablae> Not good at all :-)
[23:29] <eth2wlan> Hi
[23:29] <eth2wlan> I need to capture X minute of videostream, save it to a file, then exit
[23:29] <eth2wlan> I'm using this command line:
[23:30] <eth2wlan> ffmpeg -i 'http://192.x.x.x/videostream.cgi?user=foo&pwd=bar&resolution=32&rate=2` -acodec copy -vcodec copy '/home/foobar/delme/foobar.mkv`
[23:30] <eth2wlan> But, when I terminate process with CTRL
[23:30] <eth2wlan> CTRL+C, foobar.mkv doesn't exists
[23:30] <eth2wlan> Any idea?
[23:30] <klaxa> see the -t parameter
[23:30] <klaxa> -t is duration
[23:31] <klaxa> -t 600 will record for 10 minutes
[23:32] <eth2wlan> Ok, I'll try immediately
[23:38] <eth2wlan> There is a wrong character in my previous command line
[23:38] <eth2wlan> (`) istead of (')
[23:39] <eth2wlan> With -t application break for error:
[23:39] <eth2wlan> http://192.168.100.90/videostream.cgi?user=giadmin: Input/output error
[23:39] <eth2wlan> Oh, sorry
[23:44] <eth2wlan> ( "please hold the line" )
[23:44] <eth2wlan> :-)
[23:46] <eth2wlan> Done
[23:46] <eth2wlan> Look here:
[23:46] <eth2wlan> http://pastebin.com/qyDLp1dT
[23:47] <llogan> to get hel here you'll have to use ffmpeg, or you can go to #libav if you want to use fake ffmpeg
[23:47] <llogan> *help here
[23:50] <eth2wlan> So, I must compile for Ubuntu?
[23:51] <eth2wlan> "apt-get install" can't work at all ?
[23:56] Action: eth2wlan is reading UbuntuCompilationGuide
[00:00] --- Sat Jul 20 2013
1
0
[00:46] <superware> I have an RTP/h264 video stream, when I ffplay -f h264 rtp://0.0.0.0:1234 it plays only half picture, the lower area seems corrupted. Do I need to specify more information about the stream? http://pastebin.com/MTxZw0PL
[00:50] <superware> michaelni: hi
[00:51] <kierank> dropping packets or something
[00:54] <superware> kierank: it works with VLC, so I thought it's something I need to define in the command line
[00:58] <superware> kierank: can I set RTP Packetization Mode from the command line?
[00:58] <kierank> dunno
[00:59] <superware> must I play an SDP file?
[01:04] <cone-660> ffmpeg.git 03Fabian Neundorf 07master:353f302250fd: lavf/matroskaenc: using valid chapter ids
[01:19] <superware> I have an RTP/h264 video stream, when I ffplay -f h264 rtp://0.0.0.0:1234 it plays only half picture, the lower area seems corrupted. Do I need to specify more information about the stream? http://pastebin.com/MTxZw0PL
[01:27] <cone-660> ffmpeg.git 03Michael Niedermayer 07master:37ded5303719: vf_scale: use sws_init_context()
[01:54] <cone-660> ffmpeg.git 03Lukasz Marek 07master:247e658784ea: ftp: fix interrupt callback misuse
[01:54] <cone-660> ffmpeg.git 03Lukasz Marek 07master:db72b7742a94: ftp: remove unused headers
[01:54] <cone-660> ffmpeg.git 03Lukasz Marek 07master:2217243e1234: ftp: comments
[01:54] <cone-660> ffmpeg.git 03Lukasz Marek 07master:816c579cf3cb: ftp: warning about pure-ftp server used as and output
[01:54] <cone-660> ffmpeg.git 03Michael Niedermayer 07master:1816f5509e4f: Merge https://github.com/lukaszmluki/ffmpeg
[02:08] <cone-660> ffmpeg.git 03Lukasz Marek 07release/2.0:fcab45f39bda: ftp: fix interrupt callback misuse
[08:00] <bernie_> the option -g, can take INT_MIN to INT_MAX. Not 0 to INT_MAX. What does a negative group of picture size signify?
[09:13] <wm4> saste: forgot about it
[09:13] <wm4> saste: so there was the linesize issue, right?
[09:13] <wm4> saste: I don't understand why the linesize would include padding, that makes no sense to me
[09:13] <wm4> planar audio doesn't use the linesize for access, or does it
[10:02] <saste> wm4: I tested your patch, and noted the audio glitch
[10:02] <saste> and yes, in general audio linesize is padded, for alignment reasons
[10:03] <wm4> yes, I think I actually experienced the same problem with some files, I just didn't get what was wrong
[10:03] <wm4> so why is the linesize padded?
[10:03] <saste> for alignment reasons
[10:03] <saste> linesize is the padded size of the plane
[10:04] <wm4> I understand that for the allocation, but the linesize itself could be just the exact size, because unlike video frames, you don't need them for access
[10:04] <saste> yes
[10:04] <wm4> s/them/it/
[10:04] <saste> i don't remember the exact reasoning we did
[10:04] <saste> also iirc that was merged from libav, so that's probably a better place where to ask
[10:05] <wm4> I see
[10:07] <wowdd1> hello
[10:08] <wowdd1> is there some good book about multimedia ?
[10:26] <cone-766> ffmpeg.git 03Diego Biurrun 07master:3ac7fa81b238: Consistently use "cpu_flags" as variable/parameter name for CPU flags
[10:26] <cone-766> ffmpeg.git 03Michael Niedermayer 07master:9d01bf7d66df: Merge remote-tracking branch 'qatar/master'
[11:21] <cone-766> ffmpeg.git 03James Almer 07master:562fb9c54099: lavf/riff: Add ITRK tag
[11:30] <wm4> michaelni: just curious; how do you merge? do you manually merge until the first conflicting commit, or is there a magic git-merge option that does it for you?
[11:53] <michaelni> i mostly use git merge and a text editor but occasionally i use/try different methods
[11:55] <wm4> michaelni: I saw this, it sort of looks like it might be useful (though I haven't tried it myself, so I don't know if it works well): http://softwareswirl.blogspot.de/2013/05/git-imerge-practical-introduction.…
[11:55] <wm4> it's a git extension for incremental merging
[12:08] <cone-766> ffmpeg.git 03James Almer 07master:630fc7dcfc31: vorbiscomment: Add DESCRIPTION to ff_vorbiscomment_metadata_conv
[13:51] <cone-766> ffmpeg.git 03Nicolas George 07master:ebaf20e94b99: lavfi/scale: allocate interlaced scalers only if needed.
[14:32] <wm4> here's an interesting idea for libavfilter: make it possible for the graph to export variables
[14:32] <wm4> which the application can set in a controlled manner
[14:32] <wm4> even at runtime
[14:32] <wm4> maybe that'd be better than the command stuff
[16:54] <Daemon404> nevcairiel, fyi MSE still has issues with c00conv
[16:54] <Daemon404> er c99conv
[16:55] <JEEBsv> lol
[16:55] <Daemon404> i just ran into it again
[16:57] <nevcairiel> yeah i noticed it at home as well
[16:57] <nevcairiel> apparently my laptop here just balances out between IO and CPU power
[16:57] <nevcairiel> so you can get 100%
[16:57] <Daemon404> lol
[16:57] <Daemon404> aka magic
[16:58] <nevcairiel> although at home its not one core anymore, its like 50% cpu now since i move my code onto a SSD
[16:58] <nevcairiel> moved*
[18:07] <cone-675> ffmpeg.git 03Ed Torbett 07master:7203dbde3910: avformat/rt*p: Joining a SSM multicast group using an SDP (Issue #2171)
[18:51] <cone-675> ffmpeg.git 03Carl Eugen Hoyos 07master:42272e86fea5: lut3d: Fix reading 3dl files with leading comments.
[18:51] <cone-675> ffmpeg.git 03Carl Eugen Hoyos 07master:36b21e17a23c: lavf/concat: Never fail for sample aspect ratio 0:1.
[18:51] <cone-675> ffmpeg.git 03Carl Eugen Hoyos 07master:b39a6bbe7f43: Fix pix_fmt detection in the native jpeg2000 decoder.
[18:51] <cone-675> ffmpeg.git 03Michael Niedermayer 07master:ed8c34a7666a: Merge remote-tracking branch 'cehoyos/master'
[20:54] <mateo`> durandal_1707: do you know if some work (or brainstorming) has been started on how to handle stream with AV_DISPOSITION_ATTACHED_PIC ?
[20:56] <wm4> what's there to handle?
[21:04] <mateo`> wm4: try to find a better way to handle attached pics in lavf
[21:06] <wm4> better in what way?
[21:08] <mateo`> not treated as a normal stream
[21:09] <mateo`> that's just an idea ...
[21:10] <mateo`> the way the cover art are handled in the different muxer is quite ugly
[21:10] <mateo`> imho
[21:16] <mateo`> supporting such feature in the mov muxer for example results in intrusive code
[21:21] <mateo`> storing the covert arts in some kind of metadata would be nice but we need to keep the ability to transcode the cover art itself
[21:34] <durandal_1707> mateo`: nothing, and i
[21:34] <durandal_1707> 'm not movitaved to do/fix it
[21:35] <mateo`> i'm motivated to do it
[21:37] <durandal_1707> imho, metadata should remain metadata
[21:37] <durandal_1707> but some "smart" libav dev thought that it better to make it stream. so avplay can display it
[21:38] <durandal_1707> and michaelni want abi compability with evil fork, so be it....
[21:38] <bernie_> I wonder if CueRelativePosition is implemented correctly in the matroska format. I'm getting byte offsets that easily fall outside the size of the cluster itself.
[21:38] <mateo`> so we are basically doomed :D
[21:38] <wm4> mateo`: well, you can access the AVPacket directly, instead of treating the AVStream as video stream
[21:40] <bernie_> actually, possible just a decoding bug... (sorry) :)
[21:42] <mateo`> wm4: but you'll still have to discard in some way this kind of stream in the muxer
[21:44] <bernie_> yeah, okay -- now I see that CueRelativePosition is not being set in the encoding for matroska, though it is part of the spec (I guess it's pretty new). I'm looking for fast seek performance... would be good to set that EBML element for Cues.
[21:44] <mateo`> wm4: assuming the muxer will automatically map all video streams
[21:47] <bernie_> this would mean chaning mkv_add_cuepoint() in matroskaenc.c to include the relative byte offset in the cluster to get to the block.
[22:03] <wm4> bernie_: or just use mkvmerge
[22:04] <wm4> bernie_: how is seeking slow? are you sure it isn't just because of keyframes?
[22:05] <bernie_> I'm writing my own video player for iOS for a laundry list of reasons... Seeking isn't really going to be slow I don't think, but using CueRelativePosition just makes sense, that way you do not need to parse through all preceding blocks before getting to the block you really want to go to.
[22:05] <bernie_> I think I can make a patch that would just include this information
[22:06] <bernie_> as per the matroska spec to-date.
[22:06] <bernie_> It should be quite trivial to add... so I think... it just makes sense to add it.
[22:07] <bernie_> The specific ID for CueRelativePosition is 0xf0
[22:07] <bernie_> as docuemnted here: http://matroska.org/technical/specs/index.html
[22:08] <bernie_> In my situation, I'm in contorl over both the encoding and decoding process for the content I wish to present to the end-user, so this is a reasonable option.
[22:08] <bernie_> I guess my question is... should I make this patch, if it would be of general interest to ffmpeg to include it.
[22:10] <wm4> it probably would, though I don't really see how it's useful (cluster sizes are limited by convention anyway?)
[22:10] <bernie_> it's useful like so:
[22:11] <bernie_> http://permalink.gmane.org/gmane.comp.multimedia.matroska.devel/4454
[22:12] <bernie_> Specifically: At the moment seeking to a particular block requires
[22:12] <bernie_> seeking to the cluster the block contains for two reasons: First, the
[22:12] <bernie_> ClusterTimecode element has to be found. Second, the block's actual
[22:12] <bernie_> position inside the cluster is unknown. A splitter usually finds the
[22:12] <bernie_> ClusterTimecode as the first child in the cluster, but then it still
[22:12] <bernie_> has to scan all children up to the required block.
[22:12] <bernie_> With this proposal reading the ClusterTimecode would not change.
[22:12] <bernie_> However, a splitter could then seek directly to the required block
[22:12] <bernie_> skipping all the elements in between. This would speed up seeking
[22:13] <wm4> ok so you can skip all blocks in the start of the cluster
[22:13] <bernie_> correct
[22:13] <bernie_> that would be faster
[22:13] <wm4> but if the seek destination (including preroll) falls at the start of a cluster, you have to parse everything yet again?
[22:13] <wm4> even if e.g. subtitles are sparse at best
[22:13] <bernie_> cuepoints are typeically I-frames
[22:14] <bernie_> in my situation they definately are
[22:17] <bernie_> In fact, it only makes a cuepoint entry for keyframe. So there ought be no reason to have to re-prase. You should be able to go to the cluster, and then go to the correct offset to start reading the block that contains the I-frame you need to start. At least, this is how I understand it.
[22:18] <wm4> I think there was something else that was actually useful
[22:18] <wm4> oh right
[22:18] <wm4> cue duration, I think
[22:19] <wm4> so you can estimate whether you really have to seek before to get a subtitle
[22:21] <bernie_> okay, so I'm working on a patch to implement this... not sure what the process is to submit it for consideration of inclusion. But first I will have lunch :)
[22:22] <wm4> send it to the -dev mailing list
[22:25] <durandal_1707> bernie_: read http://ffmpeg.org/developer.html
[22:25] <bernie_> cool -- thanks!
[22:26] <wm4> durandal_1707: when will cehoyos read these guidelines?
[22:27] <wm4> durandal_1707: if you want to do something awesomely passive-aggressive, reject his next patch and point to the dev policy, and quote "When you submit your patch, please use git format-patch or git send-email. We cannot read other diffs :-)"
[22:32] <cone-561> ffmpeg.git 03Michael Niedermayer 07master:99de97cabf35: jpeg2000dec: parse CDEF
[22:32] <cone-561> ffmpeg.git 03Michael Niedermayer 07master:fc6de70c44be: jpeg2000dec: Support non subsampled 8bit planar pixel formats
[23:04] <bernie_> wow make fate takes a while... :)
[23:21] <bernie_> great -- now I have to also patch mkvinfo to support CueRelativePosition.
[23:23] <bernie_> It's output is funny though, because it can ID the EBML tag by name: (Unknown element: CueRelativePosition; ID: 0xf0 size: 9) at 4993253 size 9
[23:24] <bernie_> One the one hand, it knows that 0xf0 is CueRelativePosition, but on the other it's unknown... grrr!
[23:42] <bernie_> is there an easy way I can run just a single test? In my case, I need to re-run lavf-mkv, and a global make fate takes too long...
[00:00] --- Fri Jul 19 2013
1
0
[00:00] <relaxed> Maybe they removed that feature and it's now a default?
[00:01] <LunixA380> Removed?
[00:02] <LunixA380> Hm, wait, I remembered a log, I'll paste it
[00:15] <LunixA380> So : http://pastebin.com/ja5LgFan
[00:17] <LunixA380> I taken the static build from ffmpeg.zeranoe.com, and this uh...the 6 July
[00:18] <LunixA380> ffmpeg-20130709-git-00b1401-win32-static.7z *
[00:19] <LunixA380> line 202, we see rc_resize_allowed: 0
[00:19] <LunixA380> but I'm unable, for the time being, to change it.
[00:24] <LunixA380> I stay connected ^^
[00:24] <LunixA380> I'll brb
[00:24] <durandal_1707> LunixA380: when was it working?
[00:25] <LunixA380> I never tested it
[00:25] <durandal_1707> its supposed to be changeable from user?
[00:25] <saste> LunixA380, was never a valid option
[00:26] <LunixA380> oO
[00:26] <LunixA380> So the website is lying?
[00:26] <relaxed> If you need it you can encode with vpxenc directly.
[00:26] <LunixA380> Okay.
[00:26] <durandal_1707> this is trivial to add, if you reall need it
[00:27] <relaxed> maybe a -vpx-params option is in order.
[00:28] <saste> LunixA380, what website is lying?
[00:30] <durandal_1707> that page even have failing link to libvpx in ffmpeg
[00:32] <mark4o> yup, looks like http://wiki.webmproject.org/ffmpeg is wrong; maybe check on #webm or #vp8 ?
[00:34] <saste> LunixA380, don't trust third parties wikis
[00:34] <saste> otoh our internal documentation for livpx sucks
[00:41] <superware> I have an RTP/h264 video stream, when I ffplay -f h264 rtp://0.0.0.0:1234 it plays only half picture, the lower area seems corrupted. Do I need to specify more information about the stream?
[00:43] <superware> please see http://pastebin.com/MTxZw0PL
[01:03] <superware> must I play an SDP file in order to play h264 over RTP?
[01:05] <superware> vlad_starkov: hi
[01:20] <superware> I have an RTP/h264 video stream, when I ffplay -f h264 rtp://0.0.0.0:1234 it plays only half picture, the lower area seems corrupted. Do I need to specify more information about the stream? http://pastebin.com/MTxZw0PL
[01:25] <ilove11ven1> superware: check packet loss
[09:15] <LunixA380> Welcome back ffmpeg support channel :)
[09:15] <LunixA380> Nothing to ask for now ^^
[09:16] <relaxed> In soviet #ffmpeg, we welcome you.
[09:17] <LunixA380> soviet #ffmpeg? Is there is regional ffmpeg channels :o?
[09:20] <relaxed> No.
[09:52] <braincracker> h
[09:52] <braincracker> hack your 19" tft monitor CCFL to LED backlight http://pastebin.com/6QrP8ZbR neat?
[18:13] <efyx> Hi everybody, is it possible with ffmpeg to encode a video with closed captioning (EIA-708) ?
[18:14] <efyx> Or do you know any other open source tool that can do it?
[18:52] <Sythic> Hey im trying to compile FFMpeg (need FFProbe as well). I configured it, hopefully correctly for what i need (screenshots from ffmpeg and some metadata from ffprobe). However it wont do the install. I get /root/deps/ffmpeg/libavcodec/libx264.c:552: undefined reference to `x264_encoder_open_135'
[18:52] <Sythic> Any ideas what I might be doing wrong?
[19:08] <teratorn> Sythic: you mean it won't compile?
[19:09] <sacarasc> Sythic: Do you have multiple copies of x264 installed?
[19:20] <Sythic> teratorn: sacarasc, um im not sure, make works, make install does not
[19:20] <sacarasc> Yeah, that's what usually happens when you have it installed twice.
[19:20] <Sythic> sacarasc: i dont think so.. i uninstalled the one i had, x264 command doesnt work, then i compile from the repo..
[19:21] <teratorn> "uninstalled" ?
[19:21] <teratorn> that's not something that usually works on a computer
[19:21] <Sythic> apt-get remove x264
[19:21] <teratorn> ok
[19:21] <Sythic> idk if my versions are maybe off or what
[19:22] <Sythic> i have the latest master of both x264 and ffmpeg
[19:22] <teratorn> Sythic: it shouldn't be resolving references in .c files if it were already compiled
[19:22] <Sythic> weird
[19:22] <Sythic> maybe it failed but didnt tell me?
[19:23] <teratorn> pastebin the full output of 'make'
[19:23] <Sythic> well that will take about 20 minutes lol
[19:23] <teratorn> it shouldn't, if it's mostly already compiled
[19:23] <Sythic> oh you can do it again?
[19:23] <teratorn> sure
[19:24] <Sythic> would have been good to know 2 hours ago >
[19:24] <Sythic> ><
[19:25] <Sythic> running make again gives me the error that make install used to, is that normal?
[19:26] <Sythic> sacarasc: any way I could check if i have 2 copies installed?
[19:26] <teratorn> you didn't notice it the first time
[19:26] <teratorn> pastebin the whole output
[19:26] <Sythic> Gotcha
[19:27] <Sythic> teratorn: http://codep.in/2r
[19:32] <teratorn> Sythic: it sounds like you've linked against a different version of x264 than the headers you've compiled against
[19:32] <Sythic> Must have, not sure what to do about that
[19:32] <Sythic> i uninstalled x264 completely before hand
[19:33] <teratorn> you can use objdump -t libavcodec/libavcodec.a to inspect what symbols have been compiled in
[19:33] <teratorn> you'll have some symbol like x264_encoder_open_<BUILD_NUM>
[19:34] <teratorn> so it's linking in a certain version of the x264 static library. which doesn't have the symbol the ffmpeg code expects (which it gets from the x264 headers, I think)
[19:35] <teratorn> Sythic: where did you install x264 to (what --prefix ?) and what additional flags are you giving to ffmpeg ./configure so it knows where to find it?
[19:36] <Sythic> I followed the guide on the ffmpeg wiki, i dont think any of them had me to prefixes
[19:37] <Sythic> this one: https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20quickly%20compile%20FFmpeg%2…
[19:37] <teratorn> so you sudo installed? to where? /usr/local? can you search your whole hard drive for x264.h and tell us where you find them?
[19:37] <Sythic> im logged in as root
[19:37] <Sythic> sure
[19:42] <Sythic> teratorn: http://codep.in/2s
[19:42] <Sythic> so yea, couple places
[19:43] <teratorn> Sythic: the first is your git checkout?
[19:43] <Sythic> yes
[19:43] <teratorn> so you have two versions, one in /usr and one in /usr/local
[19:43] <Sythic> which can i delete?
[19:44] <teratorn> Sythic: the one in /usr is from system package, so you need to remove libx264-dev
[19:44] <teratorn> Sythic: I assumed you already had done that as a result of apt-get removing x264
[19:44] <Sythic> i would have thought too
[19:44] <teratorn> do you have that package?
[19:45] <Sythic> ok so now its just the /usr/local
[19:45] <Sythic> yea i did
[19:45] <teratorn> weird
[19:45] <teratorn> you must have libx264 then also
[19:45] <teratorn> since the -dev depends on it
[19:45] <teratorn> you need to remove that also, or just make sure you aren't linking against it
[19:45] <Sythic> nope lol
[19:45] <teratorn> what about libx264<something>
[19:46] <teratorn> Sythic: here it is libx264-123
[19:46] <teratorn> Sythic: you have something im sure of it
[19:46] <Sythic> I think its compiling
[19:46] <Sythic> i got past that error
[19:46] <Sythic> sweet it works
[19:46] <teratorn> lol ok
[19:48] <Sythic> I think its gonna do it, i so hope this works, tired of watching code compile hahah
[19:48] <Sythic> thanks for the help teratorn sacarasc
[19:49] <_janem> hi, why would ffmpeg -i input.mov -sameq output.mov not create an output.mov with the same fps?
[19:49] <teratorn> Sythic: sure
[20:33] <Sirisian|Work> I'm confused about something. If I want to convert a 1080p ogg file to webm and keep the same quality I can't use ffmpeg -i foo.ogg bar.webm. It seems to create a very low quality one. Is it trying to do the conversion at a low bitrate by default? I want it to convert using the best bitrate for the video to get an identical quality
[20:36] <Sirisian|Work> hmm -sameq
[20:39] Action: _janem guessing could it be to do that libx264 is not installed? "Unknown encoder 'libx264'"
[20:47] <Sirisian|Work> I got it
[20:47] <Sirisian|Work> had to use -b 1500k and other flags. Can't run it without flags
[20:57] <LunixA380> hm Sirisian|Work ?
[20:57] <LunixA380> It's weird.
[21:07] <Sirisian|Work> LunixA380, oh I tried to use just ffmpeg -i foo.ogg bar.webm thinking it would convert with the same quality. Ended up having to use ffmpeg -i foo.ogg -b 1500k -vcodec libvpx -acodec libvorbis -ab 160000 -f webm -g 30 bar.webm
[21:07] <Sirisian|Work> Simple mistake. First time using ffmpeg.
[21:07] <LunixA380> I'll investigate a bit
[21:07] <LunixA380> but I thought it was possible to repackage a file without reencoding
[21:25] <_janem> LunixA380: well that what I thought -sameq is for (but I might missing libx264 to this might solve it)
[21:40] <mark4o> do not use -sameq
[21:40] <mark4o> http://superuser.com/questions/478549/what-is-the-sameq-or-same-quant-optio…
[00:00] --- Fri Jul 19 2013
1
0
[00:12] <durandal_1707> .. compand A->A Compress or expand the dynamic range of the audio.
[00:18] <wm4> michaelni: will you push the colorspace stuff, or is there still a need for discussion?
[00:18] <michaelni> wm4, i intend to push it after double checking its ok
[00:20] <wm4> michaelni: btw. you were saying that chroma sample location should not be a simple enum - doesn't the same apply to colorspaces?
[00:20] <michaelni> that depends on your viewpoint
[00:21] <michaelni> the chroma position changes with crop & field extract merge in current enum unfriendly ways
[00:21] <michaelni> and these are normal operations
[00:22] <michaelni> the colorspace shouldnt change in such ways with common operations at least i dnt see any ATM
[00:22] <wm4> I see
[00:42] <bernie2> howdy
[00:47] <kml2> Hi michaelni . This http://pastebin.com/bj4whbbA . Build of `master` fails to play a video; build of `release` works.
[00:47] <kml2> I'm not sure if you consider that 'usage' or 'dev'
[00:47] <bernie2> I was wondering why ffmpeg is not allowing a VP8 video encoding and AAC for audio. I know that no browser out there will read that, but I'm developing something for a unique video player, and I'm confused by the assertion that webM doesn't allow it. I know that Matroska spec would allow any combination. Webm is really just matroska.
[00:48] <Skyler_> webm is a subset of matroska, a subset that doesn't include AAC
[00:48] <Skyler_> but writing to mkv should work just fine.
[00:48] <Skyler_> vp8 + aac in mkv
[00:48] <kierank> chrome might read it
[00:48] <bernie2> oh, so instead of using a webm extension, using mkv will do the trick?
[00:48] <bernie2> holy smoles my irc client sucks...
[00:49] <kierank> maybe, try it and see
[00:49] <kierank> chrome uses ffmpeg to demux and decode so it might work
[00:49] <michaelni> kml2, if you submit a patch or intend to work on fixing the bug yoursef its dev
[00:50] <kml2> michaelni: I'm not that good yet; just startin up. I am tracking down stuff in XBMC, e.g., and actually found a couple of bugs. My fixes are considered unacceptable hacks, though ;-) So if by "work on it" you include "help as much as possible", then yes :-)
[00:53] <kml2> michaelni: Anyway, this ^^^ only happens on some machines I build the new ffmpeg-master on -- not all. So there's some sort of ENV dependency. But the built-from-src release version definitely works -- standalone AND as an external ffmpeg to XBMC. the -master branch does not.
[00:53] <michaelni> kml2, probably best if you open a ticket on trac and upload the file that causes the problem unless these have already been done. next would be finding out the exact commit that introdeucd the problem
[00:54] <kml2> michaelni: Ok. I usually find this stuff on my full movies. Like this time. Is there some handy way to 'cut' out a piece of a video source file that's more reasonable in size, and still useful to upload?
[00:55] <michaelni> dd might work, it has to be tested if the problem is still reproduceable with a cut file
[00:56] <cone-237> ffmpeg.git 03Stefano Sabatini 07master:0092bcdf06f2: lavc/avcodec.h: fix various typos in av_bitstream_filter_filter() docs
[00:56] <michaelni> also -vcodec copy might work to cut pieces out
[00:56] <Skyler_> ffmpeg -ss X -t Y -i input -vcodec copy -acodec copy output may work, where X is the starting time in seconds and Y is the duration in seconds , but like michaelni said, make sure the problem still occurs with the cut file
[00:56] <Skyler_> as remuxing might not preserve the problem
[00:57] <kml2> ok, thanks. I'll try to put together a test case.
[00:58] <bernie2> omg -- weechat-curses isso slow it feels like I'm working over a 10 baud modem
[01:00] <bernie2> Skyler: Thanks -- looks like -f Matroska is working
[01:02] <bernie2> got to switch IRC client -- this weechat is entirely unsuable...
[01:17] <cone-237> ffmpeg.git 03Michael Niedermayer 07master:a80e622924c8: avcodec/avutil: Add AVColorSpace and AVColorRange to AVFrames
[01:27] <cone-237> ffmpeg.git 03Stefano Sabatini 07master:53c853e04916: lavc/h264_mp4toannexb: improve feedback in case of invalid bitstream
[01:59] <kml2> michaelni: bug filed with attachment. thanks for the help. see 'whomever' over there.
[01:59] <kml2> Skyler_: your 'copy' string works great. thx.
[02:06] <mark4o> kml2: Any reason you used 0.11? ffmpeg 2.0 is the latest stable release, and 1.2.1 before that.
[02:11] <kml2> mark4o: Apparently, because I didn't look far enough down the 'git tag -l
[02:11] <kml2> list :-(
[02:12] <kml2> mark4o: try 2, I suppose?
[02:15] <mark4o> 2.0 was very recent so it is likely to be similar to git head, but it would help to narrow the problem, especially if you can bisect to find the specific commit
[02:15] <mark4o> btw your file plays fine for me
[02:15] <kml2> mark4o: It does for me, too, on other machines. Like I mentioned in the bug -- some, not all.
[02:18] <kml2> atm, 2/6 have this problem. one of those 2 problem machines is exactly the same hardware as my desktop, with does NOT have the problem.
[02:19] <mark4o> well if you are the only one that can reproduce it then you'll probably need to bisect it in order for anyone to be able to find the problem
[02:19] <kml2> 'bisect' meaning -- find the release it appeared in?
[02:21] <kml2> aha! there's a "git bisect"! (https://www.kernel.org/pub/software/scm/git/docs/git-bisect-lk2009.html) Who knew?
[02:21] <kml2> reading
[02:23] <mark4o> yes git bisect; there is also a bisect-create script in the ffmpeg/tools directory that might help but I haven't used it
[02:24] <kml2> mark4o: Thx. Looking for the git release history ... so I can get GOOD & BAD commit#s
[02:25] <kml2> got it: http://git.videolan.org/?p=ffmpeg.git;a=summary
[02:27] <johnsmith_> Hi all
[04:54] <cone-734> ffmpeg.git 03Michael Niedermayer 07master:b405f4e91624: swscale: Add support to specify chroma position
[09:35] <cone-734> ffmpeg.git 03Stefano Sabatini 07master:34322ab27a50: doc/bitstream_filters: document dump_extra
[09:35] <cone-734> ffmpeg.git 03Stefano Sabatini 07master:9836f47cf8b6: doc/filters: update/correct mp documentation
[10:42] <cone-734> ffmpeg.git 03Sean McGovern 07master:50612484e058: pthread: Rename thread_init to avoid symbol collision
[10:42] <cone-734> ffmpeg.git 03Michael Niedermayer 07master:10336ca6400a: Merge commit '50612484e058e8b241f0528584d64d9d2ccebf12'
[10:50] <cone-734> ffmpeg.git 03Christophe Gisquet 07master:b6293e2798af: fmtconvert: Explicitly use int32_t instead of int
[10:50] <cone-734> ffmpeg.git 03Michael Niedermayer 07master:b4fe41c981de: Merge remote-tracking branch 'qatar/master'
[11:44] <j-b> https://www.ohloh.net/p/ffmpeg missing logo
[12:35] <cone-734> ffmpeg.git 03James Almer 07master:088ed5314694: lavf/matroskaenc: Check for valid metadata before creating tags
[13:20] <Compn> j-b : it was there the other day
[13:21] <Compn> >Managers:
[13:21] <Compn> Diego Biurrun
[13:58] <cone-734> ffmpeg.git 03Michael Niedermayer 07master:066111bf1951: matroskaenc: simplify mkv_check_tag()
[13:58] <cone-734> ffmpeg.git 03Vignesh Venkatasubramanian 07master:33968c201cc8: Fixing a stride issue in VP8 Alpha encode
[13:59] <durandal_1707> michaelni: could you manually edit commit logs you commit so they make more sense?
[14:12] <wm4> "make more sense"?
[17:01] <cone-734> ffmpeg.git 03Michael Niedermayer 07master:a0b7e73f8bae: swscale/options: fix copy and paste typo
[17:42] <wm4> michaelni: can we have at least a function that calculates libswscale chroma position from the libavcodec enum and a pixel format?
[18:02] <kierank> that's non trivial
[18:03] <kierank> especially with interlacing
[18:14] <wm4> that's even more of a reason
[18:15] <wm4> in what situations not involving interlacing is it not trivial, though?
[19:03] <kierank> lots of pixel format conventions
[19:04] <kierank> 4:1:0 etc
[20:59] <Compn> michaelni : any response from rockbox re mips fixed point decoders ?
[21:02] <Compn> imo just commit mips stuff. has rockbox sent any patches for their stuff in years ?
[21:15] <saste> ubitux: you gonna review the lut3d patch?
[21:53] <saste> how should we fix the movie loop thing?
[21:53] <saste> should we reset the timestamps, or request to add a setpts?
[21:53] <saste> or auto-insert a setpts filter? (which looks the more complicate solution at the moment)?
[22:06] <saste> and now the socis website is down...
[22:14] <Compn> saste : hows mencoder do it ?
[22:14] <Compn> movie loop that is
[22:15] <saste> Compn, why do you ask me about mencoder?
[22:15] <Compn> dunno :P
[22:16] <Compn> i figured comparing mencoder and ffmpeg might be ok
[22:22] <durandal_1707> mencoder is dead
[23:42] <saste> wm4, are you going to update your demuxing patches?
[00:00] --- Thu Jul 18 2013
1
0
[02:28] <johnsmith_> Hi all
[02:29] <johnsmith_> does anyone here have any experiance encoding through x264 to get a successful call of avformat_write_header()..?
[02:34] <bernie_> using -g 0 doesn't seem to supress I-frames
[02:36] <axorb> hey guys, I fixed my original TS thing thanks to a patch merged in 6 days ago
[02:37] <axorb> now I'm just missing some audio at the start of the clip for 0.2 seconds
[02:38] <axorb> ffmpeg -ss 10 -i input.avi -ss 10 -f ssegment output%d.ts
[02:38] <bernie_> I'm looking to force key frames with -force_key_frames, and not have any other key frames in the output file. I have not found the right way of doing that. I was experimenting with using -g as well, but that doesn't seem to help...
[02:39] <bernie_> example: ffmpeg -y -re -i video_f06b84659c33731fdb34d1d43b0ddb14.mov -g 0 -dn -sn -map 0 -f Matroska -codec:v libvpx -quality good -cpu-used 0 -threads 4 -b:v 400K -maxrate 400K -force_key_frames 00:00:00.000,00:00:03.000,00:00:04.300,00:00:12.375,00:00:15.375,00:00:16.675,00:00:16.333,00:00:19.333,00:00:20.633,00:01:02.083,00:01:04.483,00:01:26.166,00:01:29.166,00:01:30.466 -pass 1 -an /dev/null && ffmpeg -y -re -i video_f06b84659c337
[02:40] <bernie_> sorry -- should have only shown a single pass of that...
[02:45] <axorb> okay, let me rephrase the question
[02:45] <axorb> ssegment is not encoding the first 0.05-0.2 seconds worth of audio for each part
[02:53] <mark4o> bernie_: use a really big number after -g, and -scenecut 0 if you don't want keyframes on scene changes either
[02:53] <mark4o> I mean -sc_threshold 0
[03:00] <klaxa> bernie_: -g 0 means GOP size 0 meaning you have only I-Frames
[06:55] <ziadsa> hi guys, i was reading that we can now use ffmpeg with intel quick sync using libav? is that true? do i have to use h26 parameter instead if x264?
[09:04] <natrixnatrix89> Would you guys recommend the ffmpeg integrated hls segmenter, or would it be better to search for something else?
[09:05] <saste> natrixnatrix89, try it yourself, and see if it works for you
[09:05] <saste> look in trac for the related open issues (keywords: hls, segment)
[09:07] <natrixnatrix89> i tried it.. Opening the video on android caused the whole phone to crash
[09:08] <natrixnatrix89> I'm just wondering if i've entered the wrong settings. or should I try a third party segmenter
[09:19] <saste> natrixnatrix89, how are you opening the video?
[09:19] <saste> does android support HLS?
[09:19] <natrixnatrix89> yes it does..
[09:20] <saste> also what's the format of the video?
[09:20] <natrixnatrix89> I was opening a html page with videojs player
[09:20] <natrixnatrix89> video codec was h264.. and format obviously ts
[09:20] <natrixnatrix89> format basically is hls. which creates the manifest file and segments the video
[09:20] <natrixnatrix89> into ts files
[09:21] <saste> natrixnatrix89, make sure you're streaming yuv420p
[09:22] <natrixnatrix89> hmm. right.. i was streaming yuv422p
[09:22] <saste> but you should check the player resources to find what it accepts
[09:22] <saste> and a crash is always a (serious) bug
[09:22] <natrixnatrix89> well yeah.. especially because the whole OS crashed.. and phone rebooted
[09:22] <natrixnatrix89> when trying to play the video
[09:23] <natrixnatrix89> what's the main difference between yuv420 and yuv422?
[09:23] <saste> chroma sampling
[09:23] <saste> *chroma subsampling
[09:24] <saste> players are sometimes picky about that
[09:24] <saste> and they will refuse to play a video for no apparent reason
[09:24] <natrixnatrix89> ok
[09:25] <natrixnatrix89> saste: do you have experience with ffserver?
[09:25] <saste> no
[09:25] <natrixnatrix89> ok.. thank's anyway
[09:25] <natrixnatrix89> bye
[09:25] <natrixnatrix89> hope changing pix fmt helps
[10:14] <vincethechimp> Someone know any good article about ffmpeg filters?
[10:17] <relaxed> did you read the man page?
[10:20] <Mavrik> obviously not :P
[11:03] <chris___> can anyone point me to an actual centos guide to install ffmpeg? i tried to follow http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide but end up in error with opus
[11:21] <R0bin> ello
[11:21] <R0bin> im on a amazon distro of linux
[11:22] <R0bin> were can i get ffmpeg what kind of repos do they have?
[11:22] <R0bin> (warning noob preseant)
[11:23] <JEEB> "amazon distro of linux"
[11:23] <JEEB> might want to check what distribution they use as the base if they have their own distro :P
[11:23] <JEEB> also let me say this
[11:23] <JEEB> if you're using Amazon's "cloud"
[11:23] <JEEB> that will be costly as hell
[11:23] <JEEB> if you will start encoding on it
[11:24] <JEEB> low performance, high price, if you want the heavy stuff it will cost a fortune
[11:40] <Gnintendo> Hello, I'm having trouble syncing up the video and audio in a stream I'm using ffmpeg for
[11:40] <Gnintendo> the video is about 0.5 seconds before the audio
[11:41] <Gnintendo> however, no matter what I do, I can't get -itsoffset or -ss to do anything
[11:41] <Gnintendo> even when supplied longer times like 5s to verify, they appear to have no effect on the resultant video
[11:41] <Gnintendo> I suspect this may be due to the fact that my output video is a stream, but this leaves me without an apparent way to delay the video
[11:42] <Gnintendo> Here's what I'm currently doing:
[11:42] <Gnintendo> ffmpeg -f v4l2 -input_format mjpeg -s "320x240" -r 10 -i /dev/video1 -f x11grab -s "1920x1080" -r 25 -itsoffset 3 -i :0.0+0,0 -filter_complex '[1]scale=1280:-1[vid];[0]scale=1280/6:-1[pip];[vid][pip]overlay=main_w-overlay_w:0' -f alsa -ac 2 -i hw:4,0 -vcodec libx264 -pix_fmt yuv420p -preset fast -vsync 1 -acodec libmp3lame -ab 196k -ar 44100 -threads 0 -re -f flv "rtmp://live.justin.tv/app/$(cat
[11:42] <Gnintendo> ~/.twitch_key)"
[11:42] <Gnintendo> however, the -itsoffset 3 (for 3 seconds), does not do anything
[11:42] <Gnintendo> I need to delay the x11grab input by a period of time that is approximately 0.5 seconds, but that time will be refined as soon as I can find a way to delay it; can anybody here help me delay it?
[14:59] <BoR0> any idea what might be causing this? I have this function seekpos() that does stream_seek, so if I do seekpos(50) it'll take me to the 50th second, but when I do seekpos(0) or seekpos(1) (up to 9-10) it takes me instantly to the 8th frame (audio is fine, i.e. starts from beginning, video is not)
[15:00] <BoR0> but what's strange to me is that if I do seekpos(50) or any other number that is greater than 10 it works fine
[15:01] <nerdshark> hey guys, can anyone clarify for me if the *priv* field in the avframe and avpacket structs are used by ffmpeg, or if they're meant to be used by end developers?
[15:02] <nerdshark> (i'm unfortunately running on ffmpeg 1.1, for reference)
[15:44] <mpfundstein> JEEB: thats not entirely true. you can create your own image, save it and than rent servers only if needed. I transcoded 30 000 vids this way for under 2k
[15:44] <mpfundstein> JEEB: but you need an amazing big pipe there.
[15:46] <JEEB> mpfundstein, I think it can still be costlier than dedicated servers from other places. Of course, if you need something you can take up/down quickly at will and as many instances as you want, then it can make sense -- even with the price tag
[15:47] <JEEB> and no, I was not talking at all about their own encoding service.
[15:47] <JEEB> Only VMs in their "cloud"
[15:50] <mpfundstein> JEEB: no their own encoding service is crap
[15:50] <mpfundstein> JEEB: they have a nice model where you rent instances for a certain price. lets say 0,19 cent / hour. if the demand rises the price rises
[15:50] <mpfundstein> but as long as demand is low you pay nearly nothing
[17:27] <Sythic> Hey, is FFProbe discussed here as well?
[17:30] <stix_> hi. followed the CentosCompilationGuide but when compiling FFMPEG, I get "ERROR: opus not found" - I can locate opus in $HOME/ffmpeg_build/include, so not sure why it's complaining.
[17:35] <mrAlmond> Hi everyone
[17:52] <Sythic> I'm looking for an updated version of FFProbe for debian, or a way to compile it. My version was compiled in 2009 and is not compatible with a PHP library im using. Is there a newer version?
[18:12] <teratorn> Sythic: it's not hard to compile
[18:13] <Sythic> teratorn: Finding it is honestly the hard part. FFProbe doesnt seem to exist lol. Does it have its own repo or are there separate options to use when compiling or what?
[18:13] <teratorn> Sythic: sudo apt-get build-dep ffmpeg; then ./configure and make the source
[18:14] <teratorn> Sythic: it's part of the ffmpeg distribution
[18:19] <johnsmith> hi all
[18:19] <johnsmith> anyone know how to encode mpeg4 with av_write_header(..)? I get the "broken ffmpeg settings" error
[18:39] <Sythic> teratorn: where exactly did apt put the source for me to build? or did i just install tools i need and still need to pull the code from git?
[18:39] <teratorn> Sythic: you just installed the build dependencies of the ffmpeg package
[18:39] <teratorn> Sythic: these will be more or less the same things that the source you need to get will want to link against
[18:39] <Sythic> gotcha
[18:40] <Sythic> teratorn: so do i just build as is or are there certain flags i need? I pretty much only need the meta-data and screenshot parts of this so transcoding stuff isnt really important
[18:41] <teratorn> Sythic: defaults are probably fine
[18:41] <teratorn> Sythic: thare are tons of --configure options
[18:41] <Sythic> perfect, and branch releases are stable?
[18:41] <Sythic> i noticed lol
[18:41] <teratorn> Sythic: i'm not sure you might have to do --enable-gpl and such to get all codecs
[18:42] <Sythic> teratorn: this is what i have now apparently http://codep.in/2q
[18:42] <Sythic> this is the ffmpeg build from febuary i guess
[18:43] <teratorn> do you need all those options?
[18:44] <Carraway> question for you guys - is there a video or audio filter where I can put in a series of timecodes (00:00:05.000, 00:00:10.000, etc) and it will split the input at those markers
[18:46] <Pet0r> I'm trying to compile ffmpeg with OpenCL support on Debian, I've compiled libx264 and configure for that outputs with opencl: yes, and ffmpeg compiles just fine with --enable-opencl, but when it comes to using it, I get "[libx264 @ 0x25b5920] OpenCL: not compiled with OpenCL support, disabling"
[18:46] <Pet0r> any ideas?
[18:52] <Mavrik> Pet0r, yeah.
[18:53] <Mavrik> You compiled ffmpeg with OpenCL support.
[18:53] <Mavrik> Not the x264 external library you're trying to use& x264 isn't part of ffmpeg so it doesn't give a darn about it's opencl support. :)
[19:09] <Pet0r> Hey sorry, was in x264's chan also
[19:09] <Pet0r> I feel like I'm missing something easy
[19:09] <Pet0r> an option to pass to configure or something
[19:10] <Pet0r> my ffmpeg check in configure is saying that opencl is disabled
[19:10] <Pet0r> my understanding of the configure file is that it looks for OpenCL/cl.h or CL/cl.h
[19:10] <Pet0r> this exists for me: /usr/include/CL/cl.h
[19:10] <Pet0r> it's just obviously not seeing it?
[20:16] <bernie_> hmm
[20:36] <PasqualeIV> Hey fellas. I just preformed a fresh Ubuntu 12.04 server install, with instructions from UbuntuCompilationGuide. Verbatim with all options (minus those of xwin), ffmpeg ./configure responds ~"Unable to find opus".
[20:37] <PasqualeIV> I confirmed that I had installed libopus. tried again. same issue.
[20:38] <ezekiel> did you only confirm that you ran the opus installation _commands_? Or did you also confirm that the opus installation commands were _successful_ and that the opus libraries were _actually_ installed into a directory on your system?
[20:39] <PasqualeIV> ezekiel, I confirm I ran the commands under a unprivileged user (as per the Comp guide). I'll be happy to rerun the opus install again and confirm each executed w/o error. standby.
[20:44] <PasqualeIV> alright -- so same error upon ffmpeg ./configure "ERROR: opus not found" -- however I think I understand what you're saying -- as the opus install made the ld notices very clear.
[20:46] <PasqualeIV> however, I would have expected the ffmpeg --extra-ldflags="-L$HOME/ffmpeg_build/lib" to compensate for this.
[20:57] <PasqualeIV> ezekiel, the bottom line is; per the ubuntu comp guide; the install does not work under 12.04.
[21:03] <PasqualeIV> adding more to the notes: opus-1.0.2.tar.gz does not include, what maybe an important file; autogen.sh
[21:05] <PasqualeIV> installing opus per ?version=55 of the Comp guide, and using 'sudo make install' (opposed to checkinstall) gets opus running on the 12.04 system, and allows ffmpeg to be installed.
[21:05] <mark4o> PasqualeIV: autogen.sh generates "configure". If you already have "configure" then you shouldn't need to use autogen.sh.
[21:07] <mark4o> The tar.gz files should already have configure. You should only need autogen.sh if you are using git.
[21:09] <PasqualeIV> mark4o, ok, so you think perhaps simply running "sudo make install" opposed to "make install" would have made the ffmpeg install successful?
[21:09] <mark4o> The old version of the comp guide installed system-wide, which didn't work for people that did not have root access. The new guide installs in the home directory and does not require root/sudo.
[21:10] <PasqualeIV> gotcha.. then without a doubt, the new guide did not work for a non root user in 12.04
[21:12] <PasqualeIV> the new guide does work when libopus is left out of the ffmpeg compile, but will fail if included.
[21:13] <mark4o> I think it is for 13.04 but it is a wiki so if you figure out what is wrong with opus for 12.04 then please feel free to add a note for anyone else using 12.04
[21:14] <mark4o> btw there is now an opus 1.0.3 release, not sure if it would change anything for you
[21:17] <PasqualeIV> I think the guide is attempting to support all "supported releases". I'll try 1.0.3 right now -- great suggestion. Once I find "the" answer, I'll be happy to update the wiki.
[21:24] <Fjorgynn> when
[21:36] <PasqualeIV> bahh: ERROR: opus not found -- even with 1.0.3.
[21:47] <mark4o> PasqualeIV: what does pkg-config --libs opus say?
[21:48] <PasqualeIV> No package opus found.
[21:49] <mark4o> is PKG_CONFIG_PATH set?
[21:50] <PasqualeIV> yes
[21:50] <mark4o> It looks like the guide says to set it but it doesn't export it; can you try "export PKG_CONFIG_PATH" and then pkg-config --libs opus
[21:51] <PasqualeIV> booyah! -L/home/ubuntu/ffmpeg_build/lib -lopus
[21:51] <PasqualeIV> configure success!
[21:51] <mark4o> cool
[21:52] <PasqualeIV> you want to update the wiki? or should I?
[21:52] <braincracker> ffmpeg!
[21:53] <mark4o> was it just adding an "export PKG_CONFIG_PATH" that did it?
[21:54] <PasqualeIV> once I did that -- the ffmpeg ./configure command worked.
[21:54] <mark4o> ok, did the rest of the build work?
[21:55] <PasqualeIV> I confirmed this by performing a fresh install of 12.04, following the guide from top to bottom, failing at the configure, did the export as you suggested, and make is running now. give it a few mins to confirm the build was a full success.
[21:57] <mark4o> Ok, I can add that to the wiki.
[21:57] <PasqualeIV> make success, make install success
[21:57] <mark4o> Are you using opus-1.0.3 or 1.0.2? If 1.0.3 works for you then I'll update that also
[21:59] <PasqualeIV> 1.0.3
[22:00] <PasqualeIV> it appears I have full success: built on Jul 17 2013 15:56:48
[22:00] <mark4o> very good; I've updated the wiki, thanks
[22:01] <PasqualeIV> thanks for your help mark4o!
[23:08] <johnsmith> Hi all, anyone have any experiance on how to convert mp3 files into mp4 (no video only audio) in aac?
[23:08] <johnsmith> I am getting "aac bitstream error"
[23:15] <ziadsa> guys can anyone guide me how to use intel quick sync.
[23:15] <Fjorgynn> quick sync what?
[23:19] <saste> johnsmith, command?
[23:21] <johnsmith> I am working with libav files
[23:21] <johnsmith> but if you know the command presets, information like that would be grateful
[23:44] <LunixA380> Hello all
[23:45] <LunixA380> I try to do spatial resampling with VP8/libvpx-vp8. How can I do it?
[23:50] <LunixA380> according to https://sites.google.com/a/webmproject.org/wiki/ffmpeg, it's -rc_resize_allowed
[23:50] <LunixA380> but -rc_resize_allowed doesn't work.
[23:51] <LunixA380> it says that the option doesn't exists
[23:53] <relaxed> LunixA380: look at $(ffmpeg -h encoder=libvpx | less)
[23:54] <mark4o> johnsmith: ffmpeg -i in.mp3 -acodec libfdk_aac out.mp4
[23:54] <mark4o> johnsmith: https://ffmpeg.org/trac/ffmpeg/wiki/AACEncodingGuide
[23:55] <LunixA380> The option isn't there, it's true relaxed
[23:56] <saste> -metadata title="Decode my Heart (Let's Mux)" => fun
[23:58] <relaxed> don't forget libass support
[23:58] <johnsmith> mark4o, thanks
[23:59] <LunixA380> libass ? Hm. I'll search about it
[23:59] <relaxed> LunixA380: that wasn't directed at you
[23:59] <LunixA380> Ops :(
[23:59] <LunixA380> Thanks for your help though :)
[00:00] --- Thu Jul 18 2013
1
0
[00:08] <cone-834> ffmpeg.git 03Martin Storsjö 07master:5b4eb243bce1: mov: Seek back if overreading an individual atom
[00:08] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:38b701a34924: Merge commit '5b4eb243bce10a3e8345401a353749e0414c54ca'
[00:40] <cone-834> ffmpeg.git 03Martin Storsjö 07master:31931520df35: mov: Do not allow updating the time scale after it has been set
[00:40] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:13eed267f8c1: Merge commit '31931520df35a6f9606fe8293c8a39e2d1fabedf'
[00:56] <cone-834> ffmpeg.git 03Martin Storsjö 07master:e740929a071a: lavf: Make sure avg_frame_rate can be calculated without integer overflow
[00:56] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:4f1d3e02122e: Merge remote-tracking branch 'qatar/master'
[02:51] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:37f4aa133d0a: swscale: move default colorspace setup to sws_init_filter()
[03:20] <cone-834> ffmpeg.git 03Alexis Ballier 07master:8d9c1b325ed2: mastroka audio muxer: Set long_name to Matroska Audio so that it differs from the long_name of matroska video.
[08:41] <noob384> hello, what are the params of ffv1?
[08:46] <noob384> yesterday i converted avi uncompressed to avi ffv1 with ffmpeg and with some another gui converter (that use ffmpeg)
[08:50] <noob384> i got the file ~6.5 GB (with gui program) instead ~8.5 GB (codec was ffv1 in both cases)
[08:51] <noob384> is anyone here&
[08:51] <noob384> ?
[08:52] <noob384> or this thread is dead as #ffmpeg?
[09:02] <noob384> only silent
[09:03] <noob384> tshshsh.....
[09:03] <noob384> hey, anyone is here?
[09:37] <michaelni> noob384, this is a development channel, your question doesnt sound related to development
[09:39] <noob384> @michaelni yes, but no anyone in #ffmpeg channel
[11:49] <mateo`> michaelni: if you have some time, it would great if you can review my movenc patch :)
[11:58] <cone-132> ffmpeg.git 03Michael Niedermayer 07release/1.0:03983c3650b5: avformat/matroskadec: Detect conflicting sample rate/default_duration
[11:58] <cone-132> ffmpeg.git 03Michael Niedermayer 07release/1.1:ae72abf6521c: avformat/matroskadec: Detect conflicting sample rate/default_duration
[11:58] <cone-132> ffmpeg.git 03Michael Niedermayer 07release/1.2:06190d75d09a: avformat/matroskadec: Detect conflicting sample rate/default_duration
[11:58] <cone-132> ffmpeg.git 03Michael Niedermayer 07release/2.0:bc44d06c3de8: avformat/matroskadec: Detect conflicting sample rate/default_duration
[13:29] <saste> what happens if i send empty packets to the encoder?
[13:35] <TZer0> Quick question: what should I do if I want to modify cmdutils.c so that ffmpeg can accept additional (with information I'd like to use) files?
[13:36] <BoR0> how good is AVSEEK_FLAG_FRAME, will it allow me to step to any frame? (something like QuickTime does)
[13:37] <TZer0> if anyone wondered, yes, what I'm doing will be available and hopefully pushed back to the main ffmpeg-repo if successful.
[13:56] <Compn> additional files ?
[13:56] <Compn> what do you mean ?
[13:56] <Compn> TZer0
[13:57] <Compn> ffmpeg has concat protocol for multi inputs ?
[13:57] <Compn> or you mean metadata ?
[14:00] <TZer0> Compn: well, it is sort of metadata
[14:00] <TZer0> I'm looking to modify some stuff related to motion vector estimation
[14:01] <TZer0> and I'd like to provide an additional file with information related to this
[14:02] <TZer0> I must also admit that I am very fresh when it comes to ffmpeg.
[14:02] <TZer0> just a heads up.
[14:03] <TZer0> Oh, and thanks for any help I get.
[14:34] <Compn> TZer0 : oh, well no idea :)
[14:34] <Compn> TZer0 : try on libav-user list as well
[14:40] <TZer0> Compn: well, if you know anything about command line parameter handling, that would always help
[15:21] <TZer0> Compn: also, should this be in the libav-user list? I'm making modifications of ffmpeg, not using it thorugh other means.
[15:40] <Compn> TZer0 : yeah i realized i was wrong, this sounds like the right place
[15:41] <Compn> TZer0 : best thing is to make a trac issue, with a sample file that shows what you want to do, and what a finished file should look like
[15:41] <Compn> that way other devs who can help and know where all the option parsing should go can figure out the right api path
[15:41] <Compn> i dont program so i dont know any of this stuff
[15:46] <saste> TZer0, what information?
[19:25] <saste> michaelni, why don't we have a packet filtering layer?
[19:26] <saste> bitstream filtering allows to only change data, but doesn't allow to modify/access the other packet properties, thus it is limited
[19:56] <TZer0> saste: I've got some motion vectors which I want to feed FFmpeg
[19:57] <saste> TZer0, what's the point?
[19:57] <TZer0> saste: avoid having to calculate SEDs - speed up that part of the encoding.
[19:58] <saste> TZer0, is that possible? are you tweaking the ME routines?
[19:58] <TZer0> first of all, I'm kind of fresh to this. Just a warning - ME?
[19:58] <saste> motion estimation
[19:58] <TZer0> ah, yes.
[19:59] <saste> motion vectors are usually computed by this component
[19:59] <TZer0> I've got some pre-calculated ones.
[19:59] <saste> this is internal API
[19:59] <saste> used by encoders
[19:59] <Skyler_> which encoder are you trying to feed with MVs?
[19:59] <TZer0> to be honest: not sure yet.
[19:59] <TZer0> I need to figure out this bit by bit.
[20:00] <Skyler_> how things will work is going to depend a lot on which encoder it is, most likely
[20:00] <TZer0> Hmm.
[20:00] <TZer0> Most likely.. h264
[20:06] <TZer0> saste: where should I in your opinion start
[20:07] <saste> TZer0, if i understand it correctly, you want to avoid the encoder to compute MVs, by providing them yourself
[20:07] <TZer0> Yeah.
[20:07] <saste> the problem is that this scenario is not currently supported, since the encoder is not able to "read" them, but always compute them
[20:08] <saste> especially if you consider external encoders (e.g. libx264) for which such scenario was never contemplated
[20:08] <TZer0> Well, I'm looking to add a seperate mode which simply reads them.
[20:08] <Skyler_> for H.264, you want to look at libx264
[20:09] <Skyler_> however, keep in mind:
[20:09] <saste> so in the best case you should modify libavcodec, but also the other external encoders you're interested in
[20:09] <Skyler_> 1) at slower speeds, x264 will do a way better job than your motion search, so it's not worth it
[20:09] <Skyler_> 2) at faster speeds, the motion search is not a very large portion of the encoding time
[20:09] <Skyler_> so it is not as useful as people tend to thik it is
[20:09] <Skyler_> doubly so if it turns out their motion vectors aren't very good, or aren't qpel
[20:10] <saste> TZer0, what's the objective of such endeavor? optimizations?
[20:10] <TZer0> Yeah
[20:10] <Skyler_> furthermore, if you're using B-frames in x264, it's impossible to meaningfully use external motion vectors
[20:10] <Skyler_> unless you force the B-frame pattern too which is particularly bad
[20:18] <saste> why all this flaming in ffmpeg-user? people have nothing better to do than arguing about mail headers?
[20:19] <TZer0> Aren't those super-important? :P
[20:19] <Skyler_> so like if you're actually interested I can try to help with an implementation but there's a lot of icky gotchas
[20:20] <TZer0> Skyler_: hmm, well, I'm not working on it right now.
[21:26] <cone-237> ffmpeg.git 03Paul B Mahol 07master:5ceffb1bf648: matroskaenc: use ffio_fill()
[22:10] <troker> Hi all, I'm looking to do some security research with ffmpeg as a testbed. Im interested in this vuln (http://people.canonical.com/~ubuntu-security/cve/2010/CVE-2010-3429.html) - can anyone help me find the git commit directly before that CVE was patched? Thanks much.
[22:13] <wm4> you can find it by searching for the cve number in git log
[22:14] <wm4> commit 6e73cef6 fixes it
[22:15] <troker> wm4 - thanks so much for that
[22:15] <troker> wm4 a bit new to git - so git checkout ba87f0801d77c21eb1e4891ca1f846500bbb0939^ (the commit before the fix) should get me what I want, yes?
[22:17] <wm4> I don't really see how ba8... is related
[22:46] <troker> wm4 Im looking for the commit directly before that CVE was fixed, is ba8.. the correct one?
[22:46] <wm4> seems unrelated...
[22:53] <durandal_1707> troker: how you came out with ba8?
[22:54] <troker> I realize now that thats entirely incorrect ;P
[22:54] <troker> Im new to git heh - so it looks like a carrot will give me the parent? So I want 6e73cef6^
[22:55] <durandal_1707> that is commit that fixes CVE
[22:57] <troker> @durandal_1707 6e73cef6 fixes it or 6e73cef6^ does?
[22:57] <troker> it looks like its 6e73cef6
[00:00] --- Wed Jul 17 2013
1
0
[00:29] <Guest80252> I am facing issue during seeking for flv videos, i can see range request uses "ns" parameter and seeking fails any suggestions
[00:33] <Guest80252> do we need special encoding for "ns" parameter?
[00:40] <Guest80252> does anyone help about FLV Seeking issue
[00:41] <klaxa> can you elaborate the problem further? are you using the libav* api or the command line ffmpeg tool?
[00:41] <Guest80252> API
[00:42] <klaxa> mh no idea, never used the api, sorry :(
[00:42] <Guest80252> normally The query parameter "ns" is used to pass a byte offset which contain a byte offset from the start of the file that the video should seek to
[00:43] <Guest80252> For FLV looks "from" and "to" offset s are encoded in the ns query parameter?
[00:43] <Guest80252> i am really wondering how to decode that?
[06:03] <Zeranoe> Is there any way to get a list of decoders and encoders that are LGPL only and cannot be included in a GPL build? I'm mainly wondering if MPNG or CSCD are LGPL only
[06:03] <Zeranoe> GPL* only
[06:10] <Plorkyeran> libcdio libutvideo libvidstab libx264 libxavs libxvid x11grab
[06:10] <Plorkyeran> are the non-proprietary, non-avfilter things disabled by the configure script without --enable-gpl
[08:15] <kamalbanga> My ffmpeg code succesfully compiles into object file without any warnings but when I link it, it gives following linker error:
[08:17] <kamalbanga> http://pastebin.com/1hME8mdB
[08:17] <kamalbanga> can i infer anything?
[08:54] <noob384> hello, what are the params of ffv1?
[08:54] <noob384> yesterday i converted avi uncompressed to avi ffv1 with ffmpeg and with some another gui converter (that use ffmpeg)
[08:55] <noob384> i got the file ~6.5 GB (with gui program) instead ~8.5 GB (codec was ffv1 in both cases)
[08:59] <noob384> so, gui had some -keys in command that i do not use (in console ffmpeg myself), what are they may be?
[09:48] <michaelni> noob384, you can try different context sizes, vlc vs ac code, also -debug 1 with the ffv1 mght show some info about how its encoded
[11:07] <misterno> hey i remember playing with video interpolation some time ago making videos run at 60 or even 120 fps smoothing them out
[11:07] <misterno> i was wondering has this tech been improved over the years and what would be best tools these days to achieve it
[11:08] <misterno> is it still avisynth + mvtools, or is it smooth video project?
[11:36] <BoR0> how good is AVSEEK_FLAG_FRAME, will it allow me to step to any frame? (something like QuickTime does)
[13:35] <Mercy404> Hello all, I was wondering if you could give me a bit of advice. I'm trying to stitch together a bunch of JPEGs into an mp4 using the following command: ffmpeg -r 10 -i "img (%d).jpg" -b:v 1500k "timelapse.mp4"
[13:36] <Mercy404> This works for smaller sets of images, but with a 1.5gb set, malloc is failing. I have a machine with 16gb of ram, and I've tried rebooting to free up large contiguous chunks of memory, but I feel like I must be doing something rather simple wrong.
[13:40] <Mercy404> switching to a 64bit build seems to have fixed the issue. It wasn't my first guess because malloc was failing to allocate just 716mb.
[14:13] <misterno> is anyone into video interpolation making movies smoot at 60 fps?
[14:13] <misterno> i was just wondering what would be the best tools these days to achieve that
[16:00] <jdiez> hey guys, trying to compile ffmpeg after having compiled x264, I get this error:
[16:00] <jdiez> ffmpeg/libavcodec/libx264.c:552: undefined reference to `x264_encoder_open_135'
[16:00] <jdiez> x264 is the proper version, too:
[16:00] <jdiez> # x264 --version
[16:00] <jdiez> x264 0.135.2 f0c1c53
[16:00] <jdiez> help?
[16:01] <saste> jdiez, make sure you're linking against the correct version
[16:01] <BoR0> how good is AVSEEK_FLAG_FRAME, will it allow me to step to any frame? (something like QuickTime does)
[16:02] <jdiez> saste: there's no other version in my system
[16:02] <jdiez> # ldconfig -p | grep x264
[16:02] <jdiez> libx264.so.123 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libx264.so.123
[16:07] <Ph0bus> can i remove or add subs to mkv files with out reencoding?
[16:07] <jdiez> saste: any other ideas?
[16:11] <saste> jdiez, .so.123 => is it the right version?
[16:12] <jdiez> saste: yep
[16:12] <saste> shouldn't it be 135?
[16:12] <jdiez> hmm..
[16:12] <saste> jdiez, it's the same here...
[16:13] <saste> try to make a distclean and rebuild, it may help
[16:13] <jdiez> you have 123 too?
[16:13] <saste> yes
[16:13] <jdiez> I did rebuild a couple of times... :/
[16:13] <saste> is it a configure or a linking problem?
[16:14] <jdiez> oh, linking problem
[16:14] <jdiez> it builds fine
[16:14] <Ph0bus> can i remove or add subs to mkv files with out re-encoding?
[16:22] <klaxa> Ph0bus: yes, see -c copy and -map options
[16:23] <klaxa> to remove subs, you would do: ffmpeg -i input.mkv -map -0:s -c copy output.mkv
[16:23] <klaxa> in general, you could have a look at mkvtoolnix especially the mkvmerge gui
[16:23] <klaxa> the binary is called mmg, confused me for the longest time now :|
[16:24] <Ph0bus> ok thanks i used mkvtoolnix bur it demuxes thats no reencoding?
[16:24] <klaxa> jdiez: where is your libx264.so.135?
[16:24] <klaxa> you wanted no reencoding
[16:24] <Ph0bus> the yes
[16:24] <Ph0bus> yes just delte the subs or add with our toutching the other files contained
[16:25] <jdiez> klaxa: /usr/lib/x86_64_gnu_linux/libx264.so.135
[16:25] <klaxa> run ldconfig as root maybe?
[16:25] <jdiez> did that
[16:26] <klaxa> weird, it should put libx264.so.135 in the cache then
[16:30] <jdiez> in the cache?
[16:31] <klaxa> ldconfig cache
[16:35] <klaxa> jdiez: so you said it compiled fine, right? in that case can you run ldd ffmpeg?
[16:35] <jdiez> klaxa: it compiled fine, it didn't link
[16:36] <klaxa> ah derp
[16:37] <klaxa> well quick hack would be to just overwrite the libx264.so symlink
[16:38] <klaxa> but meh
[16:38] <jdiez> to what?
[16:38] <jdiez> it's finding the file to link with, it's just not finding some symbols
[16:39] <klaxa> it's finding the wrong version of the file
[16:39] <jdiez> fun fact:
[16:39] <jdiez> # nm /usr/local/lib/libx264.a |grep encoder_penen
[16:39] <jdiez> 0000000000008020 T x264_encoder_open_135
[16:39] <klaxa> it's trying to link against libx264.so.123 apparently
[16:39] <klaxa> no?
[16:39] <jdiez> possibly
[16:39] <jdiez> should I tell it to link statically?
[16:40] <klaxa> if you have a static library that would make sense i guess?
[16:40] <jdiez> I have both
[16:40] <klaxa> and you have libx264.so.135 in your ldconfig path?
[16:41] <jdiez> yep
[16:41] <jdiez> # ldconfig -p | grep x264
[16:41] <jdiez> libx264.so.123 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libx264.so.123
[16:41] <klaxa> but that's the WRONG version!
[16:41] <jdiez> is it
[16:41] <klaxa> yes!
[16:41] <klaxa> it's libx264.so.123, you need libx264.so.135!
[16:42] <jdiez> klaxa: I'm afraid I don't have .135?
[16:42] <Ph0bus> what are the most compatible mkv setings?
[16:42] <klaxa> you compiled x264, right? did you configure it with "--enable-shared" ?
[16:43] <jdiez> yes
[16:43] <klaxa> did you run make install afterwards?
[16:43] <jdiez> yes
[16:43] <jdiez> and ldconfig
[16:43] <klaxa> it should be in /usr/local/lib then
[16:43] <Ph0bus> i have a bray player that supports mkv but it strugles with some files burned to dcd
[16:43] <klaxa> see if it is there
[16:43] <Ph0bus> dvd
[16:43] <klaxa> unless you also configured it with "--prefix=/some/other/path"
[16:43] <jdiez> klaxa: I have libx264.a in /usr/local/lib
[16:43] <klaxa> that's a static library, not a shared one
[16:43] <jdiez> correct
[16:44] <jdiez> I don't have anything else x264 in there
[16:44] <klaxa> yes, well then you have not built x264 version 135 with shared libraries
[16:44] <Ph0bus> is there some standard seting for mkv encoding?
[16:44] <jdiez> klaxa: will try to rebuild
[16:44] <klaxa> Ph0bus: mkv is not a codec
[16:44] <klaxa> jdiez, if you look into your x264 source directory, you should find libx264.so.135
[16:44] <jdiez> klaxa: damn right!
[16:45] <Ph0bus> h264
[16:45] <jdiez> gee, I guess I need to copy that to /usr/lib and symlink libx264.so?
[16:45] <klaxa> there's multiple ways to go about this now
[16:46] <klaxa> either that, or you add /path/to/x264 to your /etc/ld.conf.d/my_additional_config.conf
[16:46] <klaxa> but before that
[16:46] <jdiez> meh, going to go the hacky route
[16:46] <klaxa> see if you really ran make install and if it throws some errors
[16:46] <jdiez> okay
[16:46] <jdiez> I'm rebuilding it from scractch just to be sure
[16:47] <jdiez> scratch*
[16:47] <klaxa> i doubt that that's gonna help, but okay :I
[16:47] <jdiez> can't hurt either
[16:47] <jdiez> yeah, .135 is now in /usr/local/lib
[16:48] <klaxa> try linking ffmpeg again
[16:48] <jdiez> yep
[16:49] <jdiez> worked
[16:49] <jdiez> thanks for your help, klaxa
[16:49] <klaxa> :)
[16:50] <jdiez> excellent
[16:51] <klaxa> Ph0bus: http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[16:51] <Ph0bus> ty
[16:52] <Ph0bus> but are there something like a standar fit all setings?
[16:52] <klaxa> not really
[16:53] <Ph0bus> there should be a baseline compatibality seting
[16:53] <klaxa> there are default values
[16:53] <klaxa> you can just do: ffmpeg -i input.mkv -c:v libx264 output.mkv
[16:53] <klaxa> that will encode with libx264 and apply default values set in ffmpeg, i don't know in how far that is compatible
[16:53] <Ph0bus> but will it work on most hardware ?
[16:53] <klaxa> you'll have to do some testing to find out what suits your player
[16:54] <klaxa> probably
[16:54] <Ph0bus> ok ty anyway
[22:10] <troker> Hi all, I'm looking to do some security research with ffmpeg as a testbed. Im interested in this vuln (http://people.canonical.com/~ubuntu-security/cve/2010/CVE-2010-3429.html) - can anyone help me find the git commit directly before that CVE was patched? Thanks much.
[22:10] <Fjorgynn> hi me
[22:10] <Fjorgynn> dunno
[22:17] <llogan> troker: git log 6e73cef
[22:17] <troker> llogan thanks
[22:18] <llogan> i got that hash from your link
[22:18] <llogan> then look below the log entry for that hash for earlier ones
[22:34] <Ericq> do we have any mechanism to get Byte savings during Adaptive streaming contents Optimization
[22:36] <axorb> hey guys, I'm manually segmenting a video to TS while trying to keep the timestamps intact
[22:36] <axorb> ffmpeg -ss 20 -i file.avi -t 10 ... output.ts
[22:37] <axorb> it works but the video starts at 0, I want to shift the PTS to start at 20 so it works with HLS
[22:37] <axorb> copyts and setpts work but they don't adjust the start time
[22:38] <axorb> the segmenter works correctly (part2.ts starts at 20 seconds) and I need to emulate it but for just one part (can't afford to try and do all at once)
[22:40] <Ericq> can we get any savings out of AS contents
[22:51] <Ericq> does anyone has insight about optimiziing AS contents
[22:59] <axorb> also, I noticed the ts muxer always sets the start time to 1.4
[23:29] <axorb> I can use the segmenter with only one segment and it correctly makes parts that start at 0 (instead of 1.4)
[23:29] <axorb> now I just need to get the start PTS to be something like 20 instead of always 0
[00:00] --- Wed Jul 17 2013
1
0
[01:03] <durandal_1707> i think mp=dint is ready for removal
[02:26] <ilove11ven> is Stefano Sabatini here?
[02:27] <kierank> Not at the moment
[02:29] <cone-116> ffmpeg.git 03James Almer 07release/1.2:ce11d9490cc2: oggparseskeleton: Fix fisbone header parsing
[02:29] <cone-116> ffmpeg.git 03James Almer 07release/1.2:dc7377479226: oggparseskeleton: Replace avpriv_report_missing_feature() with a normal av_log() call
[02:29] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:ba4cb43f0b94: oggparseskeleton: avoid header parsing failure
[02:29] <cone-116> ffmpeg.git 03Dale Curtis 07release/1.2:d8538a10024c: avformat/utils: Keep internal and external av_read_frame() packets in sync.
[02:29] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:9a87ba0933c8: update all trac links to use the trac subdomain
[02:29] <cone-116> ffmpeg.git 03Luca Barbato 07release/1.2:fffc9316daab: indeo: Properly forward the error codes
[02:29] <cone-116> ffmpeg.git 03Luca Barbato 07release/1.2:221bbd002c62: atrac3: fix error handling
[02:29] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:5e3e67f977a3: avcodec/qdm2: store bits in an integer instead of float variable
[02:30] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:72c1de649ae9: avcodec/qdm2: initialize sign_bits
[02:30] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:47de8ccf4266: avfilter/af_earwax: Fix out of array accesses on odd packets
[02:30] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.2:c9ea1f7fc5e9: Merge remote-tracking branch 'jamrial/release/1.2' into release/1.2
[02:33] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:5fe5f020b6cf: MAINTAINERS: drop 1.1 from the releases that i maintain
[03:11] <cone-116> ffmpeg.git 03James Almer 07release/1.1:8695d814e1ad: oggparseskeleton: Fix fisbone header parsing
[03:11] <cone-116> ffmpeg.git 03James Almer 07release/1.1:86a816902f36: oggparseskeleton: Replace avpriv_report_missing_feature() with a normal av_log() call
[03:11] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.1:944c47166d61: oggparseskeleton: avoid header parsing failure
[03:11] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.1:b0558cd01110: update all trac links to use the trac subdomain
[03:11] <cone-116> ffmpeg.git 03Michael Niedermayer 07release/1.1:926071073986: Merge remote-tracking branch 'jamrial/release/1.1' into release/1.1
[03:16] <KGB> 01[13FFV101] 15michaelni pushed 1 new commit to 06master: 02http://git.io/DrOEgg
[03:16] <KGB> 13FFV1/06master 1496d3e17 15Michael Niedermayer: ffv1: add missing alpha for line interleaved coding order
[03:30] <cone-116> ffmpeg.git 03Timothy Gu 07oldabi:ea4e8e642acc: Deprecate oldabi branch by adding a warning to configure
[12:29] <cone-834> ffmpeg.git 03Stefano Sabatini 07master:4aa2874ab1d0: lavc/avcodec.h: extend documentation for AVPicture API
[12:46] <cone-834> ffmpeg.git 03Martin Storsjö 07master:1dd1b2332ebb: rtsp: Include an User-Agent header field in all requests
[12:46] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:2fe5e3e9702d: Merge commit '1dd1b2332ebbac710d8e0214cec7595e118f2105'
[13:02] <durandal_1707> lol, why ffmpeg.org list all news from 2007 ?
[13:10] <saste> durandal_1707, because we like to spam users with unrelevant info
[13:11] <durandal_1707> iirc there was discussion on ml to resolve this, and iirc it was resolved, but it appears to appear again
[13:14] <durandal_1707> and page linkt to censorship something, which can track our pageloads
[13:17] <cone-834> ffmpeg.git 03Luca Barbato 07master:25a6666f6c07: indeo: Bound-check before applying motion compensation
[13:17] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:1cd74a9b4d6e: Merge commit '25a6666f6c07c6ac8449a63d7fbce0dfd29c54cd'
[13:18] <durandal_1707> those requests in news ever did something?
[13:21] <durandal_1707> saste: how is going that script filter thing?
[13:26] <cone-834> ffmpeg.git 03Luca Barbato 07master:b0eeb9d442e4: indeo5: return proper error codes
[13:26] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:e3b13c108160: Merge commit 'b0eeb9d442e4b7e82f6797d74245434ea33110a5'
[13:41] <saste> durandal_1707, nowhere, i'm not working on it
[13:41] <durandal_1707> :((((
[13:41] <durandal_1707> didn't you at least started something?
[13:46] <cone-834> ffmpeg.git 03Luca Barbato 07master:28dda8a691f1: indeo: Sanitize ff_ivi_init_planes fail paths
[13:46] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:8e4ecd8774d0: Merge commit '28dda8a691f1c723a4a9365ab85f9625f1330096'
[14:04] <cone-834> ffmpeg.git 03Luca Barbato 07master:f9e5261cab06: indeo: Do not reference mismatched tiles
[14:04] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:c4b904caeaa7: Merge commit 'f9e5261cab067be7278f73d515bc9b601eb56202'
[14:15] <cone-834> ffmpeg.git 03Luca Barbato 07master:5b2a29552ca0: indeo: Reject impossible FRAMETYPE_NULL
[14:15] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:fcbf16a76f35: Merge remote-tracking branch 'qatar/master'
[14:52] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:3ea765b0331b: avfilter/avf_concat: fix AVOption flags typo
[15:47] <michaelni> anyone (BBB ? wbs ?) wants to review "0627 9:53 Ed Torbett ( 11K) [FFmpeg-devel] [PATCH] Joining a SSM multicast group using an SDP (Issue #2171)" ?
[17:08] <durandal_1707> saste: whats about sox wrapper?
[17:08] <durandal_1707> i may port (m)compand filter to help loudness war
[17:09] <saste> durandal_1707, sox wrapper -> still incomplete
[17:09] <saste> still has a few bugs i never debugged
[17:22] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:6158a3bcdf52: avformat/matroskadec: Detect conflicting sample rate/default_duration
[17:27] <cone-834> ffmpeg.git 03Paul B Mahol 07master:5999db97cf26: lavfi/scale: remove av_opt_free()
[17:57] <durandal_1707> ubitux: looks like skipping comments in lut3d for 3dl doesn't work
[18:06] <cone-834> ffmpeg.git 03Alexis Ballier 07master:69383d055e77: ra144enc: set supported channel layouts.
[20:25] <durandal_1707> wm4: send patch for #2179 ?
[22:05] <cone-834> ffmpeg.git 03Paul B Mahol 07master:95126728a5bd: mxfenc: use ffio_fill()
[23:51] <cone-834> ffmpeg.git 03Martin Storsjö 07master:8f24c12be7a3: ac3dec: Don't consume more data than the actual input packet size
[23:51] <cone-834> ffmpeg.git 03Michael Niedermayer 07master:0b95f01140d0: Merge commit '8f24c12be7a3b3ea105e67bba9a867fe210a2333'
[00:00] --- Tue Jul 16 2013
1
0
[00:00] <klaxa> no that'd be BTC ;)
[00:05] <Macey> :)
[00:07] <durandal_1707> Macey: so what is your target fps?
[07:04] <tm512> I am having problems with ffmpeg's recorded sounds playing back at slower, and lower pitched
[07:06] <tm512> the other day, it was working just fine
[16:23] <leandrosansilva> Hello to all. I have an AVFrame with pixel format yuvj420p (read from a jpeg image). How can I access each channel (Y, U and V) from this frame? It's linesize field is {64, 32, 32, 0, 0, 0, 0, 0}, width = 52 and height = 52
[16:24] <leandrosansilva> ops height = 54
[16:26] <Mavrik> that looks planar
[16:26] <Mavrik> so data[0] is first plane
[16:26] <Mavrik> data[1] second, etc.
[16:26] <Mavrik> judging buy the linesizes
[16:26] <Mavrik> Y is in data[0]
[16:26] <Mavrik> U and V in data[1] and [2] since they're half the first one and you have 4:2:0
[16:33] <leandrosansilva> ok, so as the first plane has size == 64, it means every byte is relative to a pixel?
[16:41] <bencoh> linesize is the size (in bytes) of one line of your picture (including padding/alignement)
[16:41] <bencoh> which means that line2 begins at start+linesize
[16:52] <nb-ben_work> hi :) I am looking for encoding parameters for performance converting a .mov file to .ogv
[16:52] <leandrosansilva> thx!
[16:52] <nb-ben_work> I want the performance when decoding the file
[16:52] <nb-ben_work> don't care if encoding will take a long time
[17:04] <durandal_1707> nb-ben_work: and what is in mov?
[17:04] <durandal_1707> decoding performance depends on what codec is used
[17:04] <nb-ben_work> hd1080 movie, very high quality
[17:04] <nb-ben_work> im not sure how it is encoded, is it possible for me to check?
[17:06] <nb-ben_work> wonder if this FireFox OS on the raspberry is going to smoothly play this .ogv file I just encoded at full HD
[17:06] <nb-ben_work> if it does I'm gonna go to sleep
[17:06] <nb-ben_work> :D
[17:09] <vincethechimp> If one would want to merge to videos vertically. What would one need to do?
[17:09] <vincethechimp> two*
[17:10] <saste> vincethechimp, overlay
[17:55] <luc4> Hi! When muxing using the libavformat API, is it possible to write to a buffer instead of writing to a file?
[17:55] <JEEBsv> yes
[17:56] <luc4> JEEBsv: I currently use avio_open to open the output file. Should a use a different function maybe?
[17:59] <mapreduce> Do the av* libs give me some hashtable I can use in my own stuff?
[18:27] <SKiTZO> In what format is video in just before being displayed on screen by a video player, and would it be possible to cache the video in this format?
[19:36] <IchGuckLive> hi i woudt like to shorten my video for uploading to Youtube as HD Reaseon is Capacity of Netline
[19:36] <IchGuckLive> http://pastebin.com/6WUkKUh7
[19:36] <IchGuckLive> the file data
[19:37] <IchGuckLive> can someone give me a hint half the size of 180MB so around 90 woudt be a perfect meet
[19:37] <IchGuckLive> or even shorter if loss is acaptable
[19:37] <klaxa> use -t?
[19:38] <klaxa> you can use libx264 for starters
[19:39] <klaxa> encoding will take longer though, but filesize will decrease
[19:39] <IchGuckLive> on ubuntu i think itas not avalilable
[19:39] <klaxa> --enable-libx264
[19:39] <klaxa> it's compiled with libx264
[19:39] <IchGuckLive> ok
[19:39] <klaxa> try: ffmpeg -i input.mp4 -c:v libx264 -c:a copy output.mp4
[19:41] <klaxa> maybe add -profile:v high
[19:41] <klaxa> so: ffmpeg -i input.mp4 -c:v libx264 -profile:v high -c:a copy output.mp4
[19:41] <JEEBsv> the profile thing does something only if you limit it
[19:41] <JEEBsv> it doesn't do ANYTHING if you make it higher
[19:41] <JEEBsv> (than your current settings)
[19:41] <klaxa> ah
[19:42] <JEEBsv> as in, if your preset doesn't use high profile settings you will not get a high profile flag
[19:42] <JEEBsv> and setting that flag manually won't either
[19:42] <klaxa> makes sense
[19:42] <klaxa> so the preset is actually the important setting?
[19:43] <JEEBsv> preset sets the defaults
[19:43] <JEEBsv> those are then limited by the profile, if profile is set
[19:44] <JEEBsv> presets control defaults (speed vs compression), tune sets possible tunings regarding source material, profile sets the profile you want to limit your stream to, level sets the level flag (does not enforce it! You have to set the refs yourself!)
[19:46] <IchGuckLive> 160MB on 4min
[19:46] <JEEBsv> if you are using the default rate control, then the default is -crf 23
[19:46] <JEEBsv> make it higher to make x264 compress more
[19:46] <JEEBsv> as well as set a slower preset, perhaps?
[19:47] <IchGuckLive> -crf 30 or more
[19:47] <JEEBsv> http://mewiki.project357.com/wiki/X264_Settings#preset
[19:47] <JEEBsv> list ^
[19:49] <IchGuckLive> Change options to trade off compression efficiency against encoding speed as you said but witch way is what
[19:50] <IchGuckLive> Fast speed high compression slow encoding no compression
[19:51] <JEEBsv> the faster something goes the generally less things it tries to do
[19:51] <JEEBsv> thus worse compression
[19:53] <IchGuckLive> ok but on finish now i got a 172Mb file at 4:06min the VLC shows no sound and no picture
[19:55] <IchGuckLive> preset is the goal
[19:56] <IchGuckLive> JEEB q= crf
[19:56] <JEEBsv> no
[19:56] <IchGuckLive> its noe at 29
[19:56] <JEEBsv> q=quantizer
[19:56] <JEEBsv> crf is crf
[19:56] <IchGuckLive> ok
[19:58] <IchGuckLive> down to 150MB at ffmpeg -i gps2013_h.mp4 -preset veryfast -c:v libx264 -c:a copy output_test.mp4
[19:59] <JEEBsv> you are not touching the crf value
[19:59] <JEEBsv> that controls the general quality level
[19:59] <IchGuckLive> no i am
[19:59] <JEEBsv> 23 is default
[19:59] <JEEBsv> no you are not
[19:59] <JEEBsv> I cannot see it
[19:59] <JEEBsv> you just posted your command line
[19:59] <IchGuckLive> i try now with 30
[19:59] <JEEBsv> also faster presets will NOT make shit compress better
[19:59] <JEEBsv> as I said
[19:59] <JEEBsv> the faster the preset, the less stuff is done
[20:02] <IchGuckLive> ok q now at 36 fps has droped to 32 bitrate at 1900
[20:02] <IchGuckLive> 2min at 36Mb
[20:04] <IchGuckLive> finish at 62MB ok so far and quality looks good
[20:05] <IchGuckLive> ffmpeg -i gps2013_h.mp4 -preset faster -c:v libx264 -crf 30 -c:a copy output_test.mp4
[20:07] <IchGuckLive> http://www.youtube.com/watch?v=QD9gdCy6mNE this took 4hr to upload on 180MB Now i will be 3hr faster THANKS
[20:09] <IchGuckLive> i will overview the kdenlive video output generator to do it as it renders in first place
[20:13] <brontosaurusrex> isnt kdenlive using some sort of scripting engine? IchGuckLive
[20:13] <brontosaurusrex> for the timeline i mean
[20:13] <IchGuckLive> it uses
[20:13] <brontosaurusrex> perhaps that is pipe-able to ffmpeg directly?
[20:13] <IchGuckLive> no for rendering
[20:16] <IchGuckLive> ishoudt try this with only 20sec vid as it takess 5min all the time to generate
[20:16] <IchGuckLive> ok it works for me thanks alot to the heölpers and by
[00:00] --- Tue Jul 16 2013
1
0
[00:00] <cone-574> ffmpeg.git 03Paul B Mahol 07master:6347824d5310: lavfi/showwaves: fix floating exception with >8 channels
[00:00] <cone-574> ffmpeg.git 03Paul B Mahol 07master:e9678631f16b: lavfi/trim: fix sample copy for >8 channels
[00:00] <cone-574> ffmpeg.git 03Paul B Mahol 07master:729709b8904c: lavfi/asetnsamples: unbreak for >8 channels
[00:06] <cone-574> ffmpeg.git 03Paul B Mahol 07master:099dfcaa0eef: lavfi/ashowinfo: unbreak for >8 channels
[00:09] <durandal_1707> hmm why is stereo3d failing on big endian?
[00:25] <cone-574> ffmpeg.git 03Paul B Mahol 07master:f486d7e924ff: lavfi/silencedetect: unbreak for unknown channel layouts
[00:29] <durandal_1707> michaelni: are we want to be ABI compatible with Libav lavu ?
[00:34] <michaelni> when possible, yes
[00:35] <durandal_1707> its not possible at all
[00:40] <michaelni> where is the problem?
[00:42] <durandal_1707> sizeof(AVFrame)
[00:43] <durandal_1707> so no, nonsense combinations of different versions on ffmpeg/libav lavf/lavc/lavu can not work
[00:44] <michaelni> sizeof(AVFrame) cannot be used outside the lib defining that struct which is lavu, that has othing to do with ABI compat to the fork
[00:45] <michaelni> we add fields to AVFrame ourselfs
[00:45] <michaelni> and we need t be compatible to our previous ABI over such changes
[00:46] <durandal_1707> i was not talking about our own ABI....
[00:47] <durandal_1707> Do you really think that our lavu and their lavc combination should be supported?
[00:48] <michaelni> i dont care much about that, but all our libs together should work with applications build against the forks headers
[01:03] <wm4> michaelni: I guess the lack of any reply means libswscale won't get changes wrt. chroma placement ever?
[01:03] <michaelni> wm4, ill look into it
[01:04] <wm4> michaelni: thanks
[01:04] Action: durandal_1707 open bug reports all the time
[01:07] <kierank> wm4: where is this chroma placement discussion
[01:07] Action: kierank wrote his own chroma placement scaler
[01:08] <wm4> kierank: nowhere, a user of my negligible project asked about it
[01:08] <wm4> apparently videophiles think chroma placement is the most important thing ever
[01:08] <kierank> it is quite important for interlaced video
[01:09] <kierank> admittedly i ignored it for ages
[01:10] <wm4> interlaced, I see
[01:10] <kierank> http://renomath.org/video/linux/interlace/cinelerra.html
[01:47] <cone-574> ffmpeg.git 03Paul B Mahol 07master:fc6ca3731638: lavfi/aecho: fix invalid free
[03:49] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:d5f5e5166216: swscale: move format handling to its own function
[03:49] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:0fc11e7bad71: swscale: make handle_formats() safe to be called multiple times
[03:49] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:c75dde607440: swscale: call handle_format() from the functions that need it
[05:36] <wm4> michaelni: wow, that was fast!
[05:50] <wm4> I wonder why the chroma position is not just specified like the constants in avcodec.h?
[05:50] <wm4> it looks like this still requires the user to do some significant (pixel format specific) work to get it right
[06:01] <michaelni> a different system could be used to specify them, but it should be kept flexible
[06:01] <michaelni> the system in avcodec.h looks like it isnt able to handle some cases
[06:03] Action: michaelni falls asleep
[11:51] <cone-116> ffmpeg.git 03Nicolas Bertrand 07master:886e1b36f504: jpeg2000: Remove unused passes array in Jpeg200Cblk structure
[11:51] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:b24e8f566d0c: Merge commit '886e1b36f5044d3ceccbb01f64619acaf288fb7c'
[12:09] <cone-116> ffmpeg.git 03Martin Storsjö 07master:68e57cde68f3: ac3dec: Increment channel pointers only once per channel
[12:10] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:198e10b55cc9: Merge commit '68e57cde68f3da4c557ca15491fda74d1ea6321e'
[12:17] <cone-116> ffmpeg.git 03Martin Storsjö 07master:031be5b41b54: ac3dec: Consistently use AC3_BLOCK_SIZE and sizeof
[12:17] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:ac20ba35e37d: Merge commit '031be5b41b54c3b666f31d83fe3ad41c194af8c5'
[12:40] <cone-116> ffmpeg.git 03Luca Barbato 07master:8435bca087c0: indeo4: Do not access missing reference MV
[12:40] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:54623619373d: Merge commit '8435bca087c0e79385763c51de009fd89390b6a5'
[12:48] <cone-116> ffmpeg.git 03Luca Barbato 07master:6255ccf7d51c: indeo4: Check the quantization matrix index
[12:48] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:8c0bb195220d: Merge commit '6255ccf7d51c82ab79bf0cd47a921f572dda4489'
[13:22] <cone-116> ffmpeg.git 03Luca Barbato 07master:cd78e934c246: indeo4: Validate scantable dimension
[13:22] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:ccb422a69728: Merge commit 'cd78e934c246d1b2510f8fba0abfe40bb75795f6'
[14:19] <cone-116> ffmpeg.git 03Luca Barbato 07master:dc79685195a4: indeo: Bound-check before applying transform
[14:19] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:a8e5fac1fb3f: Merge remote-tracking branch 'qatar/master'
[15:59] <wm4> a user has been pasting this to me, said it happens on freebsd but not on linux using the same ffmpeg version and the same input file, any idea what this could mean? http://sprunge.us/HRLW
[16:02] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:76d0a6656bbf: indeo: print errors if transform and block size mismatch
[16:02] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:febbddbdd5b2: indeo4: print an error message if ref_mb is needed but unavailable
[16:12] <cone-116> ffmpeg.git 03Stefano Sabatini 07master:ab5f5816253a: doc/bitstream_filters: amend name of some bitstream filters
[16:26] <Compn> wm4 : ask him to paste larger thing
[16:26] <Compn> or submit input file
[16:27] <Compn> wm4 : could be mixed mode h264 and theres problem , maybe thread problem ? what ver ffmpeg/libavcodec ?
[16:43] <michaelni> wm4 are you working on passing yuv type from decoder to filter ? (if not i might take a look at it)
[16:43] <wm4> michaelni: no... I suspect format negotiation in lavfi will be a major mess, and ubitux expressed some concerns about that too
[16:44] <wm4> michaelni: but if you do it, IMO the same should be done for chroma location
[16:44] <michaelni> yes i know
[16:44] <michaelni> iam still a bit unsure how to specify the chroma location best
[16:44] <michaelni> the enum looks insufficient though
[16:45] <wm4> AVChromaLocation?
[16:45] <michaelni> also i dont plan to do anything with format negotiaion just passing the info thrugh for now
[16:46] <michaelni> yes AVChromaLocation looks insufficient
[16:46] <wm4> AFAIR ubitux was arguing that the jpeg pixel formats make sure that filters which do not support different range are properly negotiated
[16:47] <wm4> in which cases is the enum not enough?
[16:47] <michaelni> consider croping and updating the chroma position or yuv 410
[16:48] <michaelni> or a single field of a interlaced frame
[16:48] <wm4> so what would you argue for? shift values for x/y like in your swscale patch?
[16:49] <michaelni> iam not sure but the shft values should be generic enough to handle all these cases
[16:50] <michaelni> or rather allow them to be handled if someone implements the logic in the crop, ... filters
[18:29] <cone-116> ffmpeg.git 03Paul B Mahol 07master:80c644593223: lavfi: port perspective filter from libmpcodecs
[18:29] <cone-116> ffmpeg.git 03Paul B Mahol 07master:ed448efe619d: lavfi/mp: remove mp=perspective
[20:05] <cone-116> ffmpeg.git 03Paul B Mahol 07master:d5598c0963d8: lavfi/drawutils: set subsampling for rgb too
[21:52] <durandal_1707> michaelni: why all stereo3d tests are failing?
[21:54] <durandal_1707> its probably because of 420->444
[22:12] <cone-116> ffmpeg.git 03Michael Niedermayer 07master:17b98c1abded: fate: fix stereo3d
[22:13] <durandal_1707> well i was going to add subsampled support to stereo3d ....
[22:40] <cone-116> ffmpeg.git 03James Almer 07master:04b9836274f3: oggparsevorbis: Support official chapter extension
[22:41] <wm4> michaelni: would it be ok to cancel the genpts loop in libavformat/utils.c after a certain number of retries?
[22:56] <michaelni> the problem is the "certain number"
[22:57] <michaelni> we could just pick something arbitrary or let the user choose
[22:58] <michaelni> or pick something so large it is unlikely to be too small
[23:04] <wm4> michaelni: well, as I understand, genpts will make sense only as long as there are possible references between the frames
[23:05] <michaelni> yes, you could have a P frame and a billion B frames following it that refer to it in theory, even i mpeg1
[23:08] <wm4> but wouldn't it stop as soon as a recovery point is reached? (or whatever that is called)
[23:19] <michaelni> keyframes or recovery points would stop it eventually yes
[23:19] <michaelni> if there are any keyframes or recovery points later that is
[23:35] <BBB> oh someone is doing yuv type?
[23:35] <BBB> _O_
[23:35] <BBB> finally
[23:57] <cone-116> ffmpeg.git 03Paul B Mahol 07master:85a22099a7ba: lavfi/stereo3d: subsampled yuv support for non-anaglyph outputs
[00:00] --- Mon Jul 15 2013
1
0
[00:07] <defaultro_> hey folks, I'm getting an error invalid option or argument: directpred=3 I got the error when I included -vpre veryslow. This works before
[00:10] <llogan> as usual
[00:10] <defaultro_> it's ok now. I found a log and I was the same person who asked it few months ago. LOL
[00:10] <llogan> use -preset, not -vpre
[00:10] <defaultro_> I should use -preset
[00:11] <defaultro_> yup
[00:11] <defaultro_> i'm still reading the irc log, hehehe
[00:12] <defaultro_> it's working now
[00:45] <Nunnsy> Hi there, I'm trying to get ffmpeg to encode an mkv file to mpeg2 using a Raspberry Pi GPU. Currently, it's using the CPU for encoding and running around 4fps for a file 700x400 in resolution size. I know using another package called omxtx I can encode the same file at around 150fps to h264 but cannot stream it to another device. So my question is do any of you know id there's a way to interface ffmpeg with the GPU encoding on the Ra
[00:45] <Nunnsy> I also have the MPEG2 license keys for it
[00:48] <durandal_1707> no gpu encoding
[00:49] <Nunnsy> No... it's not using it...
[00:50] <llogan> maybe you can pipe from the omxtx thing to ffmpeg
[00:50] <Nunnsy> I did try, but it seems it's just for playing on the Pi's video outputs.
[00:51] <MrE> Dont ever expect that to work with ffmpeg, those gpu transcoders are pretty basic, x264 is problary a 1000 times better at encoding than the H264 rpi can gpu encode...
[00:51] <Nunnsy> Ahh okay...
[00:51] <Nunnsy> and I'm guessing there's no way for ffmpeg or mencoder to do that...?
[00:51] <Nunnsy> to transcode to x264
[00:52] <llogan> "omxtx uses libavformat for demuxing, and then passes the video stream through an openmax decoder/encoder pipeline and writes the raw encoded video stream to the output file"
[00:52] <MrE> there is but not using a gpu
[00:52] <llogan> never heard of this omxtx before
[00:52] <MrE> Its been arround for some time
[00:52] <Nunnsy> Thanks MrE, and yeah, omxtx was able to transcode at around 150fps...
[00:53] <Nunnsy> on the Pi
[00:53] <Nunnsy> I'm just not sure how to stream the omxtx output to miniDLNA which is streaming the video to my media devices. (Mostly PS3)
[00:56] <MrE> Yeah it will do quite some fps, but just dont think that the output of raspi can be compared to x264, like i said x264 will encode much better q at the same rate.....
[00:57] <Nunnsy> Hmm, okay, thanks. So I guess I should be looking for ways to pipe omxtx to the media server instead...
[00:58] <MrE> uhm
[00:58] <MrE> why not pipe omxtx to ffmpeg
[00:59] <Nunnsy> That's possible..? o.O
[01:01] <Nunnsy> So if I just look into the ffmpeg executing command... I should be able to change it slightly from what the miniDLNA is currently using to pip from omxtx instead...? In theory?
[01:01] <MrE> omxtx -r 1280x720 in.mkv - | ffmpeg -i in.mkv -i - -map 1:1 -map 0:1 -vcodec copy -acodec copy -f mpegts out.ts
[01:01] <Nunnsy> *pipe
[01:02] <Nunnsy> Starting to get this now, thanks :) So currently the command being executed to stream is
[01:02] <Nunnsy> -ss $STARTPOSITION -i $SOURCE -t $DURATION -v 0 -loglevel quiet -threads 2 -async 2 -target ntsc-dvd pipe:1
[01:03] <Nunnsy> there'd be an ffmpeg at that start of that...
[01:04] <Nunnsy> and then the media server fills the variables with the source file's attributes
[01:04] <MrE> you wont be able to seek with pipes
[01:04] <Nunnsy> that's alright, if I can get it working barebones, I'll be really happy
[01:06] <MrE> doh
[01:06] <MrE> omxtx -r 1280x720 in.mkv - | ffmpeg -i - -i in.mkv -map 1:1 -map 0:1 -vcodec copy -acodec copy -f mpegts out.ts
[01:06] <MrE> like that or the piped video will be 1:0
[01:08] <Nunnsy> Alright... but if you're piping from omxtx, is it then possible to directly get the output of omxtx to the media server if I execute it from there?
[01:08] <Nunnsy> So stream completely via omxtx instead of ffmpeg at all?
[01:08] <MrE> omxtx got no audio support from what i can see
[01:08] <Nunnsy> Because when I was looking up omxtx usage, I thought it could only output to a file or play onscreen...
[01:08] <Nunnsy> really?
[01:09] <MrE> and omtx can only output h264 bytestream as faar as i can see
[01:09] <Nunnsy> I transcoded a file and it had audio?
[01:09] <Nunnsy> ahh
[01:09] <MrE> You transcoded a file with audio and got audio on the target file, hmm must have been a copy of the raw audio stream then
[01:10] <MrE> Anyway if omtx can include audio and mux as dvd np then, but I doubt it :)
[01:10] <Nunnsy> So I'm trying to understand this all... What's the difference between omxtx's bytestream and ffmpeg's output to the media server using "ffmpeg -ss $STARTPOSITION -i $SOURCE -t $DURATION -v 0 -loglevel quiet -threads 2 -async 2 -target ntsc-dvd pipe:1" ?
[01:10] <MrE> -target ntsc-dvd pipe:1
[01:11] <Nunnsy> but ffmpeg doesn't output a bytestream?
[01:11] <Nunnsy> I'm not exactly sure on what the end result difference is...
[01:11] <MrE> That makes ffmpeg mux video as mpeg2 and audio as ac3 or mp2, on a vob container
[01:12] <MrE> haha well maybe you need to read up on video encoding then first :D
[01:13] <Nunnsy> And it's not possible for either ffmpeg or mencoder to mux to x264 or h264... But omxtx can but only as a bytestream which is usually writes to file. So ffmpeg is needed to pipe the data to the media server...
[01:13] <Nunnsy> I really have been looking as hard as I can
[01:13] <MrE> the diffrense is ffmpeg with those options encode a dvd target, omxtx will just output a h264 stream :)
[01:13] <Nunnsy> this was really a last resort...
[01:14] <Nunnsy> okay, but the PS3 can play both formats so it shouldn't matter..?
[01:14] <Nunnsy> oh
[01:14] <Nunnsy> ohhh
[01:14] <Nunnsy> nope, gotcha now
[01:14] <MrE> lol please dude read up on the encoding
[01:14] <MrE> a h264 bytestream = no audio no nothing just video
[01:14] <MrE> :)
[01:15] <Nunnsy> yep, I get that now
[01:15] <MrE> omxtx -r 1280x720 in.mkv - | ffmpeg -i - -i in.mkv -map 1:1 -map 0:1 -vcodec copy -acodec copy -f mpegts out.ts
[01:15] <Nunnsy> sorry, I'll go try some piping now :) thanks for all the help, I'll ask some more dumb questions later if this doesn't work >.>
[01:15] <Nunnsy> thank you
[01:16] <MrE> np ^^
[01:18] <MrE> im gona try it out myself aswell, if a raspi on the fly encode sd stuff without probs I have wasted seriously manny money on i7 machines todo live transcoding O_o
[01:20] <Nunnsy> ahahah, well, omxtx did look promising when I was messing around with it
[01:23] <MrE> Depends on how good it is to pack down sd stuff to 1500 KB/s without looking to crappy :)
[01:23] <MrE> Faster h264 encoders usualy mean worse quality..
[01:24] <Nunnsy> Too true... it's not great when you're trying to stream to a PS3 over a wireless connection too...
[02:38] <defaultro_> can ffmpeg display the total number of frames of a video?
[02:39] <defaultro_> maybe i'll just multiply total seconds times 29.97
[03:05] <defaultro_> i'm trying to fade an audio but it's failing, http://pastebin.com/NSWAzkNF
[03:12] <beastd> defaultro_: maybe wrong filter? try afade
[03:16] <defaultro_> ok
[03:16] <defaultro_> i used sox and i got it working
[03:16] <defaultro_> i'll try afade later
[05:11] <elkng> is it possible to convert video file into a *.png images ?
[05:11] <elkng> and at the same time resize them into 192x144 resolution ?
[05:14] <elkng> I found that one "ffmpeg -i file -c:v png "%d.png"" but it generates file names like 1.png 20.png 150.png is it possible to have them with leading zero like 001.png 020.png ?
[05:18] <elkng> "%3d.png" is working, but its adds two zeros even if I don't have files more than 99 and I don't need 001 just 01 or in case if I have more than 10000 files 3 zeros will not be enough
[05:20] <klaxa> just make it %5d then?
[05:29] <elkng> I mean you never know how much you need untill you get all frames extracted
[05:39] <elkng> when I use options "-s 320x240" can I set only "width" part "-s 320" so it will calculate height on its own ?
[05:40] <elkng> I don't want to calculate it but if I set wrong "height" the image will be stretched vertically or horizontally
[05:40] <sacarasc> -vf scale=320:-1 or something.
[06:32] <fling> I have strange file when joining smaller H246+mp3 mkv files
[06:32] <fling> mplayer2 shows total length is 13 hours which is much longer
[06:33] <fling> And from some frame I'm not able to rewind
[06:33] <fling> Do I need to reencode?
[06:34] <elkng> mplayer2 ?
[06:34] <fling> elkng: yes.
[06:35] <fling> elkng: this is what I do > ffmpeg -f concat -i mylist.txt -c copy output.mkv
[06:35] <elkng> no idea
[06:36] <fling> tried to remux to ts from the resulting mkv, got the same behavior in mplayer2
[06:37] <fling> elkng: tried to remux to mp4, found this > [mp4 @ 0x13d9b30] Non-monotonous DTS in output stream 0:0; previous: -32, current: -32; changing to -31. This may result in incorrect timestamps in the output file.
[06:39] <fling> do I need -debug_ts?
[06:46] <fling> I need to fix Non-monotonous DTS somehow
[06:50] <fling> reencoded to huffyuw, got 97G output file still have wrong DTS :D
[06:52] <fling> avidemux crashed
[06:53] <fling> same output with mkvmerge but out of sync
[06:58] <fling> fixed DTS with pipe!
[06:58] <fling> ffmpeg -i test.mkv -c copy -bsf h264_mp4toannexb -f mpegts - | ffmpeg -i - -c copy test2.mkv
[06:58] <fling> now rewind works fine
[06:58] <fling> but the total video length is longer, it shows 9 hours now hmm hmhmmhm
[07:03] <fling> should I split audio and video, encode to raw audio and video?
[07:03] <fling> and then reencode and mux together?
[14:50] <nnred73> hello
[14:50] <nnred73> how to use ffv1 on MAX compression?
[14:51] <nnred73> I exported help full file, but there is only one line about ffv1
[14:52] <nnred73> -slicecrc <int> E..V.. Protect slices with CRCs (from -1 to 1) (default -1)
[14:52] <nnred73> there is an avi file uncompressed
[14:53] <nnred73> execuse me for my english (if what)
[14:54] <fling> nnred73: if what :P
[14:54] <fling> Russia?
[14:57] <nnred73> yes)
[14:57] <nnred73> 40
[15:02] <Fjorgynn> :)
[15:19] <nnred73> so, how to use ffv1 on max level compression? there is a file (avi, unpompressed with audio wav PCM) and the goal is to encode video (whithout any resize,fps change, etc) to ffv1 format and "copy" audio without encoding to avi (maybe it must be other container)
[15:59] Last message repeated 1 time(s).
[16:03] <nnred73> how to use ffv1 on max level compression? there is a file (avi, unpompressed with audio wav PCM) and the goal is to encode video (whithout any resize,fps change, etc) to ffv1 format and "copy" audio without encoding to avi (maybe it must be other container)
[16:31] <iive> nnred73: ffv1 is lossless, so there are not many level of compressions.
[17:20] <mroman> http://codepad.org/zhKWzfFK <- I'm trying to pipe some png images to ffmpeg to convert them to a video
[17:20] <mroman> but it ain't working.
[17:40] <fling> Same problem with another file.
[17:40] <fling> [matroska @ 0x1ec5ea0] Non-monotonous DTS in output stream 0:1; previous: 3389550, current: 3389545; changing to 3389550. This may result in incorrect timestamps in the output file.
[17:40] <fling> So how to fix this dts?
[17:41] <mroman> puh
[20:37] <joecool> i have a couple of packages failing with this build error after installing ffmpeg 2.0
[20:37] <joecool> error: AVCODEC_MAX_AUDIO_FRAME_SIZE undeclared
[20:57] <Eduard_Munteanu> Hi. Is there an option to get more machine-readable output?
[20:59] <Eduard_Munteanu> I mainly want to parse the "time=" field of the progress output.
[23:03] <Macey> Hi All, i am trying to do a transcode and apply a BITC filter, if the target framerate is different to the incoming the resulting BITC is wrong
[23:04] <Macey> how do i make the bitc follow the outgoing fps?
[23:05] <Macey> http://pastebin.com/4wJPQP0w
[23:05] <durandal_1707> BITC filter?
[23:07] <durandal_1707> use fps filter?
[23:09] <Macey> durandal_1707, i'm using the drawtext filter
[23:09] <Macey> to do Burnt-In TimeCode
[23:10] <Macey> unsure as to what i would do with the fps filter.. I've tried it before putting fps=fps=25 in front of the drawtext filter to no avail
[23:52] <iive> there is bitcoin filter in ffmpeg :O ;)
[00:00] --- Mon Jul 15 2013
1
0
[00:00] <michaelni> yes, i found no samples that use this codepath when i wrote it
[00:12] <durandal_1707> BuxiNess: speed not match libopenjpeg or?
[00:12] <durandal_1707> s/not/now
[01:47] <durandal_1707> michaelni: try: ffmpeg -f lavfi -i smptehdbars=hd720 -pix_fmt rgb48 /tmp/o.jp2
[01:47] <durandal_1707> i get funny effect with jpeg2000
[01:49] <durandal_1707> ^the native decoder
[02:28] <johnsmith> Hey all, has anyone here have had experiance using/playing around with av_write_frame(..)..?
[02:28] <michaelni> BuxiNess, if you have time, one more jpeg2000 patch on ffmpeg-devel to review " [FFmpeg-devel] [PATCH] jpeg2000: fix overflow in dequantization"
[12:28] <cone-574> ffmpeg.git 03Nicolas Bertrand 07master:f56fe04de3cc: jpeg2000: Initialize only once mqc arrays
[12:28] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:dc072c98677f: Merge remote-tracking branch 'qatar/master'
[12:40] <saste> wm4, ping on demuxing.c patch
[12:41] <saste> i'm not sure I want to add support for resampling though
[12:46] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:f57119b8e58c: jpeg2000: fix overflow in dequantization
[14:11] <wm4> saste: I'm not sure whether it's worth fixing at all, because at least audio is usually planar, and it doesn't make sense to write planar into a raw file
[14:24] <b_jonas> :(
[14:25] <saste> wm4, the file is about demuxing, not about writing audio to a raw file
[14:33] <b_jonas> argh, I'll have to chime in the mailing list because apparently they didn't read the bug ticket replies
[14:33] <b_jonas> let me see where I subscribe
[14:36] <b_jonas> though if the patch is safe in cvs and the question is only whether it should be included in the 1.2 branch, then I probably don't much care about that
[14:36] <b_jonas> (re https://ffmpeg.org/trac/ffmpeg/ticket/2684 )
[15:09] <saste> wm4, are you going to repost your edited patch, or should I fix and apply it myself?
[15:10] <wm4> saste: AFAIK the requested changes were kind of trivial, so feel free to apply them yourself
[15:10] <wm4> if it's more convenient for you that I make the changes I can do that too, though
[15:11] <wm4> does anyone know whether decoder stereo downmix or libswresample/libavresample is preferable? any quality or correctness differences?
[15:11] <saste> wm4, as you prefer
[15:11] <saste> i prefer you do the work ;-)
[15:12] <wm4> ok
[15:13] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:786b0968dd29: ffplay: remove explicit idct option
[15:14] <wm4> saste: btw. are you saying that FFMIN(decoded, pkt.size) is unneeded and just decoded should be returned?
[15:16] <michaelni> wm4, decoders can in theory do downixing often with less cpu than full decode and downmix outside
[15:16] <wm4> michaelni: yes, but are there differences in quality and correctness?
[15:16] <saste> wm4, I'm not sure if video_decode() returns the size of the decoded data
[15:17] <saste> in that case you don't need to make a distinction, you can assume ret = decoded_data_size
[15:17] <wm4> saste: there's some extra code in the video path: "+ decoded = pkt.size;"
[15:18] <saste> yes, it's that i don't know which is the meaning of the return value, that's why I asked (and I put a "?")
[15:18] <saste> but maybe my remark was not founded
[15:18] <wm4> saste: well, the example's decode_packet function returns how much of the packet was decoded
[15:19] <wm4> saste: I'll make it a little bit more explicit
[15:20] <michaelni> the file might store a downmix matrix, that matrix might be used by the decoders downmix, and the decoder might export that downmix and some application might pass that on to swr.
[15:21] <michaelni> depending on which of these "mights" are true one could be better or more correct than the other
[15:22] <lukaszmluki> Hi, Is Nicolas George here?
[15:23] <saste> lukaszmluki, no, he's almost never on irc
[15:23] <lukaszmluki> ok, thanks
[15:28] <wm4> also why does demuxing.c allocate a sample buffer?
[15:31] <wm4> also maybe this really should be done in libavcodec/utils.c instead
[15:36] <michaelni> khali, as you are in MAINTAINERS you should be op in here
[15:41] <wm4> so, why is there no simple do-planarize function
[15:41] <wm4> this is probably what 99% of libavcodec users going to need
[15:41] <wm4> s/do-planarize/de-planarize/
[15:45] <saste> wm4: this is required since rawaudio expects non aligned data
[15:46] <wm4> is there a planar raw audio demuxer that can actually read this stuff?
[15:46] <saste> wm4, no
[15:46] <wm4> then it makes more sense to write the first plane only
[15:46] <wm4> which is much simpler
[15:47] <saste> can i force the codec to write 1-aligned data?
[15:47] <wm4> I mean: fwrite(frame->extended_data[0], 1, frame->linesize[0], audio_dst_file);
[15:47] <saste> wm4, yes
[15:47] <saste> when i wrote the example, i was striving to keep A/V symmetry
[15:47] <saste> there is probably no sense into it
[15:48] <saste> also i wanted to avoid to rely on other libraries (lswr, lsws)
[15:49] <wm4> I can actually play the video output with mplayer's rawvideo
[15:50] <saste> in theory we could pass a linesize argument to the rawaudio demuxer, but that would be rather artificial
[15:50] <saste> since there are no such planar rawaudio files on the wild
[15:51] <wm4> hm for some reason I can get clear audio with luckynight-partial.shn, but not with some other rather normal mkv file
[15:51] <wm4> anyway.
[16:04] <khali> michaelni: as you wish :) I don't really care
[16:05] <khali> michaelni: I have a fix for the coverity issue, I must go shopping now, I'll post it when I return
[16:05] <michaelni> ok
[16:05] <khali> michaelni: is there a way to ask Coverity to test with the patch before we apply it?
[16:05] <michaelni> AFAIK no
[16:26] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:4cdb42b428ef: avcodec/012v: improve stride selection
[16:41] <khali> michaelni: should I put any reference in the patch header when fixing a Coverity issue?
[16:46] <cehoyos> khali: Yes, please add such references, see for example f73d6d2af7a2b30a647d945b590962a2ab54ff3b
[16:51] <khali> done, and sent
[17:03] <khali> and now is swimming pool time - -ETOOHOT
[17:14] <saste> kierank, ping
[17:14] <kierank> saste: pong
[17:14] <saste> kierank, hey!
[17:15] <saste> i'm doing evil things with H.264+MP4, I want to encode H.264 once, and store to MPEG-TS and to MP4 at the same time
[17:15] <kierank> you'll have to either duplicate the sps/pps
[17:15] <kierank> or rip it out
[17:15] <saste> because of this i hacked the tee_bsfs option, in order to apply separated bitstream filters to the same input
[17:16] <cone-574> ffmpeg.git 03Jean Delvare 07master:b6d0bb6086d1: lavfi/delogo: Fix sign extension issue
[17:16] <cone-574> ffmpeg.git 03Jean Delvare 07master:9e4bb091401f: lavfi/delogo: Document where parameter show=1 draws its rectangle
[17:16] <saste> the problem is that i'm fighting with extradata stuff, I'm using the command:
[17:16] <saste> $ffmpeg -i $input -map 0 -flags:v +global_header -c:v libx264 -flags:a +global_header -c:a libvo_aacenc -bsf:v remove_extra -f ssegment -segment_format mpegts out-%03d.ts
[17:17] <saste> which is failing in the bitstream filter
[17:17] <saste> it seems I cannot set global header (required by MP4) and then strip it with h264_mp4toannexb
[17:18] <saste> kierank, >you'll have to either duplicate the sps/pps
[17:18] <saste> to your knowledge this can/could be done with some bitstream filter?
[17:18] <kierank> i don't see why not
[17:18] <saste> my attempts with h264_mp4toannexb and remove_extra failed
[17:19] <cehoyos> kierank: Can you analyze the mp4 stream at the bottom of ticket 2777? FFmpeg thinks that recovery points only happen every ~17 seconds.
[17:20] <kierank> cehoyos: yes
[17:20] <cehoyos> Please do so;-)
[17:20] <kierank> 5 mins to download
[17:21] <cehoyos> I am afk but I will see your conclusions - than you!
[17:24] <saste> kierank, it's always failing at line h264_mp4toannexb.c:84
[17:24] <saste> extradata + 2 + unit_size > avctx->extradata + avctx->extradata_size
[17:26] <kierank> saste: not sure about the bsf
[17:26] <kierank> i've never used it before
[17:26] <saste> kierank, it's required when copying from MP4 -> MPEG-TS
[17:35] <kierank> cehoyos: there don't appear to be any recovery points in that file
[17:37] <kierank> there are points which probably are recovery points but none are flagged correctly
[17:46] <cehoyos> Does that mean that FFmpeg behaves correctly or incorrectly?
[17:47] <cehoyos> by skipping several hundred frames before showing anything
[18:01] <kierank> Correctly I guess
[18:09] <saste> kierank: SPS/PPS -> these are H.264 specific terms, not directly related to MP4/MPEG-TS, right?
[18:09] <kierank> Yes
[18:10] <saste> too many unknown terms in my equation, i'll probably give up...
[18:10] <kierank> The storage of them is different
[18:10] <kierank> Mp4 had global header
[18:10] <kierank> TS has repeated on keyframes
[18:11] <JEEB> in-band vs out-of-band
[18:11] <saste> i suppose this is stored in the codec extradata, and updated during the encoding process
[18:11] <cone-574> ffmpeg.git 03Carl Eugen Hoyos 07master:149def7781fd: configure: Only build ffserver if SA_RESAMPLE is available.
[18:11] <cone-574> ffmpeg.git 03Carl Eugen Hoyos 07master:8e3c5c70ca9f: g726: Do not try to decode more than one channel.
[18:11] <cone-574> ffmpeg.git 03Carl Eugen Hoyos 07master:aecb9d39bc66: rmdec: Forward error messages from rm_assemble_video_frame() to the caller.
[18:11] <saste> but then the encoder needs to be aware of the format container, since different format will require different headers
[18:12] <saste> so basically I don't know how I am supposed to interpret extradata (and debug related problems)
[18:14] <saste> cehoyos, no commit hash?
[18:14] <cehoyos> For a ticket that nobody is interested in?
[18:14] <cehoyos> I will close the rv ticket later with all three hases.
[18:14] <cehoyos> hashes.
[18:14] <saste> cehoyos, how do you know people is not interested?
[18:15] <cehoyos> That qnx compilation was broken for a long time and nobody reported it and that nobody set the ticket to "reproduced" (I cannot reproduce it)
[18:15] <cehoyos> (It was broken because of a change in qnx)
[18:16] <cehoyos> But I sent an email to the mailing list, that is important imo;-)
[18:21] <cehoyos> If anybody wants to comment on ticket 2777, please do so!
[18:22] <cone-574> ffmpeg.git 03Carl Eugen Hoyos 07master:289737c8be28: configure: Disable avresample if an old version of yasm is used.
[20:16] <durandal_1707> michaelni: see 374 line of libswresample/swresample.c
[20:17] <durandal_1707> it asserts if layout is unset
[20:17] <durandal_1707> and there is probably lavfi thing that resets channel count using layout 0
[20:17] <durandal_1707> which is retarded
[20:18] <durandal_1707> for testing remove check at 128 of libavfilter/asrc_aevalsrc.c
[20:19] <durandal_1707> and than try to create 9 channe; audio: ffmpeg -f lavfi -i aevalsrc=0|0|0|0|0|0|0|0|0
[20:22] <durandal_1707> also try this: cat /dev/zero > /tmp/out.pcm
[20:23] <durandal_1707> and abort after file reaches few MBs
[20:23] <durandal_1707> ffmpeg -channels 22 -f s16le -i /tmp/out.pcm /tmp/o.wav
[20:24] <cehoyos> ffmpeg -ac 22 -f s16le -i /dev/zero ?
[20:24] <durandal_1707> produced wav can't be filtered, afade,aecho,volume gives "Error while decoding stream #0:0: Cannot allocate memory"
[20:24] <durandal_1707> cehoyos: yes
[21:14] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:0a06e6e49b9b: av_frame_get_buffer: Do not fail when the channel layout is unknown
[22:18] <cone-574> ffmpeg.git 03Paul B Mahol 07master:673d4e82d4c5: fate: add tests for stereo3d filter
[22:33] <durandal_1707> when will it be possible to burn subtitles stream?
[22:33] <cehoyos> works fine here
[22:35] <durandal_1707> with filters?
[22:35] <cehoyos> I suspect it does not work without filter or do I misunderstand?
[22:35] <durandal_1707> subtitle filter takes files
[22:36] <wm4> ubitux kept talking about that
[22:36] <cehoyos> You mean text subtitles have to be written to an ass file first?
[22:36] <wm4> you'd need to add a subtitle path to lavfi
[22:36] <wm4> cehoyos: any file type should work
[22:37] <durandal_1707> wm4: then add it :)
[22:37] <wm4> it doesn't have to be ass, as long as there's a lavc decoder AFAIK
[22:37] <wm4> where decoder means converter
[23:17] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:f3d138ab2292: avdevice/lavfi: fix input with unknown channel layout
[23:17] <cone-574> ffmpeg.git 03Michael Niedermayer 07master:aac57c765ff4: avfilter/asrc_aevalsrc: fix cases of unknown channel layout
[23:50] <wm4> michaelni: any chance to get correct chroma placement in libswscale? currently it seems to always use mpeg1 placement, but mpeg2/h264 placement would be better
[23:55] <Compn> chroma placement
[23:56] <wm4> Compn: ?
[23:57] <durandal_1707> michaelni: bunch of filters use av_get_channel_layout_nb_channels(), this just does not work for >8 channels
[00:00] --- Sun Jul 14 2013
1
0
[00:20] <Wulf> Hi
[00:21] <Wulf> first time trying to use ffmpeg. I want to convert a part of a video to h.264, but not with high quality. I tried "-q:v 31" and "-q:v 1" and the resulting file size is the same.
[00:21] <Wulf> What am I doing wrong?
[00:21] <sacarasc> Try -crf
[00:22] <sacarasc> And don't specify a bitrate.
[00:23] <Wulf> sacarasc: I can't find "-crf" in the manual, and it doesn't work. "Trailing options were found on the commandline"
[00:24] <sacarasc> -crf is x264's quality control thing. Goes from 0 (lossless) to 51 (worst quality).
[00:26] <Wulf> sacarasc: okay, got it working. 51 looks really bad.
[00:27] <Wulf> 35 looks fine
[00:28] <Mavrik> that's probably why 23 or so is the default :P
[01:32] <roboman2444> so... opencl support...
[01:36] <llogan> used by deshake and unsharp filters. im not sure what else does
[01:38] <llogan> "highgod" would know more, but he's not here.
[02:44] <roboman2444> llogan, so no opencl for any encoding?
[02:44] <roboman2444> i would DEFINATELY love to encode 1080p video at like 200fps
[04:59] <uersbob> hi. im writing a simple screen capture program. i'm using the following line in ffmpeg ' -f image2pipe -i pipe:.bmp -c:v libx264 -y "output.mp4" 'this works well, but the output video plays at 25fps (or whatever i set it to). Is there a way to have the output play at the same speed as the capture speed? the frame rate changes constantly during each image save
[07:48] <blehtm> I'm trying to slice up a 60 second flac file into 15 second segments. To get the first segment I use the following command: "ffmpeg -i infile.flac -acodec copy -t 15 -ss 15 outfile.flac". But I'm having a problem. When I load outfile.flac into VLC, the track slider still thinks it is 60 seconds long. Any idea what gives?
[07:48] <blehtm> By the way once it reaches 15 seconds playback does stop as intended.
[07:49] <blehtm> (also, the command I showed would give the second segment, not the first, sorry)
[07:51] <roboman2444> uersbob, this is what i use... ffmpeg -threads 0 -i hw:0,0 -f x11grab -framerate 30 -s 1366x768 -r 30 -i :0.0+0,0 -vcodec libx264 -crf 16 output.mp4
[07:52] <mark4o> blehtm: what version?
[07:52] <roboman2444> -framerate 30 and -r might be the answer
[07:54] <blehtm> mark4o: "ffmpeg version N-54643-g15cee5e" on Windows 8, build from http://ffmpeg.zeranoe.com/builds/ 64-bit Shared version
[08:13] <mark4o> blehtm: I see the same issue
[08:15] <blehtm> interesting
[08:15] <mark4o> blehtm: re-encoding works, and is of course lossless
[08:15] <mark4o> looks like an issue/limitation with flac & -acodec copy
[08:16] <mark4o> may want to file a ticket; not sure if it is a known limitation
[12:08] <MojoRisin> hello there people
[12:08] <MojoRisin> Its been years since I've come in here :)
[12:09] <MojoRisin> I need some help with ffpeg streamng multicast... Been developing a small server for a lot of things, one of them being multicast streaming. I thought I could use vlc for it but the command line interface lacks information and i just simply cant do it
[12:10] <MojoRisin> so, i've turned to ffmpeg. I thought of a simple shell script to launch 2 streams over multicast. What is your recommendation for this? Should I use flv format and libx264 vcodec and mp3 as audio?
[12:11] <MojoRisin> i dont need quality - just need to make it work for a prototype
[12:34] <MojoRisin> nevermind, vlc appears to be working
[12:34] <MojoRisin> ffmpeg and ffserver wold be better, but i need this to work asap
[12:34] <MojoRisin> cheers!
[12:47] <Russel-Athletic> hiho, i am trying to convert a vob file to mkv with this snd pass cmd: ffmpeg -i out.vob -c:v libx264 -preset slow -b:v 900k -pass 2 -c:a:1 libvorbis -qscale:a 6 output.mkv
[12:47] <Russel-Athletic> but somehow i get audio out of sync in the mkv
[12:47] <Russel-Athletic> in the vob everything is fine
[18:13] <EugenA> ffmpeg -threads 4 -i 00003.MTS -b:v 900k -vcodec mpeg2video -sameq -s 720x576 00003.mpg
[18:13] <EugenA> 1) why the bitrate is still about 7000 kbits/s ?
[18:13] <EugenA> 2) running only on 1 core, why?
[18:14] <sacarasc> You put the threads part in the decoding section, and you used -sameq.
[18:14] <klaxa> you are using -sameq, this is a) probably not what you think, b) discouraged c) messes with your quality settings
[18:15] <JEEB> 1) you set two differing rate control modes (bit rate and sameq which copies over quantizers from the origin [AKA not "same quality" if you thought it was that])
[18:15] <JEEB> 2) you most probably will need to try setting threads on the encoding side (after -i)
[18:15] <JEEB> if you want to set a bit rate, you set a bit rate. If you want to set a quality level, you set a quantizer or with libx264 a crf value.
[18:17] <EugenA> thank you, understood
[18:20] <EugenA> cpu is still not completly loaded: ffmpeg -i 00003.MTS -threads 4 -b:v 6000k -vcodec mpeg2video -s 720x576 00003.mpg
[18:21] <JEEB> then the encoder just isn't that well threaded or whatever :D
[18:21] <JEEB> what else can I say, really
[18:21] <EugenA> ok :-)
[22:03] <miguel_> Im trying to record my screen with ffmpeg, but the audio gets delayed
[22:03] <miguel_> is there an option I can set to change the delay?
[22:04] <miguel_> or to make sure the screen and audio recording start simultaneously?
[22:22] <MrE> Can ffmpeg overlay text based dvb subs on a live feed, its a live feed so I cant convert its subs to srt or ass first to use with the subtitles or ass filter, it has to be a oneliner :)
[22:23] <MrE> And why does copying the dvbsub track or encoding it as dvdsub result in a target stream/file that no player will open ? Is the dvbsub muxer just totaly broken ?
[22:24] <Mavrik> no to the first point
[22:24] <Mavrik> and yes to the second ;)
[22:26] <MrE> Haha ok fair enough :D
[22:31] <MrE> Mavrik Do you know about the status of overlaying picture based dvb subs then, seems to work with filter complex blah blah, but I just cant get those damn subs to be in the right place using anything larger than a sd source and sd target, on hd i end up with this :
[22:31] <MrE> http://10only.explode.dk/screenshot003.png
[22:32] <Mavrik> is that VLC?
[22:33] <MrE> The player is xbmc, its for a rather complex iptv system, but for that picture ffmpeg is the encoder using the overlay filter, but the sub location is quite odd
[22:33] <MrE> It gets worse when using a 1080i source
[22:33] <MrE> http://10only.explode.dk/screenshot004.png
[22:34] <Mavrik> yep
[22:34] <Mavrik> that's because you have picture subtitles
[22:34] <Mavrik> and those are always rendered at SD resolution
[22:34] <MrE> Aha so atm no way to fix that ? :)
[22:34] <Mavrik> and the DVB standard demands that TVs render them at 720x576 and then upscale
[22:34] <Mavrik> MrE, fix the filter ;)
[22:34] <Mavrik> send a patch.
[22:34] <Mavrik> :P
[22:35] <Mavrik> I wrote my own burn-in subtitle renderer for those cases so I have no idea what the state of current ffmpeg implementation is
[22:36] <MrE> VLC really got this working, just add soverlay to the transcode line, and --sub-language=dan
[22:37] <Mavrik> VLC has a failing subtitle renderer which doesn't upscale subtitles
[22:37] <Mavrik> at least it had in 2.0
[22:37] <MrE> But their encoder have all kinds of other bugs that makes it crap to use in my situation, we build it arround ffmpeg so it really only works good with that
[22:38] <Mavrik> MrE, what's your command line_
[22:38] <MrE> might have to find a solution to using vlc as the decoder and overlay, and then somehow pipe it as yuv to ffmpeg, with audio!!! thats the hard part hoho :)
[22:39] <MrE> for ffmpeg subtitle overlay with picture based subs ?
[22:40] <MrE> Pretty default the usual vcodec libx264 and all its setting and shit, and then this part for burning the subs
[22:40] <MrE> -filter_complex "[0:v][0:s]overlay[v]" -map [v] -map 0:a
[22:41] <Mavrik> MrE, well, did you try scaling the subtitle input before overlaying it?
[22:41] <MrE> No cant find any documentation on it
[22:42] <Mavrik> on what?
[22:42] <MrE> scaling subs
[22:42] <Mavrik> um
[22:42] <Mavrik> it's just a stream
[22:42] <Mavrik> apply scale filter to size of video
[22:43] <Mavrik> check the filter_complex syntax, it's not that hard
[22:43] <Mavrik> would be probably something like
[22:43] <Mavrik> [0:s]scale=1920:1080[scaled_subs],[0:v][scaled_subs]overlay[v]
[22:50] <MrE> Hmm that did something but not what was intended
[22:52] <Mavrik> well I did write it out of my head
[22:52] <Mavrik> :P
[22:53] <MrE> True but it should work, its still in the middle of the screen
[22:54] <MrE> This is my complete command
[22:54] <MrE> ./ffmpeg -re -threads 4 -analyzeduration $analyzeduration -y -i "$link" \
[22:54] <MrE> -vcodec libx264 -preset $x264preset -vb $x264vb -minrate $x264minrate -maxrate $x264maxrate -bufsize $x264bufsize -r 25 -g 25 -acodec copy -vf yadif=0,scale=$res1:$res2 -f mpegts \
[22:54] <MrE> -filter_complex "[0:s]scale=1920:1080[scaled_subs],[0:v][scaled_subs]overlay[v]" -map [v] -map 0:a \
[22:54] <MrE> "udp://$2:5501?ttl=1&pkt_size=1316&buffer=262140" &
[22:54] <MrE> $res1 is = 1280 $res2 is = 720
[22:56] <MrE> Heh my vf line is not evalutated with filter complex on also, gotta put that shit inhere also
[22:58] <Mavrik> doh
[22:58] <Mavrik> :)
[23:00] <MrE> [dvbsub @ 0x2979480] Invalid object location! 78-720 38-38 11
[23:05] <vhann> Hi, is there a way to normalize audio in a .avi,.mp4,etc. file so the max volume is 0 dB with ffmpeg? The manpage and Google don't seem to help me here
[23:06] <Mavrik> vhann, ffmpeg processes files sequentally so normalization really can't be done easly
[23:06] <Mavrik> (since ffmpeg doesn't know what max volume is)
[23:06] <MrE> Looks like they are located just where you would expect on a 720x576 resolution now but the size of the subs got better, how do i force the location to the bottom ?
[23:07] <Mavrik> MrE, overlay filter almost certanly has positioning parameters.
[23:07] <vhann> Mavrik: Oh ok. Thanks
[23:07] <Mavrik> vhann, if it helps, there is a volume audio filter (http://www.ffmpeg.org/ffmpeg-filters.html#volume) which allows you to change volume
[23:08] <MrE> Yeah but the man page its quite cryptic about em, oh well maybe i can find an example somewhere with google :p
[23:08] <Mavrik> vhann, there is also "volumedetect" filter which outputs volume stats
[23:09] <Mavrik> so using a script you can run ffmpeg first with volumedetect and use that output with "volume" filter to normalize it
[23:09] <Mavrik> MrE, don't read the man page
[23:09] <vhann> Mavrik: Yes, I'll experiment with this. If I'm lucky and it works, I might be able to run volumedetect, then calculate the needed amplification and rerun ffmpeg
[23:09] <Mavrik> MrE, read documentation pages I'm linking -_-
[23:10] <MrE> ye that was also what i ment
[23:10] <MrE> this page
[23:10] <MrE> http://ffmpeg.org/ffmpeg-all.html#overlay-1
[23:11] <Mavrik> yep
[23:11] <MrE> But already the first example
[23:11] <MrE> overlay=main_w-overlay_w-10:main_h-overlay_h-10
[23:11] <Mavrik> yes?
[23:11] <MrE> Does absolutely nothing to my subs, should locate then in the bottom right corner
[23:11] <MrE> them*
[23:12] <Mavrik> why are you just blindly typing random stuff from the internet without reading what it does? :P
[23:12] <MrE> Ehh
[23:12] <MrE> Draw the overlay at 10 pixels from the bottom right corner of the main video:
[23:13] <MrE> That shoud count for all overlays also subs ?
[23:13] <Mavrik> remember
[23:14] <Mavrik> you're incoming frames are 1920x1080 because you're scaling them beforehand
[23:19] <MrE> Hmm yeah a 1920x1080 image can only be overlayed at one fixed pos over another 1920x1080 image, so why do the subs end up in the middle of the screen :D
[23:19] <Mavrik> well
[23:19] <Mavrik> from which size are the subs resized from?
[23:22] <MrE> Hm no idea, my guess would be 720x576
[00:00] --- Sun Jul 14 2013
1
0
[00:43] <michaelni> durandal_1707, it sounds usefull
[02:27] <cone-947> ffmpeg.git 03Carl Eugen Hoyos 07master:0fff7f039c14: Supply a User-Agent header when opening rtsp streams.
[02:58] <cone-947> ffmpeg.git 03Thierry Foucu 07master:38ce775eead7: libavformat/mov.c: Skipped duplicated MOOV atom
[03:24] <michaelni> aballier, if you want to maintain 1.0, please send a patch for MAINTAINERs and a link to the git repo where you (will) maintain 1.0
[04:27] <cone-947> ffmpeg.git 03Piotr Bandurski 07master:161047f010b1: rmdec: fix crash in case of oom
[09:16] <xlinkz0> I'm reading from a rtsp stream and want to save to a different file every 60 seconds so every 60 seconds I create a new output context and save offsets for pts and dts so the new file starts from pts and dts 0
[09:17] <xlinkz0> what are some other corrections i need to do to the packets that come from the input context?
[09:17] <xlinkz0> is packet->pos important?
[09:17] <av500> no
[09:18] <av500> pos would refer to the byte offset in the rtsp stream
[09:18] <xlinkz0> where is ffprobe getting coded_picture_number ?
[09:20] <xlinkz0> also, ffprobe complains about the file that is created after the first file, it says : Missing reference picture, default is 0
[09:20] <xlinkz0> does it identify the ref picture by dts, pts = 0 ?
[09:20] <av500> well, if you cut a stream at a random point, of course there will be erros
[09:20] <av500> errors
[09:21] <xlinkz0> why?
[09:21] <av500> because frames are not independent
[09:21] <xlinkz0> ah i should cut only on iframes
[09:22] <xlinkz0> but how do i get that information without decoding?
[09:23] <xlinkz0> ffprobe decodes every frame?
[09:29] <av500> no
[09:29] <av500> there is a key frame flag
[09:29] <xlinkz0> in AVFrame
[09:29] <av500> in avpakchet
[09:29] <av500> avpacket
[09:29] <xlinkz0> http://ffmpeg.org/doxygen/trunk/structAVPacket.html
[09:29] <xlinkz0> can't see it :\
[09:29] <xlinkz0> ooooh
[09:30] <xlinkz0> flag
[09:30] <xlinkz0> thanks, will try it
[09:53] <funman> hello
[10:00] <xlinkz0> av500: so i need to cut on packets that have the AV_PKT_FLAG_KEY flag right?
[10:01] <xlinkz0> do i need to include that packet in both the previous and the next file?
[10:03] <av500> in the next file
[10:03] <av500> but in case of mpeg2 that is not enough
[10:03] <xlinkz0> h264 mp4
[10:03] <xlinkz0> thanks
[10:03] <av500> you need a "closed gop"
[10:27] <wm4> who really uses the 0.5/0.7 branches?
[12:13] <cone-138> ffmpeg.git 03Martin Storsjö 07master:ef5b70affc63: configure: Check for support for labels in the inline assembly
[12:13] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:c6953589f9c4: Merge commit 'ef5b70affc6376bfeadd1ff649b79bad9a124fa8'
[12:41] <cone-138> ffmpeg.git 03Luca Barbato 07master:170fb593c617: pcx: K&R formatting cosmetics
[12:41] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:54bbb9056801: Merge commit '170fb593c617cd797d00cf05bfb8d8c21d612893'
[12:55] <Guest80280> I'm not sure if there's anyone responsible for the homebrew formula here, but does anyone know if there's an updated version for ffmpeg 2.0 in the works?
[12:56] <av500> 2.1?
[13:01] <michaelni> Guest80280, whats "homebrew formula" ?
[13:01] <michaelni> and 2.0.1 is planed in 1-2 weeks
[13:03] <relaxed> michaelni: I think it's like FreeBSD's ports for OS X.
[13:03] <Guest80280> Mac users install ffmpeg via homebrew, but the formula "ffmpeg" links to is still on 1.21 https://github.com/mxcl/homebrew/commits/master/Library/Formula/ffmpeg.rb
[13:04] <michaelni> ahh, understand
[13:07] <Guest80280> yeah, see here http://ffmpeg.org/trac/ffmpeg/wiki/MacOSXCompilationGuide Homebrew just makes it easy to install, but it hasn't been updated yet
[13:08] <cone-138> ffmpeg.git 03Luca Barbato 07master:3abde1a3b49c: pcx: Do not overread source buffer in pcx_rle_decode
[13:08] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:50617fce073c: Merge commit '3abde1a3b49cf299f2aae4eaae6b6cb5270bdc22'
[13:17] <cone-138> ffmpeg.git 03Luca Barbato 07master:2b379a925162: mlpdsp: x86: Respect cpuflags
[13:17] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:9d47333e3eee: Merge commit '2b379a925162b6783bd9a81dc03e647e8b65494c'
[13:36] <cone-138> ffmpeg.git 03Luca Barbato 07master:e9d394f3fad7: mlpdec: Do not set invalid context in read_restart_header
[13:36] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:e9348e107baf: Merge commit 'e9d394f3fad7e8fd8fc80e3b33cb045bbaceb446'
[13:36] <durandal_1707> a warning should be printed if user give multiple -vf/-af
[13:48] <cone-138> ffmpeg.git 03Luca Barbato 07master:c0d973c41b45: vdpau: use the correct namespace for the union
[13:48] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:0da0caa9a9ea: Merge commit 'c0d973c41b4568d5bad1295879e35cfa611bdcf2'
[14:13] <cone-138> ffmpeg.git 03Luca Barbato 07master:c82da343e635: pcm: always use codec->id instead of codec_id
[14:13] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:73f940e4d94c: Merge commit 'c82da343e635663605bd81c59d872bee3182da73'
[14:32] <cone-138> ffmpeg.git 03Luca Barbato 07master:f261e508459e: dca: Error out on missing DSYNC
[14:32] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:107a56c1ed8c: Merge commit 'f261e508459e28beca59868a878e1519a44bb678'
[14:50] <cone-138> ffmpeg.git 03Luca Barbato 07master:3802833bc1f7: dca: Respect the current limits in the downmixing capabilities
[14:50] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:cce254373c41: Merge commit '3802833bc1f79775a1547c5e427fed6e92b77e53'
[14:58] <cone-138> ffmpeg.git 03Sean McGovern 07master:52ea29867070: fate: use current syntax for the scale filter
[14:58] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:bc8240518830: Merge commit '52ea29867070243385220a223d7512ea7d4ae2d2'
[15:03] <aballier> michaelni: (re 1.0 maintainers) thanks for the offer but before claiming to be the maintainer id like to have started to do somthing about it, which I have not yet
[15:24] <michaelni> aballier, ok
[15:26] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:bec509db4364: vf_interlace: better handling of odd video size
[15:26] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:86d1a5d80f16: Merge remote-tracking branch 'qatar/master'
[16:16] <BBB> I don't think mac users necessarily use homebrew, a regular git checkout + xcode + yasm works
[17:20] <mateo`> hello, anyone to review the "lavf/movenc: support iTunes cover art" patch ?
[17:28] <b_jonas> I have verified, and it seems that https://trac.ffmpeg.org/ticket/2684 is indeed fixed, fix works for me. Thanks for all the developers.
[17:52] <cone-138> ffmpeg.git 03Paul B Mahol 07master:937cfebd72d3: lavfi/aevalsrc: remove hard limit on number of channels
[17:53] <cone-138> ffmpeg.git 03Michael Niedermayer 07master:8aea97a49d19: avcodec/jpeglsdec: Implement the 4th (lossy) transform
[17:59] <michaelni> mateo`, dont ask a group for help, ask individuals. If you ask "anyone help me iam bleeding to death" people will think "why me, there are other who could help, and i am in a hurry and have to catch that bus"
[18:05] <mateo`> michaelni: sure :)
[18:07] <mateo`> michaelni: is there an official maintainer of movenc ?
[18:07] <cone-138> ffmpeg.git 03Paul B Mahol 07master:b3405b1bdacf: lavfi/trim: use AV_OPT_TYPE_DURATION
[18:10] <michaelni> i think no active one, are you interrested ?
[18:15] <mateo`> michaelni: right now, i'm not
[18:17] <durandal_1707> this channel layout thing nonsense know nothing about >8 channels
[18:17] <durandal_1707> saste: how should i resolve this?
[18:17] <saste> a channel layout can specify more than 8 channels
[18:18] <saste> but i don't know which problem you're tackling
[18:18] <durandal_1707> how?
[18:19] <durandal_1707> try to create 9 channel audio with aevalsrc
[18:19] <wm4> there are no standard layouts for > 8 channels
[18:19] <saste> also there is a flag to tell "unknown" layout
[18:19] <wm4> but you should be able to create a layout by using a list of speakers
[18:20] <saste> see the work on nicholas, for specifying a generic channel count
[18:20] <durandal_1707> is it in master?
[18:23] <mateo`> michaelni: would you be interested in reviewing my patch then ?
[18:24] <saste> durandal_1707, sure
[18:28] <michaelni> mateo`, if noone else volunteers then sure (ping me if i forget, i probably will forget)
[18:29] <durandal_1707> saste: thing is if one does not specify layout, but just enters 9 expr it get error
[18:30] <mateo`> durandal_1707, ubitux: would you review the lavf/movenc: support iTunes metadata patch ?
[18:31] <durandal_1707> mateo`: only if you send me gift
[18:34] <durandal_1707> mateo`: you mean cover art?
[18:37] <mateo`> durandal_1707: yeay :)
[18:37] <mateo`> durandal_1707: another "evil" patch ^^
[18:46] <durandal_1707> saste: doing something lavfi related?
[18:50] <durandal_1707> if i remove that error check. than swr complains with silly error
[18:50] <durandal_1707> [SWR @ 0x2a04e000] Input channel count and layout are unset
[18:50] <durandal_1707> which is lie
[18:50] <durandal_1707> as channel count is set
[18:50] <durandal_1707> and layout if not set should not be problem
[18:50] <durandal_1707> libswresample is just useless
[18:51] <durandal_1707> perhaps devs only have 8 fingers
[19:07] <durandal11707> huh, why ticket get owned by michael? I never set it.
[19:13] <durandal11707> this pullup filter is one big mess
[19:17] <wm4> vf_pullup?
[19:20] <durandal11707> yes
[19:24] <saste> durandal11707, same limitation in libavresample?
[19:25] <durandal11707> don't know
[19:35] <durandal11707> this perspective filter is very interesting, gonna port it in 5 minutes
[19:38] <durandal11707> michaelni: ok to move it to LGPL?
[20:19] <michaelni> mateo`, do you want to review "0711 22:02 Matthew Heaney (6.4K)
[20:22] <durandal11707> ok, silence means it will stay GPL
[20:32] <wm4> so, how do I actually know whether av_probe_input_format3 did a match by file extension?
[20:33] <wm4> is there any guarantee that the exact value of AVPROBE_SCORE_EXTENSION is used in this case, and never used for content based matching?
[20:33] <michaelni> wm4 isnt guranteed
[20:34] <wm4> so better do it manually by looping over all formats and do the matching yourself?
[20:34] <michaelni> what are you trying to do ?
[20:34] <wm4> doing matching by file extension as last fallback
[20:35] <michaelni> the probe code should already favor other means than file extension when possible
[20:36] <wm4> the probe function knows only the libavformat formats though
[20:36] <wm4> I might have my own code for certain things
[20:37] <michaelni> you could simply not tell the probe code the extension then it cant use it
[20:38] <wm4> that might work
[20:38] <michaelni> but that might end up with you doing probing twice first without extension then with
[20:38] <wm4> I first looked at the function av_guess_format() which sounds ideal, because it can handle mime types too
[20:39] <wm4> but it's for output formats only
[20:39] <wm4> (detection by mime types is missing from the probing API btw.)
[20:39] <wm4> well, probably not important at all for most people
[20:39] <michaelni> or just do your detection thing first and only when it fails use lavf probe
[20:40] <wm4> well, lavf content based probing should always be preferred
[20:40] <michaelni> or you could just "integrate" your detection by also picking scores and comparng againt the score fro lavf
[20:46] <michaelni> durandal11707, you broke trim
[20:46] <michaelni> ./ffmpeg -i matrixbench_mpeg2.mpg -ss 5 -t 1 out.mp4
[20:48] <durandal11707> how could i broke it?
[20:48] <michaelni> before it was 1 second now its 6
[20:48] <michaelni> out.mp4 that is
[20:49] <durandal11707> but why ffmpeg use trim?
[20:49] <durandal11707> trim stuff from fate did not complain at all
[20:50] <michaelni> ffmpeg uses trim because of: a83c0da539fb07260310bc3b34056239d2b138b2
[20:53] <durandal11707> if thats true fate would all be red
[20:55] <durandal11707> so that is not covered at all ...
[20:55] <durandal11707> thing is it code that insert trim filter need updating....
[20:55] <durandal11707> it still sets double instead of ints
[20:56] <durandal11707> michaelni: could you change it and see if it fixes it?
[20:56] <michaelni> it would be nice if ffmpeg didnt need to be chnaged because it could break other applications
[20:57] <michaelni> too
[20:57] <durandal11707> this thang is introduced recenly
[20:57] <durandal11707> and ffmpeg does not change
[20:58] <durandal11707> actually the double thing that changed in 2.0 is one that is "problematic"
[21:01] <durandal11707> i fixed it locally
[21:02] <michaelni> if you change ffmpeg to match trim it will break --enable-incompatible-fork-abi
[21:02] <durandal11707> fuck this
[21:04] <wm4> is anyone actually using this fork-abi thing
[21:06] <michaelni> if noone uses it we could drop it but still filters arguments should be compatible where possible
[21:07] Action: michaelni unhappy that durandal left
[21:07] <michaelni> nothing particularely hard to solve here
[21:07] <michaelni> just a bit entangled
[21:12] <llogan> who wants some ffmpeg stickers? email me. if you're in europe then thilo will send them to you (but i need to send him a bunch of stickers first).
[21:12] <llogan> lou at lrcd.com
[21:13] <llogan> michaelni: ^ that should make up for the unhappiness
[21:24] <michaelni> llogan, yes i want some stickers
[21:25] <llogan> i'll try to send them to thilo today.
[21:28] <cone-492> ffmpeg.git 03Carl Eugen Hoyos 07master:6476967f21dc: Fix compilation with --disable-everything --enable-demuxer=aac.
[21:28] <cone-492> ffmpeg.git 03Michael Niedermayer 07master:9219ec93b145: avfilter/trim: add compatibility layer to not break ABI used by ffmpeg
[21:28] <cone-492> ffmpeg.git 03Andrey Utkin 07master:1e85b5e077e7: ff_network_wait_fd_timeout(): check for interrupt before operation
[21:28] <cone-492> ffmpeg.git 03Andrey Utkin 07master:34fd21120d86: retry_transfer_wrapper(): check for interrupt before operation
[21:54] <cone-492> ffmpeg.git 03Paul B Mahol 07master:7f4a1fddd39e: lavf: add missing build dependency for tta demuxer
[21:55] <mateo`> michaelni: i might be able to review it tomorow
[21:55] <michaelni> mateo`, ok thanks
[23:52] <durandal_1707> michaelni: your 9-16 jpeg2000 patch fixes rgb48 pixfmt or not?
[23:54] <michaelni> durandal_1707, i still have to test
[23:56] <cone-492> ffmpeg.git 03Nicolas Bertrand 07master:dd1382ac9534: jpeg2000: Initialize only once mqc arrays
[23:57] <durandal_1707> michaelni: sending untested patches?
[00:00] --- Sat Jul 13 2013
1
0
[00:40] <juanmabc> hi, since recently someone work on adpcm ima radical, i wonder if some ffmpeg developer would like, or get interested, on work on adpcm ima amv encoder, else i'll keep waiting for another year until someone (if ever) does (before devices die would be better ;)), there is some info, first even a ticket time ago (known for me from ages): http://trac.ffmpeg.org/ticket/747 , second a working code to base: http://code.google.com/p/amv-codec-
[00:40] <juanmabc> tools/ and third a working, in trunk, adpcm ima amv decoder to test the results (cause not everyone got the gadget ;)), so the workflow is far from scratch, and far from hard to test. Discalimer: this is just a push, ;)
[00:41] <juanmabc> to summarize, adpcm ima amv enc, now
[00:41] <juanmabc> ;P
[04:31] <Lobs> is there a way i can force an output resolution in a mov container? I.E the encoded resolution differs from the playback resolution and isnt directly linked to the aspect ratio.
[05:26] <calcifer_> is an updated homebrew formula for ffmpeg 2.0 in the works?
[05:29] <llogan> calcifer_: i don't think anyone here is responsible for that
[05:29] <llogan> i mean i
[05:29] <llogan> 'm not sure who updates that (damned wrist brace)
[05:33] <calcifer_> looking at the history, it's been updated by a few different people. hmm. :/
[09:51] -:#ffmpeg- [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup
[10:30] <t4nk488> hi, how to mux h264 video and pcm_s16le by ffserver
[10:30] <t4nk488> I try to output a rtp stream that include both video and audio. the config I use: <Stream test1-rtsp.mpg> Feed feed1.ffm Format rtp AVOptionVideo flags +global_header VideoSize 1280x720 VideoFrameRate 30 VideoCodec libx264 AVOptionAudio flags +global_header AudioCodec pcm_s16le AudioChannels 2 AudioSampleRate 48000 </Stream>
[10:31] <t4nk488> I can NOT play by ffplay and VLC.
[10:31] <t4nk488> Does anyone have idea how to mux h264 video and pcm_s16le audio?
[10:39] <Mavrik> hmm, I think the raw audio is the problem
[10:39] <Mavrik> why aren't you encoding it?
[11:06] <sweb> how can i strip all metatags from file with ffmpeg and then add some tags ...
[11:07] <sweb> ffmpeg -i 1.mp3 -map_metadata -1 2.mp3 will strip all tags. but how can i add some tags after then
[11:22] <t4nk488> hi
[11:22] <t4nk488> what is the error:ffserver: libavformat/asfenc.c: 642: flush_packet: Assertion `asf->packet_timestamp_end >= asf->packet_tim estamp_start' failed.
[11:22] <t4nk488> does anyon know the cause of the ffserver fail
[11:46] <t4nk488> hi, any ideas about how to mux h264 video + pcm audio?
[11:47] <t4nk488> Can anyone help?
[11:50] <Mavrik> mux to what.
[11:53] <t4nk488> mux to network stream
[11:53] <t4nk488> I try to mux asf stream, but VLC can not play
[11:54] <t4nk488> and I mux tp rtp stream , VLC can not play ,too
[11:54] <t4nk488> both VLC and ffplay can not play the stream
[11:54] <Mavrik> streaming raw anything is a problem
[11:54] <Mavrik> encode it to AAC and it'll work.
[11:56] <t4nk488> I also try to encode to AAC , but when I try to mux to rtp stream
[11:56] <t4nk488> VLC can not play,too
[11:57] <t4nk488> I got the error message:Application provided invalid, non monotonically increasing dts to muxer in stream
[11:57] <t4nk488> do you have idea about :Application provided invalid, non monotonically increasing dts to muxer in stream
[11:57] <t4nk488> hence VLC can not play asf stream
[11:59] <Mavrik> well if you have messed up timestamps
[11:59] <Mavrik> then no player will be able to play it no matter ne mux
[12:00] <t4nk488> do you have idea about tiemstamps issue?
[12:03] <t4nk488> do you have any idea: which encode mthod is better for audio other than aac?
[14:30] <FunnyLookinHat> Hey guys - So I've got some scripts that generate a bunch of thumbnail preview images from a video using something like this: ffmpeg -i input.mp4 -ss 45 -f image2 -vframes 1 out.png ... but I've noticed it takes a significantly long time as the timestamp gets further out ( several minutes sometimes to get something just 3 or 4 minutes into the video )
[14:30] <FunnyLookinHat> Is there any way to do this that's faster using ffmpeg?
[14:33] <Mavrik> move -ss before -i.
[14:40] <FunnyLookinHat> Mavrik, That will seek faster ?
[14:41] <JEEB> yes
[14:41] <JEEB> it will, though, only be able to seek to points that it can start decoding from straight away
[14:42] <JEEB> seek on the container level (before decoding) vs seek on the stream level (with decoding)
[14:42] <JEEB> latter is more accurate, but will decode everything, first is faster
[14:43] <Mavrik> also on some files it might not work
[14:49] <FunnyLookinHat> Interesting... ok I'll do a bunch of testing. Much appreciated, thanks guys.
[14:56] <i0scribe> hello everyone.
[14:56] <i0scribe> I just followed the UbuntuCompilationGuide at the Wiki and wasn't sure if it "took" successfully.
[14:58] <i0scribe> At the end of the guide, is directed me to give the following command "ffmpeg 2>&1 | head -n1" and my output is "ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers." however the guide (which I believe is current) says "If you do not see FFmpeg developers in your output then something went wrong and you're probably using the fake "ffmpeg" from the repository.".
[15:00] <i0scribe> So, my question is, what is the difference between "Libav developers" and "FFmpeg developers" when it comes to knowing if my compilation was completed successfully.
[15:03] <JEEB> libav and ffmpeg are separate projects
[15:03] <JEEB> debian-based distros use binaries built from the libav project's source code by default
[15:03] <JEEB> so if you see "ffmpeg developers" there, it means you are indeed using a binary that is built using the ffmpeg project's source code
[15:19] <i0scribe> Thanks JEEB ... So I would see "FFmpeg developers" if I was using Redhat (or some other distro) and "Libav developers" is just the expected result on all Ubuntu and other deb based distros ... ok, thanks.
[15:25] <i0scribe> Since I've confirmed that my ffmpeg is current and unrestricted, can anyone offer me any tips as to why my AVI to MPG conversions aren't going well? I've tried three good working AVIs coming from two different sources, and each one gives me sound only. Well, that is except for one "still image" snapshot. I think the "still image" is the first image from the AVI file.
[15:26] <i0scribe> I'm using WinFF which does a fine job of converting FLV to MPG but the AVI to MPG is not working.
[15:44] <i0scribe> I tried "ffmpeg -i file.avi -vcodec mpeg4 -f mpeg output.mp4" and that is working. Also tried "ffmpeg -i file.avi -vcodec h263 -acodec aac -f mpg output.mpg" ... Am looking for some other options on the net hoping to get this AVI converted successfully to an MPG.
[15:47] <Mavrik> uh
[15:47] <Mavrik> ok.
[15:47] <Mavrik> that I can see why it's going wrong >D
[15:47] <Mavrik> i0scribe, what are you trying to achieve? why (the horror) MPG?
[15:49] <i0scribe> Maverick|MSG: Trying to convert it to MPG because it's the only thing supported by my DVD player (USB port).
[15:49] <Maverick|MSG> Mavrik ^^
[15:49] <Mavrik> ;)
[15:49] <Mavrik> i0scribe, well, MPG is just the container
[15:50] <Mavrik> first you MUST check which video and audio formats your DVD player supports
[15:50] <Mavrik> and then we can talk
[15:50] <Mavrik> stuffing random stuff into MPG just won't work ;)
[15:50] <i0scribe> I also tried "ffmpeg.exe -i input.avi output.mpg" just now and that's not working.
[15:50] <ilove11ven> i0scribe: you may want to use something like dvd author, which use FFmpeg internally to do it.
[15:51] <i0scribe> Well, for now I'm just trying to get the MPG file to play on my computer and I can't even get that far.
[15:51] <i0scribe> Trying to convert a working AVI file to a working MPG file.
[15:51] <ilove11ven> i0scribe: Mavrik is correct. To rip DVD, not only did you have to use -f dvd, but you should also take into account of codec problem and many other complicated stuff.
[15:52] <ilove11ven> MPEG-2 video and MPEG audio could be used with '-f dvd'
[15:54] <Mavrik> i0scribe, which DVD player is it?
[15:54] <i0scribe> ilove11ven: I think I confused the issue by bringing up my DVD player ... My DVD player has a USB port where I can play normal MPG files via a USB stick. ... So nothing special is required on that side. ... I can take 'any' working MPG file that I pull off my computer and play it on my DVD player.
[15:55] <i0scribe> Mavrik: I've used both "Mobile Media Converter" and "WinFF" to successfully convert FLV files to MPG, but when that didn't work I decided to drop down to the CLI and see what was going on with FFmpeg.
[15:55] <Mavrik> dude.
[15:55] <Mavrik> mpg is just a container
[15:55] <Mavrik> you need to put a correct video and audio format in there.
[15:55] <Mavrik> that's why we're asking, WHICH DVD player do you have
[15:55] <Mavrik> so we can help you
[15:56] <Mavrik> running random crap won't just make it work except by blind luck
[15:59] <ilove11ven> i0scribe: try this: ffmpeg -i .avi -f dvd -vcodec mpeg2video -acodec mp2 output.mpg
[16:02] <ilove11ven> or take any working mpg file, use FFtools to analyze its container/video codec/audio codec. Then use ffmpeg to do the conversion.
[16:03] <i0scribe> Maverick|MSG: It's a Xenon DVD player.
[16:04] <i0scribe> ilove11ven: thanks, I'll try that.
[16:06] <i0scribe> ilove11ven: oh wait, what part of that string is the input.avi ?
[16:06] <i0scribe> ilove11ven: I'm guessing to ".avi" part of it.
[16:06] <ilove11ven> your avi file
[16:07] <Mista_D> Anyway to force "-vf scale=-1:480" to use nearset disible by 16?
[16:08] <Mavrik> Mista_D, I think you can use expressions
[16:10] <Mavrik> so you could do something like
[16:10] <Mavrik> scale=round((oh * a) / 16) *16:480
[16:10] <Mavrik> or something like taht
[16:10] <Mavrik> :)
[16:10] <i0scribe> ilove11ven: same problem as before. Audio only as the output. The 28 MB AVI file always comes out as a half meg MPG file that is audio only.
[16:11] <i0scribe> ilove11ven: Don't know if this is useful for you, but every time I do this one of the error lines says "[buffer @ 0x87a99c0] Changing frame properties on the fly is not supported.".
[16:11] <Mavrik> Mista_D, I doubt there's a simpler ffmpeg-only way
[16:12] <Mavrik> sorry, it's floor() not round()
[16:12] <Mista_D> Mavrik: Doesn't work - "Unknown function", using 5 hr old master.
[16:12] <Mavrik> https://ffmpeg.org/ffmpeg-utils.html#Expression-Evaluation
[16:12] <Mavrik> writing out of my head ;)
[16:13] <Mavrik> anyway, bbl
[16:13] <Mista_D> Mavrik: Will test a few, thanks.
[16:15] <ilove11v1> i0scribe: would you mind uploading the avi file?
[16:15] <i0scribe> no prob.
[16:15] <i0scribe> ilove11v1: no prob.
[16:18] <ilove11v1> ok
[16:20] <i0scribe> ilove11v1: just started the file transfer.
[16:21] <i0scribe> ilove11v1: it's says it is waiting for you.
[16:54] <Mista_D> Why would this scale folmula be rejected: -vf 'scale=round((iw*480/ih)/16) *16:480'? seems ok to me.
[17:00] <saste> Mista_D, what is "round"?
[17:01] <Mista_D> @saste: Tried celi too.
[17:01] <Mista_D> Sorry ceil
[17:03] <Mista_D> @saste: stand corrected, -vf 'scale=ceil((iw*480/ih)/16) *16:480' works. Had a differnt error, didn't noticed at first.
[17:04] <ilove11v1> i0scribe have upload the original file: http://www.fileconvoy.com/dfl.php?id=g0a0c8b0c8b7f9a9d999327977b1aa086cf5a5…
[17:05] <ilove11v1> I have uploaded the transcoded MPEG-PS/MPEG2 video/MP2 audio: http://www.fileconvoy.com/dfl.php?id=ge1604f2b7b8f9e6b999327998151be79b266f…
[17:05] <ilove11v1> i0scribe: please check it. time to go to bed. good night
[19:29] <teratorn> what aac codec to folks normally recommend these days?
[19:30] <Mavrik> fdk_aac is probably still the best
[19:30] <Mavrik> otherwise internal is good enough
[19:30] <teratorn> cool. now to figure out how to use it from xuggle :-(
[19:30] <Fjorgynn_> Mavrik: I heard different
[19:30] <Fjorgynn_> that it's not good. The default
[19:30] <teratorn> or that. we're getting sporadic SIGFPE exceptions from the lovely libvo-aacenc that xuggle uses by default
[19:30] <Mavrik> Fjorgynn_, none of the others are any better.
[19:31] <Mavrik> teratorn, yeah, voaacenc is probably the worst of the bunch
[19:35] <JEEB> <teratorn> what aac codec to folks normally recommend these days? <- do you mean encoder or decoder wise?
[19:36] <teratorn> encoder
[19:36] <JEEB> ok, then fdk-aac
[19:36] <JEEB> do note that you will have to compile fdk-aac yourself, it can't be distribute
[19:36] <JEEB> *distributed
[19:36] <JEEB> as binary
[19:36] <teratorn> ah
[19:36] <Fjorgynn_> I have the binary for windows :)
[19:37] <JEEB> yes, but according to the license you cannot distribute it :)
[19:38] <JEEB> VideoLAN tried to find some ways around it
[19:38] <JEEB> but in the end just gave up
[19:39] <teratorn> what is the license? according to the .c file it says "is part of FFMPeg... FFMpeg is distributed under LGPL blah blah"
[19:41] <JEEB> teratorn, that's the license for the wrapper in ffmpeg
[19:41] <JEEB> teratorn, https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE
[19:41] <JEEB> this is the license for fdk-aac
[19:41] <teratorn> yeah I just realized 411 lines can't be enough for the full codec
[19:41] <teratorn> cool, thanks
[19:53] <eggyknap> If ffprobe tells me "Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 4.0, fltp, 51 kb/s", the "4.0" means I have four channels of audio in one stream, right?
[19:54] <JEEB> I would think so, yes
[19:54] <eggyknap> (follow-up questions: how can I extract one of those channels into a separate mp3, and second, I created that file with ffmpeg and would really like one stereo and two mono streams... how can I do that?)
[19:56] <JEEB> there are IIRC options to use certain channels and such
[19:56] <JEEB> I don't remember them all myself, but looking at the documentation for the ffmpeg command line tool on ffmpeg.org should be useful
[19:56] <eggyknap> Yeah, I've been trying to find examples, because I haven't been able to make those options work (disclaimer: the ffmpeg version I've got on my ubuntu box seems hopelessly disabled -- old version, with few enabled filters)
[19:57] <eggyknap> IOW, I've found the documentation, and have read about the options, but am getting something wrong.
[19:57] <JEEB> with ubuntu you will most probably want to use the avconv binary as you're using code from the libav project
[19:57] <JEEB> in libav avconv is the more up-to-date binary
[19:58] <JEEB> while in ffmpeg (project), ffmpeg is
[19:58] <JEEB> (also #libav is the IRC channel for the libav project)
[19:58] <eggyknap> I had the impression (based only on manpages and my inept blundering around) that on my box they were the same binary, essentially. I'll look more closely into it.
[19:58] <eggyknap> In any case, my avconv doesn't support -filter_complex any better than my ffmpeg does
[19:59] <JEEB> I know that at least until version 0.8 of libav there was still a separate ffmpeg binary, I think?
[19:59] <JEEB> after the 0.8 release it got finally removed
[19:59] <JEEB> and the ffmpeg binary, while it was there, was pretty much untouched
[19:59] <JEEB> also if you're looking for the avconv documentation, I recommend you look at libav.org's documentation :)
[20:01] <eggyknap> So, say I have a camera and multiple microphones, and I say something like "ffmpeg <options to capture video> <options to capture mic 1> <options to capture mic 2> outputfile.mp4"...
[20:01] <eggyknap> ...I'd like to end up with multiple audio tracks, rather than multiple channels on one track. Suggestions?
[20:02] <Mavrik> just map them accordingly to different tracks and set encoding options to each
[20:03] <eggyknap> Mavrik: while that sentence makes sense, I'm too much of a n00b to see how to do that :)
[20:04] <Mavrik> I suggest reading the documentation then
[20:04] <Mavrik> you can provide multiple inputs (one -i for each input) and then use -map parameter to map inputs to a single output file with different streams
[20:05] <eggyknap> Clearly I need to grok -map better than I do. I'll reread its docs. Thx
[20:05] <Mavrik> you provide encoding parameter with each stream as well
[20:05] <Mavrik> and you give only one output
[20:05] <Mavrik> in the docs it's explained how to use the -map parameter and how to number encoding parameters (codec:a, codec:v etc.) for each output stream :)
[20:06] <Mavrik> eggyknap, also by default each input will be a separate stream
[20:06] <Mavrik> so if I read the docs correctly you shouldn't need a -map call ata all
[20:07] <eggyknap> Hrm. I didn't include any options to my capture command and ended up with two streams, one in 4.0 audio
[20:08] <Mavrik> does your audio input record 4 channels? :)
[20:08] <Mavrik> eggyknap, maybe you should pass parameter for only 1 output channel for that stream then :)
[20:08] <Mavrik> especially if your microphone records mono
[20:08] <Mavrik> eggyknap, it's worth checking what ffmpeg thinks the INPUT is
[20:10] <eggyknap> There are four separate mono mics, if that's what you mean. How do I get ffmpeg to cough up more data on what it thinks its INPUT is?
[20:10] <Fjorgynn> soon it's the 27th...
[20:11] <Mavrik> eggyknap, um, it always outputs what it thinks the input is
[20:13] <eggyknap> Oh, I just need to pay more attention to the STDOUT stuff. Gotcha :)
[21:09] <llogan> eggyknap: try -map_channel (or pan audio filter) to monkey with the 4 audio channels
[21:10] <eggyknap> Ooo... that could be helpful
[21:10] <eggyknap> Right now I'm recording from four mics simultaneously, and the result I get is a file with one mono output stream. :(
[21:13] <eggyknap> e.g. http://pastie.org/8135391
[21:17] <eggyknap> I can add "-filter_complex '[0:0] [1:0] [2:0] [3:0] amerge=inputs=4'" and get a single audio stream in 4.0 layout... but that's still not four separate streams.
[21:17] Action: eggyknap keeps reading
[21:18] <eggyknap> OIC... there's where I need a -map command.
[21:18] <eggyknap> ...perhaps
[21:19] <eggyknap> w00t! That works. Thanks, all.
[22:12] <nuizzy> does ffmpeg support h.265?
[22:14] <Sean__> I want to analyze a source video file and determine 1. At What frames each "scene change" occurs. 2. Given the information from #1 and a min and max key frame interval , what frames will need to be I-frames in a h264 encode..
[22:14] <Sean__> I know I can do this by doing a "ultrafast" pass=1 encode with x264 and analyzing the .stats file afterwards. However , This method seems a bit heavy for the simple information I'm trying to obtain
[00:00] --- Sat Jul 13 2013
1
0
[00:04] <Daemon404> figures the first avreample failure is on an OS nobody uses or will ever use
[00:04] <Daemon404> :V
[00:04] <Daemon404> wait a pain to fix
[00:04] <Daemon404> what*
[00:16] <durandal_1707> what OS? plan9?
[00:16] <Daemon404> haiku
[00:18] <durandal_1707> that is really nice one
[00:20] <michaelni> Daemon404, wait till the next run of haiku before you investigate
[00:20] <Daemon404> ?
[00:20] <michaelni> i think its missing a file
[00:20] <Daemon404> oh
[00:25] <Guest5607> damned phone calls at the wrong time...
[00:50] <cone-59> ffmpeg.git 03Stefano Sabatini 07master:e7a6962e7650: doc/developer: update sections about external development
[00:50] <cone-59> ffmpeg.git 03Stefano Sabatini 07master:b3ac8a2a606c: doc/formats: add section describing stream specifiers
[00:50] <cone-59> ffmpeg.git 03Stefano Sabatini 07master:19ea08a11a8e: lavf/segment: add initial_offset option
[00:50] <cone-59> ffmpeg.git 03Stefano Sabatini 07master:459dc81a64a3: lavf/segment: reindent after last commit
[00:50] <cone-59> ffmpeg.git 03Stefano Sabatini 07master:71a2e5245ca5: lavf/segment: use AV_OPT_TIME_DURATION for time_delta
[01:06] <durandal_1707> TFTR?
[01:10] <saste> durandal_1707, Too Fast To Read
[01:11] <saste> durandal_1707, "time duration specification" or "duration specification" works for me
[01:12] <saste> users will have to look for the specification in man ffmpeg-utils
[01:13] <durandal_1707> so just add: specify time of ... see time duration specification. ?
[01:13] <saste> or ... the argument is a duration specification.
[01:13] <saste> bonus if you provide a reference to the spec
[01:16] <durandal_1707> i fill just link time to duration specification thing...
[01:20] <durandal_1707> its @anchor{time duration syntax}
[01:20] <durandal_1707> but its in another file
[01:25] <durandal_1707> michaelni: hmm, but atrim filters really trim frame samples
[01:27] <durandal_1707> saste: muxers mentions time duration specification, but there is no such thing
[01:28] <durandal_1707> but there is 'duration syntax'
[02:40] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:94e86ae15a43: mjpegdec: initialize source variables before gbr remap
[02:40] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:15cee5e5628a: mjpegdec: Fix used quant index for gbr
[11:21] <cone-135> ffmpeg.git 03Luca Barbato 07master:3865ba7b21ae: iff: K&R formatting cosmetics
[11:21] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:56090b5b8043: Merge commit '3865ba7b21aef5d60183719e238361ec8797ab5a'
[11:33] <cone-135> ffmpeg.git 03Luca Barbato 07master:7d65e960c72f: iff: Do not read over the source buffer
[11:33] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:2efc2b53be96: Merge commit '7d65e960c72f36b73ae7fe84f8e427d758e61da9'
[11:41] <cone-135> ffmpeg.git 03Luca Barbato 07master:04e9853a210e: wmavoice: return meaningful error codes
[11:41] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:5698f6bd7334: Merge commit '04e9853a210e07b1a150aa2b8e9af0aa3601ff21'
[11:50] <cone-135> ffmpeg.git 03Luca Barbato 07master:f5c48f5adaea: wmavoice: use init_static_data
[11:50] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:45cc62f0a099: Merge commit 'f5c48f5adaead5259660d4eaab2e695d1bac3a08'
[11:58] <cone-135> ffmpeg.git 03Luca Barbato 07master:d14a26edb7c4: wmavoice: conceal clearly corrupted blocks
[11:58] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:531f0169444c: Merge remote-tracking branch 'qatar/master'
[12:13] <cone-135> ffmpeg.git 03Michael Niedermayer 07release/2.0:9711b527394c: avfilter/af_earwax: Fix out of array accesses on odd packets
[12:13] <cone-135> ffmpeg.git 03Piotr Bandurski 07release/2.0:1cda4aa1e0e1: avformat/utils: avformat_find_stream_info fix a crash in case of oom
[12:13] <cone-135> ffmpeg.git 03Paul B Mahol 07release/2.0:56bf38859b93: lavfi/aconvert: unbreak
[12:13] <cone-135> ffmpeg.git 03Piotr Bandurski 07release/2.0:c1c84f0a55f8: avformat/utils: avformat_find_stream_info set value for ret in case of oom
[12:13] <cone-135> ffmpeg.git 03Michael Niedermayer 07release/2.0:ea28e7420517: avcodec/qdm2: store bits in an integer instead of float variable
[12:13] <cone-135> ffmpeg.git 03Michael Niedermayer 07release/2.0:37268dcc863e: avcodec/qdm2: initialize sign_bits
[12:13] <cone-135> ffmpeg.git 03Luca Barbato 07release/2.0:a7315116dd4a: wmavoice: conceal clearly corrupted blocks
[12:13] <cone-135> ffmpeg.git 03Carl Eugen Hoyos 07release/2.0:fc3dec8b626f: lavf/utils.c: Avoid a null pointer dereference on oom after duration_error allocation. (cherry picked from commit c9eb5c9751c88caaed62af5ffe908fe545022e7e)
[12:13] <cone-135> ffmpeg.git 03Carl Eugen Hoyos 07release/2.0:fd2cf9c45d3b: Suggest recompilation with openssl or gnutls if the https protocol is not found.
[12:13] <cone-135> ffmpeg.git 03Michael Niedermayer 07release/2.0:6127f792f900: mjpegdec: initialize source variables before gbr remap
[12:13] <cone-135> ffmpeg.git 03Michael Niedermayer 07release/2.0:7740e36a89cd: mjpegdec: Fix used quant index for gbr
[12:15] <ubitux> is Luca re-doing every j00ru fixes?
[15:14] <durandal_1707> can @ref{} point out of doxy file?
[15:41] <durandal_1707> why people thing place for bug reporting is support forum?
[15:42] <durandal_1707> *think
[15:42] <durandal_1707> ubitux: did you read this http://forum.doom9.org/showthread.php?t=168185 ?
[15:47] <durandal_1707> http://forum.doom9.org/showthread.php?t=143624&page=17
[15:48] <durandal_1707> michaelni: yuv444 -> rgb issues
[16:07] <wm4> how do you write picture attachments to a file, e.g. mp3? -attach Doesn't Work
[16:10] <durandal_1707> iirc you do it as normal video stream
[16:10] <durandal_1707> michaelni: did that swf issue got finally fixed?
[16:16] <michaelni> durandal_1707, why do you never ask a clear question and why do you always ask me ?
[16:17] <durandal_1707> michaelni: there was only one security issue with swfdec for over 6 months
[16:17] <durandal_1707> its about not really fixed security issues
[16:18] <durandal_1707> michaelni: is there some more experienced dev for asking about swscale conversion issues?
[16:22] <michaelni> durandal_1707, we fix all security issues for which sufficient information is provided to reproduce them or that contain a detailed description of the issue
[16:23] <durandal_1707> we?
[16:24] <michaelni> yes, you dont want to fix security issues ?
[16:27] <michaelni> about swf, iam not aware of any open security issues
[16:37] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:7afa68d37df9: mjpegdec: parse app-colr
[16:37] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:96747e6cbe75: mjpegdec: parse app-xfrm
[16:37] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:8024b4880ccc: avcodec/jpeglsdec: support xfrm 1-3
[16:37] <cone-135> ffmpeg.git 03Michael Niedermayer 07master:0ef40446a864: mjpegdec: print length too in APPx debug code
[18:27] <Compn> michaelni : i think durandal is talking about the securina / vlc spat (which is about the swf parser in libavformat)
[18:27] <Compn> which hit slashdot and others
[18:30] <Compn> michaelni : http://seclists.org/fulldisclosure/2012/Dec/96
[18:30] <Compn> :P
[18:33] <Compn> michaelni : heres the .swf file that crashed vlc . http://www39.zippyshare.com/v/91522221/file.html
[18:34] <Compn> from 2012 so it might be fixed since then
[18:34] <Compn> dont know if anyone tested ffmpeg
[18:34] <Compn> j-b : did you test swf with ffmpeg? (i know you want to talk about swf and securnia more :D)
[18:34] <j-b> Compn: fixed since a long time, you know...
[18:35] <ubitux> Compn: j-b linked to the fix in ffmpeg upstream in his blog post
[18:35] <j-b> http://git.videolan.org/?p=vlc/vlc-2.0.git;a=blob;f=contrib/src/ffmpeg/swfd…
[18:56] <Compn> j-b : oh ok :)
[18:56] <Compn> i saw that you linked to vlc git , i wasnt paying attention if it were a fix for ffmpeg or vlc's ffmpeg ....
[18:56] <Compn> and isnt vlc using libav ? so confused
[19:07] <j-b> Compn: vlc compiles with both
[19:10] <Compn> very professional answer that didnt quite answer the question ;P
[19:10] <Compn> my question wasnt precise either of course
[19:11] <j-b> Compn: it depends on the maintainer
[19:11] <j-b> Compn: hence I cannot answer the question
[19:11] <wm4> what are you using for development?
[19:12] <j-b> I use FFmpeg, because my distro is Arch
[19:22] <durandal_1707> VideoLAN is paying trips to Paris?
[19:30] <Compn> for Videolan dev days, i think they have invited ffmpeg devels in the past
[19:30] <Compn> dunno if they currently have funds for it
[19:30] <Compn> best ask j-b or in #videolan
[19:40] <j-b> durandal_1707: of course.
[21:53] <cone-135> ffmpeg.git 03Dan Flett 07master:43d36599fe33: lavd/fbdev.c: Support RGB565 input colour space.
[22:23] <durandal_1707> should i write adelay filter?
[22:37] <Compn> durandal_1707 : you mean for offsetting audio ? like mplayer -delay or -af delay ?
[22:37] <saste> durandal_1707, time to move on with the framework?
[22:38] <saste> what's going on on the l. side with regards to API/framwork?
[22:38] <saste> anybody knows? So we don't need to redo from scratch after they NIH
[22:39] <saste> but probably the best thing to do at this point is to work on bindings
[22:40] <durandal_1707> saste: framework what?
[22:41] <saste> durandal_1707, reconfiguration for example
[22:41] <saste> extend input movie, add output movie
[22:41] <durandal_1707> you just call config_props for each link
[22:41] <durandal_1707> i don't touch movie filters as i consider them evil
[22:42] <saste> durandal_1707, why?
[22:42] <saste> why people hate movie
[22:42] <saste> ?
[22:42] <durandal_1707> becaue it does not play movie you want
[22:42] <saste> especially since the alternative (-filter_complex) is a huge application-level hack
[22:43] <saste> durandal_1707, what do you mean??
[22:44] <durandal_1707> it doesn't play well
[22:45] <durandal_1707> it doesn't work with http/ etc...
[22:45] <saste> can't you specify http://...
[22:45] <saste> ?
[22:46] <durandal_1707> iirc it never worked for me
[22:46] <saste> it's the usual pain to escape, but what does it prevent to work as expected?
[22:46] <saste> "it doesn't play well" => too vague
[22:46] <durandal_1707> it doesn't expand ~
[22:47] <durandal_1707> i need to give absolute path
[22:51] <durandal_1707> also isn't (a)movie cloning ffmpeg funcionality and is missing some hacks?
[22:51] <saste> durandal_1707, the plan is having movie substitute ffmpeg
[22:52] <saste> so you can implement ffmpeg functionality in your program, with (relatively) few lines of code
[22:52] <durandal_1707> interesting idea, dunno if its doable in reasonalbe time frame
[22:53] <durandal_1707> there are other filters that ffmpeg could be using, but does not
[22:54] <durandal_1707> and instead do it on its own, like setfps
[22:54] <durandal_1707> and trim, which is used by avconv, but not ffmpeg
[22:55] <durandal_1707> i think with my patch, ffmpeg could use it though
[22:55] <durandal_1707> michaelni: ^
[22:55] <saste> not everything can be done with filters
[22:55] <saste> for example for manipulating packets timestamps you need essentially - a packet filter
[22:56] <durandal_1707> yes, so why not write one?
[22:56] <saste> because you need a whole packet filtering framework
[22:56] <saste> also maybe we should merge it somehow to lavfi
[22:57] <durandal_1707> merge AVPacket with AVFrame
[22:57] <saste> for example we could add data filtering to lavfi
[22:57] <saste> but this requires careful design
[22:57] <saste> and I have no more energy for it
[22:57] <durandal_1707> what? you are retiring?
[22:58] <saste> http://sophia.estec.esa.int/socis2013/?q=node/13
[22:58] <saste> still waiting (after almost two weeks)
[22:58] <durandal_1707> others got approved or?
[22:59] <saste> no, only thinks we know since a week is that the list will be published "soon"
[22:59] <saste> it's a bit frustrating
[23:00] <durandal_1707> well, ESA Summer of Code in Space becomes ESA Autumn of Code in Space
[23:05] <saste> durandal_1707, because in space, no one can hear when you wait
[23:29] <nevcairiel> you just have to wait long enough, then summer is on the southern hemisphere
[23:51] <Daemon404> g 42
[23:54] <durandal_1707> so should i do adelay filter, the only way currently one can do delay, is by splitting channels, and joining them again after processing
[00:00] --- Fri Jul 12 2013
1
0
[00:07] <sybariten> oh hai
[00:08] <sybariten> i'm on ubuntu and installed this package: chromium-codecs-ffmpeg-extra , because my chromium wouldnt play Soundcloud music. Now it plays, but its super high pitched.... any ideas?
[00:20] <sybariten> that is a slightly more flattering nick, where i come from
[02:46] <acovrig> When I use -filter:v 'setpts=0.5*PTS' I loose video, the stream doesn't end up in the output, why?
[03:24] <LordThumper> Hi, can encoding problems (graphical artifacts) be fixed using ffmpeg?
[03:42] <LordThumper> Re-encoding did not fix the issue, i think I need another source
[03:49] <Kuukunen-> LordThumper: if the artifacts are present in the source, very likely you can't fix them with anything
[03:50] <klaxa> edit the frames by hand, lol
[03:54] <LordThumper> The artifact is the object that moved between one frame and another
[03:54] <LordThumper> I have no idea how h264 is encoded
[03:54] <Kuukunen-> wuh? :P
[03:55] <klaxa> i meant extract the frame, edit with an image editor, glue it all back together
[03:55] <LordThumper> can that be done?
[03:55] <LordThumper> What software should I use?
[03:55] <Kuukunen-> sure
[03:55] <Kuukunen-> photoshop? :P
[03:56] <klaxa> it's more of a troll suggestion, but it is not impossible
[03:56] <LordThumper> The problem is not the image itself
[03:56] <klaxa> it depends on how well you can reconstruct the image
[03:56] <LordThumper> It's like the transition between one frame and another
[03:56] <Kuukunen-> LordThumper: take a picture, stick it on imgur or something :P
[03:56] <LordThumper> Ok sure
[03:56] <Kuukunen-> but is it present on the source?
[03:57] <klaxa> his source is b0rked already
[04:02] <LordThumper> http://i.imgur.com/V23dD2T.jpg
[04:02] <Kuukunen-> right, looks like there's some corruption on the bit level or something
[04:02] <LordThumper> The objects that moved between one frame and another appear glitched
[04:03] <LordThumper> I tried reencoding, but the glitches remained
[04:03] <klaxa> LordThumper: check your torrent-file
[04:03] <Kuukunen-> LordThumper: well, if they're in the source, then reencoding will do nothing
[04:03] <klaxa> let your torrent software verify the local data, it should then re-download broken chunks
[04:03] <LordThumper> Yes it is valid
[04:03] <klaxa> torrent link?
[04:03] <LordThumper> I will try to get it from another source
[04:03] <Kuukunen-> then it's messed up when it was made
[04:03] <klaxa> and timestamp of that scene
[04:04] <klaxa> (not watching attack on titan i guess i'm prepared to be spoilered :P)
[04:04] <LordThumper> You recognized it from the image? :)
[04:04] <klaxa> well still want torrent + timestamp
[04:05] <klaxa> it also has distinctive character design
[04:05] <Kuukunen-> klaxa: yea, the faces are all blocky and stuff
[04:05] <klaxa> ;)
[04:06] <LordThumper> hehe indeed
[04:06] <LordThumper> one sec
[04:06] <LordThumper> http://thepiratebay.sx/torrent/8575596/Attack_on_Titan_S01E02_That_Day_(192…
[04:06] <LordThumper> 7m00sec
[04:06] <klaxa> wtf you're downloading anime from the pirate bay?
[04:07] <LordThumper> Ye :-/ Friend dloaded them
[04:07] <LordThumper> Just finished downloading Horriblesubs sub and it's perfect
[04:07] <klaxa> given size, resolution, encoding and matroska streams that's the horriblesubs 1080p release
[04:07] <LordThumper> mmm
[04:07] <klaxa> nobody else releases TV anime in 1080p with high profile
[04:07] <LordThumper> That's strange
[04:07] <LordThumper> Maybe its a reencoding?
[04:08] <LordThumper> Or corrupt download?
[04:08] <klaxa> oh re-encoding might be
[04:08] <LordThumper> [HorribleSubs] Shingeki no Kyojin - 02 [1080p]
[04:09] <klaxa> hmm audio isn't 128 kbps AAC so it is NOT horriblesubs
[04:09] <LordThumper> Is perfect at 7m00 sec
[04:09] <klaxa> but seriously, don't download anime from thepiratebay :X
[04:09] <klaxa> unless it's an older series you can't find elsewhere
[04:09] <LordThumper> Indeed
[04:09] <LordThumper> Well thanks alot for the help, and I suggest watching the anime, it's very good so far
[04:10] <LordThumper> I think it competes with some of the top anime
[04:10] <LordThumper> And it's a nice change from mechs (Code Geass, Evangelion etc etc etc)
[04:11] <klaxa> i've heard a lot and see a lot of people that hate it
[04:11] <klaxa> haven't seen either of those :P
[04:11] <klaxa> haven't watched most of the "you have to have seen this show"-shows
[04:11] <LordThumper> Oh, what is your favourite?
[04:11] <klaxa> tough question, probably ika musume
[04:12] <klaxa> the world god only knows, bakemonogatari and C are close behind
[04:12] <tm512> have you watched Now and Then, Here and There?
[04:12] <klaxa> i've heard of it somewhere, can't remember where, but i haven't seen it
[04:12] <LordThumper> Ah you're definately not a mainstream guy then
[04:13] <klaxa> yeah, no mainstream here :P
[04:13] <LordThumper> anyways, going to watch the rest, thanks again
[04:13] <klaxa> np :)
[04:16] <klaxa> haha lol LordThumper: that file is broken
[04:18] <klaxa> even the subtitle file seems to be incorrect
[04:18] <klaxa> or rather not perfectly compliant with aegisub
[05:17] <t4nk201> hi, does anyone know the purpose about "presets" file in the folder /ffmpeg/presets?
[05:17] <t4nk201> how to use the presets files?
[05:17] <t4nk201> if the video codec is libx264, how to use "presets" file for reduce latency?
[05:18] <LordThumper> klaxa: Yeah, Subtitle Workshop opens the subtitle but it does not support subtitle position, had to use Subtitle Edit
[05:18] <LordThumper> SubtitleEdit even
[05:18] <LordThumper> Was trying to repair some c
[05:18] <LordThumper> some broken characters
[05:18] <LordThumper> Horriblesubs release is fine though
[06:03] <praveenmarkandu> Hi. When I try to transcode a Apple ProRes file to H.264, it tells me vprofile main is not available
[06:03] <praveenmarkandu> it only accepts high422 and high444?
[06:03] <praveenmarkandu> is that expected behaviour?
[06:30] <mark4o> praveenmarkandu: use -pix_fmt yuv420p
[06:31] <mark4o> main profile does not support yuv422p or yuv444p
[06:44] <tm512> I've been trying to figure this out for some time with no luck, does anyone have a way to stream with ffmpeg that doesn't have the audio out of sync with the video? I'd really appreciate that
[07:16] <praveenmarkandu> mark4o, thanks!
[09:50] <praveenmarkandu> someone answered my question on #ffmpeg, today was a good day
[09:57] <Mavrik> :))
[09:57] <Mavrik> well, it IS early morning ;)
[10:22] <MrE> Can ffmpeg overlay text based dvb subtitles ?
[10:41] <killown> how about this security issue https://secunia.com/blog/372/ has it been fixed?
[10:52] <killown> dis-consider my question, I know now these secunia guys are a liars
[13:01] <xyz_> what's the reason for licensing the library under the restrictive LGPL?
[13:02] <JEEB> because that's what people chose to be the closest thing for their goal at various points of time, I would guess?
[13:03] <JEEB> and as such, LGPL really isn't *that* restrictive
[13:03] <JEEB> FSF actively wants people to use GPL for libraries as well :D
[13:04] <JEEB> I mean, am I the only one who thinks that presenting the source code of the library you used if you used shared linking, and source code of the library + object files for the rest of it if you used static linking not too bad a limitation of you wanted to use it in a closed source application?
[13:05] <xyz_> well, i don't know
[13:05] <xyz_> but i prefer non-copyleft permissive licenses
[13:06] <xyz_> does there exist any permissive alternative for ffmpeg/libav?
[13:06] <JEEB> I prefer that for most of the random stuff I do, but personally I really don't see the problem with libav* being LGPL
[13:06] <JEEB> and no
[13:07] <JEEB> no such a wide and feature-filled library exists
[13:08] <JEEB> the biggest problem for corps regarding libav* generally tend to be the encoders that are GPL anyways (third-party libs used via libavcodec)
[13:09] <xyz_> well, i've tried to start such a project on sourceforge... but i could myself write propably just some wrappers for permissive libraries like Ogg, which is BSD
[13:09] <xyz_> or was it MIT? i don't remember
[13:11] <JEEB> for whatever reason I really feel like such a project wouldn't get much wind under itself :/ Because ffmpeg/libav by themselves are not GPL, just LGPL. And that already makes them usable in closed-source applications
[13:11] <JEEB> you just have to give the user the chance to swap the libraries should they really, really want to do it
[13:12] <JEEB> basically there's just so much stuff done already in libav* that I'd be surprised if someone tried to rewrite it all
[13:12] <JEEB> or even most used features of it
[13:14] <xyz_> well... the gpl and lgpl require 'derivative works' to be under the same license. that sucks :( Because an (L)GPL project can itself be a derivative work of some more permissively licensed software, but not the other way around.
[13:14] <xyz_> but if I decide to distribute my object code, could I just pack all of the .o files into a single .a archive?
[13:15] <JEEB> whatever way lets people link it all together
[13:16] <JEEB> that's in the case of static linking anyways, shared linking lets you have much more leeway
[13:16] <xyz_> well... maybe I shouldn't argue about this license thing any more.
[13:17] <JEEB> well, it's good to bring things up, but LGPL just isn't that restrictive in the end
[13:17] <JEEB> the only semi-good argument I've heard is from Japanese developers, since in Japan you can tell people not to RE your stuff
[13:17] <JEEB> and LGPL lets people RE your stuff
[13:17] <xyz_> what is RE?
[13:18] <JEEB> "Our bosses put that clause in our EULA so we can't really use LGPL stuff"
[13:18] <xyz_> reverse engineer?
[13:18] <JEEB> reverse engineering
[13:18] <JEEB> yes
[13:18] <JEEB> in most countries you can't even limit it
[13:18] <xyz_> but actually, I now have a problem compiling libav for my Nokia N9 cell phone.
[13:18] <JEEB> libav or the libav* libraries from ffmpeg?
[13:18] <JEEB> two separate projects, after all :)
[13:18] <xyz_> it's not actually ffmpeg, but well...
[13:19] <JEEB> just noting that it's better to ask the related party :)
[13:19] <xyz_> there's a less populated libav channel
[13:19] <JEEB> elenril and spaam have already been active there today
[13:19] <JEEB> and I am there, too
[13:19] <JEEB> so it's just a better idea to push your questions to the related party :)
[13:22] <kamalbanga> when compiling a basic code that includes libavformat.h, i get the error: fatal error: libavcodec/avcodec.h: No such file or directory compilation terminated
[13:22] <JEEB> you used something that also needed libavcodec around?
[13:22] <JEEB> wait... isn't the header supposed to be avformat.h or so?
[13:22] <kamalbanga> no i just did av_register_all()
[13:23] <kamalbanga> the header i put is: #include <libavformat/avformat.h>
[13:23] <JEEB> and yeah, that's it
[13:23] <JEEB> also I wouldn't be surprised if that one actually needed libavcodec as well
[13:23] <JEEB> if nothing else, the header
[13:24] <kamalbanga> i hav actually put all the three headers
[13:24] <kamalbanga> avcodec, avformat and avswscale
[13:24] <JEEB> also f.ex. the raw AVC parser as far as I can tell uses some libavcodec utilities
[13:24] <JEEB> well then they are not in your search path
[13:24] <kamalbanga> exactly i found this stacoverflow: http://stackoverflow.com/questions/12127397/fatal-error-libavcodec-avcodec-…
[13:25] <kamalbanga> as it says i should give search path
[13:25] <JEEB> have you in any way or form actually installed libav* ?
[13:25] <JEEB> or are you just trying to copy the random headers off to somewhere and trying to use it like that?
[13:25] <kamalbanga> but my problem is this : when i do "find . -name avformat.h", i get this path:..ffmpeg_sources/ffmpeg/libavformat/avformat.h
[13:26] Action: JEEB takes a deep breath
[13:26] <kamalbanga> avformat.h and avcodec.h are there but not in any folder called "include"
[13:26] <JEEB> of course
[13:26] <JEEB> you are supposed to install the headers and libraries you have built
[13:27] <JEEB> that process puts stuff into the generally used paths along a prefix you have set (or, by, default /usr/local )
[13:27] <kamalbanga> i followed the complete instructions given here: http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[13:28] <JEEB> yes, this uses a prefix within your home directory
[13:28] <JEEB> so that it works on machines where you don't have root rights
[13:28] <JEEB> ls ${HOME}/ffmpeg_build/include/libavformat/avformat.h should show you something :P
[13:28] <kamalbanga> thanks for your response <JEEB>, i wish you help me, this problem is frustrating me since days...
[13:29] <JEEB> you seem to have been executing things blindly and have no idea about things work, I'm not surprised at all :P
[13:30] <kamalbanga> $HOME/ffmpeg_build/include has only these things: fdk-aac libyasm libyasm.h libyasm-stdint.h opus vpx x264_config.h x264.h
[13:31] <JEEB> then you have not installed ffmpeg itself
[13:32] <JEEB> and then yes, you will need to later add ${HOME}/ffmpeg_build/include|lib to your header and library search paths
[13:33] <JEEB> do note though that if you build your ffmpeg with fdk-aac, your compile will become non-distributable
[13:33] <kamalbanga> i had installed it and am reinstalling it
[13:33] <kamalbanga> yes, i understand that
[13:34] <JEEB> if you don't have the headers in there, you haven't followed the damn instructions you have linked, btw :) Since the ffmpeg compilation step a) has the --prefix set and b) contains a step to install the thing
[13:38] <kamalbanga> after following the installation steps i also run the command "ffmpeg 2>&1 | head -n1" and it gave me the version of the ffmpeg i installed
[13:38] <kamalbanga> so i had thought that it has successfully installed
[13:39] <JEEB> the binary actually goes to another place, ${HOME}/bin (you can see the --bindir option being set)
[13:40] <JEEB> but that configuration line as far as I can tell dos not disable installation of the libraries
[13:40] <JEEB> so if the installation went fine you should have had stuff under ffmpeg_build/include|lib
[13:42] <kamalbanga> yes ffmpeg shows in $HOME/bin/ along with ffplay ffprobe and ffserver
[13:45] <kamalbanga> i just installed it again and if you (JEEB) permit, i will show the output to you
[13:45] <JEEB> just pastebin it and link here
[13:47] <kamalbanga> http://pastebin.com/qL44QzbH
[13:48] <JEEB> yes, the things seem to have been installed
[13:48] <JEEB> now check whatever got set as the --prefix
[13:48] <JEEB> and what the include/lib directories there contain
[13:48] <kamalbanga> my working directory while doing "sudo make install" was $HOME/ffmpeg_sources/ffmpeg
[13:49] <JEEB> you don't need the sudo there
[13:49] <JEEB> unless you weren't following the instructions
[13:49] <JEEB> sudo is only needed when installing into somewhere where your user has no rights to things
[13:51] <kamalbanga> the ffmpeg_build/include contains the same thing as before, no change
[13:51] <kamalbanga> i mean no avcodec and avformat libraries
[13:51] <JEEB> try running install without the sudo
[13:51] <kamalbanga> ok
[13:52] <kamalbanga> then it gives some errors - permission denied
[13:53] <kamalbanga> http://pastebin.com/Xb8gzuac
[13:53] <JEEB> yes
[13:53] <JEEB> since you used sudo
[13:54] <JEEB> congratulations
[13:54] <kamalbanga> oh..
[13:54] <JEEB> you might want to clean up ffmpeg_build and do it again
[13:54] <JEEB> without sudo
[13:54] <kamalbanga> actually i used sudo make install out of habit but that seems to be a problem now...
[13:55] <JEEB> sudo make install is correct if you are installing into a place where you have no rights as a normal user, it runs stuff as a priviledged user
[13:55] <JEEB> so if you were for example installing into /usr/local you would need it
[13:55] <kamalbanga> ok, clean as in "make clean" or "make distclean" or something else like remove or uninstall
[13:55] <JEEB> remove the ffmpeg_build directory structure
[13:55] <JEEB> and start again :P
[13:55] <kamalbanga> yes i got that point now and will take care next time
[13:56] <kamalbanga> ok
[13:56] <JEEB> you might need sudo for it
[13:56] <JEEB> because you started creating new directories and all as such, so you just might not have the rights for it as a normal user :D
[14:00] <kamalbanga> yes sudo rm -r did it
[14:10] <kamalbanga> when i build yasm, it gives error while running "make install", the error being: cannot create regular file '$HOME/bin/yasm': permission denied
[14:10] <kamalbanga> so it seems i need sudo for that
[14:16] <JEEB> kamalbanga, that just means that it got messed up as well
[14:16] <JEEB> remove both the bin and the ffmpeg_build directories
[14:17] <JEEB> and then let the make install process re-create them without sudo
[14:19] <kamalbanga> yes, now it's fine
[14:28] Action: ffmpegNoob learning ffmpeg
[14:40] <kamalbanga> while configuring ffmpeg as here http://pastebin.com/ABBxk3QQ i got error "ERROR: opus not found" although opus is present in $HOME/ffmpeg_build/include/
[14:42] <JEEB> better to pastebin config.log
[14:44] <kamalbanga> http://pastebin.com/3UU5fUtT
[14:48] <JEEB> ok
[14:49] <JEEB> add before your configure command PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig
[14:50] <JEEB> so it becomes PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig ./configure --your-options
[14:50] <kamalbanga> yes i had done that already
[14:50] <kamalbanga> since it was in the instructions
[14:50] <JEEB> then the pkg-config check should go through fine
[14:52] <kamalbanga> pkgconfig folder contains these: fdk-aac.pc opus.pc vpx.pc
[14:52] <JEEB> yup
[14:52] <JEEB> which the pkg-config binary will then check
[14:54] <kamalbanga> any idea what i should do next...
[14:55] <kamalbanga> shall i leave opus and continue with the other options as i may very well never user opus, i primarily need to deal with aac ac3 and mp3
[14:56] <JEEB> what
[14:56] <JEEB> what I said should fix it, unless you weren't showing me the whole config.log
[14:56] <JEEB> and yes, if you don't need opus then don't compile it in
[14:58] <kamalbanga> i thought i would show relevant section of config.log, this contains more: http://pastebin.com/KvfyHzSS
[14:59] <JEEB> and you had the PKG_CONFIG_PATH thing set when configuring?
[15:00] <kamalbanga> yes
[15:01] <kamalbanga> i may need opus sometimes as i hav to deal with internet videos and ogg format may use it beside vorbis
[15:12] <kamalbanga> oh no: i left opus and then configured and now same with x264 "ERROR: libx264 not found" http://pastebin.com/9KPmiizN
[15:12] <JEEB> well that one is a simple one
[15:13] <JEEB> you've forgotten your --extra-cflags="-I${HOME}/ffmpeg_build/include"
[15:13] <JEEB> in the configure :P
[15:13] <JEEB> wait it's there
[15:13] <JEEB> then you just haven't installed the x264 headers
[15:14] <kamalbanga> i did install
[15:15] <kamalbanga> god knows what problem is there...
[15:15] <kamalbanga> i followed the complete instructions\
[15:15] <JEEB> /home/user06/ffmpeg_build/include -- try ls'ing this directory and see if there is a x264.h :P
[15:16] <kamalbanga> yes i did ls it and it wasn't there
[15:16] <kamalbanga> although it should have been there
[15:16] <JEEB> thus you have not compiled/installed x264 properly!
[15:17] <JEEB> And just to note, these things aren't that fragile. You must have just forgotten or mistaken something.
[15:17] <JEEB> so back to compiling x264 you go :)
[15:33] <kamalbanga> JEEB: thanks a lot dude, ffmpeg compiled and now it shows in ~/ffmpeg_build/include/
[15:36] <kamalbanga> but now when i compile my sample av_register_all() code it gives this:undefined reference to `av_register_all' collect2: ld returned 1 exit status
[15:36] <kamalbanga> seems to be some linking error
[15:37] <JEEB> yes, because you also need to -L${HOME}/ffmpeg_build/lib when compiling if you want to link against those libraries
[15:38] <JEEB> and if you have that already, then you lack the "link this!" option for the library that contains that function
[15:38] <JEEB> s/function/export/
[15:40] <kamalbanga> i did this: cc tut.c -I/home/user06/ffmpeg_build/include -L/home/user06/ffmpeg_build/lib/ and same error
[15:40] <JEEB> you are then not actually linking against anything
[15:41] <JEEB> you need to tell it what libraries you want to link against, you know
[15:41] <kamalbanga> like -lavformat and -lavcodec
[15:41] <JEEB> yes
[15:41] <kamalbanga> ok
[15:43] <kamalbanga> i linked it and now i get this royal error: http://pastebin.com/5z2WLUrX
[15:43] <JEEB> -lavutil ?
[15:44] <kamalbanga> i didn't include avutil.h in my source code
[15:45] <JEEB> yes, but those exports are from avutil
[15:45] <kamalbanga> and the error i pasted was only part of the error as it was very big
[15:45] <kamalbanga> ok i will link avutil too
[15:45] <JEEB> yes, but those are all as far as I can see from avutil
[15:45] <JEEB> so link avutil
[15:46] <kamalbanga> same type of error again: http://pastebin.com/xdNcJ5hw
[15:47] <kamalbanga> i linked avutil avcodec avformat and swscale
[15:49] <JEEB> try switching the linked libraries' order because that should either be in util or codec
[15:49] <kamalbanga> any orders you recommend becoz there will be 4! permutations...
[15:52] <kamalbanga> i tried many orders but the same error
[15:56] <kamalbanga> JEEB: no luck here, btw do you think this error http://ffmpeg.gusari.org/viewtopic.php?f=8&t=942 is relevant to me
[16:08] <kamalbanga> i wish somebody helps me.. while compiling a sample code that just has av_register_all() code by command "cc tut.c -I/home/user06/ffmpeg_build/include -L/home/user06/ffmpeg_build/lib/ -lavutil -lavformat -lavcodec -lswscale" i get the error http://pastebin.com/47npnJ1P
[16:12] <kamalbanga> .
[16:12] <kamalbanga> 3
[16:12] <kamalbanga> .
[16:17] <sussman> We conjure the spirits of the computer with our spells.
[16:23] Last message repeated 1 time(s).
[16:28] <Mavrik> g'day
[16:32] <kamalbanga> JEEB: can you suggest anything i can do.. i am very desperate to make it work or in other case give link to any resource or tutorial that explains these building stuff in detail like config or linking fundamentals
[16:42] <kamalbanga> well.. no help.. thanks to JEEB though..
[16:48] <taqattack> hey everyone
[16:48] <taqattack> I'm wondering if ffmpeg 2.0 does colorspace conversion with opencl
[16:55] <Mavrik> taqattack, nop.
[16:55] <taqattack> Mavrik, so what is opencl used for atm?
[16:55] <Mavrik> if you grep the code
[16:56] <Mavrik> you'll see it's used in deshake and denoise filters
[16:56] <Mavrik> + the framework for more was prepared
[16:56] <taqattack> oh ok
[16:57] <taqattack> thanks Mavrik. Are there any plans to implement colorspace conversions for gpu?
[16:57] <Mavrik> no idea
[16:57] <Mavrik> probably if anyone remembers& even though, colorspace conversions are even now accelrated with MMX/SSE ASM
[16:58] <Mavrik> so I'm not sure using OpenCL would provide huge performance gains
[17:00] <taqattack> hmm
[17:20] <DannyZB> "Input #0, mov,mp4,m4a,3gp,3g2,mj2"
[17:20] <DannyZB> how do I extract the codec and not just .. potential filenames ?
[17:21] <JEEB> that's the type
[17:21] <JEEB> not a file name or extension
[17:21] <JEEB> it should after that output the streams in that file
[17:21] <DannyZB> how can it have 5 types ?
[17:21] <JEEB> except
[17:21] <JEEB> DannyZB, because the demuxer supports all of those and they overlap at parts
[17:22] <DannyZB> ohh so it says it's compatible with all those container types .. cool thanks
[17:22] <JEEB> MPEG-4's container was based on MOV, and 3GP's container was based on MPEG-4's container
[17:22] <JEEB> and so forth and so forth
[17:22] <JEEB> the way it presents them is extension-like tho
[17:22] <JEEB> lol
[17:23] <DannyZB> FFMPEG is wierd haha
[17:23] <JEEB> basically it means "I've got 'mov-like' stuff coming in"
[17:23] <DannyZB> btw any of you guys related to the development team?
[17:23] <JEEB> depends on how you mean that, I've done a video encoder once for libavcodec, but that's more or less it
[17:23] <JEEB> but yeah, some active devs are afaik around
[17:24] <JEEB> although development related talk is generally on the -devel channel
[17:25] <JEEB> anyways, if you wanted to know the stream types within the file
[17:25] <DannyZB> do you know when they intend to integrate quicksync?
[17:25] <JEEB> it should output that after that
[17:25] <JEEB> quicksync as in what exactly?
[17:25] <JEEB> it has the ASIC-using decoding part
[17:25] <DannyZB> as in super-fast intel transcoder
[17:25] <DannyZB> it's only that fast when used both for encoding and decoding
[17:26] <DannyZB> just decoding kinda misses the point
[17:26] <JEEB> no-one has worked on that yet, and so far it seems to be more or less on the same level as x264's superfast
[17:26] <JEEB> speed-wise
[17:26] <JEEB> so it's not really anything SuperSpecial in that sense
[17:26] <DannyZB> thats nonsense written by people that tested encoding/decoding separately
[17:26] <DannyZB> I benchmarked myself
[17:26] <DannyZB> and it's considerably faster
[17:27] <DannyZB> + the quality is higher than superfast , it's closer to "faster"
[17:27] <JEEB> how did you test btw?
[17:27] <JEEB> also what kind of CPU did you test it with?
[17:27] <DannyZB> dual core Intel I5 Ivy Bridge over windows .. ffmpeg commandline for software vs. MediaEspresso for ffmpeg
[17:28] <DannyZB> quicksync converted Gladiator Full HD in 12 minutes ...
[17:28] <taqattack> ffmpeg has quicksync?
[17:28] <JEEB> what metric did you use and what was the general testing scenario
[17:28] <DannyZB> Full HD AVI -> HD mp4
[17:28] <JEEB> taqattack, there's a decoder patch incoming from libav afaik
[17:29] <JEEB> DannyZB, no -- I meant the actual testing procedure
[17:29] <JEEB> what metric, what did you test etc.
[17:29] <DannyZB> stopwatch -> convert
[17:29] <JEEB> ugh
[17:29] <DannyZB> took a bunch of HQ movies and converted with FFMPEG superfast
[17:29] <Paranoialmaniac> ...
[17:29] <JEEB> since it doesn't seem to be going through, let me put up an example
[17:29] <JEEB> you have two encoders
[17:29] <DannyZB> you can say I could use more accurate settings .. but the difference was x2.5
[17:29] <JEEB> no
[17:30] <JEEB> I'm just wanting you to note your methods, let me basically write up an example :P
[17:30] <taqattack> Thanks JEEB
[17:31] <DannyZB> ok are you just against my methods or plain saying I'm wrong?
[17:31] <JEEB> no
[17:31] <JEEB> you haven't even said your methods, as I said I will give an example
[17:31] <JEEB> so you can understand what I mean
[17:32] <DannyZB> k
[17:33] <DannyZB> "Video: h264 (High) (avc1 / 0x31637661),"
[17:34] <DannyZB> does ffmpeg have (High) or whatever after the encoder name in all cases?
[17:34] <JEEB> not all
[17:34] <JEEB> it's the profile
[17:34] <JEEB> of the AVC/H.264 stream
[17:34] <DannyZB> how do I reliably extract the decoder name then ?
[17:34] <DannyZB> *encoder
[17:34] <JEEB> uhh
[17:34] <JEEB> you don't know what encoder was used for the file unless the encoder writes it somewhere
[17:35] <JEEB> for x264 you can `strings file.welp | grep "x264"`
[17:35] <JEEB> but even that is not 100% correct because in theory the AVC/H.264 stream could be cut in the middle
[17:35] <DannyZB> one sec .. the encoder doesn't always write it ?
[17:35] <JEEB> write what?
[17:35] <DannyZB> this is messed up haha
[17:35] <DannyZB> I need the codec ugh .. I didn't mean encoder
[17:36] <DannyZB> I need to extract all codecs used
[17:36] <JEEB> it's the thing that comes after Video: - h264 is AVC/H.264, the thing within () is then the profile and the () after that is the ID as ASCII and hex that is noted in the container
[17:37] <JEEB> most probably ffprobe would be simpler for you to parse, it can output json and stuff even :P
[17:37] <DannyZB> cool
[17:38] <DannyZB> why do online sites never know useful stuff like that haha
[17:38] <JEEB> One example is to set both encoders up to eleven, and making sure you're not making any set-up misses regarding the encoder optimizing or not optimizing to your metric, and then encode to a set bit rate (say, with two-pass), and then compare the results with your set metric. Another one is to
[17:38] <JEEB> match the encoders in speed and bit rate
[17:38] <JEEB> and then see with your metric which is better
[17:38] <DannyZB> I used the same bitrate and resolution in both
[17:39] <DannyZB> used the ffmpeg superfast preset (optimized to SSE3 etc')
[17:39] <DannyZB> 756kb/s
[17:39] <DannyZB> Quicksync quality was higher and speed was more than twice as fast
[17:40] <DannyZB> ffmpeg superfast has a tendency to blur action scenes .. which is why I usually stay away from it
[17:41] <DannyZB> preg_match("/Video: (.*?) (/", $content, $matches); - > should do the trick for extracting video name ?
[17:41] <DannyZB> *codec name
[17:41] <JEEB> just use ffprobe :P
[17:41] <JEEB> it's made for stuff like that
[17:42] <JEEB> Also when comparing encoders, you in general want to make sure that the encoders are on the same ground, adding the decoder + encoder combo in is of course an interesting extra. In the best case you should then also test just decoding on the other side. Also you do see how I note that you should in one way or another match something except for the VeryObvious stuff, right?
[17:42] <DannyZB> yea I get what you mean .. but quicksync performance is damn impressive in any case
[17:42] <JEEB> anyways, let's just say that while your results seem interesting, I wouldn't publish them without further proper testing :)
[17:43] <JEEB> I have an ivy bridge here home
[17:43] <JEEB> i5 3570K
[17:43] <DannyZB> using QS for decoding is pointless since you lose the performance gain by pushing data back and forth between the graphics core and the processor
[17:43] <DannyZB> you lose the graphics processor memory bandwidth advantage
[17:43] <JEEB> I wouldn't dismiss it completely, you know. It could still be faster than other alternatives
[17:44] <JEEB> that said, in general when testing encoders
[17:44] <JEEB> you use raw video as input
[17:44] <DannyZB> I have a server which needs to convert around 40 hour videos per hour
[17:44] <DannyZB> that would kill software encoders if you want good quality
[17:45] <DannyZB> what I'm trying to do now is parse video files and just copy video/audio if it is close enough to what I want .. hopefully most people encode with h264
[17:45] <JEEB> well, yeah -- ffprobe for that
[17:46] <DannyZB> yea looking into it .. looks good
[17:46] <DannyZB> you guys should make ffprobe for ffmpeg logs lol
[17:48] <JEEB> anyways, I might one day look into QS encoding again
[17:49] <DannyZB> you can do it right now
[17:49] <DannyZB> intel are about to release an official linux sdk ( with commandline transcoders )
[17:49] <DannyZB> I just don't like using two different tools
[17:50] <JEEB> well, I'm on Windows anyways, and I think the QS avcodec decoder will IIRC be at least at first windows-only
[17:50] <DannyZB> as a decoder handbrake already integrated it in windows
[17:51] <JEEB> too much fluff around, and I don't know the line stuff goes through with handbrake too well :)
[17:52] <DannyZB> i don't get something .. how do you set ffprobe writer ?
[17:52] <DannyZB> ps .. I'm pretty sure ffmpeg -i is just an alias for ffprobe
[17:52] <JEEB> nah
[17:52] <JEEB> they're more different now
[17:52] <JEEB> they're separate apps to begin with tho :)
[17:53] <JEEB> also I'm pretty sure even with the possible transfer latency between the ASIC and the CPU with decoding stuff isn't too bad of a problem with QS -- I've seen numbers >200fps even with that going on
[17:54] <DannyZB> how do I make ffprobe use json ?
[17:54] <JEEB> -print_format json ?
[17:55] <JEEB> http://ffmpeg.org/ffprobe.html
[17:56] <DannyZB> yea the doc is a bit chinese to me haha
[17:56] <DannyZB> thanks
[17:58] <DannyZB> ok maan .. the "json" output just puts braces around the same output lol
[18:00] <JEEB> looks quite more parse'able for me http://stackoverflow.com/a/8191228/1620828
[18:00] <JEEB> haven't used it myself tho :P
[18:00] <DannyZB> wtf lol
[18:00] <DannyZB> how did you do that
[18:01] <DannyZB> okokokok got it ..
[18:03] <Fjorgynn> Öka
[18:03] <Fjorgynn> Sorry wrong channel
[18:36] <DannyZB> whats the difference between using -c:a and -acodec ?
[18:36] <JEEB> latter is an older way, first is the newer way
[18:37] <JEEB> for now at least the old way is still there as well
[18:37] <DannyZB> and what happens if I use -vcodec copy and -x264opts in the same link ? are x264 options just ignored ?
[18:37] <DannyZB> *command
[18:39] <JEEB> either an error or just ignored
[18:39] <JEEB> -x264opts are after all, specific to the x264 encoder
[18:40] <DannyZB> ugh better not do that .. a bad habit
[18:40] <DannyZB> "/usr/bin/ffmpeg -i $source_path -strict experimental -x264opts bitrate=756:vbv-maxrate=756:vbv-bufsize=378 -vcodec $vcodec -c:a libfdk_aac -movflags +faststart -preset faster /var/www/media/video/{$hash}.mp4 -y >/var/www/ffmpeg_logs/{$hash}.log 2>&1 &"
[18:41] <DannyZB> I don't think I actually need -strict experimental .. am I right ?
[18:41] <JEEB> also wtf @ setting bitrate and all in x264opts :D , and yes -- I don't think you're using anything that needs the "experimental" features enabled
[18:42] <JEEB> -b:v , -maxrate and -bufsize
[18:42] <JEEB> ^ same things as those x264opts
[18:42] <DannyZB> for some reason that used to crash the encoder and give me weird errors
[18:42] <DannyZB> I know this way is messed up but it doesn't crash haha
[18:58] <DannyZB> http://pastebin.com/pa7P4bYm
[18:58] <DannyZB> to those of you using php .. enjoy :P
[19:01] <DannyZB> ok to you video enthusiasts out here .. how do you avoid blur in scene changes during conversion when using superfast preset ?
[19:17] <trose> does anyone have experience writing frames to ffmpeg from C?
[19:17] <trose> Here's my piping code
[19:17] <trose> http://pastebin.com/2EV91cPh
[19:17] <trose> I get this error in ffmpeg...
[19:18] <trose> http://pastebin.com/JD7U8G49
[19:19] <trose> pipe:: Input/output error isn't very descriptive...
[19:26] <teratorn> trose: doesn't a PPM have ascii integers, not raw byte values? (unrelated to your pipe error)
[19:28] <teratorn> well I *guess* its unrelated..
[19:28] <trose> teratorn: there are two versions, distinguished by either P6 or P3 on the first line
[19:29] <trose> P6 is the raw byte "standard" form
[19:29] <teratorn> ok :)
[19:29] <trose> maybe ffmpeg expects the ascii form?
[19:29] <teratorn> I wouldn't know
[19:29] <trose> teratorn: haha
[19:30] <trose> I'm pretty noob with C coding so I'm not sure if i'm doing something wrong there or not
[19:32] <trose> this might be worth noting...
[19:32] <trose> if i write the output of osdemo to a file and then pipe the file into ffmpeg using image2, I get a working video
[19:36] <DannyZB> if I want to get the average bitrate of a video .. what do I do?
[19:36] <DannyZB> ffprobe doesn't seem to retrieve the bitrate for AVI/XVID videos
[19:51] <Mavrik> DannyZB, calculate it from filesize.
[19:51] <DannyZB> I found another way
[19:51] <DannyZB> even when ffprobe doesn't output video bitrate
[19:51] <DannyZB> it -always- outputs total bitrate
[19:52] <DannyZB> total - audio = video
[19:52] <Mavrik> hmm, does it always output total bitrate? I don't think so
[19:52] <Mavrik> but if it does for your formats, it's ok as well.
[20:03] <DannyZB> avi/mp4/mkv it does
[20:03] <DannyZB> haven't tested others .. but we'll see
[20:04] <Mavrik> those are fine, streaming formats are the ones where these things usually fail :)
[20:13] <DannyZB> streaming formats?
[20:13] <DannyZB> which ones for example ?
[20:13] <DannyZB> mp4 is streamable
[20:13] <Mavrik> mp4 is about as crappy for streaming as it gets
[20:14] <Mavrik> formats like MPEG2-TS and similar
[20:14] <LithosLaptop> TS is the best
[20:14] <DannyZB> mp4 is what you got with flash
[20:14] <DannyZB> nobody cares whats better when it's either that or oh-so-terrible flv
[20:15] <DannyZB> *flash/html5
[20:16] <DannyZB> i don't want to convert the same video twice
[20:18] <Fjorgynn> :D
[20:18] <DannyZB> lets say I convert a video to the same format .. is direct transcode the only way to downsample ?
[20:18] <Fjorgynn> lol flash
[20:18] <DannyZB> no matter what you say .. flash video quality is great
[20:18] <Mavrik> DannyZB, what do you mean by "downsample"?
[20:19] <DannyZB> turn Full HD to HD
[20:19] <Mavrik> yes, you have to transcode it.
[20:19] <Mavrik> "flash video quality"? what? :D
[20:19] <downwater> hello
[20:20] <Mavrik> hey there.
[20:21] <downwater> is "wmv3 encoding" currently supported by ffmpeg ? i'm asking because a friend seems to have produced a wmv3 video with it (Debian) or it looks like it's not supported
[20:21] <Mavrik> uh
[20:22] <Mavrik> downwater, nope, only WMV8 is supported, not WMV9
[20:22] <Mavrik> D.V.L. wmv3 Windows Media Video 9
[20:22] <Mavrik> only the decoder is present
[20:22] <JEEB> years ago there was talk about a VC-1 encoder patch, but that never really materialized IIRC
[20:23] <JEEB> if you need to encode WMV3/VC-1, I recommend you just use MS's expression encoder 4+
[20:23] <Mavrik> mhm, I think people just stopped caring about the format after H.264 really got adopted
[20:27] <downwater> MPlayer output : selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
[20:27] <downwater> so it's not wmv3 ?
[20:28] <Mavrik> what makes you think that? :)
[20:28] <Mavrik> it's just telling you it has chosen ffmpeg's WMV decoder :)
[20:28] <downwater> aha...
[20:28] <downwater> indeed
[20:28] <downwater> how can i check the format so ?
[20:29] <downwater> wait
[20:29] <Mavrik> ffprobe the file?
[20:29] <file> keep your hands away from me
[20:29] <downwater> thanks Mavrik
[20:29] <downwater> Audio: wmav2
[20:30] <downwater> Video: wmv3
[20:30] <downwater> Oo
[20:31] <LithosLaptop> lol @ probing file
[20:32] <downwater> Mavrik, does Debian patch ffmpeg ?
[20:32] <Mavrik> uh
[20:32] <Mavrik> last I checked, debian shipped libav instead of ffmpeg
[20:32] <Mavrik> symlinked "ffmpeg" to avconv and kept telilng people ffmpeg is deprecated
[20:32] <downwater> raah
[20:33] <Mavrik> downwater, use static builds from ffmpeg download page :)
[20:33] <downwater> the funniest : wmv2 video from ffmpeg are not playable by windows media player
[20:34] <JEEB> :)
[20:34] <downwater> my options : -vcodec wmv2 -acodec wmav2 -s 720x576 -b:v 1600k -r 25
[20:37] <LithosLaptop> eek
[20:40] <downwater> thanks anyway
[20:40] <downwater> it helped me
[20:40] <downwater> bye !
[20:40] <LithosLaptop> downwater: my advice is to not use wmv/wma with ffmpeg
[20:40] <LithosLaptop> use MS's expression encoder
[20:40] <downwater> yes of course
[20:40] <downwater> MS's expression encoder ?
[20:41] <LithosLaptop> the wma audio encoder in ffmpeg is nearly as bad as vo-aac///
[20:41] <JEEB> downwater, the same I mentioned
[20:41] <downwater> JEEB, sorry didn't see it
[20:41] <JEEB> the free version should support avisynth input and wmv3/vc-1 input
[20:41] <JEEB> uhh
[20:41] <JEEB> output
[20:41] <LithosLaptop> http://en.wikipedia.org/wiki/Microsoft_Expression_Encoder
[20:42] <downwater> if it works on wine...
[20:42] <downwater> maybe
[20:42] <JEEB> downwater, http://www.microsoft.com/en-us/download/details.aspx?id=18974
[20:42] <JEEB> you can try
[20:43] <downwater> thanks !
[20:43] <downwater> i'll try
[21:47] <pdbogen> Hi, guys. I'm trying to use ffmpeg to assemble JPEGs into a timelapse video, except that the JPEGs are continuously arriving, so I actually want to append one JPEG to the end of the video. So the simplest case of this is that I have two JPEGs. I want to encode the first one to video (ffmpeg -i img1.jpg -vcodec mpeg4 result.avi), then concatenate the second one (ffmpeg -i result.avi -i img2.jpg -filter_complex concat -vcodec mpeg4 tmp.avi;
[21:47] <pdbogen> Running with -v debug has '*** drop!' at the end, and then drop=1 at the summary, but no indication as to /why/ there was a frame dropped.
[23:02] <brontosaurusrex> pdbogen, isn't concat limited to same codec?
[23:37] <pdbogen> brontosaurusrex: Since filters handle "uncompressed data," I think the codec(s) don't matter?
[00:00] --- Fri Jul 12 2013
1
0
[00:04] <saste> michaelni, what are dump_extra and remove_extra bsfs?
[00:04] <saste> is there some way to remove the global header from a file via a bsf?
[00:07] <michaelni> remove_extra removes the global header from the individual frames if it happens to be there
[00:07] <saste> michaelni, dump_extra, is any different?
[00:08] <saste> also how do we pass the args command by using the commandline?
[00:08] <saste> or was it never supported?
[00:09] <michaelni> dumo_extra adds the extradata in front of frames
[00:10] <saste> uhm ok
[00:10] <durandal_1707> saste: so i should use av_strtok only?
[00:10] <saste> as for what regards the argument, do you confirm it can't be passed to the ff* tools right now?
[00:10] <saste> durandal_1707, you should be able to use av_strtok only
[00:11] <saste> but note that Nicholas added support to lists in opt.h
[00:11] <saste> but i'm not sure they're good enough for you
[00:14] <durandal_1707> i don't see them
[00:16] <michaelni> saste, i dont see how it could be passed either
[00:17] <saste> durandal: av_opt_set_int_list
[00:23] <durandal_1707> i fail to see how i could use this
[00:36] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:3aa2257d240a: doc/RELEASE_NOTES: add a note about AVISynth
[00:36] <cone-395> ffmpeg.git 03Alexis Ballier 07master:c3ca70204bd8: codec_desc: fix typo in rv20 long_name.
[00:39] <johnsmith_> Has anyone here successfully compiled the latest FFMPEG version on centos 5?
[00:40] <durandal_1707> there is problem?
[00:41] <johnsmith_> Been spending at least 10 hours trying to get the latest FFMPEG onto Centos 5
[00:41] <johnsmith_> the yum install ffmpeg ffmpeg-devel has deprecated functions only
[00:42] <Compn> what is the problem
[00:42] <Compn> build error?
[00:42] <Compn> paste it to pastebin
[00:43] <Compn> because a) none of us are using centos5 and b) we cant read minds, especially computer minds
[00:43] <johnsmith_> Hmm..
[00:44] <johnsmith_> One of the symptoms I have is libavcodec.so.52 is actually missing within usr/local/libs
[00:45] <johnsmith_> And another is problems getting references to av_parser from the util.c files
[00:46] <johnsmith_> I think the it's really hard to pinpoint the exact problem of the build
[00:47] <johnsmith_> I am following the centos compilation guide, tweaking the fdk-aac and omitting opus libs
[00:47] <johnsmith_> then running ffmpeg
[00:48] <johnsmith_> ffmpeg successfully does a make install operation
[00:48] <johnsmith_> but gcc/eclipse yell at me with those problems mentioned above
[00:48] <durandal_1707> libavcodec.so.52 is very old, 55 is latest one
[00:50] <johnsmith_> Should it even exist within usr/local/libs in the first place?
[00:52] <durandal_1707> if you have old one installed...
[00:53] <johnsmith__> Here is the eclipse output
[00:53] <johnsmith__> http://pastebin.com/5cVeNCea
[00:53] <durandal_1707> this is not #eclipse
[00:54] <johnsmith__> this is the output trying to compile it
[00:54] <durandal_1707> why you use that to compile?
[00:54] <durandal_1707> that is not supported way to compile ffmpeg
[00:54] <johnsmith__> i can use gcc to do it as well
[00:54] <johnsmith__> give me a sec
[00:55] <johnsmith__> http://pastebin.com/9mCNHP39
[00:55] <johnsmith__> same thing
[01:04] <cone-395> ffmpeg.git 03Marton Balint 07master:3886572a83bf: ffplay: do not update audio clock with old audio pts if current frame is AV_NOPTS_VALUE
[01:04] <cone-395> ffmpeg.git 03Marton Balint 07master:f07cb53ab951: ffplay: assume 0 stream start time if start time is unset in duration check
[01:04] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:49f441ea8991: MAINTAINERS: Update which releases are supported
[01:04] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:9e214900ad31: Merge remote-tracking branch 'cus/stable'
[01:15] <durandal11707> what why 2.0?
[01:15] <durandal11707> what is wrong with 1.4 ?
[01:18] <durandal11707> perhaps because of refcounting?
[01:20] <cone-395> ffmpeg.git 03Eugene Dzhurinsky 07master:09f59d6adfa1: avformat/gif: Do not write GIF89a header if loop is set to -1.
[02:06] <johnsmith> durandal, thanks for giving me the hint that the libavcodec.so.25 was an old file, using old methods required old files
[02:09] <johnsmith> I can successfully compile the ffmpeg decoding encoding example on the website, but I realized that me calling avformat_find_stream_info(..) caused all sorts of reference issues
[02:09] <johnsmith> is it because that method is deprecated?
[02:38] <cone-395> ffmpeg.git 03Luca Barbato 07master:5eaed6d33689: atrac3: fix error handling
[02:38] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:1ebb95d5f193: Update for 2.0
[02:41] <cone-395> ffmpeg.git 03Michael Niedermayer 07fatal: ambiguous argument 'refs/heads/release/2.0': unknown revision or path not in the working tree.
[02:41] <cone-395> Use '--' to separate paths from revisions
[02:41] <cone-395> refs/heads/release/2.0:HEAD: Update for 2.0
[02:49] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:2b8b2ba19fe0: Changelog: replace next by 2.0
[02:49] <cone-395> ffmpeg.git 03Michael Niedermayer 07release/2.0:2b8b2ba19fe0: Changelog: replace next by 2.0
[03:12] <cone-395> ffmpeg.git 03Michael Niedermayer 07fatal: ambiguous argument 'refs/tags/n2.0': unknown revision or path not in the working tree.
[03:12] <cone-395> Use '--' to separate paths from revisions
[03:12] <cone-395> refs/tags/n2.0:HEAD: Changelog: replace next by 2.0
[03:43] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:a37e42b3ee42: Update back for git master
[03:43] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:0574fe76b857: Changelog: add back the <next> placeholder for new changes
[03:43] <cone-395> ffmpeg.git 03Piotr Bandurski 07master:ccf9211e29bd: avformat/utils: avformat_find_stream_info fix a crash in case of oom
[08:42] <mark4o> Shouldn't the Changelog link on the download.html page link to the Changelog ( http://git.videolan.org/?p=ffmpeg.git;a=blob_plain;f=Changelog;h=n2.0 )?
[08:42] <mark4o> or maybe two links, Changelog and git shortlog
[08:43] <mark4o> oops I mean http://git.videolan.org/?p=ffmpeg.git;a=blob_plain;f=Changelog;hb=n2.0
[10:23] <Bor0> what is the best way to get current frame? currentpts*fps works but not too good
[10:31] <av500> ?
[10:50] <xlinkz0> saste: i am ready to receive my robe and wizard hat
[10:58] <xlinkz0> can i disable HAVE_TERMIOS_H ?
[11:00] <saste> xlinkz0, what?
[11:00] <xlinkz0> you said yesterday that i can't possibly make ffmpeg into a library.. unless i was a wizard
[11:01] <xlinkz0> and so it is done :D
[11:01] <saste> xlinkz0, what did you do exactly?
[11:02] <xlinkz0> saste: a library that facilitates this : http://codepad.org/wFaMWG3K
[11:03] <xlinkz0> now i need to test it on ios/android to make sure it works but i don't see why it wouldn't
[11:03] <xlinkz0> since the libav libs work..
[11:03] <saste> xlinkz0, so in android/ios you can't use system()?
[11:03] <xlinkz0> no
[11:04] <xlinkz0> you can not create processes unless you root the phone
[11:04] <saste> uh i see
[11:06] <xlinkz0> only one else that done this charges 400$ per licence lol
[11:06] <xlinkz0> http://ffmpeg4android.netcompss.com/home/purchase
[11:07] <xlinkz0> are they allowed to sell it?
[11:08] <atiti> lol
[11:08] <JEEB> as long as they comply with the software license
[11:08] <atiti> theyr probably selling the app that runs the command
[11:08] <xlinkz0> you can not launch other apps from inside your app
[11:08] <atiti> which is basically a terminal app
[11:09] <xlinkz0> no such thing as far as i understand
[11:10] <atiti> xlinkz0: its not launching another app, its executing the ffmpeg binary
[11:10] <atiti> at least as far as i can see on the screenshot
[11:10] <xlinkz0> which is not possible from normal apps unless the user roots the phone
[11:10] <atiti> http://stackoverflow.com/questions/2843250/how-to-run-terminal-command-in-a…
[11:10] <xlinkz0> either this is false or my phone dev colleagues are n00bs :(
[11:11] <xlinkz0> even if it works for android it won't work on ios
[11:11] <atiti> sure its possible without rooting
[11:11] <JEEB> the app just has to be in a place where it can have the execution bit, IIRC?
[11:11] <atiti> all apps run as a user, so you can easily execute commands under that user
[11:11] <xlinkz0> afaik you need to ship the ffmpeg binary with the app
[11:11] <atiti> rooting is what the name stands for, how to get root on the phone :p
[11:12] <xlinkz0> and when you ship it you must be able to chmod it which you can not..
[11:12] <atiti> yes, you can chmod it if your own user owns it
[11:12] <xlinkz0> so you may be able to run ls which is already chmoded
[11:12] <atiti> which it does, if it comes with your app
[11:13] <xlinkz0> you tested it?
[11:13] <JEEB> anyways, not sure how they do it but it sure looks like launching the command line interface in one way or another. Granted, I don't take out the possibility of herping a derp and actually making the CLI a "lib" :D
[11:13] <atiti> xlinkz0: yes
[11:13] <xlinkz0> well then i'll just go kill the android dev
[11:14] <xlinkz0> hope this doesn't work on ios atleast, the ios dev said he can't call other processes
[11:15] <atiti> im not familiar with the ios buildup so i cant comment on that
[11:17] <xlinkz0> <Kanalia> xlinkz0: you can't run external executables/binaries from your app
[11:17] <xlinkz0> mwhahaha
[11:17] <xlinkz0> my work was not in vain
[11:17] <xlinkz0> (ios)
[12:24] <cone-59> ffmpeg.git 03Luca Barbato 07master:874c8a17ac9b: atrac3: fix error handling
[12:24] <cone-59> ffmpeg.git 03Luca Barbato 07master:22e76ec635ba: atrac3: set the getbits context the right buffer_end
[12:24] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:40e8967ee161: Merge commit '22e76ec635bafdd1d1ec35581a7ac09e69e3c43e'
[12:36] <cone-59> ffmpeg.git 03Luca Barbato 07master:50cf5a7fb788: atrac3: Error on impossible encoding/channel combinations
[12:36] <cone-59> ffmpeg.git 03Luca Barbato 07master:bbf6a4aa20bf: imc: Catch a division by zero
[12:36] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:a3d9a2168355: Merge commit 'bbf6a4aa20bfe3d7869b2218e66063602dfb8aa7'
[13:08] <cone-59> ffmpeg.git 03Luca Barbato 07master:12576afe206d: adpcm: Write the correct number of samples for ima-dk4
[13:08] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:067c9c3b6319: Merge commit '12576afe206d35231ccd61f9033c5fdab6a11e80'
[13:48] <durandal_1707> michaelni: why 2.0 is not put into news?
[13:49] <durandal_1707> and why "Nameless" as name, there are much better names....
[14:09] <cone-59> ffmpeg.git 03Paul B Mahol 07master:410192e36958: add crc24 tables
[14:09] <cone-59> ffmpeg.git 03Paul B Mahol 07master:8491f4050053: tak: use crc table from lavu
[14:09] <cone-59> ffmpeg.git 03Paul B Mahol 07master:4977e467a50a: lavf/takdec: check metadata blocks checksum
[14:28] <kierank> ubitux: your r128 filter was presented today
[14:38] <cone-59> ffmpeg.git 03Paul B Mahol 07master:884c890535c5: lavfi: add aecho filter
[14:44] <durandal_1707> kierank: on cnn?
[14:44] <kierank> at rmll
[14:46] <durandal_1707> video?
[14:47] <Compn> was it for ffmpeg talk or used in a different project ?
[15:06] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:2c0ec526e2c3: fate/crc fix after master:410192e36958: add crc24 tables
[15:14] <cone-59> ffmpeg.git 03Luca Barbato 07master:adadc3f2443d: qdm2: refactor joined stereo support
[15:14] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:564909093a31: Merge commit 'adadc3f2443d25b375e21e801516ccfd78e0b080'
[15:20] <cone-59> ffmpeg.git 03Paul B Mahol 07master:bc95b9428950: lavfi/aconvert: unbreak
[15:37] <durandal_1707> michaelni: earwax filter overreads & overwrites
[15:40] <durandal_1707> asetnsamples=17,earwax
[16:07] <cone-59> ffmpeg.git 03Luca Barbato 07master:4ecdb5ed4459: qdm2: Conceal broken samples
[16:07] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:2e6338b47276: Merge remote-tracking branch 'qatar/master'
[16:30] <ghooman> Hi, i'm trying to make a custom audio filter
[16:33] <ghooman> can i retrieve file duration from filter context&
[16:35] <durandal_1707> ghooman: nope
[16:35] <durandal_1707> why would you need it?
[16:38] <ghooman> to calculate average volume on 1/1800
[16:38] <durandal_1707> 1/1800 ?
[16:38] <ghooman> part of
[16:39] <durandal_1707> you can count number of samples
[16:41] <ghooman> i want to produce 1800(or some other number) of json values for http://www.waveformjs.org/
[16:43] <ghooman> i need that value at start, because i want to calculate size of 1/n segment
[16:45] <durandal_1707> there is no way to get duration from filter context
[16:45] <ghooman> thx
[16:46] <durandal_1707> but as 1800 is fixed, when it does not need to be, which means you can get duration via other means and pass it to filter
[16:47] <cone-59> ffmpeg.git 03Piotr Bandurski 07master:b0509563347b: avformat/utils: avformat_find_stream_info set value for ret in case of oom
[16:48] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:fbe159e85079: avcodec/qdm2: store bits in an integer instead of float variable
[16:48] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:8f09957194b8: avcodec/qdm2: initialize sign_bits
[16:48] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:0a3a0edd52b9: avfilter/af_earwax: Fix out of array accesses on odd packets
[17:03] <mateo`_> hi guys, anyone to review/comment my lavf/movenc patch ?
[17:19] <ubitux> kierank: fun, any feedback?
[17:20] <michaelni> ubitux, do you want to review mateo`_ patch or that webvtt patch ?
[17:20] <ubitux> i'm sorry i can't currently
[17:20] <ubitux> i'll be available full time in august for ffmpeg
[17:20] <michaelni> ok
[17:20] <ubitux> but nothing until then
[17:21] <saste> michaelni, what about the names of psychedelic drugs?
[17:23] <michaelni> saste, i dont think thats a good idea
[17:24] <saste> michaelni, it doesn't have to be a good idea, must be fun
[17:26] <ubitux> http://namingschemes.com/
[17:31] <durandal_1707> michaelni: for next releases, just do nameless II, nameless III and so on
[17:31] <saste> nameless unreleased
[17:32] <durandal_1707> http://namingschemes.com/Vagina_Synonyms
[17:33] <ubitux> that will certainly bring a lot of female contributors
[17:38] <durandal_1707> only this remain: http://namingschemes.com/Pokemon
[17:46] <aballier> michaelni: have you considered dropping 1.1 branch and still keeping 1.0 maintained ? (I dont see any reason to use 1.1 but not 1.2 however 1.0 is nice for downstreams since it doesnt have the planar formats)
[18:08] <michaelni> aballier, would be a possibility if thats what people prefer, but maintaining older releases is more work than more recent ones.
[18:09] <michaelni> If someone wants to take over maintaince of a old release or wants to help that is welcome
[18:14] <cptspiff> regarding topic. will it alternative libav/conflict libav or is the lib name pissing contest settled? former would require abi compat which sounds a bit.. challenging. or do you just want the fluff for third party repos?
[18:15] <Compn> cptspiff : which topic ? which naming conflicts ?
[18:15] <cptspiff> debian packaging
[18:16] <Compn> you mean libav masquerading as 'ffmpeg' package ? its up to debian
[18:16] <Compn> or ffmpeg trademark owner...
[18:17] <j-b> FLV1 and MPEG-4 ASP have something in common?
[18:17] <cptspiff> debian wont accept several packages with conflicting filenames unless they are alternatives
[18:17] <Compn> j-b : i thought h263 , have to check what flv1 codec relies on
[18:18] <Compn> cptspiff : well i think saste was trying to discuss with ubuntu/debian. i dont know outcome of that
[18:18] <cptspiff> k. anyways just waned to offer my fu..
[18:19] <Compn> j-b : yes , flv links against mpegvideo and h263, same as mpeg4 asp ...
[18:19] <michaelni> cptspiff, both variants, as alternative as well as with different soname could be made, its not that one of the 2 needs to be picked ad the other could then not be done
[18:20] <j-b> Compn: thx
[18:20] <michaelni> cptspiff, about debian/ubuntu also talk with beastd
[18:26] <aballier> michaelni: I could try to help but i'm not sure if i'm competent enough; I was mainly asking because maintaining 1.1 seemed not worth the work
[18:28] <aballier> michaelni: on a semi-related topic, are the recent jpeg2000 fixes needed for the old j2k code in 1.0 ?
[18:31] <michaelni> hard to say, some possibly might be needed, but j2kdec was marked as experiemntal so it should not have been used by default but then some applications might have enabled experimental decoders by default on their own
[18:32] <michaelni> about "compent" if you maintain 1.0 or help it will be in better shape than if you dont
[18:33] <j-b> http://xhevc.com/en/downloads/downloadCenter.jsp based on ffmpeg 1.0.6
[18:33] <j-b> and there is source in it
[18:37] <aballier> one possibility could be to disable j2kdec at build time and rely on openjpeg
[18:37] <michaelni> yes
[18:37] <aballier> michaelni: when did you stop backporting fixes to 1.0 ?
[18:37] <aballier> (so that i know where to start from in e.g. 1.2 branch)
[18:44] <michaelni> the last release from 1.0 was 1.0.7 from 2013-05-14, after that i thnk there are just some bugfixes backported by carl
[18:45] <aballier> thanks, will have a look
[19:04] <kierank> ubitux: true peak and hardcoded 48khz would be nice according to the guy
[19:04] <ubitux> hardcoded 48khz ?
[19:05] <ubitux> you mean removing the hardcoded 48khz to support other freq?
[19:05] <kierank> yes
[20:24] <cone-59> ffmpeg.git 03Carl Eugen Hoyos 07master:c9eb5c9751c8: lavf/utils.c: Avoid a null pointer dereference on oom after duration_error allocation.
[20:24] <cone-59> ffmpeg.git 03Carl Eugen Hoyos 07master:1db88c33f2c0: Suggest recompilation with openssl or gnutls if the https protocol is not found.
[20:24] <cone-59> ffmpeg.git 03Michael Niedermayer 07master:07206deed103: Merge remote-tracking branch 'cehoyos/master'
[20:46] <mark4o> durandal_1707: [-]HH[:MM[:SS[.m...]]] ? should be [-][HH:]MM:SS[.m...], yes?
[20:46] <mark4o> looks like other parts of doc have it wrong also
[20:48] <ubitux> i would say [-][[HH:]MM:]SS[.m...]
[20:48] <durandal_1707> patch welcome
[20:48] <mark4o> well it also has [-]S+[.m...]
[20:49] <mark4o> durandal_1707: a patch to your patch?
[20:50] <durandal_1707> i can fix it in my patch
[21:10] <durandal_1707> mark4o: i mean i will fix hhmmss in code i add
[21:11] <cone-59> ffmpeg.git 03Paul B Mahol 07master:45119739019e: wmalosslessdec: do not set avctx->coded_frame
[21:12] <cone-59> ffmpeg.git 03Derek Buitenhuis 07master:2ea60971dca9: fate: Always enable avresample
[21:14] <cone-59> ffmpeg.git 03Paul B Mahol 07master:1e89f74902c6: lavfi/afade: use av_rescale()
[21:24] <Daemon404> michaelni, when you say "more complex things than read a variable" for teh avio callback, what do you mean?
[21:24] <Daemon404> i do something a bit more complex, but it may or may not be classified as "read a variable"
[21:25] <Daemon404> https://github.com/dwbuiten/d2vsource/blob/master/core/decode.cpp#L44 and the following func, for referene
[21:27] <cone-59> ffmpeg.git 03Paul B Mahol 07master:badbd2414d38: lavfi/aevalsrc: use AV_OPT_TYPE_DURATION
[21:27] <cone-59> ffmpeg.git 03Paul B Mahol 07master:db4e191d8897: lavfi/aevalsrc: do not free AVOption variables in uninit()
[21:59] <michaelni> Daemon404, i dont see any usage of the interrupt callback in there
[22:00] <Daemon404> michaelni, uau already replied on the mL
[22:02] <durandal_1707> that's not uau iirc
[22:02] <nevcairiel> no its not
[22:02] <Daemon404> woops
[22:02] <Daemon404> youre right
[22:02] <durandal_1707> s/that's/he's ...
[23:23] <j-b> michaelni: is there a way to disable the VirtualAlloc/Free calls from swscale ? A config option?
[23:26] <cehoyos> j-b: Did you try --disable-mmxext ?
[23:28] <j-b> cehoyos: o_O
[23:29] <cehoyos> Am I wrong?
[23:31] <j-b> cehoyos: probably not
[23:31] <cehoyos> (I just don't understand the emoticon and Google doesn't really help.)
[23:34] <michaelni> j-b, i can add a configure option probably to disable it
[23:35] <j-b> no, I just was wondering about it
[23:35] <j-b> I'll find another way
[23:38] <durandal_1707> is there reasonable way to automaticaly free pads that get dynamically allocated?
[23:40] <durandal_1707> i could add some flag to each pad that get allocated....
[00:00] --- Thu Jul 11 2013
1
0
[00:06] <johnsmith_> Hi, has anyone ever had any success whatsoever installing the latest ffmpeg onto CENTOS 5/RHEL 5?
[00:09] <ulkesh> johnsmith_: sorry, I installed it recently on a centOS 6 VM, but not tried on centOS 5
[00:27] <goldfndr> Zeranoe: the current ffmpeg.exe shared (http://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-20130709-git-00b1401-w…) gives an error on WinXP SP3, "ffmpeg.exe - Unable To Locate Component", "This application has failed to start because libstdc++-6.dll was not found. Re-installing the application may fix this problem."
[00:27] <goldfndr> http://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-1.2-win32-shared.7z (from http://ffmpeg.zeranoe.com/builds/win32/shared/) doesn't have this error.
[00:30] <tm512> Does anyone know how to stream with ffmpeg, without the audio and video being completely out of sync?
[00:30] Action: goldfndr didn't see this documented/mentioned in the IRC logs at http://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/
[00:57] <curfont> When trying to compile something that uses -lswscale with gcc it works, but g++ doesn't find the reference
[00:57] <curfont> Is there some option I am missing?
[01:00] <curfont> g++ test.cpp -L/home/functor/ffmpeg_build/lib -I/home/functor/ffmpeg_build/include -lavformat -lavcodec -lswscale -lavutil -lm -D__STDC_CONSTANT_MACROS
[01:00] <curfont> all I am doing in the test.cpp is calling sws_scale with 0,0,0,0 params, but its not finding it as a ref
[01:00] <curfont> if I use gcc instead of g++ it works
[01:01] <mark4o> curfont: did you put extern "C" { } around the #include?
[01:02] <curfont> oh I see, let me try that
[01:03] <curfont> extern "C" { #include <libswscale/swscale.h> }
[01:03] <curfont> Like this?
[01:03] <curfont> yeah it didn't work :/
[01:03] <mark4o> you need 3 lines
[01:03] <curfont> complains about "#" being stray now
[01:03] <curfont> ah ok
[01:04] <curfont> yes that worked thanks
[01:20] <curfont> whats the new version of av_set_parameters?
[01:24] <durandal11707> there is no new version for that one. iirc you use av_set_opt
[01:27] <curfont> I was reading that they use avformat_write_header instead now
[01:27] <curfont> hmm
[04:30] <tm512> Does anyone here know how to stream from ffmpeg without getting a/v desyncs?
[04:45] <praveenmarkandu> hi, may i know what are the factors involved in the time it takes to transcode?
[04:45] <praveenmarkandu> is it bitrate? codec? resolution?
[09:17] <Crusher4> anyone around that can direct me to the docs on opencl for the 2.0 release? what platforms/configs it's supported in/etc?
[09:34] <Mavrik> Crusher4, opencl support was just released, there isn't even an announcement on ffmpeg page yet.
[09:34] <Mavrik> plus, what do you think OpenCL support does?
[09:35] <Crusher4> saw it on phoronix. the shortlog wasnt specific in how it was integrated, but it was even less specific on which platforms ffmpeg runs on that opencl was supported on
[09:36] <Crusher4> hence i came here, to see if anyone had more info other than "adds opencl support"
[09:36] <Mavrik> yes, the framework has preliminary openCL support
[09:36] <Mavrik> right now it's used by deshake and denoise filters
[09:36] <Mavrik> that's about it.
[09:37] <Crusher4> that's a start. on which platforms?
[09:37] <Mavrik> no idea
[09:37] <Mavrik> ones that support opencl I'd say.
[09:37] <Mavrik> check the configure script.
[09:38] <Crusher4> hm. good idea
[09:41] <Crusher4> ah. requires OpenCL 1.2, so nothing on osx for awhile then
[09:45] <sunjun> hi I have a problem about x86 compile
[09:46] <sunjun> libavcodec/x86/mpegvideo_mmx_template.c:144:9: error: can't find a register in class 'GENERAL_REGS'
[09:46] <Crusher4> Mavrik: thx for the help, laters
[09:46] <sunjun> while reloading 'asm'
[10:15] <Bor0> what is the best way to get current frame? currentpts*fps works but not too good
[10:28] <someone-noone> hello!
[10:28] <someone-noone> ./configure --enable-gpl --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libopus --prefix=/usr
[10:28] <someone-noone> ERROR: opus not found
[10:28] <someone-noone> of course opus exists in /usr/include/opus * /usr/lib
[10:28] <someone-noone> ffmpeg version N-54577-g3c5071d
[10:28] <someone-noone> looks like a bug?
[10:29] <someone-noone> in config.log:
[10:29] <someone-noone> check_pkg_config opus opus_multistream.h opus_multistream_decoder_create
[10:29] <someone-noone> ERROR: opus not found
[10:30] <spaam> you forgot to install libopus-dev ?
[10:30] <spaam> ah nvm
[10:31] <someone-noone> I have /usr/include/opus/opus_multistream.h and there exists declaration of opus_multistream_decoder_create()
[10:31] <someone-noone> ls /usr/lib | grep opus
[10:31] <someone-noone> libopus.0.dylib
[10:31] <someone-noone> libopus.a
[10:31] <someone-noone> libopus.dylib
[10:31] <someone-noone> libopus.la
[10:31] <someone-noone> so, looks like opus is installed correctly
[10:32] <saste> someone-noone, did you check config.log?
[10:32] <someone-noone> yes, look above
[10:32] <saste> someone-noone, how did you install libopus?
[10:32] <saste> do you have the pkg-config files around?
[10:33] <someone-noone> cd opus-1.0.2 ; ./configure prefix=/usr; make install
[10:34] <someone-noone> I didn't do anything related to pkg-config
[10:34] <someone-noone> looks like I should do?
[10:38] <someone-noone> saste, how pkg-config files look like and where they should be located? I've never worked with pkg-config...
[10:38] <saste> someone-noone, which system?
[10:39] <saste> pkg-config libopus --version
[10:39] <someone-noone> mac os x
[10:40] <saste> usually you should find a lib/pkgconfig containing pkg-config metadata files
[10:40] <someone-noone> hm, it printed: 0.26 . Looks like libopus is installed somewhere
[10:40] <saste> which are looked after by pkg-config
[10:41] <saste> someone-noone, weird...
[10:41] <someone-noone> ?
[10:49] <someone-noone> Okay, I've reinstalled libopus
[10:50] <someone-noone> now I do: ls /usr/lib/pkgconfig/ | grep opus
[10:50] <someone-noone> It outputs: opus.pc
[10:50] <someone-noone> however: pkg-config opus --cflags
[10:50] <someone-noone> Package opus was not found in the pkg-config search path.
[10:50] <someone-noone> Perhaps you should add the directory containing `opus.pc'
[10:50] <someone-noone> to the PKG_CONFIG_PATH environment variable
[10:50] <someone-noone> No package 'opus' found
[10:51] <saste> someone-noone, what's the value of PKG_CONFIG_PATH?
[10:52] <someone-noone> Sorry for dummy question, but how can I know? echo $PKG_CONFIG_PATH is correct?
[10:52] <saste> yes
[10:52] <someone-noone> it's empty
[10:52] <someone-noone> 0_0
[10:54] <saste> someone-noone, which should be fine, since it should look in /usr/lib/pkgconfig by default
[10:55] <someone-noone> saste, where is a problem?
[10:56] <mark4o> to show default package config path: pkg-config --variable pc_path pkg-config
[10:56] <mark4o> should be same hierarchy as pkg-config itself
[10:57] <someone-noone> mark4o, looks like you showed me the problem
[10:57] <someone-noone> macports have installed pkg-config and pathes are: /opt/local/lib/pkgconfig:/opt/local/share/pkgconfig
[10:58] <someone-noone> how should I add /usr/lib/pkgconfig path correctly ?
[10:58] <mark4o> set PKG_CONFIG_PATH?
[10:58] <mark4o> why do you want to install in /usr?
[10:59] <someone-noone> I know that it's in general not correct
[10:59] <mark4o> that is for the os, and may be overwritten on os update
[11:05] <someone-noone> mark40, I'm just studying shell and some programs don't see "/usr/local". Now I know how to work with environment variables and I just need to forget about this silly prefix...
[11:10] <someone-noone> finally it works :) thanks guys for help
[11:13] <mark4o> great, did you install it in /usr/local or /opt?
[11:14] <someone-noone> first of course, /opt is for macports
[11:15] <mark4o> ok so I guess you didn't need pkg-config, cool
[11:32] <ningujoan> hi there
[11:33] <ningujoan> does anyone know if there is any version where the ffserver does work? I keep getting error messages same as everybody searching on google but no answers :/
[11:33] <ningujoan> it might be a version issue thoug, anyone has it running?
[11:34] <Mavrik> ffserver works just fine.
[11:37] <Bor0> what is the best way to get current frame? currentpts*fps works but not too good, especially for low fps vids
[11:37] <ningujoan> it gives me a 404 when I try to connect:
[11:37] <ningujoan> [tcp @ 0x25feec0] TCP connection to localhost:8090 failed: Connection refused
[11:37] <ningujoan> [http @ 0x25f1380] HTTP error 404 Not Found
[11:37] <ningujoan> http://localhost:8090/feed1.ffm: Input/output error
[11:37] <ningujoan> and on the server: File '/feed1.ffm' not found
[11:38] <ningujoan> it's so simple, don't know what i'm doing wrong then :/
[11:38] <Mavrik> Bor0, "get" where?
[11:38] <Bor0> I want to retrieve current frame, let's say in ffplay
[11:38] <Mavrik> Bor0, command-line? source? you using libraries? is't not clear.
[11:38] <Bor0> in ffplay.c
[11:39] <Mavrik> ningujoan, no, it's giving you connection refused
[11:39] <Mavrik> ningujoan, which means it cannot connect to anything on port 8090
[11:39] <Bor0> I want to modify ffplay.c so that it'll display currentframe in console.
[11:39] <Mavrik> which means you either have a firewall or ffserver isn't running on that port
[11:39] <Bor0> currentpts * fps is not stable, especially for low-fps vids
[11:39] <Mavrik> Bor0, hmm, counting frames would be better probably
[11:39] <Bor0> when I press 'S' to frame step forward, it gives 1, 2, 3, 4, 4, 4, 8 or something
[11:39] <Bor0> but how can I count them? what if the user seeks somewhere, how will the counting be handled?
[11:40] <Mavrik> good question
[11:40] <Mavrik> Bor0, anyway, currentpts * fps is totally wrong
[11:40] <Mavrik> since PTS doesn't show time in seconds.
[11:40] <Bor0> it works for videos with good fps
[11:41] <Mavrik> current_time * fps would give you a good estimate
[11:41] <Bor0> well this is the exact formula that I use: currentframe = (double)(pts_int * is->slotinfo->fps/(is->video_st->time_base.den));
[11:41] <Mavrik> but your problem is that videos don't have to have fps
[11:41] <ningujoan> well, on the server it does connect: it gives a: File '/feed1.ffm' and then 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 404 149 not found, and there are a number of questions like this one with no answer on google
[11:41] <Mavrik> and that you can't really know how many frames you had in the middle of video
[11:41] <Bor0> let's take out VBR for this case :)
[11:41] <Bor0> and focus on constant rate
[11:41] <d-fens_> hi, i need to generate a h264 from image series in a .net application, is there a recommened wrapper or way to archive this?
[11:42] <JEEB> d-fens_, either use libavcodec and friends as a native C library, or use x264 itself as a native C library?
[11:42] <Bor0> do you have any suggestions Mavrik ? or is this a tough thing to do
[11:43] <Mavrik> Bor0, it's certanly not easy
[11:43] <Mavrik> depends what your desired result is
[11:43] <d-fens_> JEEB: ok but then i have to deal with all pinkvoke and stuff my myself
[11:43] <Mavrik> with constant framerate you need to grab first PTS, calculate difference between current PTS and start PTS and then calculate number of frames with help of timebase
[11:44] <JEEB> d-fens_, let's just say that if someone actually made you a wrapper if that person wasn't really motivated it would be out-of-date by now :)
[11:44] <JEEB> there were lots of changes in APIs during 2011-2012
[11:44] <Mavrik> ningujoan, well, you DID define the feed1.ffm sink in ffserver configuration right_
[11:45] <d-fens_> ok, may be thera is a autogen-wrapper thingy hiden somewhere
[11:45] <JEEB> most probably there isn't, though :)
[11:45] <Bor0> so that's |pts_start - pts|/av_timebase against pts*currentframe/av_timebase ?
[11:46] <d-fens_> i see, it just that i have to deep dive into libavcodec internals
[11:46] <Bor0> pts*fps/av_timebase, sorry
[11:46] <JEEB> well, another alternative is to use libx264 itself without the libavcodec around it
[11:46] <d-fens_> which i would like to avoid
[11:46] <Bor0> is the former an approximation as well? can I be certain that it will give the correct current frame?
[11:46] <JEEB> and I don't think making AVFrames for an encoder nowadays is /that/ hard
[11:47] <d-fens_> jepp adding some mp3 afterwards should be easy too, i just thought about wrapping the exe as a dirty approach
[11:47] <mark4o> Bor0: don't you want to cast to double before the division? otherwise it is integer division and you'll lose precision
[11:48] <JEEB> yes, just wrapping the exe and pushing stuff to stdout and piping to it is one hackjob way of doing it :)
[11:48] <Bor0> I'm doing all the needed casts
[11:48] <Mavrik> Bor0, don't convert to seconds until last second.
[11:48] <Mavrik> otherwise you're just throwing away precision
[11:48] <Bor0> you mean x = pts/av_timebase, then currentframe = fps * x ?
[11:48] <Mavrik> (current_pts - start_pts) / stream_time_base * fps
[11:48] <d-fens_> JEEB: thanks for your input i'll check and read up on my options now
[11:49] <Bor0> what's an easy way to get the start_pts?
[11:49] <mark4o> Bor0: your (double) cast is after the division, should be before like (double)(current_pts - start_pts) * fps / tb
[11:50] <Bor0> what difference would start_pts make in that formula? isn't it a constant?
[11:53] <Mavrik> yes, it is. and?
[11:53] <Bor0> will not it also be an approximation?
[11:56] <Mavrik> pts values are absolute.
[11:59] <mark4o> Bor0: if you don't want to consider start_pts then this should be an improvement over what you have: currentframe = (double)pts_int * is->slotinfo->fps / is->video_st->time_base.den;
[12:01] <Bor0> let me try the one with startpts and currentpts
[13:42] <t4nk577> Hi, i'm trying to compile ffmpeg and x264 and got the following error in make
[13:42] <t4nk577> libx264.o : error LNK2001: unresolved external symbol _x264_bit_depth libavcodec/avcodec-54.dll : fatal error LNK1120: 1 unresolved externals make: *** [libavcodec/avcodec-54.dll] Error 1
[13:42] <t4nk577> can some help me with this?
[13:43] <Mattias> I have 'ffmpeg -i "filename" -y -ss "00:00:10" -s 720x460 -f image2 "thumb_filename"' but I want to have it save the aspect ratio and just go with the width
[13:43] <Mattias> How can I do that?
[13:46] <t4nk577> http://pastebin.com/RSeh09D3
[13:47] <t4nk577> this is my configure command and i have x264 builds in /home/username/x264-builds folder
[13:47] <JEEB> can you pastebin your config.log?
[13:49] <t4nk577> yes
[13:52] <t4nk577> http://pastebin.com/A3HUvW4F
[13:52] <t4nk577> this is configure log
[13:54] <JEEB> ok
[13:54] <JEEB> so configure doesn't even check for it :P
[13:54] <JEEB> oh it does
[13:56] <t4nk577> ok
[14:04] <mark4o> Mattias: ffmpeg -i infile -y -ss 10 -vf scale=720:-1 -vframes 1 thumbfile
[14:05] <Mattias> mark4o, thanks, got it to work now :)
[16:49] <mrAlmond> Hi all
[16:50] <mrAlmond> I neet to write custom metadata tags in an MP4 file muxed by my application in C code with ffmpeg
[16:50] <mrAlmond> which is the best way to do this?
[17:57] <juanmabc> 'tsup
[19:35] <klaxa> https://gist.github.com/klaxa/5968374
[19:36] <klaxa> where do i put -strict -2 so it gets recognized?
[19:36] <durandal_1707> after codec for which it is relevant
[19:36] <klaxa> as you can see i put it there
[19:38] <durandal_1707> than try it with before vp9
[19:39] <klaxa> nope
[19:39] <klaxa> argument gets parsed correctly even wtf
[19:39] <klaxa> >Reading option '-strict' ... matched as AVOption 'strict' with argument '-2'.
[19:40] <klaxa> doesn't look like it's getting applied though
[19:42] <durandal_1707> -strict:v ?
[19:43] <klaxa> doesn't work either
[19:44] <klaxa> https://gist.github.com/klaxa/5968451
[19:44] <klaxa> with -loglevel debug
[19:56] <klaxa> filed bugreport http://www.ffmpeg.org/trac/ffmpeg/ticket/2772
[20:24] <tm512> does anyone at all know how to stream with ffmpeg, without getting desyncs?
[20:33] <killown> ffmpeg now has opencl support? there is a tutorial for the opencl usage?
[21:58] <humble_user> I'm looking for a little guidance regarding ffprobe. I'm wondering if it's feasible to use ffprobe to parse a transport stream of broadcast tv in order to get channel information (i.e. the name of the channel or call sign). Has anyone here ever done anything like that?
[00:00] --- Thu Jul 11 2013
1
0
[01:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.10:f75964ad1fe7: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.11:c9f34c82604a: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.7:82c6b76d701a: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.8:f8c4dbe45ee2: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.9:d0a225d6c1a7: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:05] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:ec268c24a77e: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:05] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:18900381e2d3: mp3dec: detect CBR and use CBR axiom to seek
[01:05] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:0f84286677b5: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:05] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:2e75c455935d: mp3dec: detect CBR and use CBR axiom to seek
[01:05] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:6cb33e076323: mpeg12dec: avoid reinitialization on PS changes when possible.
[01:56] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:d7fbe926d312: ffmpeg: move creation_time for ffserver setting up
[01:56] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:d1e8d4b055bd: ffmpeg: Allow overriding ffservers input
[02:32] <Foofie> just noticed that ffmpeg -h full does an infinite loop... is this a known issue?
[02:33] <durandal_1707> Foofie: doesn't here
[02:33] <durandal_1707> Foofie: what version?
[02:33] <Foofie> git head
[02:33] <Foofie> using latest git head of libvpx
[02:34] <Foofie> it appears to continuously loop on libvpx related options
[02:34] <durandal_1707> i don't have libvpx compiled
[02:35] <durandal_1707> but something changed recently with libvpx stuff
[02:35] <Foofie> it's very strange :/
[02:35] <durandal_1707> vp9 support have been added iirc
[02:36] <Foofie> yes
[02:36] <durandal_1707> Foofie: is this with MSVC?
[02:36] <Foofie> git clone http://git.chromium.org/webm/libvpx.git ... it's a pretty easy ./configure && make && make install
[02:36] <Foofie> nope, on mac osx
[02:41] <Foofie> I have found that some options end up freezing execution (so when running -v debug), it will just wait forever when it's parsing an option, such as -g (and some others). My guess is that it's the same issue... some data pointing back to itself in a circular manner... ? (have not looked at the code though)
[02:42] <Foofie> like I can make it hang forever if I use the -g option, but when I get rid of it, it does go on through.
[02:43] <Foofie> afk for a bit
[03:06] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:a20f049c2ab5: avcodec/libvpxenc: make class names unique
[03:07] <michaelni> Foofie, should be fixed (i hope)
[03:16] <cone-757> ffmpeg.git 03Matthew Heaney 07master:509642b4bd84: WebM muxer writes WebVTT subtitle track
[05:32] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:00b1401df656: avcodec/h264_ps: try to support Ambarella AVC
[09:43] <wm4> wow this webvtt muxing stuff is ugly
[09:47] <superware> michaelni: hi. I wanted to thank you for fixing all issues with that hw stream!
[09:56] <michaelni> wm4, anything that could be done better ? if so please reply in the thread
[09:56] <wm4> it's probably too late and the format requires it
[09:57] <michaelni> also theres a demuxer patch, if you want to review it ...
[09:57] <michaelni> ubitux is busy AFAIK and wont review it quickly i suspect ...
[09:58] <michaelni> BuxiNess, there are some jpeg2000 patches on ffmpeg-devel if you have time to review ...
[10:07] <cone-395> ffmpeg.git 03Martin Storsjö 07master:a87a0acf9b5d: movenc: Make sure the RTP hint tracks have nondecreasing DTS
[10:07] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:848295c2eeac: Merge commit 'a87a0acf9b5d27aad032e61eef4973e62a4a6830'
[10:14] <cone-395> ffmpeg.git 03Martin Storsjö 07master:0677ddebc6e9: movenc: Rename the timestamp parameter to dts in write_hint_packets
[10:14] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:e914a21ada12: Merge remote-tracking branch 'qatar/master'
[10:36] <superware> is there anything I can try to reduce latency other than AVFMT_FLAG_NOBUFFER?
[10:36] <JEEB> superdump, completely depends on what you're trying to do
[10:37] <JEEB> for example the encoder you might be using and its settings are relatively relevant :P
[10:39] <superware> JEEB: you are right. I can't touch the encoder, only the decoder. The stream is h.264/mpeg ts/udp..
[10:40] <b_jonas> yay, the ticket claims you fixed my bug! thanks for all the developers fixing it.
[10:41] <JEEB> so you're just decoding a random stream that you're getting? well, can't help much there except for maybe setting the container/video|audio formats and making sure ffmpeg doesn't try to probe it first?
[10:41] <JEEB> nothing else I can say :)
[10:41] <superware> JEEB: probing time isn't related to later video-latency, right?
[10:42] <BuxiNess> michaelni, yes I 'll get a look
[10:42] <BuxiNess> I think I found the problem of perf according the number of threads.
[10:42] <michaelni> BuxiNess, thanks!
[10:42] <BuxiNess> I'll send a patch
[10:42] <michaelni> ok
[10:44] <JEEB> superdump, if you're just decoding the decoding should be going the usual speed, and it's mostly just latency in starting that decode?
[10:45] <superdump> JEEB: superw<tab>
[10:45] <JEEB> yes, mis-tabbed
[10:45] <nevcairiel> or get a irc client that prefers people that have talked last :p
[10:46] <superdump> although i just ruined such a feature
[10:46] <superdump> su<tab><tab> should work too
[10:46] <superdump> if your irc client cycles nicks
[10:46] <superware> JEEB, I don't really care about probing latency, only video latency
[10:47] <JEEB> yes, I just didn't cycle because I'm tired :P
[10:47] <superware> JEEB, with AVFMT_FLAG_NOBUFFER I think the latency is about 200ms
[10:48] <JEEB> I have no idea :P
[10:56] <wm4> so do you have to call avcodec_decode_audio4() multiple times per packet or not?
[10:56] <wm4> doc/examples/demuxing.c and ffplay.c disagree
[10:57] <wm4> ffmpeg.c seems to do the same as ffplay.c
[10:58] <wm4> basically, the question is whether this is still needed: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffplay.c;hb=HEAD#l2167
[10:59] <wm4> (not counting the need to finish decoding with null packets)
[10:59] <nevcairiel> i believe you have to do that, it returns the number of consumed bytes and you have to handle that
[10:59] <wm4> so doc/examples/demuxing.c is wrong? (or I read it wrong)
[10:59] <nevcairiel> those examples are generally wrong or outdated :p
[11:00] <wm4> ok my guess is nobody really knows
[11:00] <nevcairiel> i'm quite sure i saw codecs where its mandatory
[11:00] <nevcairiel> als i think
[11:01] <nevcairiel> at least when playing a raw .als file where the frames arent pre-sliced
[11:09] <wm4> hm from what I can see ffmpeg seems to support als in mp4 only
[11:09] <nevcairiel> i'm certain i had a .als file once, but what do i know if it was secretly mp4 inside
[11:10] <wm4> any other formats that could be affected?
[11:11] <nevcairiel> realmedia codecs possibly
[11:11] <nevcairiel> cook or atrac
[11:12] <nevcairiel> i could quickly test a bunch of files if i were actually at home, but sadly that is not the case :d
[11:17] <wm4> nevcairiel: tried some random rm samples, no "luck"
[11:18] <wm4> randomly looking at some decoders in libavcodec I see how this could happen, though
[11:29] <wm4> durandal_1707: since you seem to know about audio decoding, any clue whether this is still needed? http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffplay.c;hb=HEAD#l2167
[11:31] <durandal_1707> its for "retardet" codecs/containers
[11:31] <durandal_1707> iirc used by shorten
[11:31] <wm4> any samples?
[11:32] <durandal_1707> and maybe adpcm in wav with block_align
[11:32] <wm4> it's notable that doc/examples/demuxing.c seems to assume that a packet has to be decoded only once
[11:43] <cone-395> ffmpeg.git 03Paul B Mahol 07master:3c5071db88b2: lavfi/psnr: rename 's' parameter to match documentation
[11:52] <durandal_1707> michaelni: there are some bugs reported that you never fixed and now are in libav?
[11:52] <durandal_1707> very "well" played
[11:55] Action: michaelni doesnt understand
[11:55] <durandal_1707> the security ones reported by google
[11:57] <michaelni> we fix(ed) all security bugs
[12:00] <durandal_1707> you must forgot some
[12:00] <durandal_1707> or they are not sending samples too
[12:04] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:0dd99628ea15: ff_lpc_calc_coefs: assert that the type is levinson or cholesky
[12:04] <michaelni> durandal_1707, what you talk about ?
[12:06] <durandal_1707> see http://lists.libav.org/pipermail/libav-devel/2013-July/048477.html
[12:17] <wm4> durandal_1707: btw. if you know some samples that requires decoding a packet multiple times, that would be nice, and might even lead to either the demuxing.c example to be fixed, or maybe simplifying the API itself
[12:18] <durandal_1707> wm4: you couldn't find shorted sample?
[12:19] <durandal_1707> *shorten
[12:19] <wm4> searching for it is kind of hard
[12:19] <durandal_1707> it must be in fate
[12:20] <durandal_1707> lossless-audio/luckynight-partial.shn
[12:20] <durandal_1707> and if samples.ffmpeg.org/lossless something...
[12:22] <wm4> hmmm
[12:23] <wm4> indeed, this sample is affected
[12:23] <wm4> thanks
[13:25] <cone-395> ffmpeg.git 03Carl Eugen Hoyos 07master:9a1ec1f2f223: Force correct extradata for AVID AVCI50 in mov.
[13:25] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:694550f18e02: Merge remote-tracking branch 'cehoyos/master'
[14:10] <durandal_1707> michaelni: apad is not documented at all
[14:57] <xlinkz0> god damn exit functions in ffmpeg tool
[14:58] <xlinkz0> is it written in such a way that if i #define exit(x) it doesn't break?
[14:59] <nevcairiel> read the code and find out? :)
[14:59] <nevcairiel> what you're trying to do is not supported in any way, so don't expect it to be :D
[15:00] <xlinkz0> well i got it compiled into a library
[15:00] <xlinkz0> and it works.. once
[15:00] <xlinkz0> because it then exit()s
[15:01] <xlinkz0> 36 exits in ffmpeg.c
[15:01] <xlinkz0> fml
[15:56] <durandal_1707> michaelni: it looks like apad pads silence forever
[15:57] <michaelni> durandal_1707, its intended to be used with -shortest so a audio stream can be padded to the langth of video
[16:00] <durandal_1707> michaelni: shortest is ffmpeg only thing
[16:15] <michaelni> durandal11707, yes, the filter was writen for the purpose of extending the audio to the same length as video with ffmpeg
[16:16] <durandal11707> it should be extended to be less useless
[16:26] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:7d9cb126893d: avcodec/wmaprodec: Check block_align
[16:26] <cone-395> ffmpeg.git 03Luca Barbato 07master:87fb18c3e4fe: imc: Catch a division by zero
[16:44] <xlinkz0> ffmpeg tool only cleans up after itself if no errors occur?
[16:44] <xlinkz0> or does exit() by any chance trigger a callback?
[16:50] <durandal_1707> michaelni: perhaps it still use stuff when calling .uninit
[16:50] <durandal_1707> if i remove freep from it segv does not happen
[16:50] <durandal_1707> i know uninit works as it does not segv on normal exit
[16:52] <michaelni> xlinkz0, update your tree exit has been mostly replaced by exit_program() and yes ffmpeg used atexit()
[16:52] <xlinkz0> was this in the last week?
[16:54] <durandal_1707> michaelni: so you get imc report or not?
[16:54] <durandal_1707> s/get/got
[16:57] <xlinkz0> michaelni: thank you so much, it is like god looked upon my feeble attempts and granted me with a speckle of light
[16:59] <xlinkz0> so i can just change exit(ret) from exit_program to pthread_exit
[16:59] <xlinkz0> this.. can't be that easy
[17:21] <cone-395> ffmpeg.git 03Paul B Mahol 07master:c5a1b18f183d: lavfi/drawtext: add support for printing frame metadata
[17:23] <durandal_1707> now one can put psnr of videos with drawtext
[19:05] <Compn> we should combine our network code with vlc
[19:05] <Compn> so both projects dont have to reinvent the wheel every stream
[19:05] <Compn> :P
[19:10] <durandal_1707> Compn: everybody reinvents wheel
[19:16] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:d5de1231954e: avfilter/graphparse: Fix build with --enable-incompatible-fork-abi
[19:16] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:f9d7431272f4: avformat/AVFormatContext: Move fields down to match the fork
[19:30] <michaelni> buxiness, do you see a problem with the jpeg2000dec patches ?
[19:32] <durandal_1707> michaelni: what about questions I asked?
[19:33] <michaelni> durandal_1707, about the division by 0 ?
[19:33] <durandal_1707> about security issues that are still not fixed but reported
[19:33] <michaelni> its possible it didnt happen for us because some other check stoped it before
[19:33] <michaelni> iam not aware of any reported but not fixed issues
[19:39] <cone-395> ffmpeg.git 03James Almer 07master:1e5bbbfcf303: lavf/flacdec: Share the function to parse cover art blocks
[19:39] <cone-395> ffmpeg.git 03James Almer 07master:193782216fc8: vorbiscomment: Add support for embedded cover art
[19:49] <cone-395> ffmpeg.git 03Piotr Bandurski 07master:aa74810fc6b9: bitstream: fix a crash in case of oom
[19:54] <durandal_1707> saste: its just little confusing commit message
[19:55] <saste> durandal_1707, i'm basically replacing the original text, and merging two sections in one
[19:55] <saste> i have no problem to change the commit log
[19:56] <saste> but the content as is is greatly confusing, the part about "thou shall publish the code" is a false boast
[19:56] <durandal_1707> if they change something in lib itself, they MUST
[20:02] <saste> durandal_1707, redistribute != punblish
[20:02] <saste> you can modify and redistribute your copy only to the library user
[20:02] <saste> you are not required to *publish* the code
[20:03] <nevcairiel> if you make a build public, you need to make the changes in it public
[20:03] <nevcairiel> what you do on your own PC is only your own business
[20:03] <durandal_1707> no!!!!!
[20:03] <saste> but you can have a single user
[20:04] <durandal_1707> have GPLv3 fixed this?
[20:04] <saste> for example I'm not required to publish all my experimental patches
[20:04] <durandal_1707> saste: you must!
[20:04] <iive> durandal_1707: not in gpl.
[20:04] <saste> durandal_1707, that's absurd
[20:04] <durandal_1707> all patches must be published
[20:05] <saste> durandal_1707, no, that's not what LGPL states
[20:05] <saste> also it is practically absurd, since you don't define what is "to publish"
[20:05] <nevcairiel> you must publish source if you publish a binary
[20:05] <iive> e.g. google doesn't have to publish its own in house code, and they use a lot of linux
[20:05] <nevcairiel> this is basically all
[20:05] <iive> nevcairiel: exactly.
[20:05] <saste> you can encourage third parties who modifes the code to publish code (iff it is worthy to share that)
[20:06] <durandal_1707> ah, so explain it in doc if they make stuff public they must comply and publish code too
[20:06] <saste> comply??
[20:06] <saste> you can't enforce that
[20:06] <nevcairiel> well technically you can
[20:06] <nevcairiel> with lawyers
[20:06] <saste> you even don't want to do that, also what is to publish?
[20:07] <nevcairiel> its probably sufficient to supply the source on request, but IANAL
[20:07] <saste> that's not LGPL, but funky LGPL
[20:08] <saste> nevcairiel, so I add a change to print a count, I'm modifying the source code, so I must publish it?
[20:08] <nevcairiel> it comes down to one major rule, if you distribute a binary, you must also make the source used to build this binary available
[20:08] <saste> that's nonsense
[20:08] <nevcairiel> thats how the (L)GPL works
[20:09] <saste> i can modify the code and distribute it to my (single) customer
[20:09] <saste> i'm required to provide him/her with the modified sourcecode, so he can change it
[20:09] <saste> but i'm not required to publish the code to the known universe
[20:10] <saste> nevcairiel, yes
[20:10] <durandal_1707> saste: i'm going to hunt your patches
[20:12] <nevcairiel> of course you're not required to publish it to the world, but anyone that has access to the binary can also ask for the source, more or less
[20:12] <iive> and then he have the right to publish the source, if he wants.
[20:13] <saste> nevcairiel, iive: yes
[20:13] <michaelni> saste, about "thou shall publish the code", its not about legel req but what is the right thing to do, aka you improve it you should give back so all benefit
[20:13] <saste> if i distribute a binary, i have to provide its source code
[20:13] <saste> it's not like, i do a change, i must publish it => nonsense
[20:14] <saste> michaelni, but don't confuse the license with ethics
[20:14] <iive> I think that MPL is like that (Mozilla)
[20:14] <saste> users are *encouraged* but not *enforced* to publish the modified source code (only if it makes sense)
[20:15] <nevcairiel> you can't really enforce that and still be open-source, its also a bit about freedom of the developers
[20:39] <johnsmith> Hi, I was wondering if anyone here has compiled/installed the latest version of FFMPEG onto CENTOS 5 (Work related reasons)
[21:17] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:325411a687c4: snowenc: check minimum resolution
[22:06] <wm4> how do I build the ffmpeg examples? FAQ says they are installed by default, but it installs the .c files
[22:08] <saste> wm4, less README, make
[22:08] <llogan> saste: ping on the PPC
[22:09] <saste> llogan, ? i know nothing about PPC
[22:10] <llogan> i guess you did time out then. i asked in IRC if you still wanted a PPC. i have an older, but still usable powerbook if you want it (if shipping isn't prohibitive).
[23:16] <wm4> lol
[23:17] <wm4> demuxing.c doesn't handle planar audio formats
[23:17] <durandal_1707> example?
[23:17] <wm4> how do you expect anyone to use this library if even the examples are highly buggy
[23:30] <saste> wm4, demuxing was added before planar was introduced
[23:30] <saste> so it was not even required back then
[23:31] <wm4> does Libav not have examples?
[23:31] <j-b> planar audio transition was the worse change ever done in libavcodec
[23:31] <j-b> in terms of transition, not technical reason
[23:32] <wm4> let's break all applications for fun!
[23:32] <wm4> but the cause of the suck is deeper: decoders output whatever they want by design
[23:32] <saste> wm4, the soluton is to use libswresample
[23:32] <saste> in case of demuxing
[23:32] <wm4> instead of returning the data in a format the user asks for
[23:32] <wm4> i.e. too low level API
[23:32] <saste> yet i feel the libswr API is still too much complex
[23:33] <saste> wm4, i don't know we want that
[23:33] <saste> at the same way decoders don't require the use of libswscale
[23:35] <saste> eh two weeks is not "old" in the standard of ffmpeg
[23:51] <durandal_1707> saste: using , as separator for delays need \\ escaping
[23:51] <durandal_1707> i could use ' ' or '|'
[23:51] <saste> durandal_1707, yes
[23:51] <durandal_1707> so what separator?
[23:52] <saste> | seems fine
[23:52] <saste> not sure for the space, since it could imply other escaping issues
[23:58] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:e9be4675b88a: doc/ffmpeg: document -override_ffserver
[23:58] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:776155ca29e7: mjpeg_decode_scan: reset restart state
[23:58] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:1c032e94d0a5: jpegdec: give handle_rstn() a return code that indicates if restart did happen
[23:58] <cone-395> ffmpeg.git 03Michael Niedermayer 07master:233177a4ec68: jpegdec: clear EOBRUN on restarts
[23:59] <saste> cehoyos: "fixed by you" is pretty useless
[00:00] --- Wed Jul 10 2013
1
0
[00:14] <semme> thanks got it running
[00:24] <semme> hmm strange enough, but i don't see anything weird in the boxdumper output
[00:31] <JEEBsv> even with the timestamp output?
[00:31] <JEEBsv> see the timescale as well as the values
[00:39] <semme> ohh i see it now
[00:40] <semme> DTS = 0, CTS = 42
[00:40] <semme> but i have no idea how this value is so smal
[00:41] <semme> *small
[00:42] <JEEBsv> uhh
[00:42] <JEEBsv> by itself just a small value says nothing
[00:42] <JEEBsv> as I said, look at the timescale as well
[00:47] <semme> Media timescale: 11776
[01:47] <semme> damn finally nailed it
[04:07] <h6w> This might be a slightly OT question, but I have a webcam that I can connect to with v4l2 and supposedly outputs a raw mpeg2 stream. I also have an mpeg2 hardware decoder that does decode correctly as I've tested it with a VOB.
[04:08] <h6w> However, when I try to pipe from one to the other, it tells me it sees the signal, but I just get a black screen.
[04:09] <h6w> I get "Video codec omx-mjpeg width 640 height 480 profile -99 fps 30.000000".
[04:36] <diegoviola> i tried to play a mkv file today in a home theater, and it didn't even read the file, so i converted it to avi, it read the file but told me "audio unsupported", so i converted the AAC audio to mp3, then it played the audio but not the video, so i converted the H.264 video to MPEG4, then it complained that the resolution was too big, then i just gave up
[04:37] <diegoviola> why are these "home theater" manufacturers selling hardware with such limitations is beyond me
[04:37] <diegoviola> maybe it's just some old device
[04:37] <diegoviola> sorry for the off-topic
[04:37] <klaxa> get a pi :X
[04:37] <klaxa> or use an old laptop like i do
[04:38] <klaxa> not too old though
[04:38] <klaxa> either one with hardware accelerated playback or enough CPU power to decode videos in software
[04:39] <diegoviola> i'll try with a pi, thanks :)
[04:42] <klaxa> omxplayer doesn't handle softsubs /very well/ though
[04:42] <klaxa> i think it handles them, but not so very well... something like that
[04:44] <diegoviola> that's fine
[04:44] <diegoviola> does mplayer or vlc runs fine on it?
[04:44] <klaxa> not... really
[04:44] <klaxa> only in software
[04:44] <klaxa> that's why there is omxplayer
[04:45] <diegoviola> oh..
[04:47] <diegoviola> ty
[04:48] <klaxa> well i think it's okay if you only have .srt subs, with .ass with karaoke, dunno
[04:49] <klaxa> hardware decoder decodes up to high profile of h264
[04:49] <klaxa> and if you buy the license MPEG2 too
[05:02] <h6w> Yeah, but apparently the MPEG2 hardware decoding is in omxplayer and not in the libs, so you have to use it to get the hardware decoding.
[05:02] <h6w> And omxplayer is almost completely undocumented.
[05:26] <h6w> Does anyone know of an mpeg2 demo rtsp stream online somewhere?
[05:56] <klaxa> how do i tell autoconf that i want to use a specific shared library for libx264 instead of the default one in /usr/lib ?
[05:56] <klaxa> compiling ffmpeg
[06:03] <relaxed> klaxa: --extra-cflags="-I/path/to/prefix/include" --extra-ldflags="-L/path/to/prefix/lib"
[06:04] <klaxa> and it will prefer those over the ones in /usr/lib?
[06:04] <relaxed> yes
[06:04] <klaxa> awesome, thanks
[06:17] <relaxed> klaxa: it will need to be in ld.so's search path or you can use LD_LIBRARY_PATH=/path/to/lib/dir
[06:18] <klaxa> ah right, thanks would have forgotten about that and wondered why it wouldn't work ;)
[06:21] <elkng> I use "ffmpeg version 1.2" and that command to convert file http://sprunge.us/VUUf and thats the output: http://sprunge.us/HigG, is something wrong with file ? I tryed mencoder, works without errors
[06:22] <klaxa> >VUUf not found
[06:24] <elkng> http://sprunge.us/JKKc that is what ffprobe tells about that video file
[06:24] <elkng> http://sprunge.us/UMBM thats the command I use, working link
[06:24] <elkng> klaxa:
[06:25] <klaxa> you must be doing something wrong... >JKKc not found
[06:26] <elkng> http://sprunge.us/SAaW that is what ffprobe tells about that video file, working link
[06:26] <elkng> klaxa:
[06:27] <klaxa> i... i'm sorry i tried with 2 browsers and wget but sprunge won't let me see that
[06:27] <elkng> http://sprunge.us/SCPQ that should work, contains ffprobe output
[06:27] <elkng> klaxa:
[06:27] <klaxa> hmmm well that looks rather simple
[06:28] <klaxa> oh wait
[06:28] <klaxa> VP6A
[06:28] <elkng> yes, what with that ?
[06:28] <elkng> video codec ?
[06:28] <klaxa> hmm...
[06:28] <klaxa> >Unknown/unsupported AVCodecID V_MS/VFW/FOURCC.
[06:28] <klaxa> can you run ffmpeg -codecs ?
[06:28] <klaxa> although that might be not ffmpeg related but maybe a matroska issue
[06:29] <elkng> klaxa: http://sprunge.us/XcQe output of "ffmpeg -codecs"
[06:30] <klaxa> mencoder worked without problems you say?
[06:32] <elkng> klaxa: yes, I use that command http://sprunge.us/QXEQ for mencoder
[06:32] <klaxa> hmm... sorry, no clue, file a bugreport with a sample file maybe?
[06:33] <elkng> I have mplayer-export-2012-04-22 and "mencoder --version" says: "MEncoder SVN-r34870-snapshot-4.4.4"
[07:43] <t4nk829> hi
[07:44] <t4nk829> Is it necessary to set format for ffmpeg when capture audio from usb sound card?
[07:44] <t4nk829> for example: if my usb sound card support format:S24_3LE, is it necessary to tell ffmpeg the format S24_3LE?
[07:46] <t4nk829> As I know the command :ffmpeg -f alsa -ac 1 -i hw:1 -f video4linux2 -i /dev/video0 /tmp/out.mpg
[07:46] <t4nk829> it does not tell the format of audio from usb sound card
[07:48] <klaxa> it does, it's alsa
[07:49] <t4nk829> ?
[07:49] <t4nk829> how ffmpeg know the format is S24_3LE?
[07:49] <klaxa> alsa is the sound format of the audio stream from hw:1, which presumably is your usb soundcard
[07:49] <t4nk829> yes,
[07:50] <klaxa> magic? i would guess it reads it from the alsa framework at some point
[07:50] <t4nk829> and in advance, how to set format in ffserver.conf?
[07:51] <t4nk829> AudioCodec
[07:51] <t4nk829> It seems AudioCodec can not set pcm_s24_3le
[07:54] <klaxa> i not familiar with ffserver, it is poorly documented (afaik? if someone has good docs, they would be appreciated) and i have barely played around with it
[07:56] <t4nk829> thanks, klaxa
[08:51] <t4nk829> hi
[08:52] <t4nk829> I got error when I try to open audio aound card
[08:52] <t4nk829> the ffmpeg command line:ffmpeg -loglevel debug -f alsa -i hw:0 -ar 48000 -ac 2 -acodec copy -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i /dev/video1 -vcodec copy http://localhost:8090/feed1.ffm
[08:52] <t4nk829> the error is :cannot set sample format 0x10001 3 (Invalid argument) hw:0: Input/output error
[08:52] <t4nk829> does anyone have ida?
[08:53] <t4nk829> Is is necessary to assign format when I start ffmpeg?
[09:49] <t4nk829> hi
[09:49] <t4nk829> does anyone know how to set audio format for ffmpeg in command line?
[09:50] <t4nk829> for example:I would like to set audio format is PCM S24_LE
[09:50] <t4nk829> how to set the format in ffmpeg arguments?
[09:53] <relaxed> t4nk829: -c:a pcm_s24le
[09:54] <relaxed> `ffmpeg -codecs | less`
[09:54] <relaxed> -f s24le (look at -formats too)
[11:13] <Dheeraj_k> is it possible to pass duration to ffmpeg for how long it should record desktop?
[11:17] Last message repeated 1 time(s).
[11:44] <relaxed> Dheeraj_k: ffmpeg -i input -t $time ...
[11:46] <someone-noone> ffmpeg -i test.mp4 -c:v libx264 -c:a copy -g 12 out.mp4
[11:46] <someone-noone> ^ ffmpeg always freezes on '-g' option
[11:46] <someone-noone> what can it be?
[11:46] <someone-noone> if I remove it, reencoding is fine
[11:50] <mark4o> someone-noone: what version?
[11:51] <someone-noone> N-49352-gc46943e
[11:52] <mark4o> is it configured with git version of libvpx?
[11:53] <someone-noone> quite right you're
[11:53] <someone-noone> configuration: --enable-gpl --enable-libx264 --prefix=/usr --enable-libvpx --enable-libvorbis
[11:54] <mark4o> does ffmpeg -h full go into an infinite loop also? michaelni checked in a fix earlier today, try git head
[11:55] <someone-noone> ffmpeg -h works
[11:55] <mark4o> -h full
[11:55] <someone-noone> yes :)
[11:55] <someone-noone> infinite loop
[11:56] <someone-noone> is it fixed in yesterday version?
[11:56] <someone-noone> or it was fixed today?
[11:56] <mark4o> no, fixed 8 hours ago
[11:56] <someone-noone> ok. thanks
[12:16] <curfont> Hi guys, https://ffmpeg.org/trac/ffmpeg/ticket/2761#comment:4 - should I also open this bug for libav..?
[12:17] <durandal_1707> if you want ...
[12:18] <durandal_1707> and care it get fixed soner than later, but no promises...
[12:18] <curfont> I guess people using zoneminder on ubuntu or debian would have the same issue otherwise
[12:19] <durandal_1707> does it happens with libav too?
[12:20] <curfont> yes
[12:20] <curfont> "ffmpeg" in ubuntu is essentially libav now?
[12:21] <JEEB> yes, debian-based distros use libav
[13:38] <leandrosansilva> Hello. Is there in ffmpeg any tools which perform rgb/yuv -> hsl pixel conversion? I looked at ffmpeg source code but I couldn't find anything related.
[13:55] <Mavrik> leandrosansilva, pixel conversion is done by libswscale
[13:55] <Mavrik> check those calls.
[13:57] <leandrosansilva> Mavrik, It seems libswscale doesn't support hsl :-( At least I couldn't find anything in pixfmt.h
[13:58] <Mavrik> yeah, that would probably caused by non-existence of video formats supporting HSL.
[14:02] <leandrosansilva> Ok, thx. I'll need to convert by hand or using openCV... Thx :-)
[14:52] <mavetron> i am having trouble compiling ffmpeg from the compilation guide
[14:53] <mavetron> the configure part of ffmpeg is not wroking
[14:54] <mavetron> solved i just left out libopus
[16:18] <beginner> hey all, I have a question... im streaming, but the resolution may changes, is there a way to "re-crop" somehow, or I must halt and restart the streaming anyway?
[16:26] <beginner> then I ask in another way: can I stream video which automatic adapt the resoultion, even if it might changes?
[16:41] <durandal_1707> michaelni: i get segv if i press q before ffmpeg finish filtering
[16:42] <michaelni> durandal_1707, works fine here (even under valgrind)
[16:43] <michaelni> but the exit/atexit change might be related to such bug
[16:43] <durandal_1707> it happens with filter i work on, but not with apad
[16:50] <michaelni> ahh ok
[18:58] <DualC> Hi, i have a question.. i trie to compile ffmpeg on ubunto 11.04 after this explanation "http://trac.ffmpeg.org/wiki/UbuntuCompilationGuide". I have gone thru all the parts and starting with the configure script in ffmpeg dir, .. and it tells me it cant find OPUS, .. i can se the libopus.a / libopus.la files in ffmpeg_build/lib so what is wrong, ?? any ideas.
[19:01] <curfont> did you put the correct configure?
[19:03] <DualC> In ffmpeg u mean , .. sure i copyed it from the page..
[19:03] <DualC> guide*
[19:05] <curfont> if you are using latest ubuntu DualC, use the package
[19:05] <brontosaurusrex> relaxed, we have a problem.
[19:06] <DualC> i use 11.04
[19:06] <DualC> but libopus compile well ..
[19:07] <curfont> if all else fails install it to the normal place
[19:07] <curfont> instead of the prefix
[19:07] <curfont> :P
[19:09] <DualC> Ah i will trie, .. what... do i need opus anyway ??, . i should install ffmpeg under serviio..
[19:16] <brontosaurusrex> trying to compile ffmpeg with x264, but keep getting "/home/b/Linux.Encoding.install/build.logs/ffmpeg.configure.log"
[19:16] <brontosaurusrex> sorry, keep getting "ERROR: libx264 not found"
[19:17] <brontosaurusrex> there is nothing special in x264 logs
[19:18] <brontosaurusrex> and i've tryed at least 3 different approaches
[19:23] <sasha-> O hai
[19:23] <sasha-> Anyone know how to use ffmpeg to join two files together, transparently (no transcoding)? I tried ffmpeg -i File1.aac -i File2.mp4 copy FinalFile.mkv and it didn't work
[19:24] <brontosaurusrex> sasha-, perhaps read on concat protocol
[19:24] <Fjorgynn> perhaps do -c copy
[19:25] <durandal_1707> sasha-: there is concat demuxer
[19:25] <sasha-> http://pastebin.com/ZSnTRBJw
[19:26] <sasha-> ^ that's the error I get
[19:26] <durandal_1707> well first make sure that first file is not corrupted
[19:27] <sasha-> oops& just found my mistake
[19:28] <curfont> libavcodec/h264qpel.o is taking ages, is it suppose to?
[19:28] <durandal_1707> taking ages what?
[19:28] <sasha-> no, no, it's just that I exported the audio as mp4 and the video in aac
[19:28] <curfont> to link
[19:29] <durandal_1707> what os?
[19:29] <curfont> make was going a long fine and its frozen at that object file
[19:29] <curfont> ubuntu
[19:29] <durandal_1707> what ffmpeg version?
[19:30] <curfont> latest git
[19:32] <durandal_1707> well it builds fine here...
[19:32] <sasha-> Ok, I reextracted the audio and video files& still the same error
[19:32] <curfont> might be a memory thing, looks full and swap is disabled
[19:35] <curfont> there we go, stopped cassandra and its compliing now
[19:35] <curfont> dat memory hog :(
[19:35] <durandal_1707> cassandra?
[19:37] <curfont> its a database thing that uses a lot of memory
[19:38] <durandal_1707> database of what?
[19:41] <zap0> data
[19:42] Action: durandal_1707 *sigh
[19:44] <curfont> durandal_1707: unrelated to ffmpeg, it's where I store CCTV logs and other stuff
[19:50] <saste> ping on my doc/developer patch
[19:50] <durandal_1707> saste: i replied to that
[19:53] <tm512> does anyone know how to fix audio/video desyncs when recording with ffmpeg?
[19:54] <tm512> I'm trying to stream, so I can't fix them after the fact
[19:54] <tm512> -vsync, -async, -af aresample=async=1000, -copyts all do nothing
[20:19] <rager> howdy folkks
[20:19] <rager> is there a practical way to capture stderr off of some C that I'm running through NDK?
[20:21] <tm512> freopen ("stderr.txt", "w", stderr); should workd, but what does that have to do with ffmpeg?
[20:24] <rager> well, ffmpeg seems to be putting out progress data to stderr
[20:24] <rager> or at least, it's making it into the logcat output
[20:25] <johnsmith> Hi, I am having problems installing FFMPEG on CENTOS 5.9, and cannot work on CENTOS 6 for work related reasons, can anyone point me to the direction of how to install FFMPEG? http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide is for CENTOS 6, I am hoping someone has the resource to give me a modified version of this for CENTOS 5.
[20:25] <rager> oh, poop
[20:25] <rager> wrong place
[20:25] <rager> johnsmith: ffmpeg is a nightmare on redhat-alikes
[20:25] <rager> but it should be in the repos for 5.9?
[20:25] <t4nk961> hi, i was trying to compile ffmpeg and x264 on mingw
[20:25] <johnsmith> Where should I look for those repos?
[20:26] <t4nk961> where exactly does ffmpeg look for x264 files
[20:26] <rager> if you set the prefix, while configuring, then do make install
[20:26] <t4nk961> i have my includes and libs in c/mingw/msys/1.0/local/
[20:26] <rager> and then set the prefix on ffmpeg, it should go to the given prefix to try to find dependencies
[20:27] <t4nk961> okay, you mean while configuring x264 i need to set prefix
[20:27] <t4nk961> and same the same prefix in ffmpeg configure right?
[20:28] <rager> yes - that prefix being the toolchain environment you're building into, I'd expect
[20:28] <rager> at least, that's my experience with android
[20:29] <t4nk961> ok
[20:30] <johnsmith> rager: Have you worked with RHEL5 FFMPEG before? Does FFMPEG for CENTOS 5 use the new methods (avcodec_open_input... etc)?
[20:30] <rager> I've installed ffmpeg on amazon linux
[20:30] <rager> both from centos 5.x repos and from source
[20:31] <johnsmith> Does it use the new or deprecated methods?
[20:31] <rager> I have no idea what those words mean in this context.
[20:31] <johnsmith> i want to use the method
[20:31] <rager> I'm missing an antecedent
[20:31] <johnsmith> avcodec_decode_audio4(...) but it doesn't exist in a certain FFMPEG I am using (yum install ffmpeg ffmpeg-devel)
[20:32] <johnsmith> Not sure if this is the most up to date version
[20:32] <johnsmith> for CENTOS 5.9
[20:33] <rager> are you sure you need the most up-to-date stuff, or do you just "need" it because some newer tutorial says something about it?
[20:33] <johnsmith> No, but I cannot find any previous iteration of avcodec_decode_audio4
[20:33] <rager> this is most of what I use to install ffmpeg
[20:33] <rager> http://hastebin.com/lipubecume.hs
[20:33] <rager> it probably wont work as is
[20:33] <rager> but it's a basic start
[20:34] <johnsmith> Seems to be the same as the centos compilation guide, but I'll give your script a run through
[20:34] <rager> it pretty much is the exact same as that guide
[20:34] <rager> and you're going to have to fix some pieces, I know for sure
[20:41] <humbolt> when I am receiving an RTMP stream (or other streaming protocols) via ffmpeg, how can I make it to try to reestablish a connection if it is lost and to survive lost packages?
[21:21] <llogan> johnsmith: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/APIchanges
[21:22] <llogan> have you tried the Centos ffmpeg guide? maybe it will work on 5 just fine.
[21:24] <llogan> rager: your script is not the same as the guide.
[21:37] <tm512> anyone know how to sync audio and video while streaming?
[21:37] <tm512> they seem to be out of sync at a random amount each time
[22:11] <Fjorgynn> :D
[22:13] <johnsmith> Does anyone know how to completely uninstall x264?
[22:26] <llogan> johnsmith: depends on how you installed it.
[22:26] <llogan> did you follow the Centos guide or that script from rager?
[22:26] <rager> I wrote that script
[22:27] <rager> after reading the centos guide
[22:28] <rager> this is my more up-to-date one
[22:28] <rager> http://hastebin.com/giyosuxebo.hs
[22:29] <llogan> yours installs to the system. the guide "installs" to the user's home directory. i'm not sure if johnsmith noted this difference.
[22:30] <llogan> also your old version was missing the --extra-libs="-ldl" which may have thwarted him
[22:31] <rager> johnsmith: new script I found
[22:31] <rager> bleh... just got done building for android
[22:31] <rager> I'd like to figure a way to cut it down to just what I need, but I'm not sure what "just what I need" quite entails
[22:31] <rager> since the app is now 30+mb
[22:32] <llogan> cut what down?
[22:35] <tm512> does anyone know how to stream with ffmpeg, without getting desyncs, or am I completely out of luck?
[22:37] <tm512> I'm using http://hastebin.com/jisidabuba
[23:14] <JodaZ> does anyone know a reasonably current (updated at least once or maybe twice a year xD) debian repo for a totally "unfree" ffmpeg ?
[23:16] <durandal_1707> unfree can not be distributed, as its not legal
[23:17] <durandal_1707> so you ask someone to distribute you undistributabel build on public channel
[23:17] <Mavrik> that would be illegal? :)
[23:17] <Mavrik> use static builds form download page for most current redistributable build
[23:18] <JodaZ> download page ?
[23:35] <beastd> http://ffmpeg.org/download.html
[23:46] <llogan> JodaZ: !dl static
[23:46] <llogan> duh...
[00:00] --- Wed Jul 10 2013
1
0
[00:01] <Daemon404> guess ill tryy ffbisect
[00:01] <Daemon404> inb4 it fails too
[00:53] <cone-757> ffmpeg.git 03Paul B Mahol 07master:19436308b48b: dxa: make code independent of sizeof(AVFrame)
[01:08] <cone-757> ffmpeg.git 03Paul B Mahol 07master:bd03f99d05d0: gif: do not set avctx->coded_frame
[01:08] <cone-757> ffmpeg.git 03Paul B Mahol 07master:ec4e042f33f9: gif: remove unused AVFrame from encoder private context
[01:17] <durandal_1707> michaelni: what release critical bugs remain?
[01:29] <michaelni> durandal_1707, stuff marked as regression (minus unimportant ones)
[01:29] <durandal_1707> all remaining are unimportant IMO
[02:03] <cone-757> ffmpeg.git 03Paul B Mahol 07master:3bec6a44eab4: zmbvenc: do not set avctx->coded_frame
[02:03] <cone-757> ffmpeg.git 03Paul B Mahol 07master:099e57bc38d7: zmbvenc: remove unused AVFrame from encoder private context
[02:58] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:5312c319be98: avformat_find_stream_info: fallback to timestamps in analyzeduration check in more cases
[03:51] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:5d876be87a11: avio: Handle AVERROR_EOF in the same way as the return value 0
[03:51] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:d35b6cd37754: rmdec: Use the AVIOContext given as parameter in rm_read_metadata()
[03:51] <cone-757> ffmpeg.git 03Ronald S. Bultje 07master:6c86a63bad77: yuv4mpeg: Correctly round chroma up for odd luma sizes
[03:51] <cone-757> ffmpeg.git 03Ronald S. Bultje 07master:46d208e1e097: vp8: Wait for prev_frame to parse segment_map before reading it
[03:51] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:38e9585de993: Makefile: Remove stray tabs
[03:51] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:7023715e8880: Merge commit '38e9585de993c32899588ab037180f2c930ce74c'
[04:13] <cone-757> ffmpeg.git 03Martin Storsjö 07master:21732063a346: movenc: K&R formatting cosmetics
[04:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:4cd066b69c08: Merge commit '21732063a346475eb22c332b27e8216b79f9ad4a'
[04:47] <cone-757> ffmpeg.git 03Luca Barbato 07master:636ced8e1dc8: cmdutils: wrap exit explicitly
[04:47] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:f982d006bb9e: Merge commit '636ced8e1dc8248a1353b416240b93d70ad03edb'
[04:59] <cone-757> ffmpeg.git 03Luca Barbato 07master:c4abc9098cac: vqavideo: check the version
[04:59] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:b5a87dc193d6: Merge commit 'c4abc9098cacb227dba39bac6aea16b2bceba0d0'
[05:08] <cone-757> ffmpeg.git 03Luca Barbato 07master:76f5dfbfd902: westwood_vqa: do not free extradata on error in read_header
[05:08] <cone-757> ffmpeg.git 03Luca Barbato 07master:f054e309c588: qdm2: use init_static_data
[05:08] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:d28a8ad8f33d: Merge commit 'f054e309c58894450a5d18cce9799ef58aab9f14'
[05:10] <highgod> Hi, I want to ask a quesion that I found a option in deshow of ffmpeg { "pixel_format", "set video pixel format", OFFSET(pixel_format), AV_OPT_TYPE_PIXEL_FMT, {.i64 = AV_PIX_FMT_NONE}, -1, AV_PIX_FMT_NB-1, DEC },
[05:10] <highgod> how can I input it?
[05:10] <highgod> using command?
[05:10] <highgod> thanks
[05:11] <BBB> highgod: ffmpeg -pixel_format ... -i something [output options] outfile
[05:16] <cone-757> ffmpeg.git 03Luca Barbato 07master:76efedeadb1f: qdm2: formatting cosmetics
[05:16] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:e1f98f22313b: Merge commit '76efedeadb1f6bf79020c44a71dd0cee13d932ad'
[05:27] <cone-757> ffmpeg.git 03Luca Barbato 07master:744a11c99664: qdm2: check and reset dithering index per channel
[05:27] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:44d0e520f85a: Merge remote-tracking branch 'qatar/master'
[07:08] <highgod> thanks
[07:34] <highgod> Hi, I want to ask a question, I use 64bit ffmpeg libs and dlls, it cursh on my code, but I use the 32bit dlls and libs and using the same code ,the code run correct, can anyone give some help? thanks, my code is compiled by vs2010
[10:50] <michaelni> highgod, if something crashes, use gdb or another debugger to find out why/where
[10:58] <highgod> Hi, michaelni, my systems problem, the same code run on other win7 64 is correct
[11:22] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:efce76a80d26: ffmpeg_filter: replace exit() by exit_program()
[11:22] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:eeddeb6579d8: ffmpeg_opt: replace exit() by exit_program()
[11:23] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:5d3c3035b798: cmdutils: replace exit() by exit_program()
[11:35] <xlinkz0> i have an AVCodecContext->extradata_size set to 475691104
[11:36] <xlinkz0> this is on ios, might this be because of the platform or maybe an older bug?
[12:26] <cone-757> ffmpeg.git 03Carl Eugen Hoyos 07master:b86651a208ee: Check the return value of ff_rv34_decode_init() in rv30.c and rv40.c
[13:16] <xlinkz0> how would i go about compiling the ffmpeg tool into a library?
[13:17] <cptspiff> why on earth would you like to compile the tool as a library?
[13:20] <xlinkz0> so i can use it on ios and android
[13:21] <xlinkz0> sadly i can't understand complex makefiles :(
[13:21] <xlinkz0> don't*
[13:21] <cptspiff> well then you know where to start..
[13:23] <cptspiff> it will be a matter of writing a wrapper for main()
[13:23] <cptspiff> plus probably renaming main..
[13:24] <saste> xlinkz0, don't do, unless you're a wizard
[13:24] <saste> use system(..) instead
[13:24] <cptspiff> no such thing on ios/droid.
[13:24] <xlinkz0> indeed, that still relies on processes
[13:25] <xlinkz0> i can't spawn processes
[13:25] <xlinkz0> also wrapping it is only a matter of adding the thread local storage keyword in front of every global
[13:25] <xlinkz0> shouldn't be hard
[13:26] <xlinkz0> and compiling without threading support
[13:26] <xlinkz0> cptspiff: but if i don't know how to compile it into an .so it is useless , any tips on that?
[13:26] <cptspiff> uhm, -shared ?
[13:27] <xlinkz0> what?
[13:27] <cptspiff> http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
[13:27] <xlinkz0> i need the full command ffmpegs makefile uses to compile ffmpeg.c
[13:27] <cptspiff> make V=1
[13:28] <xlinkz0> sweet
[13:28] <xlinkz0> thank you
[14:24] <j-b> Good morning
[14:24] <durandal_1707> good night
[14:33] <durandal_1707> saste: are you porting any of mp filters?
[14:33] <saste> durandal_1707, no
[14:34] <durandal_1707> why?
[14:35] <saste> why should i?
[14:36] <durandal_1707> why should you not?
[14:41] <durandal_1707> ubitux: fieldmatch is missing 440
[16:07] <ubitux> durandal_1707: please hold until august, or feel free to take over the filter until then
[16:08] <durandal_1707> hold for what?
[16:09] <durandal_1707> michaelni: diracdec is still using deprecated stuff
[16:11] <durandal_1707> what's point of flatten attribute? it does not work for clang here and just spam
[16:12] <durandal_1707> we will never get stable api
[16:14] <durandal_1707> ubitux: stop watching anime
[16:14] <ubitux> :(
[16:15] <ubitux> honestly i'm not really available, and starting saturday i'll be even less
[16:15] <ubitux> i come back in august for the vpx project, so back on ffmpeg
[16:15] <ubitux> but until then that's not easy for me
[16:18] <durandal_1707> saste: well then explain it to me why you using old drawutils in rotate filter?
[16:19] <durandal_1707> there are 2 freaking drawutils and they are both suboptimal
[16:26] <saste> durandal_1707, because I ported the code, and I didn't bother to port it to the new drawutils
[16:29] <durandal_1707> saste: your AVERRROR(err); causes segv
[16:30] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:1ba01d3d46e8: swscale: treat gray as a fullrage (0-255) format
[16:30] <saste> that's because you have too many "R"s
[16:32] <durandal_1707> :) no, that's typo above
[16:33] <durandal_1707> why calling AVERROR() twice?
[16:34] <saste> durandal_1707, err = AVERROR(errno);
[16:34] <saste> now you call log, which could change errno
[16:34] <saste> return err;
[16:45] <durandal11707> for metadata i use lavfi.psnr.mse.r/g/b , lavfi.psnr.s.r/g/b , lavfi.psnr.mse & lavfi.psnr.s
[17:03] <cone-757> ffmpeg.git 03Paul B Mahol 07master:6150bec3f873: lavfi: add psnr filter
[17:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:e096283ea55b: mp3dec: detect CBR and use CBR axiom to seek
[18:14] <cone-757> ffmpeg.git 03Alexandre Sicard 07master:70b922f371e2: avformat/mov: read stream bitrates from isml manifest
[18:36] <durandal11707> saste: i move rotate to new drawutils
[18:47] <saste> durandal11707, nice
[18:48] <cone-757> ffmpeg.git 03Paul B Mahol 07master:d2dd1e075cf9: lavfi/pad: use FFSIGN
[18:48] <cone-757> ffmpeg.git 03Paul B Mahol 07master:55c94f48ce5a: lavfi/drawutils: fix planar rgb
[18:48] <cone-757> ffmpeg.git 03Paul B Mahol 07master:19c8f2271423: lavfi/rotate: switch to new drawutils
[19:25] <durandal11707> saste: how should metadata be displayed with drawtext?
[19:25] <durandal11707> some kind of expansion in text?
[19:25] <saste> durandal11707, %{metadata:key}
[19:26] <wm4> durandal11707: add lua scripting and let the scripts decide
[19:28] <durandal11707> easier said than done
[19:29] <wm4> true
[19:29] <wm4> %{metadata:key} is a decent solution too... it's yet another kind of special syntax though
[19:47] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:7dee9c22686f: tests/fate/filter-audio: update asyncts reference
[19:56] <michaelni> did someone test if the msvc10 fate-filter-metadata-ebur128 is related to mmx/emms ?
[20:00] <nevcairiel> its a bug in the compiler
[20:00] <nevcairiel> the loop vectorizer does some wrong things when optimizing double variables in loops when sse2 is enabled
[20:00] <nevcairiel> ...which you cant disable on x64 :)
[20:02] <nevcairiel> MS ack'ed the bug, will be fixed sometime in the future
[20:02] <nevcairiel> possibly VS2013
[20:06] <durandal11707> i can't get expr in drawtext expansion to use?
[20:07] <durandal11707> and there are no such examples in doc
[20:36] <durandal11707> text=%{localtime:%a %b %d %Y}
[20:36] <durandal11707> doesn't work here
[20:41] <mark4o> durandal11707: probably quoting issue
[20:41] <mark4o> works: -vf "drawtext=fontfile=/Library/Fonts/DejaVuSans-Bold.ttf:fontcolor=red:text='%{localtime\:%a %b %d %Y}'"
[20:42] <durandal11707> i use filter_script
[20:42] <mark4o> then you don't need the shell quoting but still probably need backslash
[20:47] <Daemon404> it's cause we use : in our parser
[20:47] <Daemon404> it drives me nuts too (on windows)
[20:47] <Daemon404> paths turn into a shitshoot
[21:00] <wm4> quoting hell
[21:02] <durandal11707> thing is metadata is added to frame in one filter, and in another filter its gone
[21:04] <wm4> eh, AVFrame.metadata exists?
[21:04] <wm4> weird
[21:04] <durandal11707> why would that be weird?
[21:04] <durandal11707> this worked when i did it manually in drawbox
[21:14] <durandal11707> wtf AV_DICT_IGNORE_SUFFIX means?
[21:31] <Daemon404> lets start that bisect again...
[21:31] <Daemon404> maybe this time a transformer wont blow up near my house
[21:44] Action: Daemon404 retries yet again
[21:44] <Daemon404> finally figured out how to ue ffbisect
[21:48] <wm4> huh, so ffbisect is a script created by another script?
[21:48] <nevcairiel> its rather confusing
[21:48] <Daemon404> wm4, it copies itself
[21:49] <Daemon404> so you always have the proper version
[21:49] <Daemon404> because it's also in git
[21:49] <Daemon404> so a previosu commit may not have it
[21:49] <Daemon404> you need to use it untracked
[21:49] <Daemon404> hence the copy.
[21:49] <wm4> that's... interesting
[22:04] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:970c8df73528: mpeg12dec: avoid reinitializtation on PS changes when possible.
[22:15] <cone-757> ffmpeg.git 03Paul B Mahol 07master:a03e79ed5a71: lavfi: fix broken logic in metadata handling
[22:29] <durandal11707> i get this drawtext expansion working from script but from console there is no way
[22:31] <durandal11707> Daemon404: didn't thing asyncts have be done in swr ?
[22:32] <Daemon404> .. i cant parse that sentence
[22:33] <Daemon404> seriously tho, you guys are a bunch of children.
[22:34] <Daemon404> wm4, tl;dr to my email rpely to you ^
[22:34] <durandal11707> Daemon404: what asynts have?
[22:34] <wm4> Daemon404: huh?
[22:35] <Daemon404> wm4, re: why not enable avresample
[22:35] <wm4> ah
[22:35] <durandal11707> wm4 did replied?
[22:35] <Daemon404> durandal11707, see my email
[22:35] <Daemon404> i have explained what asyncts like 6 times
[22:35] <Daemon404> and im fucking tired of it
[22:35] <Daemon404> grep your goddamn logs
[22:35] <Daemon404> ive explaiend it to YOU before
[22:36] <durandal11707> i don't have logs, and you just act as giant douche
[22:36] <Daemon404> because i can only explain somethin so many times
[22:36] <Daemon404> before it gets on my nerves
[22:36] <Daemon404> becaue everyone ha the memory of a goldfish
[22:37] <Daemon404> what's that? i mention avresample?
[22:37] <Daemon404> TIME TO INTERROGATE DEREK AGAIN
[22:37] <Daemon404> every. single. time.
[22:37] <durandal11707> i wanted to port it to swresample...
[22:38] <Daemon404> if you recall, we collectively decided that was a bad idea
[22:38] <Daemon404> and that aresample should improve instead
[22:38] <Daemon404> fwiw, i see FAR more usage of avresample in the wild
[22:38] <Daemon404> i actually know of no project using swresample
[22:38] <Daemon404> even ffmpeg-only ones
[22:39] <durandal11707> and michaelni added something to swresample, i think delay in the beginning of audio...
[22:39] <durandal11707> i see no usage of avresample at all
[22:39] <Daemon404> then you are blind
[22:39] <Daemon404> lav filters, vlc, ffms2, mplayer2, mpv
[22:40] <durandal11707> hilarious
[22:40] <durandal11707> 3 of 5 don't use ffmpeg at all
[22:40] <Daemon404> because clearly we shouldnt count those.
[22:40] <Daemon404> cherry pick your stats etc
[22:41] <wm4> I have ~35 lines of ifdeffery to make it work with both, but that's fugly
[22:41] <durandal11707> since when we pick stuff becaues of "popularity"
[22:41] <Daemon404> i am so tired of this fork sit
[22:41] <Daemon404> shit*
[22:41] <wm4> only now?
[22:41] <Daemon404> wm4, if youre not on one side or the other
[22:42] <Daemon404> the only option is to go insane
[22:42] <Daemon404> and laugh at how childish everyone is
[22:42] <wm4> heh
[22:42] <Daemon404> also
[22:42] <Daemon404> [16:40] <@durandal11707> 3 of 5 don't use ffmpeg at all <-- i think you mean 1 of 5
[22:42] <Daemon404> only vlc is libav only.
[22:43] <Daemon404> at least get your facts straight.
[22:43] <durandal11707> i see no facts
[22:43] <wm4> lav filters is ffmpeg only, and I think mplayer2 is probably broken with recent git versions of libav
[22:43] <Daemon404> ffms, mpv, mplayer2, and lav all can use ffmpeg.
[22:44] <Daemon404> and in fact ffmpeg is the more supported of the two projects
[22:44] <durandal11707> i don't see facts, i see only bad choices
[22:44] <wm4> what does xbmc do?
[22:44] <Daemon404> you fucking people -_-
[22:44] <Daemon404> i am so fucking tired of thsi tribalistic bullshit
[22:44] <wm4> lol
[22:45] <iive> what is asyncts about?
[22:46] Action: beastd could have predicted a quit
[22:46] <durandal11707> stream timestamp syncronization
[22:47] <durandal11707> it inserts silence in gaps iirc
[22:48] <durandal11707> and it looks to me there is nothing similar when avresample is not enabled
[22:49] <durandal11707> which is like bad, as this should not be lib limitation, even if it may appear as such
[22:50] <durandal11707> and i don't see reason to have 2 libraries doing same thing enabled at same time
[23:07] <michaelni> durandal11707, swresample should supports all that silence insert and time sync and stretching samples to compensate timestamp drift and ...
[23:19] <durandal11707> should ... but does not ...
[23:20] <michaelni> that would be a bug
[23:28] <michaelni> also see "ffmpeg -help filter=aresample" for options to tune the async stuff with swresample
[00:00] --- Tue Jul 9 2013
1
0
[00:18] <Hafydd> Where are the -b, -vb, and -ab options of ffmpeg documented?
[00:50] <brontosaurusrex> Hafydd, you mean -b:v and -b:a ?
[00:59] <MachinaeWolf> Hmm tried someone's perfectly working ffmpeg on debian that they compiled and still an error: http://pastebin.com/g8mtuG62
[01:00] <djahandarie> Hmmm, does anyone know what controls this? "Aspect ratio is 1.38:1 - scaling to correct movie aspect."
[01:01] <djahandarie> Because that results in some weird scaling, "VO: [xv] 1920x1080 => 1920x1394 Planar YV12", which I don't want.
[01:01] <brontosaurusrex> djahandarie, aspect ratio flag of the input stream
[01:01] <djahandarie> I crop and scale using -filter:v, does it not automatically correct the aspect ratio?
[01:02] <djahandarie> (Those pastes were from mplayer on the output file.)
[01:05] <djahandarie> Nevermind, error in the commandline, the crop wasn't getting applied properly.
[01:10] <Hafydd> brontosaurusrex: I'm not sure, because I haven't seen the documentation yet.
[01:11] <Hafydd> Let's just say I mean -b (or -b:a and -b:v, if you prefer), for now.
[01:14] <brontosaurusrex> Hafydd, well, scroll around the docs for a while and you should spot it
[01:15] <Hafydd> brontosaurusrex: which docs?
[01:15] <brontosaurusrex> man ffmpeg
[01:17] <Hafydd> I searched for "bitrate" and "bit rate" and "-b" in `man ffmpeg` and `man ffmpeg-filters` and `man ffmpeg-bitstream-filters`, to no avail.
[01:17] <Hafydd> I'd be interested to see if you can find it there, and tell me what phrase to search for.
[01:17] <Hafydd> (Because I also scrolled through all of the options and didn't see it)
[01:22] <Hafydd> Or indeed anybody who knows were it's documented - my question still stands.
[01:22] <brontosaurusrex> hmm, i have the html version of docs
[01:23] <brontosaurusrex> and its on the main page
[01:23] <brontosaurusrex> or the first page
[01:24] <Hafydd> What does it say, brontosaurusrex?
[01:25] <Hafydd> Ah, I found this ticket, actually: http://trac.ffmpeg.org/ticket/613
[01:25] <Hafydd> Maybe it was fixed in a later version than I have.
[01:28] <brontosaurusrex> dunno, they keep changing cli all the time is all I know
[01:28] <Hafydd> So it's in the output of ffmpeg -help, but not the manual page.
[01:29] <Hafydd> How could such a basic option go poorly documented for so long. Maybe I should open another ticket.
[01:33] <Hafydd> brontosaurusrex: what does your HTML documentation say about -b?
[01:34] <brontosaurusrex> Hafydd, i have you a link
[01:34] <brontosaurusrex> *gave
[01:35] <Hafydd> brontosaurusrex: you did no.
[01:35] <Hafydd> *not
[01:37] <Hafydd> Oh, excuse me, my client didn't notify me of the notice.
[01:37] <brontosaurusrex> relaxed, running your Linux.Encoding.install
[01:38] <Hafydd> Where on that page does it describe the -b option, brontosaurusrex?
[01:38] <brontosaurusrex> relaxed, it would be cool to add fdk-aac
[01:38] <brontosaurusrex> Hafydd, no, the -b:v option and -b:a
[01:39] <Hafydd> That's what I mean by "the -b options". :v and :a are additional arguments to an option name,
[01:39] <Hafydd> So, where are they described?
[01:41] <brontosaurusrex> Hafydd, wtf is wrong with you?
[01:41] <brontosaurusrex> i told you 5 times allready
[01:42] <Hafydd> All you've told me are a number of false statements.
[01:42] <brontosaurusrex> Hafydd, ok, just put me on ignore, ok?
[01:42] <Hafydd> I appreciate the effort to help, but I've put more effort into trying to find this than you think.
[01:43] <Hafydd> So if there actually isn't any documentation, it's better to admit that.
[01:43] <brontosaurusrex> Hafydd, iam not a ffmpeg dev, just a user like you
[01:43] <brontosaurusrex> Hafydd, so i have really nothing to "admit"
[01:44] <Hafydd> You can admit that you didn't even look in the documentation before wasting my time directing me to it.
[01:49] <brontosaurusrex> i want my lawyer
[02:25] <brontosaurusrex> trying to compile ffmpeg with x264 and i constantly get : ERROR: libx264 not found
[02:25] <brontosaurusrex> i've tryed all different possible approaches, including relaxed superscript
[02:25] <brontosaurusrex> always the same error
[02:28] <brontosaurusrex> any clues?
[02:28] <drv> check config.log and see why the test fails
[02:32] <brontosaurusrex> ok
[02:34] <brontosaurusrex> same thing at the bottom : ERROR: libx264 not found
[02:34] <brontosaurusrex> i guess for some reason libx264.so is not generated
[04:42] <mapreduce> Hi. I can't seem to build the most recent FFmpeg on msys (Windows) but it builds ok on Linux.
[04:42] <mapreduce> make gives: common.mak:139: *** missing separator. Stop.
[04:43] <mapreduce> line 139 of that file is $(eval $(RULES)), looks reasonable to me but I don't know make very well. Any suggestions?
[04:59] <mapreduce> Nevermind, I think git config core.autocrlf false fixed it.
[07:04] <nownot> trying to convert flac to m4a and I keep getting Input stream #0:0 frame changed from rate:44100 fmt:s16 ch:2 chl:stereo to rate:44100 fmt:s16p ch:2 chl:stereo
[07:04] <nownot> using command for f in *.flac; do avconv -i "$f" -c:a alac "${f%.*}.m4a"; done & ideas?
[07:32] <highgod> Hi, I want to ask a question, I use 64bit ffmpeg libs and dlls, it cursh on my code, but I use the 32bit dlls and libs and using the same code ,the code run correct, can anyone give some help? thanks
[07:35] <robpitt> Hi, how can I use ffmpeg to capture audio from the microphone on android?
[08:50] <igmrlm> g'day
[08:51] <igmrlm> what would be the command line to generate random video noise with ffmpeg, like the snow from a tv set?
[08:51] <igmrlm> apparently one could use the noise filter but i'm unsure the syntax
[08:52] <igmrlm> i found a site that tells how to do this from /dev/urandom but i'm not on a linux machine at the moment
[11:10] <mark4o> igmrlm: ffmpeg -f lavfi -i "nullsrc=s=640x480,geq=random(1)*255:128:128" ...
[11:11] <mark4o> the filters are documented at http://ffmpeg.org/ffmpeg-filters.html
[12:18] <robpitt> On android, how can I use ffmpeg to record the microphone?
[14:31] <boys21> hi, Im trying to enable libx264 with ffmpeg in Mingw environment, but I keep getting error: libx264 not found
[14:32] <boys21> i have x264 lib. include and bin folders in
[14:32] <zap0> is your mingw build system really an ffmpeg problem?
[14:33] <boys21> can someone help me with suggesstions
[14:34] <boys21> no i guess, i compiled ffmpeg with out x264 more than thrice, but I get troubles enabling x264
[14:35] <Mavrik> boys21, check config.log
[14:35] <Mavrik> and see why ffmpeg thinks you have no libx264
[14:37] <boys21> ffconf.wpjIoPmL.o_converted.c c99wrap link -L/usr/local/lib -nologo -out /tmp/ffconf.DdtrQknc.exe /tmp/ffconf.wpjIoPmL.o x264.lib psapi.lib advapi32.lib shell32.lib LINK : warning LNK4044: unrecognized option '/LC:/MinGW/msys/1.0/local/lib'; ignored LINK : fatal error LNK1181: cannot open input file 'x264.lib' ERROR: libx264 not found
[14:37] <boys21> these were my last lines
[14:41] <Mavrik> is x264.lib stored in your MinGW/msys/local/lib?
[14:43] <boys21> yes i have x264.a
[14:44] <boys21> i dont have x264.lib
[14:44] <Mavrik> hmm
[14:44] <Mavrik> .lib is usually extension for MSVC generated static libraries
[14:44] <Mavrik> .a for gcc generated static libraries
[14:45] <boys21> okay
[14:45] <Mavrik> did you compile your x264 with mingw beforehand?
[14:45] <Mavrik> and are you compiling ffmpeg with MSVC or mingw gcc?
[14:45] <boys21> i compiled x264 before hand
[14:45] <boys21> with mingw
[14:45] <boys21> and now im compiling ffmpeg with msvc with x264 option
[14:46] <Mavrik> ah
[14:46] <Mavrik> compile it with gcc.
[14:46] <Mavrik> and it'll look for the .a library
[14:46] <boys21> okay
[14:46] <boys21> how can i port them to msvc later?
[14:49] <Mavrik> no idea
[14:50] <boys21> ok, thanks anyways. I will give it a try in this direction.
[14:50] <Mavrik> boys21, depends on how you want to use them
[14:50] <boys21> it worked disabling the msvc
[14:50] <Mavrik> I had no problems using gcc compiled ffmpeg/x264 .dll from MSVC and python projects
[14:50] <boys21> ok
[14:50] <Mavrik> for static linking you should probably compile everything with MSVC
[14:51] <boys21> previously, i used the msvc tool chain option and used the staticlibs in the additional dependencies to compile ffmpeg projects
[14:52] <boys21> i mean the additional dependencies of project properties in vs 2012
[15:02] <boys21> Thanks for suggestion, i wil try to recompile libx264 using msvc tool chain option
[15:56] <robpitt> How can I record microphone audio in android?
[16:08] <zap0> use android api
[16:20] <robpitt> zap0 I'm not an android coder is there not some way i can do it on the command line with the ffmpeg binary?
[16:21] <zap0> i dont know. i suspect you'd find it in a simple google query; if not, then probably not.
[16:22] <robpitt> I've been googling for hours so maybe it can't be done. I see references to using a pipe but don't know how to make one
[16:23] <zap0> you do know that access to hardware goes via the permissions system
[16:24] <zap0> so unless its an obvious device you can open linux style, you likely need permissions to access the hardware
[16:24] <Mavrik> robpitt, you cannot.
[16:24] <Mavrik> microphone is especially protected on Android
[16:25] <Mavrik> on most devices it's not possible to record conversations even with root access
[16:25] <robpitt> Shame. I've got root and still can't do it
[16:26] <zap0> apps can acquire permissions. so API's can access it.
[16:28] <robpitt> There's a patched ffmpeg that has a device called lsfaudio but I really wanted it to work with common builds of ffmpeg
[16:30] <zap0> it's not a ffmpeg issue. teh platform doesn't allow it
[16:36] <robpitt> ffmpeg could do it though, the patched version proves that
[16:38] <zap0> that doesn't prove `FFMPEG` is doing it... it proves some android specific API stuff has been grafted in.
[16:38] <zap0> you said yourself, you wanted a `native` ffmpeg to work. not some franken-ffmepg
[16:39] <JEEB> robpitt, if you want to see the feature get into ffmpeg, then feel free to grab the patch, see that its license is LGPL and not GPL, and then update it to the current ffmpeg master -> post on the mailing list
[16:40] <JEEB> (and lurking around ffmpeg-devel is a good idea)
[17:04] <robpitt> I don't have a PC so I tried to compile it on my phone but it requires the android ndk. Sigh.
[17:55] <curfont> Hi I am trying to save an RTSP stream with ffmpeg, and it works in VLC but I can't find the arguments to use in actual ffmpeg
[17:56] <curfont> It's an IP CAM streaming h264 over RTSP/554
[17:56] <Fjorgynn> ffmpeg -i ?
[17:56] <curfont> Doesn't work, neither do examples I find online
[17:56] <curfont> It says rtsp://192.168.0.220:554/live/h264/ch0: Invalid data found when processing input
[18:51] <diegoviola> hi
[18:54] <diegoviola> i have a home theater device that is not reading 720p mkv files, but it reads fine xvid videos with lower quality/format/res, is there a way to change the container format from the 720p files to avi, so the home theater would read them?
[18:54] <diegoviola> without reencoding the audio/video in the process
[18:56] <curfont> Ok guys, found the problem, this camera does not accept the "DESCRIBE" in the RTSP protocol that is sent by ffmpeg
[18:58] <curfont> But it is fine with the one sent by LVC
[18:58] <curfont> VLC*
[19:03] <xlinkz0> diegoviola: -c copy out.avi ?
[19:04] <diegoviola> can avi carry H.264 video and AAC audio?
[19:05] <diegoviola> xlinkz0: thanks
[19:05] <xlinkz0> one way of finding out is testing it :)
[19:05] <diegoviola> right, thanks
[19:05] <diegoviola> i'll give it a try
[19:24] <curfont> Ok, so this specific camera needs a User-Agent in the DESCRIBE, is there any way to get ffmpeg to add a User-Agent to the RTSP packets?
[19:58] <curfont> fyi https://ffmpeg.org/trac/ffmpeg/ticket/2761
[20:27] <diegoviola> crap
[20:27] <diegoviola> this home theater won't accept H.264 also
[20:27] <diegoviola> nor AAC
[20:27] <diegoviola> not even mkv
[20:27] <diegoviola> it seems to only accept avi/xvid/mp3
[20:28] <diegoviola> 2-pass encoding only affects file size or also quality?
[20:28] <diegoviola> when it comes to xvid
[20:28] <Fjorgynn> :(
[20:29] <Plorkyeran> xvid doesn't have a good 1-pass mode, if that's what you're asking
[20:29] <Fjorgynn> 2 pass affects the bitrate
[20:30] <diegoviola> Plorkyeran: xvid is 2-pass encoding always?
[20:31] <Plorkyeran> you can do 1-pass encodes, but it'll be lower quality at the same filesize as a 2-pass encode
[20:31] <diegoviola> ok
[20:32] <diegoviola> ty
[20:33] <LithosLaptop> diegoviola: http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20encode%20Xvid%20/%20DivX%20vi…
[20:34] <diegoviola> is it best to use the xvid encoder or the native mpeg4 ffmpeg encoder?
[20:35] <diegoviola> i'll try the ffmpeg encoder first
[20:37] <Fjorgynn> :)
[20:38] <diegoviola> ty folks
[20:58] <MrE> Hey ive used this guide http://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video for burning picture based dvb subtitles onto the video, it works quite good, but when I use a 720p hd source as input without rezise or anything else the subtitles is small and placed in the middle of the picture, using 1080p hd as source and resizing to 720p its even worse. Here is some samples :
[20:58] <MrE> http://10only.explode.dk/screenshot003.png
[20:58] <MrE> http://10only.explode.dk/screenshot004.png
[20:59] <diegoviola> wth?
[20:59] <diegoviola> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[20:59] <diegoviola> mpeg4/xvid requires a specific width/height?
[20:59] <diegoviola> could i preserve the same 720p quality of h264?
[20:59] <JEEBsv> see the lines before that
[20:59] <MrE> Tried serveral options with overlay=main_w and all that, nothing seems to work, any help would be appreciated :)
[20:59] <JEEBsv> that should contain the actual error
[21:00] <JEEBsv> the "maybe incorrect parameters" thing just means that you will probably want to look at the previous lines for an error
[21:10] <diegoviola> http://pastie.org/8122051
[21:11] <diegoviola> bitrate too low i guess?
[21:11] <diegoviola> well it seems like it
[21:11] <diegoviola> tried 800k and it works now
[21:12] <diegoviola> but my first pass was with 555k
[21:13] <diegoviola> i'll try again with 1k both passes
[21:55] <someone-noone> Hello!
[21:55] <someone-noone> ./configure --enable-gpl --enable-libx264 --prefix=/usr --enable-libopus --enable-libvpx
[21:56] <someone-noone> ERROR: opus not found
[21:56] <someone-noone> opus headers are in /usr/include/opus and /usr/include
[21:56] <someone-noone> opus libs are in /usr/lib/
[21:56] <someone-noone> in config.log last 2 lines are:
[21:56] <someone-noone> check_pkg_config opus opus_multistream.h opus_multistream_decoder_create
[21:56] <someone-noone> ERROR: opus not found
[21:57] <someone-noone> What is going on and how to fix it?
[21:57] <someone-noone> ffmpeg version is latest from git
[23:29] <semme> guys i've got a really strange problem: im remuxing an h264 f4v to mp4 (copying the streams)
[23:29] <semme> and the output is ok (picture, sound), but the output's fps are 320fps
[23:30] <semme> im doing r_frame_rate = av_d2q(_fps, INT_MAX);
[23:31] <JEEBsv> you should be using PTS with such containers, really
[23:31] <semme> i am
[23:31] <semme> im copying the pts/dts values from the FLV, but thats not working either
[23:32] <semme> is there a diff between MP4/FLV pts/dts?
[23:33] <JEEBsv> there's o9k things you could be doing wrong there, and I have no idea what you might be doing wrong :P use L-SMASH's boxdumper or something to look at the CTS (almost PTS in "MP4" lingo, but not exactly) values of your samples
[23:33] <JEEBsv> so you can see if you have the correct X/Y rate, as in if your PTS are correct on the timescale
[23:34] <semme> ok thanks, im going to double check the pts/dts values
[23:35] <JEEBsv> and as I said, you can use L-SMASH's boxdumper tool to dump a list of CTS values for the samples
[23:35] <JEEBsv> of the output mov-like ("mp4" etc.)
[23:39] <semme> might be a dumb question, but is l-smash tested on osx?
[23:43] <semme> hmm guess not
[23:44] <JEEBsv> it is
[23:44] <JEEBsv> compiling it should be rather straightforward
[23:45] <JEEBsv> it doesn't really require anything
[23:45] <JEEBsv> ./configure with possibly maybe --cc=clang or something if you want to use clang
[23:45] <JEEBsv> and then make
[23:46] <mark4o> works for me on os x
[23:47] <JEEBsv> yes, there have been people using OS X related to the L-SMASH development, and in general it's just so simple it'd be surprising if it'd broke
[00:00] --- Tue Jul 9 2013
1
0
[00:00] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:9a6e814be7c0: oggparseskeleton: avoid header parsing failure
[01:54] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:abce6dfd9ece: avcodec/x86/vp3dsp_init: move mmx functions under HAVE_MMX_INLINE
[01:54] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:707b2135fda3: libavcodec/x86/mpegvideo: Move mmx functions under HAVE_MMX_INLINE
[01:54] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:104dfaadaa0b: dct_unquantize_h263_intra_c: fix assert condition
[02:03] <llogan> what's the status/plan of ffmpeg-devel(a)mplayerhq.hu? i noticed carl still sends to it, so it still works.
[02:06] <Compn> is it the original mail addy ?
[02:06] <Compn> i dont remember ...
[02:06] <llogan> i believe so
[02:06] <Compn> well then we leave it working in case someone wants to respond to a super old mail :P
[02:07] Action: Compn has no idea really
[02:07] <Compn> is there any reason to get rid of it ?
[02:08] <llogan> i can't think of any good enough reasons.
[02:08] Action: llogan is also ignorant
[04:17] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:dc2a13aa802f: avformat/mov: Fix duration of fragmented mov
[10:59] <cone-757> ffmpeg.git 03Luca Barbato 07master:8f689770548c: kmvc: use fixed sized arrays in the context
[10:59] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:1aeddc3cbfe7: Merge commit '8f689770548c86151071ef976cf9b6998ba21c2a'
[11:20] <cone-757> ffmpeg.git 03Luca Barbato 07master:4e7f0b082d8c: kmvc: Clip pixel position to valid range
[11:20] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:2adf8a9c09c9: Merge commit '4e7f0b082d8c4b360312216b9241bec65ff63b35'
[11:35] <cone-757> ffmpeg.git 03Luca Barbato 07master:73142e753381: fifo: K&R formatting cosmetics
[11:35] <cone-757> ffmpeg.git 03Diego Biurrun 07master:6516632967da: tests: Only run noproxy test if networking is enabled
[11:35] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:7bd417c22a90: Merge commit '6516632967da5e6bd7d6136e8678f826669ed26e'
[11:42] <cone-757> ffmpeg.git 03Diego Biurrun 07master:cd7b6deeaaf1: tools: Wording and formatting cosmetics
[11:42] <cone-757> ffmpeg.git 03Luca Barbato 07master:a4baf96abd64: avprobe: rename the prettyprint structures
[11:42] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:b7ce51000327: Merge commit 'a4baf96abd64cda68e3e4692b182bdf60745a14d'
[11:53] <cone-757> ffmpeg.git 03Luca Barbato 07master:f5e646a00ac2: wtv: Mark attachment with a negative stream id
[11:53] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:b9d55a07f3cd: Merge remote-tracking branch 'qatar/master'
[12:01] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:a71832f826bb: avformat/Makefile: remove stray tab
[12:27] <superware> michaelni: hi
[12:27] <michaelni> superware, hi
[12:30] <superware> Kyle (zeranoe) is asking "Can you explain to me what aviocat does?"
[12:54] <superware> michaelni: I know you're busy, but let me ask when will you have a few minutes to receive the udp stream itself?
[12:55] <michaelni> superware, sure but whats the point if i dont have hours time to debug it ?
[12:57] <michaelni> aviocat: "a tool that uses avio to read and write, doing a plain copy of data" (from log)
[12:57] <superware> yeah, I just told him
[13:00] <superware> Since the TS itself is playing normally, and since the stream source is sending quite large datagrams, the bug is in the way ffmpeg is handling incoming data/buffer. I don't think hours will be required, I just think it worth a shoot if you might be able to spot the problem in a few minutes.
[13:20] <superware> michaelni: what are you suggesting?
[13:21] <superware> by the way, I really appreciate your help so far.
[13:22] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:4cc32e5cad98: avformat/mp3dec: read xing toc independant of usetoc, only skip filling index if requested
[13:22] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:19d416333114: avformat/mp3dec: read TOC even if not all needed information is available
[13:24] <michaelni> superware, like i said i dont really have time but if you want to send that udp stream i dont mind
[13:25] <superware> great, can I please /msg you?
[13:25] <michaelni> sure
[16:25] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:c7cfd4cce98a: avformat_find_stream_info: use fps_dts as last resort to determine duration
[16:25] <michaelni> superware, should be fixed
[16:35] <superware> michaelni: you found it?!!
[16:45] <michaelni> superware, yes
[16:45] <superware> thanks, well done! where's the problem in code?
[16:51] <superware> do you still need the stream? :)
[16:55] <michaelni> superware, no you can stop the stream
[16:56] <superware> ok. if you'll require it further to test the patch, please tell me. can you direct me to the problematic code
[16:56] <superware> ?
[17:05] <michaelni> superware, see last commit
[17:24] <superware> ok, thanks
[17:29] <durandal_1707> what? ffmpeg doesn't suppport 16bit PCM DVD audio?
[18:59] <cone-757> ffmpeg.git 03Michael Niedermayer 07master:be25614177ef: mmsh: reimplement seeking
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.10:8514e3e08e23: rmdec: Pass AVIOContext to rm_read_metadata()
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.10:c25c89a53095: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.10:e445dc9237ae: avformat/mov: Fix duration of fragmented mov
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.11:139005452d0f: rmdec: Pass AVIOContext to rm_read_metadata()
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.11:cbbfdcf9ee1c: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.11:ec882942ce45: avformat/mov: Fix duration of fragmented mov
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.7:dc61d4484269: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.8:c997dcd38be7: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.9:0ca658a71659: rmdec: Pass AVIOContext to rm_read_metadata()
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.9:d6641c0bab21: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:5fa940d9c71e: rmdec: Pass AVIOContext to rm_read_metadata()
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:ee829bacdeb5: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:8c5c4adebbf6: libavcodec/x86/mpegvideo: Move mmx functions under HAVE_MMX_INLINE
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:e68b62a014b6: avformat/mov: Fix duration of fragmented mov
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:93fc80f8bfb3: avcodec/x86/dsputil_init: only use xvid idct for lowres=0
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:af95e174c5d9: rmdec: Pass AVIOContext to rm_read_metadata()
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:b186a5d08cde: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:13] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:25ed0f05fdc3: libavcodec/x86/mpegvideo: Move mmx functions under HAVE_MMX_INLINE
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:ba8d68462228: avformat/mov: Fix duration of fragmented mov
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:99036565ca8b: avcodec/x86/dsputil_init: only use xvid idct for lowres=0
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:b88bea1d6c8a: rmdec: Pass AVIOContext to rm_read_metadata()
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:cb340ecd7d96: mpegts: only reopen pmt_cb filter if its different from the previous.
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:5effd65312dd: avcodec/x86/vp3dsp_init: move mmx functions under HAVE_MMX_INLINE
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:5ce57e0248ec: libavcodec/x86/mpegvideo: Move mmx functions under HAVE_MMX_INLINE
[19:14] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:627772d9886f: avformat/mov: Fix duration of fragmented mov
[19:57] <Daemon404> sure is commit spam
[19:58] <durandal11707> 8 concurent releases
[20:06] <durandal11707> you must had lobotomy
[20:36] <Daemon404> durandal_1707, +1
[20:36] <Daemon404> ive been complaining about it for ages
[21:09] <durandal11707> wtf: https://trac.ffmpeg.org/attachment/ticket/2255/%C3%89N1.jpg
[21:11] <durandal11707> michaelni: can you remove this "art"
[21:11] <durandal11707> and ban that uploader with lack sense of humor
[21:11] <Daemon404> whats wrong with it?
[21:11] <durandal11707> its not ffmpeg art
[21:11] <Daemon404> i guess i lack context
[21:12] <durandal11707> look at it....
[21:12] <Daemon404> yes but an image along withotu context means nothing
[21:12] <Daemon404> s/along/alone/
[21:12] <Daemon404> the ticket provides context
[21:13] <Daemon404> which i have now read
[21:13] <durandal11707> Daemon404: do you want pose for ffmpeg banner?
[21:15] <Daemon404> im flattered
[21:15] <Daemon404> how much does it pay?
[21:18] <durandal11707> hmm, gonna ask saste
[21:21] <durandal11707> michaelni: can same psnr code be used for audio?
[21:22] <michaelni> in principle yes
[21:22] <durandal11707> i'm thinking this filter could be improved a lot, added simd and made slice threading support, so it could be used in fate
[21:22] <Daemon404> i dislike that
[21:22] <Daemon404> it creates a hard dep on lavfi for FATE
[21:23] <durandal11707> lavfi everywhere!
[21:49] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/0.11:e452e4ca5cdb: mmsh: dont close context on seeking failure
[21:49] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.0:40c521aec0ed: mmsh: dont close context on seeking failure
[21:49] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.1:ce74b92c0981: mmsh: dont close context on seeking failure
[21:49] <cone-757> ffmpeg.git 03Michael Niedermayer 07release/1.2:430ef8a7166b: mmsh: dont close context on seeking failure
[23:39] <BBB> Daemon404: I think some people consider lavfi the best thing since sliced bread
[23:40] <Daemon404> indeed
[23:40] Action: Daemon404 continue his 4000-commit bisect into ffmpeg
[23:41] <BBB> I bet you the resulting diff will be a massive merge commit
[23:41] <BBB> gl figuring that out
[23:41] <Daemon404> wouldnt be the first time
[23:41] <Daemon404> im using a work server w/ 32 cores and 100 gb of ram... speeds things up a bit
[23:42] <Daemon404> but configure is still dog slow
[23:42] <Daemon404> whole lib builds instancely, except for dsputils
[23:42] <Daemon404> which sits and crunches
[23:42] <Daemon404> instantly*
[23:55] <Daemon404> 1e8b9738fa70e20967ddb542d2f9d5552fc51ec6 is the first bad commit
[23:55] <Daemon404> commit 1e8b9738fa70e20967ddb542d2f9d5552fc51ec6
[23:55] <Daemon404> Author: Hendrik Leppkes <h.leppkes(a)gmail.com>
[23:55] <Daemon404> Date: Fri Mar 22 15:13:42 2013 +0100
[23:55] <Daemon404> what the fuck
[23:55] <Daemon404> this doesnt make sense
[23:55] <Daemon404> this is from libav
[23:55] <Daemon404> and ths p roblem is ffmpeg-specific
[23:55] <Daemon404> goddamn merge shit
[23:56] <wm4> lol
[23:57] <Daemon404> >_<
[23:58] <wm4> I'm amazed that it still goes so well
[23:58] <wm4> such a big codebase, maintained separately for such a long time
[00:00] --- Mon Jul 8 2013
1
0
[00:17] <miguel_> when I try to use ffmpeg to record, the audio and video recording start at different times
[00:17] <miguel_> can I make it so it only starts after an amount of seconds?
[03:35] <fling> Hello!
[04:20] <silv3r_m00n> hi there, i am recording desktop with ffmpeg, using this command, ffmpeg -f x11grab -r 30 -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 -threads 0 -y screencast_out.avi
[04:20] <silv3r_m00n> how can i pause and resume the recording ?
[04:29] <fling> this works great > ffmpeg -f concat -i list -c copy output.avi
[04:29] <fling> ffmpeg rocks!
[04:29] <fling> silv3r_m00n: try sigstop but I may be wrong
[04:30] <fling> silv3r_m00n: or capture to separate files and join them together afterwards
[04:48] <silv3r_m00n> seems like have to concat multiple files
[05:35] <uersbob> hi. i have a question about ffmpeg.
[05:36] <uersbob> test*
[06:00] <Zeranoe> Does FFmpeg have any support for the amv format?
[09:02] <userDavid> i'm not sure if anyone is on, but i will ask a question
[09:05] <userDavid> i'm trying this command. it works, but im trying to cut off the first few seconds of both audio files. Instead, it cuts off the video each time, ive tried a lot of variations
[09:05] <userDavid> ffmpeg -i video1.mp4 -c:v libx264 -i audio1.wav -ss 2 -i audio2.wav -ss 3 -filter_complex "amix=inputs=2" -c:a libvo_aacenc output.avi
[09:26] <ubitux> userDavid: -ss 2 applies to audio2.wav and -ss 3 applies to the whole presentation
[09:27] <ubitux> (output)
[09:48] <userDavid> oh. i read that placing -ss after the inpute gets a more accurate result
[09:49] <ubitux> "output seeking" is more accurate yes
[09:49] <ubitux> but -ss 2 isn't a more accurate output seking on audio1.wav
[09:50] <ubitux> it's an input option for audio2.wav
[10:01] <hi117> is there a program that can record sound and stop recording after the volume is too low for a certain period?
[10:02] <hi117> for linux and perferably command line
[10:16] <hi117> found it, sox
[12:40] <slystone> Hi!
[12:40] <slystone> for i in *.mp4; do ffmpeg -i $i -vcodec mpeg2video -ar 44100 -s 1280x720 ${i%mp4}.mpg; done I've tried this command for a batch of videos. But it seems the quality is then appalling.
[12:40] <slystone> Si I could use your help.
[12:41] <slystone> What would you do differently please?
[12:42] <LithosLaptop> why do you want to convert them to MPEG2?
[12:44] <slystone> LithosLaptop: well, because some machines can only read mpeg2, that's why.
[12:44] <slystone> I wouldn't bother otherwise.
[12:47] <LithosLaptop> oh ok, well you will have to bump up the bitrate for MPEG2
[12:47] <LithosLaptop> I am not sure at what bitrates it will start looking okay
[12:48] <slystone> Input #0, mpeg, from 'PSES2013-Bayart-FTTH_Fiber_to_the_home..mpg':
[12:48] <slystone> Duration: 01:27:44.66, start: 1.000000, bitrate: 637 kb/s
[12:48] <slystone> Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
[12:48] <slystone> Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
[12:48] <slystone> this is what ffprobe has to tell.
[12:48] <slystone> Could it work with -target dvd maybe?
[12:49] <spaam> slystone: 1280x720 for dvd? :S
[12:49] <spaam> dvd:s dont have that kind for size.
[12:49] <LithosLaptop> also I assume all your input videos are the same?
[12:49] <slystone> spaam: hum& right!
[12:50] <slystone> LithosLaptop: I think so yes.
[12:50] <LithosLaptop> can you ffprobe one of them?
[12:51] <LithosLaptop> 637 kb/s is very low for 720p even for non MPEG2 codecs
[12:52] <LithosLaptop> do those machines that can only read mpeg2 also support 720p resolutions?
[12:52] <slystone> avprobe version 0.8.7-6:0.8.7-1, Copyright (c) 2007-2013 the Libav developers
[12:52] <slystone> built on May 20 2013 12:25:19 with gcc 4.7.3
[12:52] <slystone> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PSES2013-Zimmermann-Nos_machines_sont_elles_encore_nos_amies.mp4':
[12:52] <slystone> Metadata:
[12:52] <slystone> major_brand : isom
[12:52] <slystone> minor_version : 512
[12:52] <slystone> compatible_brands: isomiso2avc1mp41
[12:52] <slystone> encoder : Lavf53.21.1
[12:52] <slystone> Duration: 00:38:11.92, start: 0.000000, bitrate: 1233 kb/s
[12:52] <slystone> Stream #0.0(und): Video: h264 (Main), yuv420p, 1280x720, 1034 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
[12:52] <slystone> Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 191 kb/s
[12:52] <slystone> this is for an input file.
[12:53] <slystone> LithosLaptop: yes, they support 720p.
[12:53] <LithosLaptop> ok
[12:56] <slystone> LithosLaptop: so how would you change the bitrate at 637kb/s?
[12:56] <LithosLaptop> ffmpeg -i $i -vb 2600k -vcodec mpeg2video -acodec libmp3lame -ab 192 -ar 44100 -s 1280x720 -fmt vob ${i%mp4}.mpg
[12:56] <LithosLaptop> try that
[12:57] <slystone> ok thanx! :)
[12:58] <LithosLaptop> increase 2600 to something else if it still looks crap :)
[12:58] <slystone> Yep, that part I've guessed. :)
[12:58] <slystone> And what is -fmt vob for?
[12:59] <LithosLaptop> MPEG 2 Program Stream. container format for DVDs
[12:59] <slystone> Cool! :)
[13:00] <slystone> Thanx a bunch LithosLaptop!
[13:00] <LithosLaptop> no prob
[13:00] <LithosLaptop> btw if it can't read the file try removing -fmt vob
[13:01] <slystone> Hum, ok. :)
[14:14] <kvz> the ffmpeg site mentions "FFmpeg Static Builds by Burek and FFmpeg Static Builds by Relaxed". I'm considering using one in production to convert a wide variety of formats. I'll run tests, but does anybody have good/bad experiences with either one of them?
[14:14] <Mavrik> um, they should all work
[14:14] <Mavrik> probably difference is in bundled libraries
[15:22] <semme> guys i was wondering if there is example of on-the-fly remuxing with ffmpeg
[16:50] <eduardoboucas> hi guys. I'm using ffmpeg to encode an MP3 from a wave file, but i'm getting an unexpected result. the audio is shifted for some reason
[16:51] <eduardoboucas> I took a snapshot of both audio files on a DAW where the offset is very clear: http://snag.gy/lymi9.jpg
[16:51] <eduardoboucas> does anyone have any idea of what can be causing this?
[16:59] <brontosaurusrex> eduardoboucas, try lame decode your.mp3 and see if offset is gone
[16:59] <brontosaurusrex> lame --decode my.mp3
[16:59] <eduardoboucas> ok
[17:01] <eduardoboucas> yeah, the offset is gone
[17:01] <eduardoboucas> what does this mean?
[17:02] <brontosaurusrex> read http://www.hydrogenaudio.org/forums/index.php?showtopic=72327
[17:03] <eduardoboucas> thanks!
[17:03] <brontosaurusrex> np
[17:04] <eduardoboucas> wow, so there's no solution whatsoever?
[17:04] <eduardoboucas> this will be a big problem for me :/
[17:05] <brontosaurusrex> use some other lossy format that doesnt have this?
[17:05] <eduardoboucas> the thing is that I'm working on a web audio editor
[17:05] <brontosaurusrex> aac perhaps
[17:06] <eduardoboucas> and the formats supported by browsers for HTML5 Audio playback aren't that many
[17:07] <eduardoboucas> the idea is that users record their tracks by plugging their instrument to the computer and the result is a wave file
[17:07] <brontosaurusrex> the combo of vorbis and aac perhaps (but i'am not sure about offsets, you will have to test)
[17:07] <eduardoboucas> but I can't afford to save wave files on the server, so I was planning on converting the files to MP3
[17:07] <eduardoboucas> but I can't lose sync, so this is no good for me
[17:08] <eduardoboucas> but yeah, I'll make some tests. thanks!
[17:08] <brontosaurusrex> here is some reading about lame http://lame.sourceforge.net/tech-FAQ.txt
[17:09] <brontosaurusrex> looks like "--nores option in LAME" may do what you want
[17:10] <eduardoboucas> I'll definitely check it out. thanks a lot!
[17:13] <eduardoboucas> apparently, Vorbis does not introduce any offset
[17:13] <eduardoboucas> I just tested
[17:14] <LithosLaptop2> eduardoboucas: AAC is just as well supported as MP3 in HTML5 audio. In fact I didn't even know MP3 was widely supported
[17:14] <LithosLaptop2> you will need to support Vorbis as well as AAC if you want to support most browsers
[17:14] <eduardoboucas> you're right
[17:15] <eduardoboucas> I'll try to encode to AAC to see if there is any offset, just in case :)
[17:15] <brontosaurusrex> eduardoboucas, what OS are you on?
[17:15] <LithosLaptop2> haha ok, just be carefull. there is only one good quality AAC encoder available with ffmpeg
[17:16] <eduardoboucas> brontosaurusrex, a CentOS server
[17:17] <brontosaurusrex> ok, then ffmpeg with fgh aac encoder is what you need or old nero linux encoder perhaps
[17:17] <LithosLaptop2> fgh = libfdk_aac
[17:17] <brontosaurusrex> --enable-libfdk-aac < yes
[17:18] <brontosaurusrex> *fgh = fdk
[17:19] <eduardoboucas> ok, so I assume I need to reinstall ffmpeg, right?
[17:21] <brontosaurusrex> i have a static debian 64 compile from git, which i could share, but dunno if that would work on centOS
[17:21] <brontosaurusrex> configuration: --enable-gpl --enable-libx264 --enable-libfdk-aac --enable-nonfree --enable-version3 --disable-shared --enable-static --extra-libs=-static --extra-cflags=--static
[17:21] <eduardoboucas> hmm
[17:22] <brontosaurusrex> anyway, you could build it from git.
[17:22] <brontosaurusrex> adding the fdk part
[17:23] <eduardoboucas> ok
[17:25] <brontosaurusrex> and also vorbis and lame
[17:25] <brontosaurusrex> is what you need
[17:25] <eduardoboucas> yeah I have vorbis and lame working
[17:26] <eduardoboucas> I remember I just followed some guide to download all those libraries and ffmpeg-source and then I installed everything
[17:26] <eduardoboucas> so I guess I can just download this new library and repeat the whole process?
[17:27] <brontosaurusrex> eduardoboucas, another thing, there are some js decoders out there btw
[17:28] <brontosaurusrex> eduardoboucas, like http://libwebpjs.hohenlimburg.org/vp8/ogg-vorbis-javascript-decoder/
[17:28] <eduardoboucas> (yeah, I followed this, http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide, and for some reason I was stupid enough not to include the AAC library)
[17:28] <eduardoboucas> hmm
[17:28] <brontosaurusrex> dunno if that would be fast enough for what you are doing thought
[17:30] <eduardoboucas> yeah, timing is a very delicate subject in my case
[18:00] <semme> any idea how to copy a stream with libavcodec?
[18:01] <semme> i have a/v stream coming from FLV over HTTP and i want to remux it to MP4
[18:01] <semme> how to copy the incoming streams to the remux MP4
[18:04] <eduardoboucas> brontosaurusrex, I'm getting an error when installing fdk-aac from Git. config.status: error: cannot find input file: Makefile.in
[18:04] <eduardoboucas> do you have any idea of what might be happening?
[18:05] <brontosaurusrex> eduardoboucas, take the tarball
[18:05] <eduardoboucas> (still following this: http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide)
[18:06] <Mavrik> semme, -codec copy
[18:06] <semme> yeah the equivalent of acodec copy but through the libav API
[18:06] <Mavrik> um
[18:07] <Mavrik> just dont reencode the packet?
[18:07] <semme> so i just memcopy the packet?
[18:07] <Mavrik> mhm.
[18:07] <Mavrik> I'm not even sure you have to memcpy it
[18:08] <semme> thanks Mavrik, btw out of curiosity instead of remux a file, is there even faster to way to just change the header?
[18:08] <Mavrik> from what?
[18:11] <semme> i've got an F4V (h264/aac) but the program that is supposed to play it does not support FLV
[18:11] <semme> but if i use MP4 header everything is fine
[18:12] <semme> and i was thinking is there a way to just change the header and stream the body as is
[18:16] <Mavrik> uh
[18:16] <Mavrik> I doubt that would work.
[18:16] <Mavrik> but I have no idea how FLV container is structured internally
[18:24] <semme> ok thanks
[18:24] <semme> seems diff than FLV
[18:25] <semme> btw Mavrik, sorry if its too many questions, but do you have an idea where i can define the movflags
[18:25] <semme> through the api
[18:25] <semme> im talking flags like -movflags faststart, but defined through the API
[18:25] <Mavrik> mhm
[18:25] <Mavrik> I think it's av_option_set
[18:25] <Mavrik> or something like that
[18:25] <semme> ok thank you very much
[18:25] <Mavrik> check mov.c source file on how the parameters are stored in the context
[18:26] <semme> will do
[18:40] <eduardoboucas> brontosaurusrex, I reinstalled FFmpeg, supposedly with fdk-acc, but it doesn't seem to be working :/
[18:41] <brontosaurusrex> eduardoboucas, some command lines http://www.hydrogenaudio.org/forums/index.php?showtopic=95989&st=25&p=80448…
[18:41] <brontosaurusrex> and post your cli
[18:43] <eduardoboucas> ok, but before I do that, is there any way to check if the library was correctly installed?
[18:44] <durandal_1707> yes paste ffmpeg output
[18:45] <eduardoboucas> http://pastebin.com/uEMXdW40
[18:46] <eduardoboucas> it says it was built on April
[18:46] <brontosaurusrex> on debian "sudo ldconfig" will "fix" libraries
[18:46] <brontosaurusrex> eduardoboucas, that doesnt have you aac encoder at all
[18:47] <eduardoboucas> is it possible I'm running like the "old" ffmpeg version and not the one I just re-installed?
[18:48] <brontosaurusrex> eduardoboucas, what does "which ffmpeg" says
[18:48] <brontosaurusrex> eduardoboucas, acording to that centos build-link you are builing in user space
[18:48] <brontosaurusrex> *building
[18:49] <eduardoboucas> it says /usr/local/bin/ffmpeg
[18:49] <brontosaurusrex> and your compile should be in /home/user/bin
[18:50] <brontosaurusrex> or whatever is home folder in centos, --bindir="$HOME/bin"
[18:51] <brontosaurusrex> try running ~/bin/ffmpeg
[18:51] <eduardoboucas> http://pastebin.com/TLC1P3wY
[18:51] <eduardoboucas> I guess this is the one I should be running
[18:51] <brontosaurusrex> yep
[18:52] <eduardoboucas> how can I fix this mess of having 2 ffmpegs?
[18:52] <brontosaurusrex> how did you install the 1st one?
[18:53] <eduardoboucas> I followed the same guide, so I don't know what could I have done differently
[18:53] <brontosaurusrex> perhaps you have been using the version from repos without even knowing it?
[18:54] <eduardoboucas> I don't know :S
[18:54] <eduardoboucas> isn't there any way to just remove the first one?
[18:54] <brontosaurusrex> use your apt-get remove
[18:54] <brontosaurusrex> yum whatever
[18:55] <eduardoboucas> I assume it's something more than just removing the binary
[18:55] <brontosaurusrex> it is
[18:55] <eduardoboucas> Package(s) ffmpeg available, but not installed.
[18:56] <eduardoboucas> so I guess I wasn't using the one from yum
[18:56] <brontosaurusrex> dunno :)
[18:56] <brontosaurusrex> probably not
[18:56] <eduardoboucas> gosh, what a mess
[18:57] <brontosaurusrex> well, compare versions of /usr/local/bin/ffmpeg and the one in repos
[18:57] <brontosaurusrex> and you should get a clue
[18:58] <brontosaurusrex> if the repo version is older, than the one in /usr/local/bin/ffmpeg is something you "compiled in"
[18:58] <brontosaurusrex> from there it gets yum related, and i dont know yum, so i will not comment on that
[18:59] <eduardoboucas> ok thanks
[19:02] <brontosaurusrex> looking at that guide its basically missing some sort of abstraction layer in the end
[19:03] <brontosaurusrex> i try to compile shared stuff via checkinstall, which would produce *.deb file and my package manager would then also be aware of that
[19:04] <brontosaurusrex> or i would build static and put ffmpeg bin to the specific spot manually
[19:04] <brontosaurusrex> now, i'am far from compiling expert, just what i have noticed from absorbing various web guides ....
[20:35] <rmzelnick> http://pastebin.com/sHxTTLFA
[20:36] <rmzelnick> I got this problem yesterday, and now I can't play any video on VLC anymore =(
[21:17] <mjrosenb> silly question-- what does this mean: Could not write header for output file #0 (incorrect codec parameters ?)
[21:17] <mjrosenb> the audio and video codecs are 'copy'
[21:18] <mjrosenb> is it talking about the container's codec?
[21:19] <cbsrobot_> yes, not all containers support all codecs
[21:20] <durandal11707> mjrosenb: what you are trying to do?
[21:27] <mjrosenb> cbsrobot_: that I did not know.
[21:27] <Mavrik> mjrosenb, usually there's an actual error written in previous ouput
[21:27] <mjrosenb> durandal11707: I am trying to re-encode a .ts file as .mkv
[21:27] <mjrosenb> mkvtoolnix can extract the video, but is clueless about the audio.
[21:28] <mjrosenb> https://gist.github.com/5944597 is the full output.
[21:28] <mjrosenb> mkv certainly supports h.264
[21:29] <mjrosenb> maybe it doesn't support aac?
[21:29] <mjrosenb> that seems unlikely to me.
[21:29] <Mavrik> that's wierd, ffmpeg shouldn't have any problems remuxing this
[21:33] <mjrosenb> Mavrik: that is what I though, yet here I am :-p
[21:36] <Mavrik> mjrosenb, can you try grabbing the latest static build?
[21:38] <mjrosenb> Mavrik: sure thing, where do they live?
[21:38] <Mavrik> uhh
[21:39] <Mavrik> ffmpeg download site :P
[21:39] <Mavrik> http://ffmpeg.gusari.org/static/64bit/
[21:40] <mjrosenb> looks like there haven't been any new ones for like two weeks?
[21:41] <Mavrik> and you're using a build from previous year
[21:41] <Mavrik> I think two weeks is fine ;)
[21:41] <mjrosenb> touche.
[21:42] <mjrosenb> Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
[21:42] <mjrosenb> well, that is certainly a different error.
[21:46] <Mavrik> huh
[21:47] <mjrosenb> although it doesn't say if it is in the container, audio or video stream.
[21:48] <osmodiar> [mpegts @ 00000000023fa6e0] max_analyze_duration 5000000 reached at 5005000 microseconds
[21:48] <osmodiar> Probably that.
[21:50] <Mavrik> nah, that's not an error
[21:50] <mjrosenb> so there is a bit of corruption, and the whole thing is falling over dead?
[21:50] <mjrosenb> mplayer seems to be playing it without issue.
[22:00] <mjrosenb> https://gist.github.com/5944693 is the output of running mplayer on the file.
[22:17] <Mavrik> mjrosenb, did you try remuxing to mp4 just in case?
[22:20] <Fjorgynn> :)
[22:32] <mjrosenb> Mavrik: negative.
[22:33] <mjrosenb> [mp4 @ 0x3a45e40] Malformed AAC bitstream detected: use audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)
[22:33] <mjrosenb> av_interleaved_write_frame(): Operation not permitted
[22:33] <mjrosenb> well, that was even more informative!
[22:33] <Mavrik> hmm, that could explain some things :)
[22:42] <mjrosenb> is there a reason that different containes give different errors on demuxing the input?
[22:45] <Mavrik> mjrosenb, those errors are from the muxers
[22:45] <mjrosenb> *boggle*
[22:45] <Mavrik> and the reason is simply& because each muxer generates their own ;)
[22:45] <mjrosenb> I added that line to the .mp4 output, and it muxed properly
[22:45] <mjrosenb> I replaced .mp4 with .mkv
[22:45] <mjrosenb> and it failed with the same cryptic error
[22:45] <mjrosenb> but muxing the .mp4 to .mkv worked.
[22:46] <Mavrik> ^^
[22:47] <LithosLaptop2> lol
[22:47] <mjrosenb> Mavrik: is -bsf:a aac_adtstoasc an argument to the muxer?
[22:47] <Mavrik> no, that's a bitstream filter
[22:47] <Mavrik> it filters audio bytes before they go in the muxer
[22:48] <mjrosenb> right, so presumably, it fixed whatever corruption was in the audio stream, so why would the mkv muxer still not like the stream?
[22:49] <mjrosenb> nevermind. that muxing failed misreably.
[22:49] <mjrosenb> muxing to .mp4 didn't work, evidently.
[22:50] <MachinaeWolf> freaking errors http://pastebin.com/ZKVHbRfN
[22:51] <Mavrik> mjrosenb, it seems your audio is encoded in ADTS format, not ASC without headers& AAC can have about 3 different bitstream formats
[22:52] <Mavrik> some made for streaming, some for just "normal files"
[22:52] <Mavrik> MachinaeWolf, good thing you're not running ffmpeg.
[22:52] <MachinaeWolf> ?_?
[22:52] <MachinaeWolf> wut
[23:07] <MachinaeWolf> gah lame signal
[23:07] <MachinaeWolf> <Mavrik> MachinaeWolf, good thing you're not running ffmpeg.
[23:07] <MachinaeWolf> <MachinaeWolf> ?_?
[23:07] <MachinaeWolf> <MachinaeWolf> wut
[23:09] <osmodiar> Read that, MachinaeWolf.
[23:09] <MachinaeWolf> k
[23:11] <MachinaeWolf> Does it take the same options?
[23:11] <mjrosenb> I saw "!fork" and thought that ffmpeg was forking, and executing something else that was spewing errors, needless to say, I was confused before reading the link.
[00:00] --- Mon Jul 8 2013
1
0
[00:28] <cone-352> ffmpeg.git 03Michael Niedermayer 07master:390aabb2a1ad: tcp: Fix the default timeout
[01:44] <cone-352> ffmpeg.git 03Michael Niedermayer 07master:efa9e6b42345: ff_network_wait_fd_timeout: do not break with timeout < 0
[01:44] <cone-352> ffmpeg.git 03Michael Niedermayer 07master:68b7b534be59: tcp: Use a default timeout of 5 sec for opening a connection but not for receiving packets
[01:49] <durandal_1707> 3
[02:40] <durandal_1707> saste: i'm porting psnr filter
[05:51] <cone-602> ffmpeg.git 03Michael Niedermayer 07master:0844630e6b01: avformat/mp3dec: Add usetoc option to allow dlsabling the use of the xing TOC
[12:16] <cone-626> ffmpeg.git 03Luca Barbato 07master:4972e5a186fe: bitstream_filter: K&R formatting cosmetics
[12:16] <cone-626> ffmpeg.git 03Michael Niedermayer 07master:98277fd1a0f7: Merge remote-tracking branch 'qatar/master'
[12:35] <cone-626> ffmpeg.git 03Timothy Gu 07master:561e05136f1c: doc/encoders: add libopus encoder doc
[12:35] <cone-626> ffmpeg.git 03Stefano Sabatini 07master:2aa2b4ac6555: examples/muxing: add support to audio resampling
[13:39] <cone-626> ffmpeg.git 03James Almer 07master:3960992f0abf: oggparseskeleton: Fix fisbone header parsing
[13:39] <cone-626> ffmpeg.git 03James Almer 07master:63d7684fefcf: oggparseskeleton: Replace avpriv_report_missing_feature() with a normal av_log() call
[15:56] <saste> durandal_1707, what psnr filter?
[15:56] <saste> the one on the archive?
[15:56] <durandal_1707> the one from '11
[15:56] <saste> ok
[16:19] <durandal_1707> perhaps i should use tiny_psnr instead?
[16:33] <cone-626> ffmpeg.git 03Michael Niedermayer 07master:32de28053d23: avcodec/x86/cabac: factorize broken llvm/clang check out
[16:33] <cone-626> ffmpeg.git 03Michael Niedermayer 07master:66537c7efd4e: avcodec/x86/cabac: Disable get_cabac_bypass_x86() on broken llvm/clang
[16:39] <durandal_1707> what happens if shortest is set to 0 and repeatlast is set to 0 for overlay/haldclut?
[17:10] <durandal_1707> michaelni: when muxing to nut and suspending ffmpeg, duration is not displayed for nut, when using ffprobe
[17:24] <superware> michaelni, hi. I was really hoping that udp/mpegts issue is behind us, but please see http://pastebin.com/WVBkyZTv :|
[17:25] <cone-626> ffmpeg.git 03Paul B Mahol 07master:96358062650a: lavfi/blend: use dual input helpers
[17:29] <durandal_1707> what is AOB?
[17:40] <michaelni> superware, so you have some hw that generates a ts over udp and that doesnt work with ffmpeg and you have a file that does work?
[17:40] <michaelni> if so how was this file generated?
[17:42] <Compn> durandal_1707 : like vob but aob ... so dvd audio file i think
[17:43] <nevcairiel> yes, AOB is dvd audio
[17:43] <nevcairiel> can contain PCM or MLP i think
[17:44] <michaelni> durandal_1707, suspended nut duration works here
[17:45] <superware> michaelni: VLC input dump
[17:45] <durandal_1707> i tried with ffv1 only
[17:45] <superware> michaelni: raw dump
[17:51] <superware> michaelni: VLC -> Media -> Convert / Save -> Network -> udp://@:1234 -> Dump raw input
[17:55] <michaelni> superware, and what does ffplay do ? it displays nothing? recognizreable video with heavy artifacts? good video with occasional artifacts ?
[17:55] <superware> nothing
[17:57] <superware> for some reason when I add -f h264 then after a few seconds the video opens up mostly grey, but in the right size
[17:57] <superware> Can I please stream it to your IP?
[17:58] <michaelni> superware, sure if you are on my LAN from outside it wont get past the router
[17:59] <superware> port-forwarding :)
[17:59] <michaelni> superware, iam not sure what the issue that remains is but you could try tools/aviocat
[17:59] <michaelni> with aviocat you can dump the udp to a file
[17:59] <michaelni> just to check if that works or not
[18:00] <superware> the raw udp will be dumped, or the ts?
[18:01] <michaelni> it will simply dump the packets as they are
[18:02] <superware> ok, I think that's what VLC is doing when I "dump raw input" to test.ts, ffplay can play it
[18:03] <superware> michaelni: if you add a port-forward for port 1234 to your intranet IP, it should go through
[18:05] <superware> and if you already have a port forwarded to your machine, I can use that port instead
[18:09] <michaelni> superware, ping me when you tested aviocat and please upload the resulting file from it (and vlc in case they behave differently)
[18:10] <cone-626> ffmpeg.git 03Paul B Mahol 07master:d64f3b72e0ea: replace some deprecated defines
[18:13] <michaelni> superware, also in case its unclear yes the person reporting a bug is supposed to take as much work of the developers shoulders as possible. All developers are quite busy most of the time ...
[18:18] <superware> michaelni, do you know of an aviocat win32 build? if not, will a test.ts dump from VLC suffice?
[18:19] <michaelni> well, one part iam trying to exclude is that vlc does more than dump raw udp
[18:20] <superware> forget VLC, I can do my own raw dumping from udp, it will take a few minutes
[18:29] <superware> michaelni, please try http://80.74.98.102/test.zip (this isn't a zip file, rename it to test.ts)
[18:31] <durandal_1707> is mencoder finally dead....
[18:48] <superware> michaelni, got it?
[19:06] <atiti> Too many slices, increase MAX_SLICES and recompile
[19:06] <atiti> hm
[20:43] <michaelni> superware, got the zip
[20:46] <superware> great, rename to test.ts. Yet it will play with ffplay, so I guess it can't really help reproduce the issue
[20:46] <michaelni> superware, this is not a raw udp dump or your hw uses ffmpeg
[20:46] <michaelni> service_provider: FFmpeg
[20:47] <superware> trust me it's a raw udp dump
[20:47] <superware> maybe
[20:47] <superware> I meant it might be FFmpeg
[20:50] <michaelni> now the question is still, does it work with aviocat too
[20:50] <michaelni> aviocat uses the same code as ffplay for receiving udp
[20:54] <michaelni> superware, also if aviocat is not part of the stuff from zeranoe its probably a good idea to contact him, he might be unaware of it and the other tools
[20:55] <michaelni> and the more trivial thing, i assume you waited a bt for ffplay to display something, it can for some cases of network streams take a few seconds
[20:59] <superware> I waited
[21:00] <superware> I've created a new udp socket and wrote all incoming data to a file, there's nothing more raw than that :)
[21:01] <superware> I guess the issue/bug has something to do with the large datagrams being sent
[21:08] <superware> michaelni: ok, emailed zeranoe
[21:10] <superware> is there a chance you will be able to receive that stream? maybe there's a way to form a kind of VPN (supporting UDP)?
[22:29] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:8ca5d277d8a8: avformat/utils: factor ff_find_last_ts() out of ff_gen_search()
[22:29] <cone-826> ffmpeg.git 03Michael Niedermayer 07master:7f250502897e: nutdec: use ff_find_last_ts()
[00:00] --- Sun Jul 7 2013
1
0
[00:43] <b0fh_ua> Hello! How do I specify muxer option for gif muxer if the options with the same name is already used by image2pipe demuxer?
[01:51] <durandal_1707> b0fh_ua: just as usual, but make sure it is last option
[01:53] <durandal_1707> something like: ffmpeg -i in.gif -loop out.gif
[05:22] <nice4u88m> hello\
[05:40] <voltagex> hi, how do I get access to the screen-capture-recorder dshow device? I don't have it in -list_devices
[06:18] <Zeranoe> voltagex: did you install any directshow screen capture filters?
[06:19] <voltagex> Zeranoe: thanks for your builds! I'm not sure, it appears I may have. I'm not sure how to uninstall them (came with a DV camera)
[06:20] <Zeranoe> Please post the output of: ".\ffmpeg.exe -list_devices true -f dshow -i dummy" to http://paste.debian.net/
[06:21] <voltagex> http://paste.debian.net/14664/
[06:22] <voltagex> I've tried with 1.2 and the latest git build - both 32 bit shared. 64 bit builds can't enumerate DirectShow at all it seems
[06:24] <Zeranoe> voltagex: While FFmpeg's support for dshow is growing, I still prefer another method. I go grf graphedit file>avisynth script>ffmpeg input. I use two scripts, one for audio, one for video. It is a lot more steps but it will give you outstanding quality. Don't forget a vsync though. If you want to just stick with FFmpeg, what device did you want to capture from that list?
[06:28] <Zeranoe> voltagex: If you need any examples for that process let me know.
[06:33] <voltagex> holy crap, I tried to uninstall that filter
[06:33] <voltagex> and it hard locked my machine
[06:33] <voltagex> i.e. mouse stopped and PC fell off the network
[06:34] <voltagex> it's that the screen capture filter never even turns up
[06:34] <Zeranoe> voltagex: Are you sure it is installed?
[06:35] <voltagex> I couldn't find any instructions about what to install
[06:35] <voltagex> I'd like to work out how to uninstall this other filter first
[06:35] <voltagex> any ideas how to remove it manually?
[06:35] <Zeranoe> Which one?
[06:36] <voltagex> all Enosoft filters
[06:37] <Zeranoe> It would be a registry thing, I haven't tired manually removing any
[06:37] <voltagex> I'd be interested in this graphedit method, as it'd probably let me capture my TV card too
[06:38] <Zeranoe> voltagex: http://www.videohelp.com/download/graphedit10-090724.zip
[06:39] <voltagex> ...I'm actually going to do a Win8 Refresh & Reset first - this isn't the first odd hang I've had
[06:40] <voltagex> but continue, as this IRC session is on a different machine so I'll still be able to read it
[06:40] <voltagex> :P
[06:42] <Zeranoe> voltagex: You'll need to install this dshow capture filter: http://www.umediaserver.net/bin/UScreenCapture.zip website is here: http://www.umediaserver.net/umediaserver/download.html
[06:42] <voltagex> *right*, so that's the first dshow filter I saw mentioned on the mailiing list
[06:44] <Zeranoe> voltagex: It has the most options, which you will be able to edit with graphedit
[06:44] <voltagex> cool
[06:44] <Zeranoe> voltagex: Best option I've found. I can record my 1080p screen without lag.
[06:44] <voltagex> I wonder what happens if I load a 3D game though
[06:45] <voltagex> oh. are multiple monitors going to mess it up?
[06:45] <Zeranoe> voltagex: Not sure, I can record HD videos no problem which are using a little.
[06:45] <Zeranoe> voltagex: Haven't tried that, it had options for multiple monitors, going to have to try.
[06:46] <voltagex> this machine is fubar.
[11:36] <kms> sorry, that now instead of a "-af" ?
[11:49] <kms> hey, enybody here?
[11:52] <kms> i need change audio volume
[11:55] <saste> kms, -af volume
[12:00] <kms> i have old build
[12:01] <Mavrik> get a new one.
[13:52] <silv3r_m00n> is it possible to record a specific window using such a command, avconv -f x11grab -s xga -r 30 -i :0 -c:v libx264 ~/session-recording.avi
[15:35] <silv3r_m00n> i am recoding desktop video using avconv, is it possible to pause it ?
[16:56] <kamal__> I am getting errors while compiling a simple code and the error seem to be linker-errors.. error output:
[16:56] <kamal__> ffmpeg2/libavformat/rtmppkt.c:446: undefined reference to `av_log'
[16:57] <kamal__> libavformat/id3v2.c:383: undefined reference to `av_dict_set'
[16:57] <kamal__> and so on for tens of functions
[16:58] <kamal__> My command was this: cc tut.c -lavcodec -lavutil -lavformat -lswscale
[16:58] <kamal__> I wish someone could help
[17:02] <saste> kamal__, move -lavutil towards the end
[17:04] <kamal__> still it gives same linking errors and maybe i was incomplete in my mentioning of errors, these errors come for both libraries avutil and avformat
[17:05] <kamal__> for e.g. libavutil/eval.c:304: undefined reference to `exp' and /libavformat/adxdec.c:51: undefined reference to `av_free_packet'
[17:09] <kamal__> I am a novice and am in the middle of some important project, so if someone can spare a little time, plz guide me in my linking errors
[17:22] <saste> kamal__, use pkg_config to compute the flags for ffmpeg
[17:22] <saste> exp -> -lmath
[17:22] <saste> check the Makefile in doc/examples
[17:53] <silv3r_m00n> while encoding i press ctrl+c to stop it, is it possible to resume encoding in the same file ?
[17:54] <silv3r_m00n> this is the command that is interrupted, ffmpeg -f x11grab -r 30 -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 -threads 0 -y screencast_out.avi
[17:54] <silv3r_m00n> basically i need to pause and resume recording
[21:58] <Mavrik> hmm, is it possible to tell ffmpeg to decode only I-frames?
[23:10] <mark4o> Mavrik: -skip_frame nokey
[23:11] <mark4o> but it is broken for h264; you need to use -vf 'select=eq(pict_type\,I)' for that
[23:11] <Mavrik> mhm, but select comes into effect after decoding
[23:11] <mark4o> right, -skip_frame nokey for pre-decoding
[23:12] <Mavrik> thanks
[23:31] <miguel_> Im trying to record from my webcam with ffmpeg with the command "ffmpeg -f alsa -f video4linux2 -i /dev/video0 -r 30 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 cam_`date "+%d-%m-%Y\(%Hh%Mmin%S\)"`.mkv"
[23:31] <miguel_> but when I run it, I cant type q to exit
[23:31] <miguel_> is there a better way to record ?
[23:44] <miguel_> Im trying with "ffmpeg -f alsa -i pulse -f video4linux2 -r 30 -i /dev/video0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 out.mkv", and it kinda works, but the audio is delayed
[00:00] --- Sun Jul 7 2013
1
0