Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
July 2014
- 1 participants
- 62 discussions
[00:15] <reynaldo> Timothy_Gu: Cool, thanks for letting me know
[04:02] <cone-939> ffmpeg.git 03Omer Osman 07master:e0bfe34ea8cc: libfdk-aacdec: Reduce the default decoder delay by one frame
[04:02] <cone-939> ffmpeg.git 03Michael Niedermayer 07master:4216a5082bee: Merge commit 'e0bfe34ea8ccf333ec5b17961fd58eb575e74f8b'
[04:26] <cone-939> ffmpeg.git 03Carl Eugen Hoyos 07master:d919fdd4f7e8: Do not detect jp2 images as mov files.
[04:27] <cone-939> ffmpeg.git 03Carl Eugen Hoyos 07master:8f6a04a279bb: Assume that old bmps do not contain transparency information.
[04:27] <cone-939> ffmpeg.git 03Carl Eugen Hoyos 07master:810294ce3d3d: Use os/2 palette even if it contains less than 256 entries.
[04:27] <cone-939> ffmpeg.git 03Michael Niedermayer 07master:d5818c37f321: Merge remote-tracking branch 'cehoyos/master'
[07:05] <Timothy_Gu> saste: if you have time, can you review my Doxygen patches? Thanks.
[11:53] <cone-709> ffmpeg.git 03Stefano Sabatini 07master:85eabd748bc7: lavfi/drawtext: do not allocate FT_Glyph, but keep it in the Glyph structure
[11:53] <cone-709> ffmpeg.git 03Stefano Sabatini 07master:60f162946f09: tools/ffeval: print computed value even in case of error
[12:08] <cone-709> ffmpeg.git 03Lukasz Marek 07master:362cfe8ce101: doc/protocols: document unit of timeouts for ftp and http
[12:55] <cone-709> ffmpeg.git 03Carl Eugen Hoyos 07master:d3e51b411858: Fix standalone compilation of the amv encoder.
[14:54] <wm4> michaelni: would it make sense to introduce a flag or something to indicate that a format is an image file?
[14:57] <michaelni> possible, yes, depends mostly upon if something (like a wildcard evaluation at probe time) needs it
[14:57] <wm4> I want to override the framerate for such things, and since it's a group of demuxers, it's hard to know
[14:57] <wm4> no
[14:57] <wm4> not for wildcards
[15:02] <wm4> could be an AVFMT_ flag
[15:04] <michaelni> maybe the should set AVFMT_NOTIMESTAMPS
[15:05] <michaelni> should have set
[15:15] <wm4> that isn't completely sufficient of course
[15:15] <wm4> and timestamps are actually set on the packets
[15:44] <microchip_> michaelni: any idea why eac3 does not support more than 6 channels?
[15:48] <microchip_> (according to wiki, eac3 supports up to 16 chans)
[15:51] <michaelni> microchip_, do you have a sample which contains more than 6 channels and is decoded to less ? (and is a real world stream)
[15:52] <michaelni> wm4, "#define AVFMT_NOTIMESTAMPS 0x0080 /**< Format does not need / have any timestamps. */"
[15:53] <microchip_> michaelni: i have a film with DTS ES (6.1 channels). if I use -channels 7, eac3 defaults to a max of 5.1. I can cut a small sample from this film
[15:53] <michaelni> wm4, to which image formats does this not apply ?
[15:55] <michaelni> microchip_, dts es or eac3 ? either way please open a ticket on trac if we lack support for something
[15:56] <microchip_> michaelni: i try to encode DTS ES to EAC3, keeping all channels of the DTS audio, but eac3 defaults to max of 6 chans, even when i use -channels 7
[15:56] <wm4> michaelni: the question is to what non-image format this flag applies
[15:56] <microchip_> i will create a ticket with the sample
[15:57] <michaelni> wm4, its currently used mostly for muxers with few exceptions
[15:57] <microchip_> michaelni: it's from a copyrighted film. Am I allowed to post a small sample from it?
[15:58] Action: michaelni IANAL
[15:58] <microchip_> hmm
[15:58] <michaelni> cannot give legal advice, though might fall under fair use
[15:58] <microchip_> ok
[15:59] <wm4> somehow I doubt anyone ever got in trouble for test samples
[15:59] <wm4> even the mplayer/ffmpeg samples ftp has excerpts from major hollywood movies etc.
[16:02] <wm4> (but IANAL too)
[16:05] <michaelni> yes, i do too belive its all fine and fair use, but i cannot give legal advice as iam not a lawyer ...
[16:06] <microchip_> ok, ticket created
[16:10] <microchip_> hmm, mkvinfo says the DTS ES audio is 6 chans, but both mediainfo and mplayer report it's 7 chans
[16:11] <microchip_> mplayer decodes it at 7 chans when i use -channels 7
[16:19] <microchip_> yup, ffmpeg also says it's 6.1 chans
[17:32] <durandal_1707> opw on wiki lists opus, but native opus was merged
[17:33] <wm4> edit it
[17:33] <durandal_1707> i forgot password
[19:17] <cone-486> ffmpeg.git 03Diego Biurrun 07master:009331303a64: x86: huffyuvdsp: Move inline assembly to init file
[19:17] <cone-486> ffmpeg.git 03Michael Niedermayer 07master:6bef3e55bdc7: Merge commit '009331303a6462d07cbe94aef9c446f1a1695519'
[19:41] <cone-486> ffmpeg.git 03Clément BSsch 07master:d5601cf6fc1c: avfilter/haldclut: fix R/B swap in CLUT loading
[19:45] Action: ubitux goes buy a few L of cola
[20:11] <cone-486> ffmpeg.git 03Diego Biurrun 07master:12f129e545e5: x86: Unconditionally compile blockdsp and svq1enc init files
[20:11] <cone-486> ffmpeg.git 03Michael Niedermayer 07master:5036c8b17b29: Merge commit '12f129e545e5a5844b6ad7f3eb6a438015cad8bc'
[20:18] <cone-486> ffmpeg.git 03Diego Biurrun 07master:b0de1c766329: x86: build: Only compile FDCT code if MMX is enabled
[20:18] <cone-486> ffmpeg.git 03Michael Niedermayer 07master:19b79c1429c4: Merge commit 'b0de1c766329dd8c9960ad1722e2f653160abc1b'
[21:47] <jamrial> ^ I tried to implement vp8 in ogg muxing like i did for demuxing back then, but the vp8 invisible frames thing gave me some trouble
[21:51] <Daemon404> xiph 'discourages' new ogg mappings iirc
[21:51] Action: Daemon404 stares at ogm
[21:56] <jamrial> Well, there's a mapping for vp8 at least https://wiki.xiph.org/OggVP8
[21:56] <Daemon404> oh
[21:56] <Daemon404> i guess my next question was... why
[21:57] Action: jamrial shrugs
[21:57] <Daemon404> lol
[21:57] Action: Daemon404 assumes jamrial has read the quintissential ogg posts by mans
[21:58] <jamrial> no. can you link it?
[21:59] <Daemon404> http://hardwarebug.org/2010/03/03/ogg-objections/
[21:59] <Daemon404> http://hardwarebug.org/2008/11/17/ogg-timestamps-explored/
[21:59] <Daemon404> i also recommend the jpeg ones
[21:59] <Daemon404> kinda funny
[22:00] <jamrial> thanks
[22:02] <cone-486> ffmpeg.git 03James Almer 07master:dad31083aec7: x86/svq1enc: port ssd_int8_vs_int16 to yasm
[22:02] <smarter> there's a response by monty too if you want more entertainment: https://people.xiph.org/~xiphmont/lj-pseudocut/o-response-1.html
[22:03] <Daemon404> smarter, lu_zero claimed he got monty to admit ogg was bad i think
[22:04] <Daemon404> unless i misremember
[22:04] <Daemon404> (quite possible, i was drunk)
[22:05] <smarter> I've never bothered to learn anything about containers since everyone keep telling me they all suck
[22:09] <kierank> Daemon404: monty wanted to use ogg pages in ts
[22:09] <kierank> sorry not monty
[22:09] <kierank> tim
[22:10] <Daemon404> kierank, did you stop him
[22:10] <Daemon404> did you save the world
[22:10] <kierank> yes
[22:10] <Daemon404> \o/
[22:11] <Daemon404> smarter, containers are bad
[22:11] <Daemon404> lavf is worse
[22:11] <Daemon404> kierank, whats the status of the opus-in-ts thing anyway?
[22:11] <kierank> there's a vlc patch
[22:11] <Daemon404> last thing i saw was your tweet
[22:12] <Daemon404> is the spec final?
[22:12] <Daemon404> and ratified
[22:12] <kierank> we have a mapping
[22:12] <kierank> probably the spec needs some tweaks
[22:12] <kierank> and clarifications
[22:12] <Daemon404> did you ever solve that lack of in-band stuff
[22:12] <kierank> yes
[22:12] <Daemon404> cool
[22:13] <Daemon404> is it public or like some smpte secret review
[22:13] <Daemon404> or somethin
[22:13] <kierank> public but i can't find the link right now
[22:13] <kierank> it's a draft spec
[22:13] <Daemon404> ok
[22:13] <kierank> the spec has no relation to smpte
[22:13] <kierank> smpte only look after the indentifier "Opus"
[22:14] <Daemon404> ah
[22:14] <Daemon404> the 8-bit id or whatever it is?
[22:14] <kierank> 4 byte
[22:14] <kierank> we can do whatever in that space
[22:14] <Daemon404> ok
[22:14] <kierank> put pictures of cheese if we like
[22:14] <Daemon404> spec will be what? ietf? iso?
[22:15] <kierank> in theory dvb
[22:15] <Daemon404> oh
[23:29] <Timothy_Gu> michaelni: seems like you forgot about this
[23:30] <Timothy_Gu> https://lists.mplayerhq.hu/pipermail/fate/2014-January/000402.html
[23:37] <michaelni> Timothy_Gu, done, thanks for reminding
[00:00] --- Sun Jul 6 2014
1
0
[02:05] <sbujnak> Hi, how do I convert any audio to mono? Currently I'm using aformat with following parameters: sample_fmts=flt:sample_rates=11025:channel_layouts=mono but it gives me error: http://pastebin.com/raw.php?i=7RvJJ0R4
[02:11] <c_14> https://trac.ffmpeg.org/wiki/AudioChannelManipulation
[02:24] <waressearcher2> I have video and in some places where its bright its quite too bright but in other places where its dark its really dark, can there be done something ? if I try to increase brightness to make dark parts brighter those bright parts are become really bright or on the other hand if I decrease brightness those dark parts are become really dark, or
[02:24] <waressearcher2> should I cut out bright and dark parts and decrease and increase brightness in every of them separately ? is there any filter that can make average brightness on overall video ?
[03:47] <Jackster_> "Error while opening decoder for input stream #0:2 : Resource temporarily unavailable" I guess I can't open FFMPEG to many times? I have it running 5 transcodes and now this pops up on the 6th
[06:14] <portablejim> Is there a way to get ffmpeg to encode to mp3 at very-very low bitrates?
[06:36] <Jackster_> How can I make FFMPEG save a debug file? Need as much info as I can on a problem
[06:40] <Jackster_> ah got it
[06:51] <vkrishn> JEEB, https://dpaste.de/SxUA, from ffmpeg.static.32bit.2014-07-04
[07:41] <MarcelvanLeeuwen> Hi, first I was trying to encode with Handbrake on my server but i could build Handbrake from source. Then i discovered FFmpeg in the ClearOS-contribs repos. So i want to try to do some encoding with FFmpeg.
[07:43] <waressearcher2> what are you waiting for ? christmass ?
[07:44] <MarcelvanLeeuwen> Sorry?
[07:44] <MarcelvanLeeuwen> is there some batch script were i can put a movie in a directory and then FFmpeg automatically encodes the movie?
[07:47] <waressearcher2> you should use options
[07:48] <waressearcher2> scripts can't know what you want to achieve
[07:48] <vkrishn> MarcelvanLeeuwen, there could be more ways, but I would write a simple cron script+ using ffmpeg preset
[07:49] <MarcelvanLeeuwen> okay
[07:50] <MarcelvanLeeuwen> there is no example?
[08:07] <MarcelvanLeeuwen> ffmpeg -i input -c:v libx264 What means the -c:v?
[08:07] <sfan5> -c:v sets the video codec
[08:09] <MarcelvanLeeuwen> v = videocodec?
[08:09] <MarcelvanLeeuwen> so with audio its -c:a
[08:09] <MarcelvanLeeuwen> its a selector
[08:17] <sfan5> yes. v = video, a = audio, s = subtitles
[08:19] <MarcelvanLeeuwen> ah, also subs!
[08:37] <MarcelvanLeeuwen> is it possible to slect a stream? thus -c:a stream copy?
[08:38] <MarcelvanLeeuwen> *select
[09:06] <relaxed> MarcelvanLeeuwen: -c:a:0 for the first audio stream
[09:06] <relaxed> read the fine manual
[09:10] <MarcelvanLeeuwen> yes ive found h264 encode manual
[09:10] <MarcelvanLeeuwen> already testing!
[09:11] <MarcelvanLeeuwen> for so far Im very pleased
[09:34] <MarcelvanLeeuwen> what means the q=25 when encoding? quality? if set -crf 22
[09:39] <MarcelvanLeeuwen> * Ive set -crf 22
[10:23] <waressearcher2> are options "-c:v libx264" and "-c:v h264" the same ?
[10:29] <Filarius> hello, how I can set ffmpeg do not stop if I loop on same image what I use to store frames for video ? Seems sometime ffmpeg can`t access file because of it was blocked by writing http://pastebin.com/zzCxB4C4
[11:03] <waressearcher2> if I create 1920x1080 h264 video from high resolution photos, they are converted to images of 1920x1080 and in png format, what video bitrate should I use ? -vb 3000k ? -vb 5000k ?
[11:10] <sfan5> better use -crf
[11:10] <sfan5> crf will make sure every one of your photos is encodec in the same level of quality without wasting any data
[11:11] <sfan5> encoded*
[11:11] <waressearcher2> so that what is -crf for ?
[11:11] <sfan5> http://slhck.info/articles/crf
[11:11] <waressearcher2> so its not in "man ffmpeg-all" ?
[11:12] <sfan5> https://trac.ffmpeg.org/wiki/x264EncodingGuide
[11:12] <sfan5> I don't know
[11:12] <waressearcher2> what if I use "-vcodec mpeg4" can I still use "-crf" ?
[11:13] <sfan5> IIRC only libx264 supports crf
[11:18] <waressearcher2> also related question: I tryed to make video from 66 photos of resolution 1920x1080, they are all in png format, I used that command: "cat *.png | ffmpeg -f image2pipe -vcodec png -r .45 -i - -vcodec h264 -vb 5000k -r 25 -y -f avi video.avi", I run it on netbook with 1GB ram and after ffmpeg process consumed about 800MB of ram it crashes, why ? is
[11:18] <waressearcher2> it because of x264 codec ?
[11:20] <sfan5> probably
[11:21] <waressearcher2> because I tryed to the same with "-vcodec mpeg4" and process ffmpeg consumed only 100MB of ram
[11:22] <waressearcher2> can I create good quality 1920x1080 video from images using "-vcodec mpeg4" codec ?
[11:22] <waressearcher2> or I should use x264 ?
[11:24] <sfan5> H.264 is better than MPEG4
[11:27] <waressearcher2> can't afford to use h.264 with more resolution that 1280x720
[11:48] <MarcelvanLeeuwen> is it possible to remove the black bars?
[11:49] <saste> MarcelvanLeeuwen, crop filter (need transcode)
[11:49] <saste> MarcelvanLeeuwen, also see cropdetect
[11:49] <MarcelvanLeeuwen> okay
[11:59] <MarcelvanLeeuwen> you first have to cropdetect and set the founded value with -vf crop=?
[12:05] <Filarius> how to ask ffmpeg to ignore files blocked by writing while process image sequence ?
[12:06] <Filarius> http://pastebin.com/4PG6tGRv
[12:12] <Filarius> with this ffmpeg at some time crash with
[12:12] <Filarius> "could not open file" error
[13:17] <vkrishn> JEEB, https://dpaste.de/SxUA, from ffmpeg.static.32bit.2014-07-04
[13:18] <vkrishn> I am also trying to go through the docs
[13:18] <vkrishn> and also trying some preset options in winff
[13:18] <MarcelvanLeeuwen> uses FFmpeg multithreading or is it using a single thread?
[13:19] <sacarasc> vkrishn: What are you trying to do?
[13:19] <sacarasc> MarcelvanLeeuwen: Depending on which codecs you use, it might default to multithreading.
[13:20] <MarcelvanLeeuwen> libx264
[13:20] <sacarasc> That defaults to multithreaded with as many threads as your CPU can handle.
[13:20] <vkrishn> sacarasc, trying to re-encode newer mp4 for older mobile (Dell xcd35)
[13:21] <sacarasc> What does the device support?
[13:21] <MarcelvanLeeuwen> if i check with top my cpu uses just 17% of its total resources&
[13:22] <vkrishn> https://dpaste.de/SxUA is mp4 that plays on xcd35
[13:22] <sacarasc> What version of ffmpeg are you using, MarcelvanLeeuwen?
[13:22] <MarcelvanLeeuwen> checking
[13:22] <vkrishn> ffmpeg.static.32bit.2014-07-04
[13:22] <vkrishn> ooops
[13:23] <MarcelvanLeeuwen> version 2.0.2
[13:25] <sacarasc> vkrishn: Try this, no guarantee, but it should work... ffmpeg -i ilikecheese.mp4 -c:a aac -b:a 90k -c:v libx264 -profile:v baseline -b:v 300k -preset:v slow -vf scale=400:-1 ilikecheese_mobile.mp4
[13:26] <sacarasc> MarcelvanLeeuwen: What is your source file?
[13:26] <vkrishn> sacarasc, thanks
[13:26] <MarcelvanLeeuwen> you meann source video file?
[13:26] <sacarasc> Yeah.
[13:26] <MarcelvanLeeuwen> checking
[13:28] <MarcelvanLeeuwen> h264/AVC
[13:28] <vkrishn> sacarasc, encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
[13:28] <vkrishn> Alternatively use the non experimental encoder 'libvo_aacenc'
[13:29] <sacarasc> According to https://trac.ffmpeg.org/wiki/GuidelinesHighQualityAudio the inbuilt one is better than libvo_aacenc, so you should probably just add that bit to the command.
[13:33] <vkrishn> would be nice if http://ffmpeg.gusari.org/static/docs was also available (tar files with html docs)
[13:34] <MarcelvanLeeuwen> i also have plex server installed i can encode a movie with ffmpeg and watch a movie (encode mode) at the same time&.
[13:34] <vkrishn> or pdf
[13:44] <MarcelvanLeeuwen> hmm you can also use -thread 0
[13:47] <MarcelvanLeeuwen> source is mkv 1080p h264/avc
[13:47] <MarcelvanLeeuwen> i encode to a smaller mkv with dts and subs
[13:48] <MarcelvanLeeuwen> Ive remuxed the orignal blu-ray to mkv with makemkv
[13:53] <sacarasc> MarcelvanLeeuwen: Add -threads 0 to the input options as well as the output ones.
[13:54] <MarcelvanLeeuwen> I will try after my test encode what now is running&
[13:54] <MarcelvanLeeuwen> I will inform you&
[13:56] <sacarasc> 1080p takes quite a bit to decode, so that could be where the bottleneck is.
[13:56] <MarcelvanLeeuwen> okay
[13:57] <MarcelvanLeeuwen> there is also a positive site.., now iahve enough power left to watch movies on Plex
[13:58] <sacarasc> I like Plex, but I do not like my slow ass mobile Internet on my phone. :D
[13:58] <MarcelvanLeeuwen> lol
[14:03] <MarcelvanLeeuwen> http://prntscr.com/3zlyiw
[14:03] <MarcelvanLeeuwen> see this screenshot of top
[19:22] <Extensa5630G> where to get the ffmpeg that has clear and featured GUI?i ended up downloading the one that is used from the cmd
[19:22] <Extensa5630G> I use Win7
[19:29] <sacarasc> There is no official GUI for ffmpeg.
[21:49] <alexd457> hi, I understand that seeking of a compressed format like wmav2 inside asf container is inherently imprecise. However, is there anything I can do to make it more precise?
[21:58] <alexd457> I meant when playing the asf in a player (eg, silverlight), i'd like the seeking to be more precise
[22:22] <felixf> Question: If I define my output codec to be -vcodec libx264 which happens to be the same as in the input video codec, does it behave identically to -vcodec copy or does a decode/reencode occur?
[22:49] <c_14> a decode/reencode occurs
[00:00] --- Sun Jul 6 2014
1
0
[00:15] <kierank> 9:52 PM <"wm4> ubitux: libav has opw thus ffmpeg needs opw --> lol
[00:49] <cone-252> ffmpeg.git 03Oliver Fromme 07master:3f0a3e9e127d: avcodec/dvdsubdec: Fix off-by-one error
[00:50] <cone-252> ffmpeg.git 03Oliver Fromme 07master:d73823286d5f: avcodec/dvdsubdec: fix alpha in debuging code
[01:07] <cone-252> ffmpeg.git 03Anton Khirnov 07master:9279826008b8: id3v2enc: use a case-insensitive comparison for APIC picture type
[01:07] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:b28fcbba0c27: Merge commit '9279826008b80daad7446950a821f32033ccd33f'
[01:14] <cone-252> ffmpeg.git 03Justin Ruggles 07master:c6698dfe7cdb: webpdec: Fix decoding of the huffman group indices.
[01:15] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:cf8c44fc4733: Merge commit 'c6698dfe7cdbc7634f33245875488ed3fa4a8ced'
[01:24] <cone-252> ffmpeg.git 03Diego Biurrun 07master:391ecc961ced: x86: mpegvideoenc: Change SIMD optimization name suffixes to lowercase
[01:24] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:5c65aed7fdfb: Merge commit '391ecc961ced2bde7aecb3053ac35191f838fae8'
[01:51] <cone-252> ffmpeg.git 03James Almer 07master:857cd1f33bcf: swr: initialize only the necessary resample dsp functions
[02:05] <cone-252> ffmpeg.git 03James Almer 07master:8279a1528470: x86/swr: split audioconvert and rematrix DSP into separate files
[02:11] <cone-252> ffmpeg.git 03Carl Eugen Hoyos 07master:4c145b692c31: Autodetect JPEG2000 imagess.
[02:19] <cone-252> ffmpeg.git 03James Almer 07master:9937362c54be: x86/swr: use lavu helper macros to check CPU extensions
[02:28] <cone-252> ffmpeg.git 03Lukasz Marek 07master:3ba6dce48dc1: lavf/ftp: make response parsing more RFC compliant
[02:28] <cone-252> ffmpeg.git 03Lukasz Marek 07master:a0358db323a8: lavf/ftp: explicitly enable UTF-8
[02:28] <cone-252> ffmpeg.git 03Lukasz Marek 07master:c82521713d1f: lavf/ftp: always treat all response codes >= 500 as error
[02:29] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:7d179b126b95: Merge remote-tracking branch 'lukaszmluki/master'
[04:42] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:726e253b004d: avformat/img2dec: allocate and clear padding area for probe correctly
[04:42] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:6691eee48c7f: avformat/img2dec: avoid seekback on probeing
[04:42] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:0437445926a3: avformat/img2dec: set AVProbeData size correctly on corner cases of tiny files
[05:05] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:a195c98cbc50: configure: update dependencies for vf_spp
[05:05] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:d36fe733c1e8: avformat/img2dec: increase probe buffer to 2k
[05:05] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:c277ab6b7889: avformat/img2dec: improve bmp probe
[13:20] <plepere> is there a 4K stream for the world cup ?
[13:23] <av500> kierank: ^^^
[14:06] <kierank> plepere: yes in london, Manchester and glasgow
[14:06] <kierank> And an MPEG dash version within the bbc
[14:07] <plepere> is there a way to grab a stream?
[14:07] <kierank> No
[14:07] <plepere> outside of the UK
[14:07] <plepere> dang it
[14:07] <kierank> Did I send you the sample?
[14:08] <plepere> yes, with the trees moving
[14:08] <plepere> or was it ubitux ?
[14:08] <kierank> OK that was mine
[14:08] <plepere> :)
[14:09] <plepere> hmm. So if I grab a london based VPN, I should be able to get the BBC... :p
[14:10] <plepere> nevermind. I'll have to grab the streams once the world cup is over, I guess.
[14:10] <JEEBsv> I'll have to check how the Japanese 4K station aired the world cup
[14:11] <JEEBsv> currently not exactly easy to handle because my own capbox is down because of hw problems
[14:20] <Mavrik> hmm
[14:20] <Mavrik> isn't 4K stream available from satellites?
[14:21] <plepere> IIRC there's a 4K satellite broadcast in Spain, maybe in the UK.
[14:21] <Mavrik> but just for few games tho
[14:22] <plepere> ah, for the world cup ?
[14:22] <plepere> yes, only tonight's games + finals will be in 4K
[14:22] <plepere> filmed in 4K
[14:22] <plepere> and broadcasted in specific locations.
[14:25] <kierank> http://www.bbc.co.uk/rd/blog/2014/06/bbc-r-d-ultra-high-definition-trials
[14:28] <JEEBsv> Mavrik: yeah the JApanese one is on sate as well as fiber atm
[15:18] <Voicu> hello
[15:19] <plepere> good morning
[15:19] <Voicu> quick question: when I have an AVFrame I understand that frame->linesize gives me the length of a video line
[15:19] <Voicu> but if the format is something like YUV420 (which is common) is there a way to find out how many lines are in each frame->data buffer?
[15:20] <Voicu> i.e. if I understand YUV correctly there are 1/4 U and V bytes for each pixel
[15:20] <Voicu> the linesize for my frame is 1/2 of the image width so I assume the frame contains height/2 lines, each of length linesize
[15:21] <Voicu> it wasn't such a quick question after all...
[15:22] <av500> well, this is how YUV420 is defined
[15:22] <av500> and all the other formats
[15:23] <Voicu> av500, yes. My question is: is there no way to know the number of lines? By looking in the AVFrame structure, I couldn't find anything like that
[15:23] <Voicu> so I can be sure I won't get a seg fault or similar
[15:23] <av500> you have frame width and heiight
[15:24] <JEEBsv> there's a horizontal and vertical subsampling function, that tells you the type of subsampling
[15:24] <BBB> Voicu: av_pix_fmt_desc_get()
[15:24] <BBB> in libavutil/pixdesc.h
[15:24] <JEEBsv> and then you can bit shift with that value for each plane IIRC
[15:24] <Voicu> BBB, cool thanks
[15:24] <BBB> gives you a pixfmtdescriptor, that has a comp[] array
[15:25] <BBB> that defines h/v subsampling in log2 units per plane
[15:25] <Voicu> JEEBsv, ty too
[15:25] <JEEBsv> yeah, that was it
[15:25] <BBB> itll tell you comp[1] and comp[2] have 1 h/v log2 subsampling
[15:25] <BBB> meaning chroma h/v is half of y h/v
[15:25] <Voicu> hmm
[15:25] <Voicu> I think I understand
[15:25] <Voicu> I need to check
[15:25] <BBB> actually, the main struct even has log2_chroma_w and log2_chroma_h
[15:25] <BBB> so there you go
[15:26] <JEEBsv> yeah
[15:26] <BBB> so -((-AVFormatContext->height) >> desc->log2_chroma_h) gives you number of lines in chroma
[15:26] <BBB> the negation is to round up instead of down
[15:26] <BBB> it may even have a utility function for that, not sure, anyway, that should get you started
[15:26] <JEEBsv> that's an interesting hack
[15:27] <ubitux> you're supposed to use FF_CEIL_RSHIFT()
[15:27] <BBB> ah I knew there was a utility function
[15:27] <BBB> ty
[15:29] <cone-148> ffmpeg.git 03Michael Niedermayer 07master:bd8b6ed96df5: avcodec/bmp: fix integer overflow in checking header sizes
[15:39] <Voicu> thanks all, very useful
[15:40] <Voicu> also, while we're at it... to determine the padding I can just use the log2_chroma_w, right?
[15:41] <Voicu> and can I assume the padding is at the end of each line?
[15:45] <BBB> padding depends on whow/here you allocated the image
[15:45] <BBB> and padding is already part of linesize[]
[15:47] <Voicu> BBB, I am decoding a h264 stream and I get a linesize larger than the width. I assumed it's the padding referred to in the docs. By inspecting the values in the buffer I think the padding is at the end (all the extra bytes are 0)
[15:48] <Voicu> i.e. for an image size of 320x240 I get the linesize 352 on Y and 176 on U and V. I have 32 '0' bytes respectively 16 '0' bytes at the end of each line in the buffers
[15:50] <nevcairiel> Yes padding is at the end, not sure why anyone would think its somewhere else. :d
[15:51] <J_Darnley> I know ffmpeg has some LUTs. How are they stored? Global variables or in some context somewhere?
[15:51] <Voicu> nevcairiel, I was thinking it might be half at the beginning and half at the end or something like that
[15:51] <J_Darnley> Voicu: how can that be when data[0] points to the first pixel?
[15:52] <Voicu> J_Darnley, well it still does, you just need to skip the padding :P
[15:52] <Voicu> btw, why does it add padding when the width is already divisible by 32 (and 16)
[15:52] <J_Darnley> But then if you skip padding at the start of the first line, padding at the start of the second looks like it is at the end of the first
[15:53] <J_Darnley> And that is because SIMD loops can read/write upto 32 bytes after the end of a line
[15:54] <Voicu> J_Darnley, I was just thinking that maybe some decoders/filters/whatever work on larger pieces of 'pixels'. I was thinking at algorithms like interpolating pixels where you need to average with pixels outside the image
[15:54] <Voicu> J_Darnley, ok, I get it now
[15:54] <nevcairiel> It might not be required anymore these days, but there used to be some edge processing things that needed it
[15:55] <Voicu> thanks again
[15:55] <nevcairiel> Most stuff moved to emulated edges
[15:56] <BBB> we used to add 16 pixels left and right of the data (i.e. the allocated block actually started 16 lines and 16 pixels before data[0])
[15:56] <BBB> also top/bottom
[15:57] <BBB> these pixels would be used for edge emulation for faster mc routines
[15:57] <BBB> we stopped doing that because we found a faster algorithm that didnt require edges in allocated images
[15:58] <BBB> but the image allocation routine still allocates the edges just because some old codecs havent been updated to use the new algorithm yet
[15:58] <Voicu> I see... so I was not overly cautious :D
[15:58] <BBB> well youre thinking too much about it, I guess
[15:58] <BBB> were trying to provide you data in such a way that you dont have to think about it
[15:59] <BBB> so the part where you thought you did have to think about it is clever, but were trying to make it so that you dont have to ;)
[15:59] <Voicu> hehe
[16:33] <kierank> 1:09 PM <plepere> hmm. So if I grab a london based VPN, I should be able to get the BBC... :p --> you would need an antenna
[16:34] <plepere> kierank, I was just kidding, I'm not even interested in football/soccer
[16:35] <Daemon404> bbc iplayer
[16:35] <Daemon404> ?
[16:36] <plepere> Daemon404, I don't think it will recieve the 4K HEVC stream.
[16:36] <kierank> i think the mpegdash stream is internal only
[16:36] <kierank> but the dvb-t2 stream is public
[16:36] <Daemon404> ah
[16:37] <plepere> but limited to the UK
[16:38] <kierank> limited to 3 cities
[16:38] <kierank> a friend of mine said he is going to record everything
[16:38] <kierank> also it will be showing commonwealth games
[16:38] <kierank> the contribution links for that are x264 intra encoded 4k
[16:38] <plepere> he will record the stream ? :D
[17:19] <cone-148> ffmpeg.git 03Michael Niedermayer 07master:d1a8659efe66: avformat/img2dec: remove functions from image pipe which are unneeded for image pipes
[17:24] <J_Darnley> Why does ffmpeg start spamming my terminal if I press left while it is encoding?
[17:26] <saste> J_Darnley, because that way you are increasing the log level?
[17:37] <J_Darnley> I didn't know you could do that.
[17:41] Action: kierank didn't know that too
[18:00] <plepere> see ya all
[18:00] <plepere> have a nice week end
[18:01] <plepere> and happy 4th of july for americans
[20:30] <cone-148> ffmpeg.git 03Michael Niedermayer 07master:2d1555485079: avcodec/mlp_parser: check ff_combine_frame() return code
[20:51] <cone-148> ffmpeg.git 03Lukasz Marek 07master:b7adc5b5a60c: lavf/libssh: call ssh_userauth_none before ssh_userauth_list
[21:04] <cone-148> ffmpeg.git 03Timothy Gu 07master:0201ce002cb7: avutil: fix version macros doxygen module
[21:38] <Timothy_Gu> My Nexus 7 broke yesterday
[21:38] <Timothy_Gu> :(
[21:38] <Timothy_Gu> It just doesn't turn on
[21:38] <Timothy_Gu> which means that I can't read the mailing list posts or IRC without my laptop
[21:41] <Timothy_Gu> It's the 2012 model, and it's out of warranty
[22:16] <cone-148> ffmpeg.git 03Timothy Gu 07master:31a6dfcbf74d: Doxyfile: enable browser-based search engine
[22:16] <cone-148> ffmpeg.git 03Timothy Gu 07master:beed4ac1108a: channel_layout: doxy: merge functions with macros
[22:17] <cone-148> ffmpeg.git 03Timothy Gu 07master:3679edf429eb: downmix_info: clarify doxygen
[22:50] <BBB> Timothy_Gu: moto G goes for <$200 on play store, I think its currently at $180, not bad
[22:50] <BBB> if you want a tablet...
[22:51] <BBB> dunno
[22:51] <Timothy_Gu> yeah
[22:51] <BBB> I have a nexus 7, I dont use it :-p
[22:51] <BBB> just one of these things taking space
[22:51] <Timothy_Gu> what phone do you use?
[22:51] <Timothy_Gu> iPhone? :p
[22:51] <BBB> I have a galaxy nexus, my wife has a moto G
[22:52] <BBB> we have an ipad for facetime, its the best application ever
[22:52] <Timothy_Gu> I don't have a phone, and I don't wanna get one in near future
[22:52] <Timothy_Gu> oh
[22:52] <Timothy_Gu> ever considered updating yourr phone?
[22:52] <BBB> nah, galaxy nexus is still fine
[22:52] <Timothy_Gu> seems like your wife's better than yours
[22:52] <BBB> it is :-p
[22:52] <BBB> she just bought it
[22:52] <Timothy_Gu> oh that's why
[22:53] <BBB> mine is a 2.5 year old google holiday present gift
[22:53] <BBB> 1.5 year ago we got the nexus 7
[22:53] <BBB> then I quit
[22:53] <Timothy_Gu> then you don't get gifts anymore?
[22:53] <BBB> :-p
[22:53] <BBB> surprising right?
[22:54] <Timothy_Gu> i would stay in google just for those gifts ;)
[22:54] <Timothy_Gu> the 2013 nexus 7 is pretty old so that's why i dont wanna get one
[22:55] <BBB> the gifts are worth a couple 100 US$ each
[22:55] <BBB> so you can afford that out of your salary if you work at google
[22:55] <BBB> esp. if youre single :)
[22:56] <BBB> (I used to see all these single google engineers having >$100k cars and going racing every weekend)
[22:56] <BBB> anyway, back to football
[22:56] <Timothy_Gu> oh shit, it's working now!
[22:56] <Timothy_Gu> Nexus 7
[22:56] <BBB> \o/
[22:56] <BBB> congrats
[22:56] <Timothy_Gu> thx
[22:57] <Timothy_Gu> and i forgot about soccer writing those doxy patches o_o
[22:57] <JEEB> I've just started at another big evil corporation, and slowly getting used to the M-Bs and Audis and BMWs that people have when we drive to have lunch
[22:57] <JEEB> (because the local cafeteria sucks)
[22:58] <JEEB> nothing like the US, of course
[23:00] <Timothy_Gu> jeeb: which country are u in?
[23:00] <JEEB> .fi
[23:28] <cone-148> ffmpeg.git 03Timothy Gu 07master:939d22a297bf: Doxyfile: imitate gcc for better libavutil/attributes.h documentation
[23:32] <BBB> JEEB: yeah thats engineering culture
[23:34] <JEEB> I'll be trying to go to work by bicycle this weekend, to test it out. Given that the bus that goes to the place I work at sucks time-wise, bicycling actually becomes a viable alternative
[23:57] <Timothy_Gu> reynaldo: I changed the OPW wiki page name to "SponsoringPrograms/OPW/2014-12", so if you are doing any additional changes please refer to that page.
[00:00] --- Sat Jul 5 2014
1
0
[00:54] <lkiesow> Is there a good way to extract the last frame from a video? I can run ffprobe to get the number of frames of the video and then the select filter to get the last frame, but that is really slow. I could use -ss to fast-seek to nearly the end, but then I will get a different frame count in the select filter
[00:54] <lkiesow> Any ideas?
[00:56] <lkiesow> So, this works: ffmpeg -i in.mp4 -filter:v 'select=eq(n\,52373)' -r 1 -frames:v 1 out.jpg but is really slow on a longer video
[01:23] <lkiesow> ok, found a solution, I'm just seeking nerly to the end and then extract every frame but make them overwrite each other: ffmpeg -ss 2093 -i in.mp4 -updatefirst 1 out.jpg
[03:41] <rcombs> http://www.ffmpeg.org/ffmpeg-filters.html#Options <-- does "input aspect ratio" in this section refer to display DAR or SAR?
[03:43] <c_14> dar
[03:43] <rcombs> perfect, thanks
[03:43] <c_14> if you mean the -1 part
[03:43] <rcombs> the -1/-(n>1) part
[03:44] <c_14> yep
[03:44] <rcombs> and also force_original_aspect_ratio
[03:45] <c_14> yep, most of the time if something mentions the aspect ratio you can assume the dar
[03:47] <rcombs> yeah, just wanted to make sure
[03:47] <rcombs> now, what I really need here is a combination of force_original_aspect_ratio and x/y=-4
[03:48] <c_14> What are you trying to do?
[03:49] <rcombs> "scale=x=min(<max width>,iw):y=max(<max height>,ih):force_original_aspect_ratio=decrease"
[03:50] <rcombs> and then, on top of that, I need the final resolution's x and y values both to be multiples of 4
[03:50] <rcombs> but I think I'll just tweak the filter code
[03:54] <c_14> you can handle the divisible by 4 part with trunc(expression/4)*4
[03:55] <c_14> But that'll mess with your force_original_aspect_ratio
[03:55] <c_14> or well, the force will override that
[03:56] <relaxed> why not use pad
[04:01] <rcombs> oh, that works
[08:43] <jmleo> Hi there
[08:44] <jmleo> I have a broken mp4 file, ffmpeg returns :
[08:44] <jmleo> video.mp4: Invalid data found when processing input
[08:44] <jmleo> I know that codecs inside arre h264 and aac
[08:44] <jmleo> Is it possible to create a new stream which would be a repaired mp4 ?
[09:43] <jmleo> I tried this :
[09:43] <jmleo> http://pastebin.com/w0LUAgc2
[10:15] <luc4> Hello! Anyone who knows where to find info on how to convert the avcc stream inside a mp4 to annex b?
[10:20] <Darkfang> Hi. I'm trying to extract a RAW HEVC bitstream from an HEVC mkv file. I ran this command:
[10:20] <Darkfang> ffmpeg -i Sintel.mkv -an -vcodec copy output.hevc
[10:20] <Darkfang> But I get a weird message about non monotonically increasing dts in muxer and the resulting bitstream is invalid....
[10:35] <heftig-z> gstreamer's ximagesrc shows tearing that ffmpeg's x11grab doesn't (and the latter had lots and lots of testing showing none). any idea what it could be doing differently?
[10:40] <kz1> does ffserver decode/encode ?
[11:46] <jmleo> anyone to help on mp4 repair ? I tried this http://pastebin.com/w0LUAgc2
[12:02] <sfan5> Darkfang: try adding -f rawvide
[12:02] <sfan5> rawvideo*
[12:31] <luc4> Hello! I'm trying to mux a h264 stream into an mp4. Anyone who knows if I can extract the timestamps of the frames from the h264 stream? I know that the stream has a variable framerate, so I'll need the timestamps to provide those to ffmpeg.
[15:38] <Darkfang> sfan5: Did not help... I used mkvextract. Much faster than trying to figure it out :)
[15:45] <dannyzb> When converting to HLS i need keyframes every +-10 seconds .. does -g 125 work with -vcodec copy ?
[16:11] <relaxed> dannyzb: no
[16:11] <dannyzb> is there any way to use vcodec copy and add keyframes ?
[16:12] <relaxed> no
[16:13] <dannyzb> good to know , thanks
[16:20] <Mavrik> think about what you're asking
[16:20] <Mavrik> if you're copying the stream you can't modify it
[16:25] <dannyzb> yes i understand
[16:25] <dannyzb> i just hoped that copy with keyframes would only change whats needed
[16:25] <dannyzb> the complexity of that is obvious , but you can always hope
[16:26] <dannyzb> half the sites online on creating HLS streams have broken commands then ... always wondered why they used COPY+KEYFRAMES
[16:27] <Mavrik> uh
[16:27] <Mavrik> keyframes are integral to structure of encoded streams
[16:27] <Mavrik> you can't just throw them in there without reencoding everything.
[16:37] <Luca__> Hello! Anyone here who knows if it is possible to use ffmpeg libs in a Windows Store App?
[17:02] <dannyzb> Mavrick : theoretically , you could add keyframes only where they are missing , then you only reencode frames between them and the adjacent keyframes - easily saves a lot of encoding work
[17:02] <dannyzb> most videos IMO should have almost enough keyframes from the get-go :thats why the broken HLS encoders everywhere work anyway
[17:12] <dannyzb> work anyway mostly * it does break some videos
[17:21] <vkrishn> hi
[17:23] <vkrishn> I can play some mp4 on android 4x (jellybean), but not on 2.1(eclair)
[17:23] <vkrishn> though 2.1 says it supports mp4/h.264
[17:24] <vkrishn> any help how to convert them would be nice ?
[17:24] <Hello71> i'm putting money on profile
[17:39] <dannyzb> vkrishn : what phone , how much ram does it have , what ffmpeg profile , what audio encoding and how did you want to play it back ? (with what app )
[17:41] <dannyzb> android 2.1 supports up to baseline profile IMO in most cases
[17:42] <dannyzb> i've seen videos on bittorrent go beyond high profile so i wouldn't be surprised if you can't play many of them
[17:42] <JEEB> AVC decoding capabilities are _fully_ dependant on the hardware
[17:42] <JEEB> not the android version
[17:42] <JEEB> if your piece of hardware has a crappy ASIC, then you deal with that. If it has a good ASIC, then you can enjoy that
[17:47] <dannyzb> JEEB : Finished my big project :D no more noob questions again ever
[17:47] <JEEB> dannyzb, don't worry - you will always end up at such a point again somewhere sometime
[17:48] <dannyzb> I guess you can always condescend ;)
[17:57] <Luca__> Hello! Anyone who was able to use ffmpeg libraries on winrt?
[18:03] <dannyzb> Luca: Handbrake should have a version for WinRT
[18:03] <dannyzb> You better give up on using normal libraries on WinRT .. stuff needs to be compiled with visual studio there .. UGH
[18:05] <Luca__> <dannyzb>: well, visual studio can also be build on the command line. Also Qt is portable to winrt. It is 10^9 times more complex than any other OS but it is possible...
[18:07] <dannyzb> Luca__ : theoretically it's Tegra3 so .. that preset might work .. but why ?
[18:08] <Luca__> <dannyzb>: I never said ARM :-) anyway yes, both ARM and x86. Why what?
[18:09] <dannyzb> completely unrelated things
[18:09] <dannyzb> same name , different systems
[18:13] <dannyzb> on the surface pro try the regular ffmpeg build for windows
[19:12] <vkrishn> dannyzb, got busy with some work, my mobile is Dell XCD35
[19:14] <vkrishn> sorry, repeating question,
[19:14] <vkrishn> I can play some mp4 on android 4x (jellybean), but not on 2.1(eclair), Delll XCD35
[19:15] <vkrishn> but on newer mobile phone like samsung galaxy star s5280 they play well
[19:16] <BtbN> does a that old android version even support aac?
[19:16] <vkrishn> I even have few mp4 that play on both,
[19:16] <vkrishn> yes, eAAC player
[19:18] <vkrishn> I think http://www.gsmarena.com/ has a nice hardware profile of both phones
[19:19] <JEEB> <JEEB> AVC decoding capabilities are _fully_ dependant on the hardware
[19:19] <JEEB> <JEEB> not the android version
[19:19] <JEEB> <JEEB> if your piece of hardware has a crappy ASIC, then you deal with that. If it has a good ASIC, then you can enjoy that
[19:20] <vkrishn> JEEB, any way of converting the newer mp4 files to same format as one that plays ?
[19:20] <JEEB> only by re-encoding :P
[19:20] <JEEB> -profile:v baseline -level:v 30
[19:41] <vkrishn> JEEB, thanks
[19:42] <vkrishn> ffmpeg complained about -strict experimental, so added it and and it I have re-ended one file
[19:42] <vkrishn> re-encoded* ;)
[19:43] <JEEB> vkrishn, you probably want to just copy the audio over if it's AAC :P
[19:43] <JEEB> -c:a copy
[19:43] <vkrishn> I have ffmpeg that comes with knoppix 7.2
[19:43] <vkrishn> ok will re-do
[19:50] <vkrishn> hmmm... ffmpeg version 0.8.6-6 does not recognize "-c:a copy" but avconv version 0.8.7-6
[20:20] <mowfask> Hey everyone. I'm trying to stream via RTP using libavformat. When av_guess_format()ing "rtp", neither AVFMT_NOFILE nor AVFMT_NOSTREAM are set. Does that mean I have to open the stream 'like a file' and also create an AVStream?
[20:42] <vkrishn> JEEB, ffmpeg -i test.mp4 -profile:v baseline -level:v 30 -c:a copy -strict experimental a2.mp4 ?
[20:43] <vkrishn> a2.mp4 works on samsung mobile but not dell
[20:50] <vkrishn> ok trying again with more options like -ar 44100
[20:50] <vkrishn> I guess -acodec copy = -c:a copy
[20:51] <sfan5> yes, those are the same
[20:51] <vkrishn> thanks
[20:53] <vkrishn> brb, need to go offline to test on all devices
[21:08] <vkrishn> JEEB, still cannot play on older mobile (Dell)
[21:11] <vkrishn> tried https://dpaste.de/Uwju , minimum (1st) and with options I could think okish (2) and almost lots of variables in between
[21:16] <vkrishn> I have a mp4 that plays on both devices, is there a way of getting all its meta info, that I can paste for you look at ?
[21:27] <JEEB> vkrishn, I'd be surprised if the audio was the reason so you can just keep the audio as-is as long as it's AAC or something
[21:27] <JEEB> also you don't need to change the rate I'm pretty sure for the vieo
[21:27] <JEEB> *video
[21:27] <JEEB> can you also actually post the _output_ of ffmpeg as well :P
[21:27] <JEEB> in the pastebin
[21:28] <JEEB> but yeah, if it can't deal with profile baseline and level 3.0 then it just sucks and has nothing to do with the android version
[21:28] <JEEB> you could try lowering resolution to something like 320x240
[21:30] <vkrishn> one that plays on both has 400x292
[21:30] <vkrishn> I tried to mimic its details
[21:31] <vkrishn> just note that samsung galaxy star s5280 play all files I have
[21:31] <vkrishn> plays
[21:31] <JEEB> of course, the ASICs are different :P
[21:31] <JEEB> ASICs being the stuff that actually handles the decoding
[21:33] <vkrishn> paste the output of -> ffmpeg -i test.mp4 -profile:a baseline -level:v 30 -acodec copy -strict experimental c2.mp4 ?
[21:33] <JEEB> no need for -strict experimental when not encoding AAC: P
[21:33] <JEEB> only the libavcodec AAC encoder needs that flag
[21:33] <vkrishn> ok will try
[21:34] <vkrishn> ffmpeg -i test.mp4 -profile:v baseline -level:v 30 -acodec copy c2.mp4
[21:39] <vkrishn> https://dpaste.de/nfG8
[21:39] <JEEB> yeah
[21:40] <JEEB> switch to the avconv binary if you want to use a debian-based system :)
[21:40] <JEEB> same settings otherwise
[21:40] <vkrishn> ok
[21:40] <JEEB> which is why -c:v|a didn't work for you either :P
[21:41] <JEEB> the profile isn't getting through, as you can see libx264 is encoding main, not baseline
[21:42] <vkrishn> ok avconv says: [libx264 @ 0x8090280] profile Constrained Baseline, level 3.0
[21:43] <JEEB> yup
[21:43] <vkrishn> :)
[21:44] <vkrishn> https://dpaste.de/mhCq
[21:44] <JEEB> (debian uses Libav instead of FFmpeg, so the correct place to get support for it would be #libav , just fyi)
[21:45] <JEEB> yes, this looks more correct
[21:45] <vkrishn> ok going offline to test, thanks
[21:45] <vkrishn> brb
[22:29] <vkrishn> JEEB, here is mp4 file that works on both, https://dpaste.de/x9S3, but the re-encoded works only on newer mobile
[22:31] <vkrishn> and the z11.mp4 did not work :(
[22:31] <vkrishn> but then I guess I should mv to #libav
[22:31] <JEEB> and you're sure it's not the resolution?
[22:32] <vkrishn> 1599991_209340295923983_490505621_n.mp4 has 400x292 - plays in both DELL(older) and Samsung
[22:33] <JEEB> ok, what level does it have?
[22:34] <vkrishn> get encoded to [libx264 @ 0x8090280] profile Constrained Baseline, level 3.0
[22:34] <JEEB> no
[22:34] <JEEB> the input :P
[22:34] <vkrishn> but don't know it orignal
[22:34] <vkrishn> yes the input level
[22:34] <JEEB> no, that's output
[22:34] <JEEB> profile and level are inscribed in the bit stream for the decoder to read
[22:34] <JEEB> you could try grabbing a static ffmpeg binary
[22:34] <JEEB> I think it nowadays outputs level as well
[22:34] <JEEB> and not only profile
[22:35] <vkrishn> ok, url pls
[22:35] <JEEB> http://ffmpeg.gusari.org/static/
[22:38] <vkrishn> ok I think 2.1
[22:38] <vkrishn> I did ffmpeg -i 1599991_209340295923983_490505621_n.mp4 z15.mp4
[22:38] <JEEB> no need to set output to just view the info
[22:38] <vkrishn> and I guess it tried to gess
[22:38] <JEEB> ffmpeg -i welp.mp4
[22:38] <vkrishn> guess
[22:38] <JEEB> pastebin it
[22:39] <vkrishn> ok will do with newer static ffmpeg
[23:16] <Filarius> how I can ask ffmpeg to wait until file will be unblocked for reading? in windows I use single image file for kind of video streaming by rapidly replacing this file by new frames
[23:18] <Filarius> http://pastebin.com/zzCxB4C4
[00:00] --- Sat Jul 5 2014
1
0
[02:43] <cone-248> ffmpeg.git 03Michael Niedermayer 07master:5ab67340f9d1: avfilter/avfiltergraph: dont "or" together error codes
[02:43] <cone-248> ffmpeg.git 03Michael Niedermayer 07master:126524720661: avfilter/vf_format: Check pix_fmts before dereferencing it
[03:19] <jamrial> BBB: just sent a patch that makes some changes to the resample dsp context and init code if you want to check
[03:58] <BBB> oh i like 1/3
[03:59] <BBB> 3/3 is also nice
[03:59] <BBB> yeah all looks good
[03:59] <BBB> thanks
[09:58] <rcombs> so, apparently the yuv4mpegpipe muxer doesn't have AVFMT_NOTIMESTAMPS and AVFMT_VARIABLE_FPS set
[09:59] <rcombs> 1. should the `format_video_sync == VSYNC_AUTO` change format_video_sync to VSYNC_PASSTHROUGH if AVFMT_NOTIMESTAMPS is set but AVFMT_VARIABLE_FPS is not (it doesn't right now); 2. should yuv4mpegpipe set AVFMT_VARIABLE_FPS?
[10:02] <rcombs> does it make sense for a format that's just raw frames with no timestamp or framerate meta to declare itself as allowing variable frame rates?
[10:07] <rcombs> wow, I'm hearing people complaining about the build/configure/version banner being printed to stderr on ffmpeg invocation, as if it's a major offense to their religion
[10:53] <cone-706> ffmpeg.git 03Paul B Mahol 07master:7e8c1f0c3879: avfilter/af_aphaser: move wave table generation code into separate file
[10:53] <cone-706> ffmpeg.git 03Paul B Mahol 07master:b52c26c66f65: avfilter: add flanger filter
[13:13] <cone-706> ffmpeg.git 03Michael Niedermayer 07master:33f6ba9c4e7b: avdevice/pulse_audio_dec: clear pa_simple pointer after deallocation
[13:32] <funman> were the ffmpeg stickers printed by beastd?
[13:34] <cone-706> ffmpeg.git 03Luca Barbato 07master:df949b645b12: hevc: Use the local context variable when needed
[13:34] <cone-706> ffmpeg.git 03Michael Niedermayer 07master:982920cfaa40: Merge commit 'df949b645b12d62bb4da56d629a887c81f67f2e5'
[14:11] <Compn> funman : llogan did them i think
[14:12] <Compn> i remember they had an alaska addy...
[14:36] <funman> I put it next to my laptop touchpad and the paper drinks the humidity from my wrists :/
[14:37] <Compn> i put it on the back of my laptop
[14:38] <Compn> if you want to keep sticker longer, might have to seal it with nail polish or clear tape
[14:54] <cone-706> ffmpeg.git 03Vittorio Giovara 07master:cdab9db2adee: lavf: document av_dump_format()
[14:54] <cone-706> ffmpeg.git 03Michael Niedermayer 07master:44f079b27e81: Merge commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b'
[14:54] <cone-706> ffmpeg.git 03Michael Niedermayer 07master:a3c479fc4965: avformat/avformat: minor grammar improvement
[15:06] <michaelni> funman, i complained to logan about their robustness long ago already. Which also supposed to mean i expect the next time someone creates stickers, that they are way more robust
[15:08] <kierank> mine is on the back of my phone and still relatively strong after 2 months
[15:08] <kierank> and obviously that phone touches my hand many times per day
[15:10] Action: Daemon404 is one of those weird people who hates putting stickers on this electronics
[15:10] <Daemon404> smooth n' vanillla ftw
[15:12] <nevcairiel> i still have a few of the factory stickers on my ultrabook
[15:13] <nevcairiel> the intel i7 sticker, intel ultrabook sticker and a windows 7 sticker, way too lazy to remove them properly without leaving some smudge of adhesive
[15:13] <Daemon404> me too
[15:13] <Daemon404> but thats laziness
[15:13] <Daemon404> i7, ultrabook, iris gfx, energy star, hdmi
[15:14] <Daemon404> i dont add to the problem though
[15:14] <nevcairiel> they seem like decent quality, didnt suffer from any (ab)use
[15:15] <michaelni> my notebook lost its intel sticker recently but then it was placed exactly where my left hand always touches the keyboard while typing
[15:16] <Compn> another court evidence person wants help with videos
[15:16] <Compn> seems like a lot of court evidence techs are using mplayer and ffmpeg to analyze videos now
[15:17] <Daemon404> mplayer? misguided fools
[15:17] <Daemon404> Compn, that also mostly speaks to how terrible surveillance software is
[15:19] <Compn> yes, i've seen a few complaints about bad cctv dvr software
[15:19] <Compn> i think michael fixed playback of a few dvr formats already
[15:49] <Daemon404> "Well, i'm aiming at better codecs (MpegII, ProRes), and both can carry TC."
[15:49] <Daemon404> wat
[16:01] <Compn> timecodes
[16:02] <Compn> is tc i assume
[16:02] <Compn> and better, i'm assuming, can mean anything from tool support to error correction or 'manager says he wants mpeg'
[16:21] <alexvf> hi
[16:22] <alexvf> any h264 guru can explain how mmco_reset works?
[16:23] <alexvf> in particular, i don't understand this line https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/h264_refs.c#L691
[16:50] <alexvf> ok, i understood that line after reading this:
[16:50] <alexvf> A picture including a memory_management_control_operation equal to 5 shall have frame_num constraints as described above and, after the decoding of the current picture and the processing of the memory management control operations, the picture shall be inferred to have had frame_num equal to 0 for all subsequent use in the decoding process, except as specified in clause 7.4.1.2.4.
[16:50] <alexvf> damn standard!
[18:35] <Compn> michaelni : a user wants to know if he can visualize motion vectors in h263 video ,specifically this t263 varient > http://samples.ffmpeg.org/V-codecs/T263/atomic.avi
[19:36] <J_Darnley> Does anyone know a good resource for learning how the x87 stack operates?
[19:38] <michaelni> not really, its rather long ago that i wrote x87 code
[19:39] <michaelni> but the intel instruction set references probably could be used
[19:42] <cone-252> ffmpeg.git 03Carl Eugen Hoyos 07master:d538dd824ee7: avformat: Add image3 demuxers with format autodetection
[19:56] <Compn> i wonder if h263 even has motion vectors
[20:00] <saste> sometimes i have the impression that i'm being an asshole reviewer
[20:03] <J_Darnley> michaelni: I'm less interested in what the instructions do (i've got their giant PDFs anyway) and more: how the stack functions, which order it goes in, is a load always put it in st0...
[20:04] <J_Darnley> why and when 0 1 and 2 arguments are used
[20:09] <michaelni> the intel doc should explain all aspects of the x87 stack, but dont ask me where
[20:10] <michaelni> from what i remember the x87 instructions work with the top of the stack and a freely chooseable register
[20:10] <Case> J_Darnley: http://www.drpaulcarter.com/pcasm/ should be suitable
[20:10] <michaelni> in practice you need a fxch to swap elements after many instructions
[20:13] <michaelni> also these fxch are needed to avoid dependancy chains
[20:29] <kierank> J_Darnley last time i looked at x87 i had some book
[20:29] <kierank> this was 4yrs ago though
[21:02] <cone-252> ffmpeg.git 03Martin Storsjö 07master:6bc4934b75dd: ismindex: Allow adding a path prefix to the generated .ism file
[21:02] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:0d35d5ab1b73: Merge commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e'
[21:22] <cone-252> ffmpeg.git 03Martin Storsjö 07master:f920d089535b: ismindex: Add an option for outputting files elsewhere than in the current directory
[21:22] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:524eeaca2280: Merge commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0'
[21:49] <cone-252> ffmpeg.git 03Nidhi Makhijani 07master:0955e57ad076: daud: split muxer and demuxer
[21:49] <cone-252> ffmpeg.git 03Michael Niedermayer 07master:a9ce5d92e614: Merge commit '0955e57ad07640574fc20ce0bea3c0b83982ada1'
[22:42] <ubitux> so we're going to try opw?
[22:42] <ubitux> don't expect me to be a volonteer for mentoring though
[22:43] <nevcairiel> didnt the whole thing happen already
[22:43] <ubitux> nevcairiel: next session
[22:43] <ubitux> i don't believe in positive discrimination
[22:44] <ubitux> always the same debate, but considering women special (in the sense "people with a handicap who need help") doesn't sound really helpful
[22:45] <ubitux> </rant>
[22:52] <wm4> ubitux: libav has opw thus ffmpeg needs opw
[22:52] <ubitux> what came out of opw in libav?
[22:52] <wm4> ubitux: also did you just call being a woman a handicap
[22:52] <michaelni> i dont support any form of gender, race, ... discrimination. I think though OPW isnt a bad idea, also i would support OPM equally if it would exist
[22:53] <ubitux> wm4: that's how it's presented, like "we need to help them specifically"
[22:53] <wm4> well don't let them hear it
[22:54] <wm4> what if ffmpeg is branded a women hostile project, while libav is considered women friendly?
[22:54] <ubitux> well, various women feels insulted by these movements you know
[22:54] <ubitux> it's really all about the perspective of positive discrimination
[22:54] <ubitux> ?
[22:54] <ubitux> -?
[22:55] <wm4> anyway, politics aside, it appears this basically means someone is paid to work on the project
[22:55] <wm4> so that seems like a good way for money grabbing
[22:56] <wm4> i.e. fund a dev for free
[22:56] <ubitux> also, i'm not saying i oppose to opw, i'm just saying i'm not supporting it (because i'm embittered grrr)
[22:56] <wm4> fulltime dev even (I guess)
[22:56] <nevcairiel> except that you have to come up with the money yourself
[22:56] <nevcairiel> the opw project doesn't pay it
[22:56] <wm4> huh
[22:56] <nevcairiel> (like google would with gsoc)
[22:56] <wm4> that sounds pointless then
[22:56] <ubitux> so my question again, what came out of opw in libav?
[22:56] <nevcairiel> they have like 3 people doing stuff
[22:56] <nevcairiel> so nothing came out yet
[22:57] <nevcairiel> but it might :p
[22:57] <ubitux> any deadline?
[22:57] <nevcairiel> no idea
[22:57] <wm4> didn't some participant send a huge number of patches for checking memory allocs?
[22:57] <nevcairiel> they are supposed to work on it full time, they are paid specifically for that, no idea if thats really happening
[22:57] <wm4> who pays them anyway?
[22:57] <wm4> if it isn't the opw project
[22:57] <ubitux> ffmtech?
[22:58] <nevcairiel> no idea
[22:58] <wm4> in any case, guiding new devs sounds like a good idea, even if it's discriminated by gender
[22:59] <nevcairiel> i dunno, the way i see it, if some motivated dev comes around, i'm sure there would be enough people to be willing to help guide them, don't need to be able to pay them for that
[23:00] <nevcairiel> we're all here without being paid for our time
[23:05] <michaelni> many of us work for free, i dont see why it would be bad if a gsoc or opw student is payed to work some months on improving ffmpeg and maybe we also gain a long term contributor
[23:07] <michaelni> also i surely dont mind if some company appears one day and pays all or some of the volunteer developers we have for what they already do, but i guess thats just a dream atm
[23:09] <J_Darnley> If someone's being paid can you give them the worst tasks that no else volunteers to do? I guess the stuff nobody wants to do is too hard for newcomers.
[23:09] <iive> J_Darnley: that's what money are for
[23:10] <J_Darnley> gsoc was supposed to be paid, wasn't it?
[23:10] <iive> yes, if the student finishes the task
[23:10] <michaelni> J_Darnley, well, we would ideally want to end with some long term contributors, and giving them the worst tasks might be conflicting with that
[23:12] <wm4> by definition, the things that are not done in an open source project are always the least fun, most annoying, hardest etc.
[23:12] <michaelni> in gsoc payment is split up in 3 parts IIRC, first the student gets at the begin 2nd in the middle 3rd in the end. so if a student disappears in the middle he/she would still get something
[23:14] <J_Darnley> When does the "next round" begin?
[23:15] <wm4> google ignores ffmpeg/libav applications now
[23:16] Action: J_Darnley wonders why he wrote a test to check that two things things are identical. One method was compiled to the other.
[23:22] <michaelni> J_Darnley, some dates are on https://wiki.gnome.org/OutreachProgramForWomen/Admin/InfoForOrgs#Requiremen…
[23:22] <michaelni> or september 2014
[00:00] --- Fri Jul 4 2014
1
0
[00:06] <declan> I have a question relating to the ffmpeg libav API
[00:06] <declan> is this the correct place to ask or is this for CLI only?
[00:07] <c_14> You can ask here, but I don't know anything about the API so you'll have to wait for someone else to answer.
[00:07] <declan> ok
[00:08] <declan> i ave drafted it as i was going to send it to mailing list also
[00:08] <declan> I have a problem which is causing some issues for me. Im using the ffmpeg, libav API within my application.
[00:08] <declan> I have an input MP4 file with an H264 video stream and an AAC audio stream. The input video stream is encoded at High profile.
[00:08] <declan> I transcode these two streams at a lower bitrate and then output to an MP4 container. I also output the H.264 profile to baseline (no B frames).
[00:08] <declan> The the last 2 frame I send to the decoder are P then B frame. After input is EOF I call the decoder with NULL packet to flush out the remaining frames. This causes the P frame (2nd last frame) to be returned and marked as complete which I can then encode and mux out, The decoder then returns the last frame (B) to be returned. However when I encode this one its marked as incomplete and...
[00:08] <declan> ...cant be muxed out.
[00:08] <declan> At this point I then attempt to flush out all delayed frames in the encoder by calling encode with a null picture type to flush the frames out. However the last frame is marked as incompelte and cannot be written.
[00:08] <declan> Is there anything I can do to get this frame to be output
[00:09] <declan> a rather long question
[00:09] <declan> any help appreciated
[00:09] <c_14> You can't have the last frame be a B-frame.
[00:09] <c_14> The B-frame stands for bi-directional
[00:09] <c_14> It needs a frame before and after for it to be generated correctly.
[00:10] <c_14> s/generated/decoded
[00:10] <LeonBo> I'm having some troubles with -force_key_frames 'expr:gte(t,n_forced*5)'
[00:10] <LeonBo> Every 1 in 4 times I get 'Invalid duration specification for force_key_frames: expr:gte(t'
[00:11] <LeonBo> The input is rtmp and the output also
[00:11] <declan> c_14: so the input file I have has the last frame as B frame
[00:12] <declan> stream analyzer doesnt indicate any issue with this frame
[00:12] <declan> though maybe thats a problem it has
[00:12] <c_14> declan: you can't decode the last frame. Well let's say shouldn't be able to, I'm not an expert on the topic, but in order to decode a b-frame you need a frame in front and behind.
[00:12] <c_14> Can you view/decode the frame?
[00:13] <declan> yes
[00:21] <declan> c_14: ran it through h264 visa there and I can see the B sample 177 is decoded as frame 176 and sample 176 (P frame) is decoded as frame 177
[00:21] <c_14> It decodes the b-frame before the p-frame?
[00:24] <c_14> LeonBo: try adding a '\' before the ',' ? But seeing as that's how it's written in the manual, not sure what else it could be.
[00:25] <LeonBo> c_14: without the \ it works 3 out of 4 times
[00:25] <LeonBo> Just sometimes it doesn't :(
[00:25] <c_14> Maybe looking at the output will help?
[00:27] <declan> c_14: yea, as u said bi-directional
[00:28] <c_14> declan: If I read your question correctly, the 2nd to last frame was the p-frame and the last was the b-frame, shouldn't it decode the 2nd to last frame before the last one? (Also technically it's bi-predictive, I keep getting the name wrong)
[00:29] <declan> i believe the DTS/PTS stamps tell the player
[00:29] <declan> when to decode and present the frame
[00:30] <declan> though Im no expert, thats how I understand it to work
[00:30] <c_14> Sure, but why would you place a frame you need to decode another frame behind said frame?
[00:30] <c_14> I also tried finding a copy of the h.264 spec to see what it says about the gop and if it can end on a b-frame, but don't really feel like buying a copy from the ITU.
[00:31] <c_14> You might want to wait for someone else, this is a bit too deep for me.
[00:32] <declan> well the encoder may cache a number of frame for optimun compression , quality
[00:32] <declan> hehe
[00:32] <declan> np, thanks
[00:33] <declan> i sent an email to the list, hopefully somone can comment
[03:44] <alexd> when playing back a wmav2 asf encoded in ffmpeg in a silverlight application, i find that seeking is imprecise on the order of 50 ms. Can I change anything during encoding to make seeking more precise?
[03:44] <alexd> hi everyone, btw
[12:53] <alexvf> where are the sources for ffh264vdpau codec?
[12:55] <sacarasc> https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/vdpau_h264.c
[13:02] <alexvf> thank you sacarasc, i think i need to dig a bit more to know where the h264 poc is set
[13:08] <luc4> Hello! Is winrt an "officially" supported platform for ffmpeg?
[14:43] <dentex> Hell!
[14:43] <dentex> I meant Hello... sorry
[14:47] <dentex> I have compiled ffmpeg for android to use in an app of mine. Now there's a particular device from which I have a logcat showing an error.
[14:47] <dentex> http://pastebin.com/iW2Ya3kZ
[14:49] <dentex> should be an ARMv7 device. This ffmpeg version has been compiled with EXTRA_CFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad"
[14:49] <dentex> Could it be that this device is not NEON enabled, thus the error?
[15:00] <Mavrik> hmm
[15:00] <Mavrik> pretty much everything that's not Tegra 2 on ARMv7/Android has NEON
[15:01] <Mavrik> and you get a "invalid instruction" crash
[15:01] <Mavrik> what version is your ffmpeg ?
[15:02] <Mavrik> dentex, ah... look at that
[15:02] <Mavrik> you are getting ILLOPC - illegal opcode
[15:02] <Mavrik> dentex, yep, Lenovo K1 has Tegra 2, so no NEON support
[15:02] <dentex> Hello. FFmpeg version's is 2.1.3
[15:03] <dentex> So binaries compiled with NEON support crash on device without NEON?
[15:04] <Mavrik> yes of course
[15:04] <Mavrik> since the CPU doesn't understand NEON instructions.
[15:04] <dentex> ... :O
[15:04] <dentex> great, thanks. At least I know what to try next
[15:05] <dentex> I'll compile a test version with EXTRA_CFLAGS="-march=armv7-a --disable-neon"
[15:05] <dentex> ...ok
[15:05] <dentex> --disable-neon NOT in EXTRA_CFLAGS...
[15:10] <Mavrik> dentex, -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -I$PREFIX/include -DANDROID
[15:10] <Mavrik> --disable-neon is in ./configure not in EXTRA_CFLAGS.
[15:11] <dentex> Mavrik, thank you very much
[15:18] <dentex> Mavrik, re-compiling right now with your switches... fingers crossed!
[15:52] <alexd457> hi everyone
[15:52] <alexd457> when playing back a wmav2 asf encoded in ffmpeg in my silverlight application, i find that seeking is imprecise on the order of 50 ms. Can I change anything during encoding to make seeking more precise?
[16:33] <Peter_Occ> How do I capture jpegs from a video camera in a local network?
[16:34] <sacarasc> alexd457: It's 0.05 seconds out when you seek?
[17:24] <Maqs> could anybody point me in the right direction on how to convert a H.264 NAL stream (starting with SPS/PPS) to a live mp4 stream for html5/flash in c?
[17:35] <Peter_Occ> I have figured out how to capture video over lan, if I use mpeg4 encoding, it works but when I change ti to h264, it seems to capture the video OK but when I look at it, I just get a black screen. Do you see anything wrong with this command line? ffmpeg -f mjpeg -r 8 -i http://192.168.0.7/video/mjpg.cgi -vcodec h264 -b 1000000 -r 8 /var/www/html/mcamip/video_file2.avi
[17:39] <alexd457> sacarasc: Sometimes the seek is perfect, sometimes it's off. It basically looks like the position is being rounded. 50ms is a guess. could be 100ms. could vary. hard to say exactly
[17:39] <Mikk36> Hey
[17:39] <Mikk36> Trying to start ffserver, but getting an error about LIBAVFORMAT_53 not being defined
[17:40] <Mikk36> ffserver: relocation error: ffserver: symbol ffm_read_write_index, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
[17:40] <Mikk36> am i missing something?
[20:24] <gcl5cp> Why would someone in their right mind would use LIBAV instead of FFMPEG?
[20:24] <sacarasc> You should ask that in #ubuntu or #debian on OFTC.
[20:25] <gcl5cp> i asked without any answer
[20:25] <Hello71> !g why use libav
[20:26] <gcl5cp> i asked without an answer
[23:57] <jtakacs> hi!
[23:58] <jtakacs> is it possible to use ffmep for rtp streaming, with padding mpegts packets to make it use a constant bandwidth?
[23:58] <jtakacs> *ffmpeg
[00:00] --- Fri Jul 4 2014
1
0
[00:06] <wm4> hm, I'm disappointed lavu doesn't provide some kind of generic filter API for lzo and zlib decompression
[00:31] <Compn> wm4 : after all that lzo security issues ? :p
[00:41] <nevcairiel> wm4: it might if it actually implemented zlib itself :p
[00:43] <wm4> hm
[00:58] <Daemon404> nevcairiel, there is a patch
[00:59] <Daemon404> but ultimately never used
[00:59] <Daemon404> becaus zlib is everywhere.
[00:59] <nevcairiel> indeed
[00:59] <nevcairiel> except on windows!
[01:12] <jamrial> most windows installation have a couple zlib.dll scattered on different programs folders
[01:29] <BBB> jamrial: ah nice, swr will actually look clean at some point
[01:29] <BBB> sweet
[01:39] <t4nk551> I just asked this question in the User Support Channel not knowing that it was supposed to be asked here, so here is the question. Possibly a quick question. I have been trying to compile ffmpeg x64 for quite sometime now with some success. My OS is Windows 8.1 x64 and I'm using mingw-w64 with msys to compile. I an confused as to what is best, what other commands/flags/etc I need to ensure a x64 ffmpeg build? Also, what is
[01:39] <t4nk551> Sorry for double post; Possibly a quick question. I have been trying to compile ffmpeg x64 for quite sometime now with some success. My OS is Windows 8.1 x64 and I'm using mingw-w64 with msys to compile. I an confused as to what is best, what other commands/flags/etc I need to ensure a x64 ffmpeg build? Also, what is best and fastest to use out of these three threads, os2threads, winpthreads or w32threads?
[02:36] <cone-145> ffmpeg.git 03James Almer 07master:a441a2437bc2: x86: rename dsputil.asm to idctdsp.asm
[02:36] <cone-145> ffmpeg.git 03James Almer 07master:1a69224f4485: x86/swr: add ff_resample_{common, linear}_float_fma
[02:36] <cone-145> ffmpeg.git 03James Almer 07master:c45b7f0d806e: x86/swr: add ff_resample_{common, linear}_int16_xop
[03:30] <cone-145> ffmpeg.git 03James Almer 07master:23a9edf531fd: Partially revert "swr: add prototypes for resample dsp functions"
[03:30] <cone-145> ffmpeg.git 03James Almer 07master:42a92a240d97: swr: remove obsolete resample prototypes
[04:01] <cone-145> ffmpeg.git 03Dave Rice 07master:79d3eeb2b7ba: doc/ffprobe.xsd: fix order and missing elements/attributes
[06:30] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:4930cd13d634: ffmpeg: check av_opt_set_dict() return
[12:50] <dorjePy> I intend to write a video filter to clean dropouts. Can someone point me a source file for an existing example filter.
[13:02] <michaelni> dorjePy, look at git log for cases where other filters where added
[13:17] <cone-724> ffmpeg.git 03Dave Rice 07master:1619a0e2b8fd: doc/filters: fix typo
[13:26] <cone-724> ffmpeg.git 03James Almer 07master:b5f0eac0689b: swr: rename swresample_dsp init functions to swri_resample_dsp
[15:46] <j-b> 'morning
[15:53] <michaelni> "morning"
[15:54] <Daemon404> j-n lives in eternal morning
[15:54] <Daemon404> er j-b
[15:55] <j-b> well, I'm in the US, so it's the morning
[15:55] <j-b> but technically Daemon404 is right, it's always morning on IRC
[15:55] <Daemon404> i can never tell where j-b is
[15:56] <Daemon404> he is never in the same spot for 1 week
[15:56] <j-b> Daemon404: haha :)
[15:56] <j-b> Daemon404: I'm in the US, for 2.5 month
[15:56] <j-b> until VDD
[15:57] <Daemon404> o
[15:57] <Daemon404> san fran?
[15:57] <j-b> Bay Area, yes
[15:57] <Daemon404> have you moved permananetly then?
[15:57] <j-b> 2.5 month is not permanent :)
[15:58] <Daemon404> it could be such an indicator tho
[15:58] <Daemon404> j-b, btw when will vdd signup begin?
[15:59] <kierank> j-b: i expect you to be talking like tom vaughn
[15:59] <Daemon404> basically when can i book ym flight :P
[15:59] <j-b> Daemon404: this week or the next
[15:59] <Daemon404> cool
[15:59] <j-b> Daemon404: and I don't have an US visa
[15:59] <Daemon404> ah
[15:59] <Daemon404> i always forget it was a lot easier for me to get one
[15:59] <Daemon404> Canadian, etc
[16:38] <cone-724> ffmpeg.git 03Michael Niedermayer 07master:d266ecff4b60: avcodec/bitstream: remove trivial assert
[16:38] <cone-724> ffmpeg.git 03Michael Niedermayer 07master:5307fa00a45b: avcodec/dvdec: remove redundant null check
[18:42] <cone-724> ffmpeg.git 03Stefano Sabatini 07master:462c9ee3ac45: lavfi/overlay: show incoming frames on debug messages
[19:53] <cone-724> ffmpeg.git 03Anshul Maheshwari 07master:7d1898ebcc2f: avcodec/dvbsubdec: removed unnecessary null check for subtitle
[19:53] <cone-724> ffmpeg.git 03Anshul Maheshwari 07master:43d70a776dcc: avcodec: Updated comment for sub param
[20:18] <cone-724> ffmpeg.git 03Michael Niedermayer 07master:98569d89638e: matroskadec: Fix a double negation typo
[20:18] <cone-724> ffmpeg.git 03Michael Niedermayer 07master:61815ef85b6e: Merge commit '98569d89638efc325042bd0081e9a02181afdafa'
[21:05] <cone-724> ffmpeg.git 03Michael Niedermayer 07master:ce6a1ff2a124: avcodec/on2avc: Fix out of array access
[23:42] <cone-724> ffmpeg.git 03Carl Eugen Hoyos 07master:b02cfad7d2de: Fix standalone compilation of the wtv muxer.
[00:00] --- Thu Jul 3 2014
1
0
[00:07] <mjuszcza1> okay, thank ya :)
[01:33] <t4nk740> Possibly a quick question. I have been trying to compile ffmpeg x64 for quite sometime now with some success. My OS is Windows 8.1 x64 and I'm using mingw-w64 with msys to compile. I an confused as to what is best, what other commands/flags/etc I need to ensure a x64 ffmpeg build? Also, what is best and fastest to use out of these three threads, os2threads, winpthreads or w32threads?
[05:51] <P4C0> Hello, I have some x264 videos that I'm converting to mpeg4, the problem is that the size is the double of the original, I'm usign 'ffmpeg -i infile.m4v -acodec copy -vcodec mpeg4 outfile.mp4' is there a way to reduce quality to achieve closer file size to the original??
[05:59] <relaxed> P4C0: Are you targeting a device? Why mpeg4?
[06:01] <relaxed> you can set the bitrate with -b:v or set variable bitrate with -q:v
[06:04] <P4C0> relaxed: yes, I'm currently tying with -crf
[06:04] <relaxed> -crf only applies to libx264
[06:05] <relaxed> well, I think libvpx too...but not mpeg4
[06:05] <P4C0> relaxed: oh, hmm it did seem to work the first type
[06:05] <P4C0> which is a sane value for v?
[06:07] <relaxed> start with -q:v 3 and raise the value until you're happy with the quality/size
[06:08] <relaxed> use "ffmpeg -i input -t 30 ..." to create some 30 second samples.
[06:08] <P4C0> relaxed: thankx
[06:25] <t4nk740> I have just realized that there is a filter called showinfo, but it will not show the bitrate for each frame, is there a way I can do this within ffmpeg?
[08:26] <myubuntu_> hi, everyone.
[08:29] <myubuntu_> must first audio or video frame's timestamp bigger than second frame's timestamp(audio or video)?
[10:12] <Filarius> Hello, is here any keyword for fps? I want make video be exactly 10 times faster, but I do not know how I can get source fps in same command line
[10:14] <Filarius> so I can use command like ffmpeg -r "fps*10" -i filein -r fps fileout
[10:27] <wh-hw> hi, anybody tried x265 ?
[10:36] <Filarius> I tryed it - much better and much slower then x264 )
[10:37] <wh-hw> right
[10:38] <wh-hw> do you know how to make bit depth to 8bit ?
[10:39] <wh-hw> Filarius, hi
[10:39] <Filarius> with h265 ? no, I just tryed only on low bitrate to compare with h264
[10:40] <Filarius> isn`t it use 8bit by default ?
[10:40] <Filarius> on main profile
[10:41] <wh-hw> looks like 10 bit by default
[10:41] <wh-hw> and i don't know how to change it to 8bit
[10:43] <wh-hw> anybody help?
[10:47] <Filarius> I found only about there is different versions of coder - for 8bit or for 10bit, so it looks like u need find ffmpeg build with x265_8bit
[11:14] <alexvf> hello, i'm trying to build shared libraries of ffmpeg 2.2.2 on armv7
[11:14] <alexvf> i'm getting this error: LD libavcodec/libavcodec.so.55 /usr/bin/ld: libavcodec/arm/vp8dsp_init_armv6.o: relocation R_ARM_THM_MOVW_ABS_NC against `ff_put_vp8_bilin4_v_armv6' can not be used when making a shared object; recompile with -fPIC
[11:15] <alexvf> i'm configuring with --enable-shared --disable-static --enable-pic
[11:15] <alexvf> anyone knows how to fix it?
[11:16] <suore> hello :>
[11:17] <suore> ffmpeg -i yt.mkv -vcodec libvpx-vp9 -acodec libvorbis -strict experimental output.webm i got : Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument, Stream #0:0 -> #0:0 (h264 -> libvpx-vp9) What is bad??
[11:24] <bazhang> https://www.virag.si/2012/01/webm-web-video-encoding-tutorial-with-ffmpeg-0… <---what about this suore
[11:28] <suore> http://pastebin.com/P61yT5dK
[11:31] <relaxed> Did you see "Only VP8 video and Vorbis audio are supported for WebM."
[11:31] <relaxed> Maybe you're using an old version? Try, http://johnvansickle.com/ffmpeg/
[11:37] <luc4> Hello! Can I extract the video stream from a truncated mp4?
[11:40] <suore> relaxed, i have ffmpeg from repo ppa:jon-severinsson/ffmpeg
[11:41] <relaxed> that means nothing to me
[11:41] <bazhang> ubuntu has moved to avconv
[11:41] <bazhang> he's getting the "real" ffmpeg back via that repo
[11:43] <relaxed> suore: I don't get that message with my static build. Try it.
[11:44] <suore> okay i try
[11:45] <relaxed> suore: also, you don't need -strict -2
[11:45] <suore> relaxed, i need, ffmpe says that codec is experimental so i need it
[11:46] <alexvf> anyone knows something about this error:
[11:46] <relaxed> It's not needed with my build because both libvpx and ffmpeg are up-to-date.
[11:47] <alexvf> libavcodec/arm/vp8dsp_init_armv6.o: relocation R_ARM_THM_MOVW_ABS_NC against `ff_put_vp8_bilin4_v_armv6' can not be used when making a shared object; recompile with -fPIC
[11:49] <relaxed> alexvf: maybe https://trac.ffmpeg.org/wiki/CompilationGuide/Android or https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi might be helpful.
[11:50] <alexvf> i will take a look, thanks
[11:50] <alexvf> anyway, if it is fixed disabling some module, that would be valid for my purposes now
[11:50] <alexvf> i'm only interested in h264 decoding
[11:51] <alexvf> but i don't know what to disable :(
[11:52] <relaxed> is there some reason you're not compiling git master's source?
[11:54] <alexvf> it is the version used in my board
[11:55] <alexvf> i just want to make little modifications to debug an issue
[11:56] <relaxed> alexvf: which board and compiler?
[11:57] <alexvf> Allwinner A20 SoC and gcc (Debian 4.6.3-14) 4.6.3
[11:58] <relaxed> cpu?
[11:58] <alexvf> Processor : ARMv7 Processor rev 4 (v7l)
[11:59] <relaxed> alexvf: http://fate.ffmpeg.org/report.cgi?time=20140702020142&slot=armv7l-panda-gcc…
[11:59] <relaxed> http://fate.ffmpeg.org/report.cgi?time=20140702010517&slot=armv7l-panda-gcc…
[11:59] <relaxed> maybe those will help ^^
[12:00] <alexvf> ok, i'm compiling with a lot of disables now
[12:00] <alexvf> when finished, i will try that config
[12:00] <alexvf> thank you
[12:02] <relaxed> looks like the vp8 decoder
[12:04] <alexvf> yes, i'm compiling with this line now: ./configure --enable-shared --disable-static --enable-pic --disable-programs --disable-doc --disable-runtime-cpudetect --disable-libvpx --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-decoder=vp8 --extra-cflags="-DPIC -fPIC" --extra-cxxflags="-DPIC -fPIC" --extra-ldflags="-DPIC -fPIC"
[12:05] <relaxed> shouldn't you just target a specific cpu?
[12:07] <Mavrik> alexvf, if you want minimal feature set
[12:07] <alexvf> it looks like it detected it well (ARCH arm (armv7-a))
[12:07] <Mavrik> usually doing "--disable-everything" is good
[12:07] <Mavrik> and then just neable stuff you need.
[12:07] <Mavrik> are you trying to compile for android?
[12:08] <alexvf> no, for linux
[12:08] <Filarius> hello, is here any kind of keyword for fps of source to use in ffmpeg cli ? Like I need make video stream 10 times faster and have exactly same fps on output
[12:09] <Mavrik> this is what I used for minimal x264 transcoding: https://gist.github.com/izacus/4a9aac792ef61bea10ca
[12:09] <Mavrik> throw away the encoders and muxers
[12:09] <Mavrik> and you get just h.264 decoding functionality
[12:09] <Filarius> ...to use like -r "fps*10" -i input -r fps output
[12:11] <alexvf> Mavrik: ok, i would try it too
[12:11] <Mavrik> Filarius, if you put "-r" before "-i" you set fps for input
[12:12] <Mavrik> if you set it after you set it for output
[12:12] <Mavrik> :)
[12:12] <Filarius> I want get number of fps of source to make video it exactly 10 times faster
[12:12] <Mavrik> that's... not always possible
[12:15] <Filarius> now i use -r "24*10" -i input -r 24, but I process record of video streams, and it not always at same bitrate. It is hobby thing, so not much loss for me if fps will be not exactly same
[12:15] <Filarius> sorry, **not always at same FPS
[12:16] <Mavrik> Filarius, I don't think thats possible at the moment
[12:16] <Mavrik> you could run ffprobe first on the stream to get fps value
[12:16] <Mavrik> something like ffprobe -v quiet -print_format json -show_streams file.mp4
[12:16] <Mavrik> and parse from that
[12:17] <Filarius> ok, thanks
[12:45] <DeadSix27> can it be a bug that a simply usage of "ffmpeg -i (file) -c:v libx264 -sn -an -crf 17 -preset veryslow (out)"
[12:46] <DeadSix27> suddendly runs @ 0,6fps
[12:46] <DeadSix27> while all the other days and on (maybe) previous versions it was way faster?
[12:46] <DeadSix27> or am i doing something weirdly wrong hmm
[12:47] <Mavrik> do you have a complex input now?
[12:47] <DeadSix27> not really, its a "normal" video file
[12:47] <DeadSix27> not much action
[12:47] <DeadSix27> not detailed animations or something.. plain slow vidoe
[12:48] <DeadSix27> input format did not change at all
[12:48] <DeadSix27> same as always
[12:48] <DeadSix27> might be my hardware but its still weird
[12:48] <DeadSix27> uses 98% cpu though
[12:49] <DeadSix27> might = could*
[12:58] <DeadSix27> hm now it jumps to 15-30 fps again
[12:58] <DeadSix27> o.O
[13:10] <brontosaurusrex> DeadSix27, what OS, disk space?
[13:42] <DeadSix27> brontosaurusrex, w8, on that disk like 2,5T left)
[14:07] <pandaologist> hey, i think i may have a bug to report, can someone help me confirm it before i submit?
[14:07] <pandaologist> seems like the SHN/shorten decoder isn't decoding all SHN files correctly, so SHN -> FLAC transcodes are not lossless
[14:12] <Anshul_m> I am unable to configure ffmpeg on windows, http://pastebin.com/LZ6TyUjW
[14:13] <Anshul_m> configure says it is not able to make execuatable using cl.exe, while i am able to compile and make an small executable in same terminal using same cmd line
[14:29] <Anshul_m> solved it, read the notes down more carefully and problem was link.exe
[14:40] <Anshul_m> Is there some trick also while doing make it gives error missing seprator at !ARCH_AARCH64=yes , it look like make is not understanding !
[15:01] Action: Fyr slaps c_14 around a bit with a large trout
[15:01] <Fyr> could you explain the usage of -psnr parameter? recently you've referred me to a page with a psnr, but the command:
[15:01] <Fyr> ffmpeg -i source.avi -psnr output.mp4
[15:01] <Fyr> asks me about rewriting the output. =(
[15:01] <Fyr> i.e. it doesn't just compute it.
[15:01] <c_14> you need 2 files to compute a psnr
[15:01] <Fyr> ok, I have them.
[15:02] <Fyr> how to calculate it?
[15:03] <c_14> ffmpeg -i sourcevideo -i othervideo -filter_complex '[0:v][1:v]psnr[out]' -f null /dev/null should prob do it
[15:04] <c_14> you'll need -map '[out]' os well
[15:04] <c_14> *as
[15:04] <Fyr> No such filter.
[15:04] <Fyr> Stream map ''[out]'' matches no streams
[15:05] <c_14> sorry yano
[15:06] <Fyr> c_14, http://pastebin.com/UbKgnKLr
[15:07] <c_14> What's the commandline?
[15:07] <Fyr> ffmpeg -i "XXX.wmv" -i 24.mp4 -filter_complex '[0:v][1:v]psnr[out]' -map '[out]' -f null NUL
[15:08] <c_14> Windows needs "" iirc
[15:08] <Fyr> ok, it's running.
[15:20] <luc4> Hello! Anybody who knows by any chance if nal's in an avcc stream contain the timestamp? I would like to mux those into an mp4 using ffmpeg but it won't be possible without specifying the timestaps as the frame rate is variable.
[15:29] <Fyr> c_14, thanks, it does work.
[16:01] <luc4> Hello! Any way to play an h264 avcc stream with ffmpeg? I need this just to check if it is valid/correct.
[16:23] <sfan5> luc4: ffmpeg -i file.mp4 -c:v rawvideo -f rawvideo -y /dev/null
[16:24] <sfan5> will decode the whole video stream and output it directly to /dev/null
[16:30] <t4nk699> d
[17:36] <luc4> sfan5: sorry, not understanding. I have a raw stream containing only avcc. Can I somehow play that?
[17:37] <sfan5> you should be able to read those with ffmpeg -i <file>
[17:38] <sfan5> works for me, at least
[17:46] <luc4> sfan5: ah I see, I didn't know ffmpeg accepted raw avcc in input. I'll try. Thanks.
[17:46] <JEEB> what do you mean with avcc?
[17:46] <JEEB> raw annex b NALs?
[17:47] <JEEB> then yes, as long as you set the "format" before -i (for input), or have the streams named dot-264 or so
[18:00] <luc4> JEEB: not annexb, avcc
[18:00] <luc4> JEEB: I think annexb can be played by vlc or ffplay.
[18:00] <luc4> JEEB: I'm unsure about avcc.
[18:01] <JEEB> 14496-15 avcc without the container?
[18:01] <JEEB> I'm not sure how you're supposed to play that :P
[18:01] <JEEB> I mean, the configuration thingy would be missing then
[18:01] <JEEB> unless it's written in the front
[18:01] <luc4> Yes, I'm interested for development.
[18:02] <JEEB> anyways, supporting that shouldn't be too hard if you know what the fuck is there in what order, but it's seriously fucked up
[18:03] <JEEB> I'm not going to touch it with a long stick
[18:03] <luc4> JEEB: I see...
[18:03] <JEEB> if you are going to output raw AVC, just use annex b
[18:03] <JEEB> it's there for that
[18:04] <JEEB> and if someone is trying to give you raw 14496-15 avcc AVC, you officially have the right to give that person a nice punch
[18:04] <luc4> JEEB: the entire problem is that I have the funny win8 which is creating in some cases truncated mp4 files. I need to fix those somehow. So I thought I could extract the h264 stream, which I guess is avcc, use know sps pps etc... and re-mux with ffmpeg.
[18:04] <luc4> I'll give win8 a punch with pleasure.
[18:05] <JEEB> if the index is at the end, and you don't have an idea on how it creates the files, you have no idea how to unfuck those files. Unfortunately, specific apps tend to usually do things in a specific way, so you /can/ do app-specific hacks
[18:05] <JEEB> have "fun" :P
[18:05] <JEEB> and no, that would not be raw avcc
[18:05] <JEEB> and you should never, ever output raw avcc
[18:40] <quup> (Not really a question about ffmpeg) Is there some open source linux tool that can utilize vaapi(or some other intel cpu specific capabilities) to encode h264?
[18:43] <luc4> JEEB: and therefore I'm fucked :-D
[18:45] <luc4> JEEB: thanks for the info
[19:03] <Hello71> quup: iirc those are all either slower or worse in quality than x264
[19:03] <Hello71> win 29
[19:03] <Hello71> lose 29
[19:07] <Fjorgynn> :D
[19:07] <sfan5> quup: I have some (quite unorganized) code for that (for ffmpeg); would be nice if someone could test it, my hardware lacks support for encoding
[21:20] <gcl5cp> is there an official repository to ubuntu (14.04)?
[21:26] <sacarasc> Official for who?
[21:27] <sacarasc> ffmpeg doesn;t have its own binaries, I believe. And Ubuntu dislikes ffmpeg.
[21:40] <gcl5cp> there are some repos out there
[21:40] <gcl5cp> apt-add-repository ppa:jon-severinsson/ffmpeg
[21:40] <gcl5cp> dd-apt-repository ppa:samrog131/ppa
[21:57] <sacarasc> gcl5cp: But not official!
[21:58] <gcl5cp> sacarasc: that's the question
[21:59] <sacarasc> Your distro doesn't support ffmpeg, so there are no official ones.
[22:01] <gcl5cp> i mean ffmpeg's official
[22:01] <sacarasc> ffmpeg doesn't release binaries. I said that already.
[00:00] --- Thu Jul 3 2014
1
0
[00:02] <Rin_Tohsaka> I'm not a coding guru so I'm not 100% sure about the on-topic-ness about this question ~~ does ffvp9 contain SSSE3 optimizations that, similar to its x64 optimizations, would result in sub-par performance on CPUs lacking such functionality?
[00:04] <nevcairiel> Rin_Tohsaka: both ssse3 and avx optimizations, and most of those are only available on 64-bit on top, so if you run on 32-bit or on a CPU without ssse3, it'll be quite a bit slower
[00:05] <Rin_Tohsaka> Well I'm running 64bit, but I'm running it on one of those pre-Bulldozer AMD CPUs, so...
[00:06] <Rin_Tohsaka> It's a bit depressing to so my little 2GHz Conroe matching something over twice as fast
[00:06] <Rin_Tohsaka> *to see my
[00:07] <nevcairiel> blame AMD for not adding new instructions for a long time
[00:07] <nevcairiel> they only started to play catch-up with bulldozer
[00:07] <Rin_Tohsaka> oh, I do, I do
[00:07] <Rin_Tohsaka> ...only to fall behind in other areas of their CPU design
[00:07] <Rin_Tohsaka> well, at least Bobcat has SSSE3
[00:08] <Rin_Tohsaka> basically I'm seeing almost 3x slower performance when SSSE3 isn't available
[00:08] <jamrial> but afaik it has 64bits execution units, which is awfully slow for sse
[00:10] <Rin_Tohsaka> Well come tommorrow afternoon I'll be aquiring my friends' old E-350 laptop, so I'll definitely investigate the performance
[00:11] <jamrial> and yes, amd pre bulldozer is not good for ffvp9. 1280x720 videos will run fine, but 1920x1080 or so will not
[00:11] <Rin_Tohsaka> 1280x720 30fps you mean
[00:11] <Rin_Tohsaka> ...which is the most depressing part
[00:12] <Rin_Tohsaka> 1280x720 60fps is nothing but crazy framedrops
[00:14] <Rin_Tohsaka> anyway, I do have a related question. Perhaps it's due to my lack of SSSE3, but I'm finding that there's pretty much no performance difference between x86 and x64 for VP9 decoding
[00:15] <Rin_Tohsaka> are the x64 optimizations part of the same code that includes the SSSE3 optimizations by chance?
[00:15] <jamrial> the optimizations up to sse2 are all for both x86 and x64. it's only ssse3 and above that (most) require x64
[00:15] <BtbN> Isn't ssse3 part of amd64?
[00:15] <Rin_Tohsaka> that's SSE3
[00:16] <jamrial> no
[00:17] <Rin_Tohsaka> So the impression I'm getting is that SSE3 isn't really useful for video decoding... would this be accurate?
[00:18] <Rin_Tohsaka> or is that just a VP9 thing?
[00:18] <jamrial> sse3 is mostly float instructions, so no
[00:19] <Rin_Tohsaka> theoretically those could be useful in post-processing filters, but that's not really the same as the codec
[00:24] <Rin_Tohsaka> Considering that this channel is logged, I don't suppose it would be a crime if you are quoted elsewhere on the internet in regards to these SSSE3 optimizations, would you?
[00:25] <Rin_Tohsaka> *would it?
[00:25] <jamrial> nope
[00:42] <Timothy_Gu> jamrial: do you know anything about AMD K10 Barcelona's SSE4a?
[00:43] <Timothy_Gu> Wikipedia says it's not the same as Intel's SSE4
[00:43] <Timothy_Gu> What is it exactly?
[00:43] <fionag> It's basically just lzcnt and a couple other things
[00:44] <Timothy_Gu> fionag: you sure?
[00:44] <fionag> http://en.wikipedia.org/wiki/SSE4#SSE4a even less, apparently. LZCNT is *technically* under a separate flag, though it's included on all SSE4a chips
[00:44] <Timothy_Gu> https://en.wikipedia.org/wiki/SSE4#POPCNT_and_LZCNT says it's something else
[00:45] <Timothy_Gu> oh ok, thanks
[00:45] <fionag> they marketed them together but they're under separate cpuflags
[00:45] <fionag> I think it was another case of weird naming collision with both companies making new SSEs
[00:45] <Timothy_Gu> so they're not that useful for FFmpeg, right?
[00:46] <fionag> I don't think so, I've never used them
[00:46] <Timothy_Gu> by the way, what does "r4m" mean in asm?
[00:47] <Timothy_Gu> or "argm"
[00:47] <fionag> it means "the stack memory location associated with r4m, or r4 itself if r4m isn't on the stack, as in the case of arch_x86_64"
[00:47] <fionag> *associated with r4
[00:47] <Timothy_Gu> so if the argument isn't declared in cglobal, you have to use "m"
[00:48] <Timothy_Gu> ?
[00:48] <fionag> Ummm... I guess that's one way of putting it?
[00:49] <fionag> you can use it to access the argument when it's still on the stack
[00:49] <Timothy_Gu> what happens if you don't declare an argument?
[00:50] <Timothy_Gu> it won't be in a register?
[00:50] <Timothy_Gu> on 32
[00:50] <fionag> you mean, declaring its name, or declaring it in the numerical bit?
[00:50] <fionag> like in the cglobal 5, 5, 8 bit
[00:50] <Timothy_Gu> number
[00:51] <fionag> X, Y, Z -> X is the number of arguments to load into registers, Y is the number of registers to have free (Y has to be >= X)
[00:51] <fionag> so if X is less than the total number of actual arguments, the remaining ones will still be on the stack
[00:52] <fionag> be super careful doing this though, since on e.g. x86-64, if you have 5 arguments and you autoload 3, the remaining 2 will be in registers anyways
[00:52] <fionag> since that's how they come
[00:52] <fionag> so you can't *rely* on them being on the stack unless they're past the first 6.
[00:52] <J_Darnley> And don't forget that win64 only has 4 arguments in registers!
[00:53] <Timothy_Gu> ok, but if you do declare the number, on 32 won't they still be on the stack?
[00:58] <Timothy_Gu> J_Darnley, is there any advantages of win64 that unix64 dont have?
[01:13] <J_Darnley> No, I think most people only regard win64 as having disadvantages
[01:13] <BBB> plepere: why are you shuffling your input data
[01:13] <BBB> plepere: if any shuffling is needed, life is over
[01:13] <BBB> plepere: no shuffling, ever
[01:14] <BBB> plepere: if you need different order, adjust your filter rodata
[01:14] <BBB> plepere: that may indeed mean different rodata per optimization variant, thats pretty typical in fact
[01:14] <J_Darnley> I can't name them but I'm sure other people can.
[01:14] <BBB> plepere: but youre shuffling your input data way too much
[01:20] <wm4> why is life over when shuffling?
[01:41] <BBB> plepere: my short recommendation is to get rid of all vextractf128, vinsertf128, vpermq, change final movu [rdi] into a mova, then try again
[02:02] <fionag> which patch is this?
[02:25] <BBB> he posted a pastebin entry a few hours ago
[02:32] <BBB> <plepere> [22:26:48] BBB : http://pastebin.com/r5HqWC3h
[04:42] <cone-689> ffmpeg.git 03Michael Niedermayer 07master:80da227c660e: cmdutils_opencl: Use av_malloc_array()
[04:42] <cone-689> ffmpeg.git 03Michael Niedermayer 07master:7faa7d3d42af: avcodec/hevc: Use av_malloc(z)_array()
[04:42] <cone-689> ffmpeg.git 03Michael Niedermayer 07master:a97137e94869: avfilter/f_ebur128: Use av_malloc_array()
[11:24] <ubitux> > the multi-threaded h264 decoder from FFmpeg is great& Anton, who wrote it, is a libav developer!
[11:24] <ubitux> huh?
[11:24] <ubitux> afebe2f7cac1e23ea5b198cfe5bfabf5e7f1105f ?
[11:25] <ubitux> also, i don't remember elenril being author or ffmpeg-mt but i might be wrong
[11:39] <plepere> ubitux, can you take a look at my AVX2 code ? I don't have any significant speed-up from going from SSE2 to AVX2.
[11:46] <ubitux> plepere: didn't BBB commented on it already?
[12:53] <kierank> ubitux: you saw my comment
[12:54] <ubitux> kierank: yeah
[12:56] <J_Darnley> It's working! It's working! The beat detection is working!
[12:56] <ubitux> J_Darnley: you're working on an audio beat detector?
[12:57] <J_Darnley> As part of a larger visualiser, yes
[12:57] <ubitux> in ffmpeg?
[12:57] <ubitux> that's really great if so, it was in my todo list
[12:57] <J_Darnley> As a separate lib but I test it using an avf filter
[12:57] <ubitux> is it a custom algorithm or you're following a paper?
[12:58] <J_Darnley> Stealing old BSD-3 code
[12:58] <J_Darnley> well "stealing"
[12:58] <J_Darnley> "un-ashamedly copying"
[12:59] <ubitux> grumbl, "idsp"
[12:59] <ubitux> - DSPContext dsp;
[12:59] <ubitux> + IDCTDSPContext idsp;
[12:59] <ubitux> :/
[13:00] <ubitux> inverse digital signal processing @_@
[13:41] <cone-145> ffmpeg.git 03Diego Biurrun 07master:adcb8392c9b1: mjpeg: Split off bits shared by MJPEG and LJPEG encoders
[13:41] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:909f53f2b285: Merge commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30'
[13:47] <plepere> ubitux, BBB just gave me the feedback
[15:36] <cone-145> ffmpeg.git 03Diego Biurrun 07master:e3fcb1434746: dsputil: Split off IDCT bits into their own context
[15:36] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:581b5f0b9b93: Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'
[15:53] <cone-145> ffmpeg.git 03Diego Biurrun 07master:79793f833784: Update Fiona's name in copyright statements.
[15:53] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:8d0c7031a846: Merge commit '79793f833784121d574454af4871866576c0749d'
[16:00] <Daemon404> ubitux, too many vowels
[16:00] <Daemon404> IDCTDSPCTX idspctx;
[16:00] <Daemon404> better ^
[16:04] <J_Darnley> :)
[16:33] <J_Darnley> ubitux: if you're interested in seeing the beat detection code, I've got my work in progress here:
[16:33] <J_Darnley> https://gitorious.org/jdarnley/advanced-visualization-studio
[16:34] <J_Darnley> look at the mess that is bpm.c and a little in main.c:avs_render_frame()
[16:39] <cone-145> ffmpeg.git 03Yusuke Nakamura 07master:20f95f21f9b9: mov: Support default-base-is-moof.
[16:39] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:fb318def5d3a: Merge commit '20f95f21f9b9595608ba668a6eca78f2d508be67'
[18:31] <cone-145> ffmpeg.git 03James Almer 07master:dd2c9034b174: x86/swr: convert resample_{common, linear}_double_sse2 to yasm
[19:34] <cone-145> ffmpeg.git 03Diego Biurrun 07master:d0449e754553: vaapi: Update idct_permutation location after dsputil/idctdsp split
[19:34] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:06e5d28e33e9: Merge commit 'd0449e754553b0c110b6cd75f6725b82144fbd2a'
[19:54] <ubitux> J_Darnley: cool ok :)
[20:07] <Daemon404> i like how carl responded with his cut&paste response after ubitux already provided a proper one
[20:10] <cone-145> ffmpeg.git 03Luca Barbato 07master:f1f6156b3fc9: matroska: K&R formatting cosmetics
[20:10] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:8365287e613d: Merge commit 'f1f6156b3fc9eb77b439d031ba18974d80b8341e'
[20:12] <ubitux> - return (ebml_master){ avio_tell(pb), bytes };
[20:12] <ubitux> + return (ebml_master) {avio_tell(pb), bytes };
[20:12] <ubitux> lol
[20:17] <JEEB> wat
[20:18] <ubitux> JEEB: it's just the libav K&R dialect
[20:20] <ubitux> i don't understand why the move comments above some lines when it's actually related to one line in particular
[20:21] <ubitux> nor do i understand the need to break some av_log calls when they aren't even overflowing the 80-col limit
[20:21] <ubitux> or stuff like:
[20:21] <ubitux> - start = 3600000*sh + 60000*sm + 1000*ss + 10*sc;
[20:21] <ubitux> + start = 3600000 * sh + 60000 * sm + 1000 * ss + 10 * sc;
[20:21] <ubitux> is that really an improvement?
[20:22] <wm4> yes, but high volumes of cosmetic commits are pretty annoying anyway
[20:30] <cone-145> ffmpeg.git 03Luca Barbato 07master:b75a1f9892b5: matroska: Factor out write_track from mkv_write_tracks
[20:30] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:ee78b0c252e5: Merge commit 'b75a1f9892b5b715397edbf837e4d4cda337907b'
[21:00] <cone-145> ffmpeg.git 03Luca Barbato 07master:48e6432407a7: matroska: Factor out mkv_write_stereo_mode
[21:00] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:141ee109132a: Merge commit '48e6432407a73d5006d84609456e6e0bc3dd8fc4'
[21:53] Action: Compn updates fiona in brain
[21:53] <Compn> does still go by 'dark_shikari' or no ?
[21:58] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:4e09300ffab7: mjpegdec: Support pix_fmt_id == 0x22112200
[22:15] Action: TimNich-home cannot see the name Fiona without hearing Mike Myers uttering it in his Shrek Scottish accent
[22:24] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:cd417d947e65: avcodec/mjpegdec: fix width for non chroma in rescaling
[22:24] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:7558e5534581: avcodec/mjpegdec: Support pix_fmt_id==0x11222200
[22:25] <Mavrik> hmm, maybe a stupid question, but how does AVPacket reference counting work? :)
[22:25] <Mavrik> e.g. how do I allocate a reference counted avpacket
[22:51] <michaelni> av_new_packet()
[23:06] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:64d98dadc7d0: avcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of hardcoding a list
[23:42] <J_Darnley> Dammit gdb! Will you catch that crash!
[23:49] <J_Darnley> Oh of course. I forgot this pointer was int* rather than uint8_t*
[23:55] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:784e1cf76beb: avcodec/mjpegdec: handle luma upscale detection generically
[23:55] <cone-145> ffmpeg.git 03Michael Niedermayer 07master:ef7e8425e839: avcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()
[00:00] --- Wed Jul 2 2014
1
0
[02:37] <frikimaster> Hi. Is ffmpeg able to deinterlace with yadif and reencode a "live" streaming?
[02:38] <c_14> ffmpeg -i live_stream_here -vf yadif [encoding options if you so desire] outputhere
[02:39] <frikimaster> c_14: thanks!!
[02:53] <Peter_Occ> If a jpeg file name has a prefix before the sequence number, ffmpeg is able to grab the file as long as the prefix matches the pattern. Is there a way to use a regular expression which finds the file even though the prefix is not always the same?
[02:53] <Peter_Occ> sucn as 123432434234.001.jpg and 3453454545354.002.jpg?
[02:56] <c_14> You can try using a glob.
[02:58] <Hello71> if all else fails maybe try find
[02:58] <Hello71> er, scratch that, terrible idea.
[03:15] <Peter_Occ> Thanks, I think the glob will work one way or the other
[03:15] <Peter_Occ> .
[03:54] <spectralsun> i have having a very hard time getting consistancy when hashing files created by ffmpeg
[03:55] <spectralsun> it seems anything i change, such as gcc version or it being from a snapshot or nightly source, gives different results
[03:55] <spectralsun> and different operating systems, some are the same and do not match
[03:59] <Hello71> if you're hashing lossy compression
[03:59] <Hello71> you're doing something wrong
[04:05] <Plorkyeran> by default libx264's output isn't even deterministic if multi-threaded encoding is enabled
[04:15] <Peter_Occ> when using -pattern_type glob what determines the order of images in the video? Also, how do I tell it which file to start with? Since its not using sequences, I don't think -start_number works.
[07:49] <Minty_64> hi, can anyone here help me?
[07:57] <another> depends on your problem
[08:03] <Minty_64> ffmpeg compiles in x86 arch and i'm on 64
[08:35] <anshul> where r u compiling on linux /windows
[08:36] <Minty_64> linux
[08:37] <anshul> pastebin error log
[08:39] <Minty_64> ok just a sec
[08:41] <Minty_64> where can i find it?
[08:42] <Minty_64> pastebin my terminal print out?
[08:54] <anshul> yes,
[08:56] <Minty_64> http://pastebin.com/35Tuxmdr
[09:18] <anshul> you did not compiled it, you configured it
[09:18] <anshul> to compile write make
[09:19] <anshul> Does any one know how to generate html kind of doxy in ffmpeg src
[09:20] <anshul> when doing make clean in doc folder, it rm -f -r doc/doxy/html but does not build html
[11:36] <luc4> Hello! I have an mp4 file that is corrupted, probably because it was truncated. ffmpeg returns "moov atom not found". Is there any way to fix this with ffmpeg?
[11:37] <sacarasc> I don't think so.
[11:41] <luc4> I see. Thanks anyway.
[12:05] <decembersoul> Hello. i have a mpegts file with more then one languages and i want to convert it to a mp4 file with just one audio stream. I know how to select the audio stream by stream id. Is there a way to select the audio stream by language string? like language=de or language=eng ?
[18:10] <Minty_64> hey, when configuring ffmpeg, configure sets up for arch x86 instead of 64, I don't have any errors when configuring, making, and installing though.
[18:11] <Minty_64> but it's in x86 instead of 64, how do i install the 64 bit version?
[18:12] <c_14> x86_64 is 64, i386 would be 32 bit.
[18:12] <Minty_64> oh
[18:12] <Minty_64> but i get -fPIC errors
[18:13] <sacarasc> Pastebin!
[18:13] <Minty_64> k
[18:17] <Minty_64> it's not with ffmpeg though it just tells me that it needs to be recompiled http://pastebin.com/JYGPNk6q
[18:18] <c_14> just recompile with -fPIC in your cflags
[18:18] <c_14> Has to do with position independent code and fun stuff.
[18:22] <Minty_64> um how do i do that? -still a little new to linux
[18:22] <c_14> ./configure --extra-cflags=-fPIC or something iirc
[18:23] <mjuszcza1> So I compiled an old (old!) version of ffmpeg against an old version of libx264 and it's seg faulting. Is there an easy way to figure out what version of x264 would be most compatible with a specific version of ffmpeg? We're talking 2011 here.
[18:23] <c_14> Why are you doing this?
[18:24] <sacarasc> mjuszcza1: Get the git from the same day.
[18:59] <ac_slater> hey guys, I'd like to loop my input through ffmpeg. My input file is only 200 frames ... is there a generic way to tell ffmpeg to 'loop' it. (Im testing streaming things)
[19:03] <ac_slater> `-loop 1` and `-loop_input` arent working for me... I'll look through the source
[19:10] <mjuszcza1> c_14: Trying to replicate an old version of ffmpeg so we don't change too much at once in prod
[19:28] <sfan5> mjuszcza1: why not use the latest version if it works fine?
[19:29] <mjuszcza1> sfan5: Different command line options and such. This is a pretty big deal to us to know things aren't going to change quickly.
[19:30] <mjuszcza1> sacarasc: I'm using libx264 90408ecab16a06ceaa181ff2e495b8f1a9d170fa, but I can't seem to find that hash in the online search
[19:30] <sfan5> instead of trying to get an old version to work you could better use a new one and adjust the code to work with it, couldn't you?
[19:35] <mjuszcza1> sfan5: That's the plan over time
[19:38] <sfan5> about your initial problem: it would be helpful if you could post a crash log or something like that
[19:51] <mjuszcza1> Actually, we're using 0.10.2 from two years ago. Would 0.10.14 theoretically be patches only?
[19:51] <JEEB> bugfixes only, yes
[19:59] <mjuszcza1> great
[20:00] <mjuszcza1> What's the best version of lib x264 to compile the latest version of 0.10.14 against then?
[20:00] <JEEB> no effing idea, check what API version it supports and go by that?
[20:00] <mjuszcza1> awesome - thanks!
[20:22] <ac_slater> hey all, does ffmpeg's rtp stack have the ability to aggregate streams into a single port? It seems the RFC says this is standard but all examples I see have video and audio on different ports
[20:29] <ac_slater> I see this in the streaming guide "FFmpeg can stream a single stream using the RTP protocol. "
[20:29] <ac_slater> not sure how up to date that is
[20:33] <Fyr> guys! I need to calculate psnr after converison. how to do that?
[20:34] <Fyr> MSU VQMT free doesn't work with resolution bigger than hdtv.
[20:35] <Fyr> is there a psnr checker?
[20:35] <sfan5> http://stackoverflow.com/questions/19840960/comparing-psnr-of-two-videos-po… maybe
[20:36] <Fyr> yes, but I already have the files converted.
[20:36] <Fyr> I'm aware of -psnr option.
[20:37] <sfan5> can't you apply the "psnr" filter to the converted files?
[20:37] <Fyr> how?
[20:39] <c_14> https://ffmpeg.org/ffmpeg-filters.html#psnr
[20:40] <Fyr> thanks
[21:15] <lkiesow> Does anyone know if there is a documentation of the curves filter presets (the actual values)?
[21:16] <lkiesow> & found it in the code
[22:40] <Guest42024> Hi, I have just installed ffmpeg as per installation guide and wondered if I should keep or remove the directories ffmpeg_build and ffmpeg_sources
[22:40] <c_14> If you followed the guide I'm thinking of, you need ffmpeg_build because that's where the binaries and libraries are. You _can_ delete ffmpeg_sources if you want though.
[22:41] <Guest42024> thanks, they don't take up a lot of space, I was just curious. :)
[22:42] <freeminds> are there any known advantages for a particular filesystem, when using ffmpeg?
[22:45] <sfan5> I'm pretty sure ffmpeg benefits from the same things other applications benefit from (read speed, write speed, ....)
[22:45] Action: debianuser thinks ffmpeg is usually CPU-bound, not IO-bound, so filesystem should not matter much...
[22:46] <sfan5> it depends
[22:46] <freeminds> debianuser, that makes sense
[22:46] <sfan5> if you do re-muxing it does more I/O
[22:46] <sfan5> same when you encode to something like ffv1 or huffyuv
[22:56] <brontosaurusrex> also prores, rle, xdcam, ect are mostly i/o problems.
[22:57] <brontosaurusrex> but they are all slower than they should be last time i tried
[23:12] <mjuszcza1> Can newer versions of older releases of ffmpeg (0.10.14) likely compile against system libraries available in things like 14.04? Or do we wnt to revert backwards on things like libx264?
[23:13] <JEEB> they base on the exact same base as the earlier versions of that release branch
[23:13] <JEEB> they don't have real updates, only minor fixes if such were made/someone remembered to backport them
[23:13] <JEEB> and it all ends with "it depends"
[23:13] <JEEB> if it works, it works. if it doesn't, it doesn't :P
[23:22] <mjuszcza1> JEEB: okay. If you were compiling 0.10.14, would you use the latest system libraries to compile against or go backwards?
[23:24] <JEEB> mjuszcza1, depends on what works of course
[23:25] <JEEB> personally I follow ffmpeg well enough that I don't have to use a lolold version
[23:25] <JEEB> (there's been so many proper fixes and improvements since that it's not even funny, which is why I'd shrug at the idea of going back)
[00:00] --- Wed Jul 2 2014
1
0