Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- 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
May 2014
- 1 participants
- 62 discussions
[00:12] <cone-339> ffmpeg.git 03Diego Biurrun 07master:65d5d5865845: dsputil: Move SVQ1 encoding specific bits into svq1enc
[00:12] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:ea0931fb962f: Merge commit '65d5d5865845f057cc6530a8d0f34db952d9009c'
[00:19] <llogan> ubitux: i stole some of your examples
[00:20] <ubitux> llogan: you should show what ffprobe displays before the eval
[00:20] <ubitux> llogan: also, maybe prefer -v error over -v 0
[00:20] <ubitux> so it displays at least the errors when something goes wrong
[00:38] <ubitux> llogan: also r_frame_rate is NOT the frame rate
[00:38] <ubitux> you should definitely not recommend that value.
[00:38] <cone-339> ffmpeg.git 03Diego Biurrun 07master:3832a6590156: dsputil: Move ff_alternate_*_scan tables to mpegvideo
[00:38] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:c814a6c778b4: avcodec/x86/svq1enc_mmx: Add author attribution
[00:38] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:a9a312d299c7: Merge commit '3832a6590156e6abc575bed51cbffa78617ee5fd'
[00:51] <llogan> ubitux: ok. what is that then?
[00:51] <ubitux> llogan: http://ffmpeg.org/faq.html#AVStream_002er_005fframe_005frate-is-wrong_002c-…
[00:54] <llogan> feel free to add other stuff
[00:55] <cone-339> ffmpeg.git 03Diego Biurrun 07master:256da0770e49: dsputil: Move mspel_pixels_tab to the only place it is used
[00:55] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:5c6e94c42bcd: Merge commit '256da0770e495176d1b2699ec6e9c7993c2a6d7b'
[01:21] <cone-339> ffmpeg.git 03Diego Biurrun 07master:054013a0fc6f: dsputil: Move APE-specific bits into apedsp
[01:21] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:40f3a87c10d5: Merge commit '054013a0fc6f2b52c60cee3e051be8cc7f82cef3'
[01:30] <cone-339> ffmpeg.git 03Diego Biurrun 07master:cb52a17cb622: dsputil: Move Bink-specific add_pixels8 to binkdsp
[01:30] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:d35899ccce39: Merge commit 'cb52a17cb62297802b0a77e5af9850d87c3f925b'
[03:02] <cone-339> ffmpeg.git 03Diego Biurrun 07master:368f50359eb3: dsputil: Split off quarterpel bits into their own context
[03:02] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:98a6806fddc2: Merge commit '368f50359eb328b0b9d67451f56fda20b3255f9a'
[04:02] <UtUser> I'm not sure if I'm selecting these frames right for my outut file
[04:02] <UtUser> I want to trim down the bugged video to jut a few frames for testing but I'm way off
[04:03] <compn> mencoder -nosound -ovc copy input -frames 5 -o output.avi
[04:03] <UtUser> awesome
[04:03] <UtUser> mencoder...
[04:08] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:b15a3cc575ed: qpel_template: Restore author attribution
[04:08] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:8c891d90cac9: avcodec/x86/qpeldsp_init: Restore author attribution
[04:08] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:772d46d3b33c: avcodec/qpeldsp: Restore author attribution
[04:13] <UtUser> so how do I copy frames 331-332?
[04:37] <relaxed> UtUser: #ffmpeg is for user questions
[04:38] <UtUser> this is for a bug report
[04:38] <UtUser> nevermind anyways
[04:38] <UtUser> get off my bck
[04:49] <UtUser> well, it's definitely the internal encoder
[04:53] <UtUser> *decoder (I've had along day)
[04:57] <UtUser> http://www74.zippyshare.com/v/73545022/file.html
[04:57] <UtUser> http://uppit.com/vepr33xx9dea/bf1slice.avi
[04:57] <UtUser> JEEB, this is the 1-slice version
[04:58] <UtUser> imported it into VirtualDub and it played fine, so IDK but I think it might be ffmpeg's internal decoder
[11:47] <Varuh> hi guys. I'm stuck with MP4 files with 4k resolution from youtube (ftypdash).
[11:47] <Varuh> all the files which I was able download contain only one video stream, without audio.
[11:47] <Varuh> tell me pls, sre youtube's mp4 dash a/v streams always separated or it is possible get the
[11:47] <Varuh> mp4 (ftypdash) with audio and video streams inside ?
[12:57] <cone-282> ffmpeg.git 03Carl Eugen Hoyos 07master:1acb5ca02a66: Improve frame size calculation in caf muxer to fix adpcm_ms remuxing.
[12:57] <cone-282> ffmpeg.git 03Carl Eugen Hoyos 07master:ca2ec98cbe1f: Do not overwrite the sample format with AV_SAMPLE_FMT_NONE in libspeex_decode_init().
[13:20] <compn> Varuh : seperated i think
[13:20] <compn> "Youtube-dl can download videos in this format "
[13:20] <compn> is what the internet says
[13:20] Action: compn afk
[13:20] <compn> Varuh :you can download sd or audio-only version and paste it to your 4k ver :P
[13:48] <Varuh> compn, thanks! that's it.)
[13:54] <cone-282> ffmpeg.git 03Dirk Ausserhaus 07master:d24673a2c804: avcodec/indeo4: Move frametypes into common header.
[13:54] <cone-282> ffmpeg.git 03Dirk Ausserhaus 07master:8bfb4d72dd93: avcodec/indeo4: Decode both parts of IP frames
[14:46] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:b3dfebd64160: avformat/matroskadec: fix off by 1 error in matroska_read_seek()
[15:03] <cone-282> ffmpeg.git 03Christophe Gisquet 07master:884078d2df0f: x86: huffyuvdsp: add SSE2 median prediction
[15:18] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:7be79c76d3f7: avcodec/huffyuvdsp: Change w to intptr in add_hfyu_median_pred() and add_hfyu_left_pred()
[15:25] <cone-282> ffmpeg.git 03Christophe Gisquet 07master:f743fa9c7f87: x86: huffyuvdsp: add_hfyu_left_pred_bgr32
[15:53] <cone-282> ffmpeg.git 03Timothy Gu 07master:bfb488234525: tests: Add MPEG4 nsse test
[16:34] <wm4> congratulations
[16:35] <ubitux> :D
[16:36] <ubitux> i was expecting something more epic
[16:52] <ubitux> huh, the rotation thing is still not done?
[17:06] <cone-282> ffmpeg.git 03Timothy Gu 07master:0b6292b7b85c: x86: dsputilenc: move all the function prototypes together
[17:06] <cone-282> ffmpeg.git 03Timothy Gu 07master:154cee929284: x86: dsputilenc: convert ff_sse{8, 16}_mmx() to yasm
[17:34] <cone-282> ffmpeg.git 03Carl Eugen Hoyos 07master:3ea0d9c8a55b: Fix VDPAU decoders, regression since f2f99f07.
[18:18] <Daemon404> o shit
[18:18] <Daemon404> it hit 300
[18:21] <ubitux> we already had a celebration
[18:21] <Daemon404> aww
[18:21] Action: Daemon404 late
[18:28] <ruggles> unless i'm missing something, it looks like there is something weird going on in avcodec_copy_context() related to a merge from Libav. FFmpeg previously freed dest->priv_data while Libav did not, so merging of efc7df6c1f1 resulted in different behavior.
[18:28] <ruggles> so now it seems to leave a dest->priv_data as a non-NULL freed pointer
[18:56] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:8716605a2605: avformat/nutenc: Suggest genpts if AV_NOPTS_VALUE
[18:56] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:e263af30244c: avcodec/proresenc_anatoliy: Set bits_per_raw_sample
[18:56] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:63b4d6feb883: avcodec/proresenc_anatoliy: Use fdct from DSPContext instead of direct call.
[18:57] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:f6b1cd3936df: avcodec/proresenc_anatoliy: load 4 samples at a time in get()
[18:57] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:82efa24c519a: avcodec/proresenc_anatoliy: simplify get()
[18:58] <ruggles> michaelni: so which behavior do you prefer? preserve it as is done in Libav or free it and set it to NULL, which would then trigger a new allocation in avcodec_open2(). currently it's breaking my application...
[18:59] <ruggles> and i'm guessing it broke avserver too
[18:59] <ruggles> sorry, ffserver
[18:59] <ruggles> ;)
[18:59] <michaelni> theoretically it should be copied i guess
[19:00] <ruggles> that was the previous behavior
[19:00] <ruggles> well, the pointer was copied
[19:00] <michaelni> yes
[19:08] <michaelni> i can look into fixing that btw but not ATM, should have time in 1-2h
[19:09] <ruggles> michaelni: ok, thank you
[19:52] <kurosu> I think qpeldsp broke --disable-inline-asm
[20:02] <kurosu> "rm libavcodec/x86/qpel.o" fixed it, weird it didn't rebuild...
[21:33] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:e0d074556055: avcodec/options: leave priv_data in avcodec_copy_context() intact
[21:34] <michaelni> ruggles, fixed and some patches which would copy the user settable things from priv_data are on the ML
[21:35] <ruggles> michaelni: thanks
[21:35] <michaelni> np
[21:48] <cone-282> ffmpeg.git 03Christophe Gisquet 07master:d136fe6fd7be: x86: huffyuvdsp: fewer functions for x86_64
[22:59] <cone-282> ffmpeg.git 03Martin Storsjö 07master:abb810db0366: Revert "rtpenc_chain: Don't copy the time_base back to the caller"
[22:59] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:692757062a89: Merge commit 'abb810db036628e11a5171134ebe320b187ee6d6'
[22:59] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:1fe40e1b0538: avformat/movenchint: Fix movhinting with ff_rtp_chain_mux_open() from abb810db036628e11a5171134ebe320b187ee6d6
[23:24] <cone-282> ffmpeg.git 03Thierry Fauck 07master:d6d767d93e53: ppc: Fix compilation for ppc64le (ELFv2)
[23:24] <cone-282> ffmpeg.git 03Michael Niedermayer 07master:83b8987df702: Merge commit 'd6d767d93e532246cacf3567e6bcad76a821f838'
[00:00] --- Sat May 31 2014
1
0
[00:17] <llogan> c_14: the -t input documentation was added only a few days ago
[00:23] <bencc> I like to follow the recent trends and fashion :)
[00:23] <bencc> it could be ince to have "-to" work for input as well
[00:46] <FVG> llogan: it seems to not be crackling now after i purged every package related to pulse except libpulse0 (because mpv depended on it)
[00:50] <llogan> FVG: strange.
[03:09] <FVG> when i'm outputting to an flv rtmp stream, i always receive alsa buffer xrun at the start, and this causes the audio to lag behind the video by 1-2 seconds. doesn't happen if i output to a file
[03:09] <FVG> can anyone help?
[03:18] <FVG> if i hack the alsa_buffer_size_max value in the header and rebuild ffmpeg would it cause any problems?
[03:20] <relaxed> FVG: Are you using a recent version?
[03:21] <FVG> yeah
[03:24] <relaxed> FVG: did you see http://trac.ffmpeg.org/ticket/615 ?
[03:28] <FVG> looks like one person says it helped and another it didnt
[03:28] <FVG> i'll try streaming just audio to rtmp and see if it happens
[03:28] <relaxed> at the end it was solved by lowering the frame rate or frame size
[03:29] <relaxed> you could also try using pulse, but I have no idea if that will change anything.
[03:31] <FVG> when i used pulse it gave me crackly audio
[03:37] <IRCMonkey> So I'm trying to help a friend with streaming with ffmpeg
[03:38] <IRCMonkey> he's compiled it with librtmp
[03:38] <IRCMonkey> He's having issues with the framerate
[03:38] <IRCMonkey> This is what he said about it http://pastebin.com/yiaVEPUV
[03:39] <IRCMonkey> Pretty much it would encode the frames and send them faster than what mogulus would play I think? even though the frame rate is suppose to be much much lower
[03:39] <klaxa> maybe your friend should join freenode and #ffmpeg
[03:40] <klaxa> also pastebin the complete output including command (excluding API keys for twitch, etc.)
[03:40] <IRCMonkey> Probably but he's reading man pages
[03:40] <IRCMonkey> or went to bed
[03:40] <klaxa> he can come back tomorrow
[03:40] <IRCMonkey> wanted to see what we could get done before that
[03:40] <klaxa> without most of the information requested we can only guess things
[03:41] <FVG> i raised the buffer value and rebuilt it, and also tried streaming audio only to rtmp at a very low bitrate, and it still gives me one alsa buffer xrun at the start
[03:41] <klaxa> try setting -r value, try setting -vf "fps=value"
[03:41] <klaxa> maybe the error is located somewhere else entirely
[03:42] <FVG> -r 0, -r 1, -r 10 didn't change anything
[03:43] <klaxa> oh that wasn't directed at you...
[03:43] <klaxa> i have no idea about alsa, i had those xruns too back when i used alsa with dmix, after switching to pulse i had no issues anymore
[03:44] <IRCMonkey> http://pastebin.com/8wVfhANT
[03:44] <FVG> oh
[03:44] <IRCMonkey> That's what my guy was trying to use
[03:44] <IRCMonkey> well, I replaced the channel name and put *** for login/password
[03:46] <klaxa> i don't know, doesn't seem wrong at first glance
[03:46] <klaxa> but definitely lacks ffmpeg's output
[03:47] <IRCMonkey> Yeah, I don't think he gave me much of that
[03:47] <IRCMonkey> other than that line he gave me in the other pastebin
[03:50] <IRCMonkey> Guessing you can't render any more help on the subject unless I somehow get the output logs?
[03:50] <klaxa> oh wait
[03:50] <klaxa> i think i know what he wants
[03:51] <klaxa> use the -re flag
[03:51] <klaxa> it will read the file in real-time
[03:51] <klaxa> IRCMonkey: http://ffmpeg.org/ffmpeg.html search for "-re"
[04:04] <FVG> there's still a desync between audio and video with pulse, but it doesn't give that xrun message anymore
[04:07] <GEEGEEGEE> Is there a way to make ffmpeg use new video streams instead of stopping? It says "New video stream 0:3 at pos:3609684600 and DTS:24197.8s" and "New audio stream 0:2 at pos:3609667492 and DTS:24197.5s" and stops outputting video at the moment
[04:12] <erisco> I have already constructed AVCodec and AVCodecContext ... I am encoding frames to a buffer with avcodec_encode_video
[04:12] <erisco> how do I now write the encoded data to a file using some video format? I know I need to use avformat but the examples I can find are unclear on what to do in my case
[06:18] <erisco> I want to write to a file. What does my AVIOContext need to be?
[06:20] <tcwandrew> hello
[06:30] <erisco> what is the easiest way to make an empty options object? AVDictionary **
[07:38] <erisco> avformat_write_header returns -22, which means invalid argument. what are potential causes of this?
[07:50] <FVG> if anyone remembers, just wanted to say my ffmpeg streaming problem was fixed by removing the -r switch and changing my .asoundrc. don't even need pulse now and there's no more a/v desync :D
[10:20] <Syffs> Hello, I'm trying to understand why when I burn srt subtitle into a mkv, the subtitle codec then appears as text instead of subrip or srt: Stream #0:2(eng): Subtitle: text (default)
[10:21] <ubitux> "burn"?
[10:21] <ubitux> you mean mux?
[10:21] <ubitux> burn=hardsub, onto the video
[10:21] <Syffs> yes
[10:22] <Syffs> mux
[10:22] <Syffs> See http://pastebin.com/httVhkYw
[10:23] <ubitux> wow, 0.10
[10:23] <ubitux> blast from the past ;)
[10:23] <Syffs> is that why ?
[10:23] <ubitux> Stream #0:1: Subtitle: subrip (default)
[10:23] <ubitux> this is what i get here with a recent versionb
[10:23] <ubitux> -b
[10:24] <Syffs> arf
[10:24] <Syffs> so I should rebuild ffmpeg from sources
[10:25] <ubitux> 0.10 was initially release in january 2012
[10:25] <ubitux> it's not even on the ffmpeg download page anymore
[10:26] <ubitux> i don't know, there are several ways of getting ffmpeg, depends on your needs
[10:26] <Syffs> yeah, honestly I simply installed it from centos yum repo
[10:26] <ubitux> btw, you should be able to -c:s copy
[10:27] <Syffs> I did that as well
[10:27] <Syffs> but same result
[10:27] <Syffs> I simply forced the codec hoping it would appear as expected
[10:27] <ubitux> it's probably just a hint btw
[10:28] <ubitux> i mean, it shouldn't hurt
[10:28] <ubitux> markup is probably in anyway
[10:28] <ubitux> like, with a recent ffmpeg with that exact same output file you have here, it will probably displays "subrip"
[10:29] <Syffs> well, text subtitles could mean anything not necessarily subrip
[10:29] <ubitux> there is no distinction in matroska
[10:29] <Syffs> and in my case ffmpeg is used as a third party, so my main application sees text as a unknown codec
[10:30] <ubitux> subrip is just random text with random shitty html tags sometimes
[10:30] <ubitux> can't you force the subrip decoder?
[10:31] <ubitux> well anyway, you'd better upgrade
[10:31] <Syffs> of course, I think it might be a limitation from my main application, expecting a newer ffmpeg output
[10:31] <Syffs> thanks a lot for your help
[10:32] <Syffs> do you know if there's some ffmpeg dedicated yum repos which could avoid me from building it from the sources to get a newer version?
[10:35] <ubitux> no idea, but there are static built you could try
[10:35] <ubitux> but that won't provide you the libraries
[10:35] <ubitux> so not sure how you'll deal with it within your application
[10:37] <Syffs> ok thx, I'l try to find such a repo
[10:37] <Syffs> then i ll build it from scratch from the sources, if I don't find any
[10:39] <ubitux> if you don't need any library, builtin from sources is pretty straightforward
[10:39] <ubitux> building*
[10:39] <ubitux> any external libraries i mean
[10:40] <vovcia> hi)
[10:40] <Syffs> I need to dig into this, but I thk I do need some external libraries :P
[10:40] <vovcia> i have strange effect with ffplay: im trying to play raw stream ffplay -video_size 1280x360 -f rawvideo -
[10:41] <vovcia> the image is moved to right, and few cm of the right part is on the left
[10:41] <vovcia> and it freezes))
[10:41] <vovcia> what did i forgot?
[10:42] <ubitux> the pixel format?
[10:42] <ubitux> wrong dimensions?
[10:42] <vovcia> dimensions are right
[10:42] <vovcia> i was trying to change pixel format and image was messed up, but it was at least moving
[10:43] <vovcia> w8 ill past whole command
[10:44] <vovcia> http://pastebin.com/4RAGmnEf
[15:50] <ahtapot> hey i have old pc so its get too excited when im trying to capture my desktop with audio
[15:51] <ahtapot> is there any way to doit not on the fly encoding
[15:51] <bZalok> hi
[15:51] <ahtapot> hello
[15:51] <bZalok> I'd like to know more about channel to stream
[15:52] <bZalok> because I'm trying to get a volumedetect out of each channel
[15:52] <bZalok> of an audio stream and I get the same histogram for each channel of a 7.1 sound, and I guess that can't be right
[15:53] <ahtapot> c_14, fflogger http://pastebin.com/LfuPyY1H this is the script i found on the net that worked for me
[15:54] <ahtapot> but like i said computer was overheating and ready to fly to the moon
[15:56] <c_14> ahtapot: try using a -c:v rawvideo instead of -vcodec libx264 -preset ultrafast, should use less cpu but filesize will bloat very quickly.
[15:56] <ahtapot> cheers mate ill give it try now
[15:58] <bZalok> http://pastie.org/private/mwydqattykkep9w8qc7imw
[16:02] <bZalok> even though I think that I'm splitting each channel into a stream, then do a volumedetect, that can't be right
[16:03] <ahtapot> even though i slowed down the rate its better than before but not good enogh cause im also doing latex compiling on the video
[16:07] <c_14> bZalok: I'm not sure -af takes stream options, you'll have to put the -af volumedetect after ever map_channel part, and every map channel part needs an output file or it's going to complain, use something like -f matroska /dev/null
[16:07] <bZalok> yeah, there was a -f null
[16:08] <bZalok> my cli string was too long and was clipped
[16:09] <karika200> hi
[16:09] <bZalok> so I need to do a -map -map_channel -af "volumedetect" -f null NUL on each of the channels?
[16:09] <c_14> bZalok: I'd try that, yes
[16:10] <karika200> I set up an ffmpeg+ffserver combo and the stream works, I have image and sound, but my input source is an RTSP stream and I get constantly this messages: RTP: missed 2 packets
[16:10] <karika200> and my video is freezing
[16:11] <karika200> What can cause the packet loss? My network is ok I think it's an ffmpeg error
[16:18] <bZalok> it doesn't change a thing http://pastie.org/private/myqphbouemzc6bglfoiqa
[16:18] <bZalok> ...it still gets me a perfectly identical result
[16:19] <bZalok> could I do a -af{channel information} "volumedetect" without all the mapping?
[16:24] <c_14> You could try it.
[16:27] <bZalok> I trie doing -af:0.1.0 "volumedetect" -af:0.1.7 "volumedetect" and now, I have a sigle volumedetect output
[16:28] <bZalok> which is the same as those mapped outputs anyway
[16:30] <c_14> I just checked my 5.1 file with different channel mappings and volumedetect and both gave me the same output so it might just be normal that volumedetect provides the same output for all the channels of multichannel streams.
[16:30] <c_14> Also checked a stereo file, same thing.
[16:31] <bZalok> so I would have to export each channel and do a volumedetect on each seperate file?
[16:31] <bZalok> is there some way to chain the pan command to volumedetect?
[16:32] <bZalok> I've tried with a MXF file with multiple audio streams and I get different volumedetect values
[16:32] <c_14> you can use a simple filterchain -af pan,volumedetect
[16:40] <bZalok> ok, is there any documentation on chains
[16:41] <bZalok> examples to help me get how to do my command
[16:41] <c_14> https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-description
[16:42] <c_14> https://trac.ffmpeg.org/wiki/FilteringGuide
[16:47] <bZalok> great, that second wiki entry is far clearer for me
[16:55] <bZalok> but then, would I do a pan c:0=a:0 to split in streams using pan?
[16:59] <bZalok> but I guess it would be a dead end anyway: http://pastie.org/private/hwxzs5wifkzpzqiblkocg
[17:00] <c_14> use a comma, not a semicolon
[17:02] <bZalok> yeah, I saw that as well, but when I did it with a comma, it did only one soundvolume
[17:03] <bZalok> another dead end, then.
[17:05] <bZalok> but perhaps my pan is wrong, as in the output section, I get a video and an audio, not 8 streams http://pastie.org/private/t7ujscfdcedylu5bkem5w
[17:08] <bZalok> my final option would be to mute every channel except one, do a volumedetect
[17:09] <bZalok> but that would be much slower, I guess
[17:09] <c_14> You're getting the video because of the implicit map. And the pan doesn't do streams, only channels.
[17:10] <c_14> I would probably try the muting thing.
[17:10] <bZalok> is there some way to make it all in a single command or I'll have to do multiple calls?
[17:12] <c_14> ye, use multiple outputs and do pan="mono:c1=c1" out1 -af pan="mono:c2=c1" out2 etc then volumedetect them or try adding the volumedetect into the filterchain
[17:18] <bZalok> I get a Invalid out channel name "c7=c"
[17:18] <c_14> c7=c1
[17:19] <bZalok> yep, I know... look: http://pastie.org/private/bnmuifzhlpuli1qb3tub8a
[17:21] <c_14> pretty sure that pipe should be a :
[17:21] <bZalok> yeah, without the typo, it still does this http://pastie.org/private/id6gnotp5rsdvmjtyzilg
[17:22] <c_14> try c0=c7
[17:23] <c_14> I think I messed up earlier, 0 indexed and out=in
[17:23] <c_14> Not 1-indexed and in=out
[17:26] <bZalok> that seems to be working chained for one channel
[17:27] <bZalok> and yes, it does work
[17:27] <bZalok> but I seem to have video on both outputs
[17:27] <bZalok> and -vn did not seem to make any difference
[17:28] <c_14> -map -0:v maybe?
[17:29] <bZalok> -map -0:v matches no streams, it would seem
[17:30] <c_14> Then there shouldn't be video...
[17:30] <bZalok> well, it's in the stream mapping : http://pastie.org/private/gdsj2arx1a2h6gccm18za#32,56-60
[17:31] <c_14> -vn is an output option, not an input option
[17:31] <c_14> You have to specify it in front of each output
[17:32] <bZalok> oh
[17:33] <bZalok> great, it works at last!
[17:35] <bZalok> thanks a lot
[17:36] <c_14> np
[18:20] <DelphiWorld> hi Kingdom of FFMPEG:P
[18:21] <DelphiWorld> i have a .mp4 file with H.264/AAC
[18:21] <DelphiWorld> how to remove the video track?
[18:21] <c_14> ffmpeg -i $file -vn -codec copy outfile
[18:21] <DelphiWorld> oh vn
[18:21] <DelphiWorld> now i remember -vn:)
[18:22] <francogrex> I amtrying to hardsub a movie.avi with ass subs. The subtitles are fine if I play the movie separately it reads ok from the movie.ass subs
[18:23] <c_14> francogrex: https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
[18:23] <francogrex> but doing this : ffmpeg -ss 300 -i movie.avi -r 25 -vf "ass=movie.ass" -t 30 movie-subs.mp4 doesn't add any subs into movie-subs.mp4 ?
[18:23] <francogrex> c_14: ^
[18:23] <c_14> If you use -ss as an input option with subtitles stuff happens, use it as an output option. It'll take longer but will work.
[18:23] <c_14> If you want I can explain why.
[18:24] <DelphiWorld> c_14: for output (audio) no need to specify a container?
[18:24] <francogrex> c_14: NOT NECESSARY BUT AN EXAMPLE OULD BE NICE
[18:24] <francogrex> sorry
[18:24] <francogrex> erreor upcase
[18:24] <c_14> francogrex: ffmpeg -i movie.avi -ss 300 -r 25 -vf "ass=movie.ass" -t 30 movie-subs.mp4
[18:24] <francogrex> ok
[18:25] <c_14> DelphiWorld: depends
[18:25] <DelphiWorld> c_14: mp3 or aac
[18:25] <c_14> DelphiWorld: just use file.mp3 or file.aac as output file
[18:26] <DelphiWorld> awesome
[18:28] <DelphiWorld> c_14: ogg look nice;)
[18:28] <francogrex> c_14: thanks works fine now :)
[18:30] <DelphiWorld> ogg give flac audio
[18:31] <c_14> The file extension for flac is .flac
[18:31] <DelphiWorld> yeah but .ogg give flac audio inside
[18:32] <c_14> ogg should default to vorbis
[18:33] <DelphiWorld> c_14: this is not a issue, i will pb you so maybe its a ffmpeg bug
[18:33] <francogrex> ffmpeg -i movie.avi -ss 300 -r 25 -vf "ass=movie.ass" -t 30 movie-subs.mp4
[18:33] <DelphiWorld> c_14: i'm using mp3 regardless:)
[18:33] <francogrex> mp4 extension works better for some reason but it's ok
[20:04] <asherawelan> can i ask a avconv question here as well?
[20:04] <c_14> avconv support is in #libav, tried asking there?
[20:05] <asherawelan> thanks - will fo
[20:05] <asherawelan> *do
[20:15] <asherawelan> No real help there....
[20:16] <asherawelan> this is my question:
[20:16] <asherawelan> Hello, Im using avconv to proxy an rtsp feed, but get this error - can someone point me in the right direction& [mpeg1video @ 0x8d06e20] Error, Invalid timestamp=0, last=0
[20:38] <Mista_D> the gmane server is broken for now. Can anyone help with filter complex concat? I want to add a bumper to a video file, while inverse-telecine'ing the video file but not bumper. All in one run?... -i ${BUMPER}.mp4 -i ${VIDEO1} -filter_complex '[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a], -map [v] -map [a]"
[23:29] <c_14> Mista_D: try -filter_complex '[1:0]pullup[tmp];[0:0][0:1][tmp][1:1]concat=n=2:v=1:a=1[v][a]' -map '[v]' -map '[a]'
[23:47] <Mista_D> c_14: Thanks!
[00:00] --- Sat May 31 2014
1
0
[00:09] <michaelni> kurosu, probably the high 16bits contained some intermediate values and where not 0
[00:10] <michaelni> so it shouldnt be needed anymore
[00:10] <kurosu> it's not like it's going to hurt after 12 years of innocuous behaviour, but yeah... I don't see why it is needed
[00:11] <kurosu> and if it is needed, then I don't think any fate test currently exhibits the problem
[00:12] <michaelni> kurosu, ill rerun fate and remove it
[00:13] <kurosu> as you wish
[00:17] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:b50559fc0b2b: libavcodec/x86/dsputilenc: drop and 0xffff that should have becomei redundant
[00:20] <kurosu> as you wish
[00:20] <kurosu> woops
[00:26] <cone-584> ffmpeg.git 03Luca Barbato 07master:6d212599aa68: avformat: Provide a standard compliance flag
[00:26] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:d858ee717bed: Merge commit '6d212599aa684f30511fb08ca30fe2378405304e'
[00:36] <llogan> cehoyos: ef48ac6 breaks speex decoding (found by massdos in #ffmpeg) with http://samples.ffmpeg.org/A-codecs/speex/h264_speex.mp4
[01:18] <cone-584> ffmpeg.git 03Luca Barbato 07master:c94e2e85cb6a: nut: Support experimental NUT 4 features
[01:18] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:a8499cbbe87d: Merge commit 'c94e2e85cb6af8a570d8542a830556243bd32873'
[01:20] <compn> neat
[01:20] <compn> washington attorney general asking for support with SN40 codec :D
[01:24] <cone-584> ffmpeg.git 03Luca Barbato 07master:b2d456542205: avresample: Add avresample_get_out_samples
[01:24] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:bdb2e80e88e7: Merge commit 'b2d45654220503224aa94e78cdff19ec624e9342'
[01:31] <cone-584> ffmpeg.git 03Luca Barbato 07master:ad0fe2f40120: af_resample: Use avresample_get_out_samples
[01:31] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:20343cfb51ea: Merge commit 'ad0fe2f4012031c47268f14b9835088c488e1998'
[01:36] <compn> anyone knwo what this site is or who runs it ? http://ffmpegmac.net/
[01:41] <llogan> compn: i believe Sebastian Tischer $(surname).s at me.com
[01:55] <compn> llogan : so its a legit site then ? :P
[01:55] <llogan> i think so
[01:56] <llogan> i've never tried his builds, but i don't have OSX
[02:18] <UtUser> The Ut Video decoder is still busted in case anybody cares
[02:23] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:99b15f1daae1: avformat/nutenc: fix used version value
[02:23] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:45daae06fd6f: avformat/nutenc: change check to match comment
[02:23] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:170a4d79c04c: avformat/nutenc: bump minor version due to broadcast/pipe
[02:23] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:6b041cb617e5: avformat/nutdec: Fix handling of older 4.0 files
[03:02] <compn> UtUser : we care, decoding or encoding ?
[04:11] <UtUser> sorr for the hours-late response. DECODING, I think
[04:11] <UtUser> compn: as per http://trac.ffmpeg.org/ticket/2661
[04:12] <UtUser> and don't forget I already sent out a 20 MB sample of the kind of Ut Video frames that give errors in ffmpeg
[04:12] <UtUser> maybe you won't here
[04:12] <UtUser> I'll try and find the URL
[04:12] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:df889be0a89a: nutenc: avoid av_tree_find() operation per syncpoint
[04:12] <UtUser> someone should verify this and re-open the ticket IMHO
[04:12] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:82beb46e65e5: avformat/nutenc: add mode that omits the index
[04:12] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:6d1aba6a29b4: avformat/nutenc: limit index table size if no index is going to be written
[04:13] <UtUser> here's one of the mirrors: http://www.sockshare.com/file/EBEC6306126D92F0
[04:14] <UtUser> compn, Daemon404
[04:25] <compn> ehe, i dont dare cross carl the trac warrior by reopening a bug :)
[04:25] <compn> leave it closed , can continue commenting on it however
[04:32] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:78a79a2ceb63: avformat/nutenc: replace conditional by assert
[04:57] <UtUser> compn, I'm not sure if that's the best course of action
[04:57] <UtUser> fixed doesn't mean fixed here
[05:26] <UtUser> now I'll just sit and wait
[05:43] <compn> UtUser : you got latest git ? just making sure you arent using old ffmpeg...
[05:43] Action: compn afk
[05:44] <UtUser> I'll install a build from today to make ure
[05:45] <UtUser> but unless somebod fixed it yesterday, I'm pretty sure
[05:49] <UtUser> yep, it's still broke
[05:54] <michaelni> BBB, posted a patch for a quick n dirty fate test for async
[06:23] <UtUser> how do I get a sample onto ffmpeg's site?
[06:23] <UtUser> I plan to reopen and I wat to have proof to back me up
[06:38] <UtUser> SOMEBODY CONFIRM THIS FUCKING THING SO IT CAN GET FIXED
[10:54] <ubitux> UtUser: this is a development channel you know, not a special support one; you could open a new ticket
[10:57] <ubitux> UtUser: carl just sent a patch btw
[10:58] <ubitux> UtUser: see https://ffmpeg.org/pipermail/ffmpeg-devel/2014-May/158171.html
[12:17] <kurosu> what's the avantage of utvideo over huffyuv+median ?
[12:17] <kurosu> they are both huffman coding and median
[12:18] <kurosu> there's maybe that YCoCg-like transform in utvideo, but that's about it?
[12:23] <J_Darnley> As I recall it started out as someone filling whatever niche they had.
[12:25] <kurosu> from what I see, their prediction enforces int intermediate (no wraparound), so I would expect simd to have around a halved performance
[12:25] <J_Darnley> I think it might have been so they could use some encoding API for which no other codec was then available
[12:26] <kurosu> the existence of that codec is weird - except for filling a niche, I can't make sense of it
[12:26] <J_Darnley> Was this codec also the one that uses floats?
[12:26] <kurosu> no that's algarith arithmetical entropy codec
[12:27] <kurosu> or lagarith, rather
[12:28] <J_Darnley> oh yes
[12:28] <kurosu> I think michaelni added variations of YCoCg to ffv1, but I don't see why a huffyuv 3.0 or whatever couldn't
[12:28] <J_Darnley> If you want to find its origins, I think I first saw it being demoed on Doom9's "alternative codecs" forum
[12:28] <kurosu> then no difference for rgb input
[12:29] <J_Darnley> Lots of redundant or duplicate work happens, unfortunately
[12:30] <kurosu> it's often a lemma in lossless coding it seems
[12:31] <J_Darnley> Here's the thread, I think: http://forum.doom9.org/showthread.php?t=143624
[12:31] <J_Darnley> It didn't surprise me to see thet the author link is to some japanese blog
[12:33] <Daemon404> the niche at the time was sliced threading
[12:33] <Daemon404> iirc
[12:34] <Daemon404> although it supports 10bit now
[12:34] <Daemon404> (i need to add that to the decoder maybe)
[12:34] <kurosu> and frame threading wasn't an option ?
[12:34] <kurosu> all the more for an intra codec
[12:35] <BBB> michaelni: ty!
[12:35] <Daemon404> kurosu, latency vs throughput
[12:35] <Daemon404> the ageold debate.
[12:35] <Daemon404> anyways, beats me
[12:36] <Daemon404> im not the euthor
[12:36] <Daemon404> author*
[12:37] <BBB> kurosu: most of these codecs exist because the author went to college, had nothing to do, didn't google-search before <T> and then T=started to code
[12:37] <kurosu> isn't latency more of a decoding issue? and being intra, I don't think the difference between 1/70s and 1/360 would matter ?
[12:37] <kurosu> anyway, yeah, I'm beating a dead horse here
[12:44] <cone-339> ffmpeg.git 03Roman Savchenko 07master:a53551cba86b: frame: fix the error path in av_frame_copy_props()
[12:44] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:d9c4f61dab2a: Merge commit 'a53551cba86bb67efcb6105fdc337a36c43132bd'
[13:02] <kurosu> ah VfW - explains slice threading
[13:05] <cone-339> ffmpeg.git 03Anton Khirnov 07master:81eec081afea: matroskaenc: base DefaultDuration on the framerate, not the codec timebase
[13:05] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:bc59d39b8249: Merge commit '81eec081afea9fc017a175581ceea7c420a0dfc3'
[13:19] <cone-339> ffmpeg.git 03Anton Khirnov 07master:cf6977712c9e: movenc: write avg_frame_rate as the framerate, not the codec timebase
[13:19] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:a72df4dadc0d: Merge commit 'cf6977712c9e5abe6dc55289f6322ccbf10321a9'
[13:30] <JEEB> <kurosu> what's the avantage of utvideo over huffyuv+median ? <- mostly the fact that the guy doing Ut Video basically went and implemented it for pretty much all of the relatively important multimedia frameworks; VfW, DShow, MF and QuickTime.
[13:37] <cone-339> ffmpeg.git 03Anton Khirnov 07master:43e7f0797f9f: flvenc: only write the framerate tag based on avg_frame_rate
[13:37] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:e46cc1dab05e: Merge commit '43e7f0797f9f821a3866a20f05e512e13c82076a'
[13:49] <cone-339> ffmpeg.git 03Anton Khirnov 07master:962d63157322: matroskaenc: set the stream timebase earlier
[13:49] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:4991eacc064f: Merge commit '962d63157322466a9a82f9f9d84c1b6f1b582f65'
[13:52] <kurosu> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/huffyuvenc.c;hb=H… <- I'm not getting what's happening
[13:53] <kurosu> if w<32, process w elements, otherwise process _16_ elements !?
[13:54] <kurosu> the encoder processes 16 elements a time or something ?
[13:55] <kurosu> michaelni, you're the author, so ... ? ^
[14:00] <michaelni> ... otherwise process 16 elements in C and the rest in SIMD
[14:01] <michaelni> the 16 is needed due to avoiding to read out of array and maintaining alignment for SIMD
[14:02] <michaelni> sure could be done differently of course ...
[14:13] <kurosu> oh... diff_bytes here is used to compute left prediction?
[14:16] <kurosu> anyway ok
[14:16] <michaelni> yes
[14:18] <cone-339> ffmpeg.git 03Christophe Gisquet 07master:c609f803e1c1: huffyuv: avoid duplicated defines
[14:47] <kurosu> michaelni, I was reworking the add_bytes anyway
[14:47] <kurosu> for some reason an initial benchmark showed the sse2 version to bring nothing
[14:47] <kurosu> hence the use of movu /...
[14:48] <kurosu> I wasn't sure it was never called with unaligned positions, as I'm not sure I test all possible cases
[14:48] <kurosu> I'm using fate-lagarith fate-vsynth[12]-huffy
[14:56] <michaelni> the header says: void (*add_bytes)(uint8_t *dst /* align 16 */, uint8_t *src /* align 16 */,
[14:56] <michaelni> so it should be aligned
[14:57] <cone-339> ffmpeg.git 03Christophe Gisquet 07master:25e6310a3ec9: huffyuv: change left prediction access in BGRA
[14:57] <kurosu> and median_pred doesn't say that, and indeed it does unaligned access (first element on line using top pred I guess)
[14:58] <kurosu> but that's probably why I didn't dare the devil
[14:58] <kurosu> will change it
[14:58] <kurosu> the sse2 version is actually twice as fast
[14:58] <kurosu> though it's negligible iirc (a profile on some huffyuv decoding showed < 1%)
[15:16] <kurosu> btw, I found unaligned loads on newer cpus to have a negligible impact
[15:16] <kurosu> sometimes even trying to distinguish between the 2 actually incurs a loss in total
[15:26] <kurosu> what happened to ffv2 (which was worked on by x264 authors)? I guess functionalities-wise it's not up to par with ffv1, but the base was kind of good ?
[15:33] <compn> was it incorporated into ffv1 1.3 ?
[15:33] <compn> or is this something else i dont remember hearing about ?
[15:36] <JEEB> it's something that pengie was playing with for a while
[15:37] <JEEB> you have some diffs from 2009-2010 @ http://akuvian.org/src/x264/
[15:41] <kurosu> dead a long time ago then
[17:33] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:f518fb33184b: avcodec/dpx_parser: reset index when finding a startcode, not after
[17:33] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:8df5d9aabfbf: avcodec/dpx_parser: fix flushing end out
[17:33] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:fba0ac28055d: avcodec/dpx_parser: Allow frame size to be too small
[18:14] <kurosu> michaelni, reworking add_hfyu_left_pred_bgr32, no need to review for now
[18:15] <michaelni> ok
[18:22] <cone-339> ffmpeg.git 03Martin Storsjö 07master:08cd92144e73: aarch64: Use the correct syntax for relocations
[18:22] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:232959f184e1: Merge commit '08cd92144e73195eecc28ed0348e66e255516b82'
[18:54] <cone-339> ffmpeg.git 03James Almer 07master:05de4d30111e: x86/dsputilenc: implement XOP version of pix_sum16
[20:13] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:40a4ab8ba4bf: rename sub_hfyu_median_prediction_int16 to sub_hfyu_median_pred_int16
[20:13] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:550ae6c02f61: rename add_hfyu_median_prediction_int16 to add_hfyu_median_pred_int16
[20:13] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:7b4c46050e68: rename add_hfyu_left_prediction_int16 to add_hfyu_left_pred_int16
[21:24] <kurosu> jamrial, I benchmarked it be slower
[21:24] <kurosu> though I hadn't written the sse2 version yet
[21:44] <cone-339> ffmpeg.git 03Christophe Gisquet 07master:bf7e9cc82a84: tests: allow passing dimensions to videogen
[21:51] <jamrial> Interesting. I'd expect two less movq/dqa to be faster. paddb speed shouldn't change regardless of using a reg or mem as source
[21:52] <jamrial> at least when i looked at some latency benchmarks online
[21:53] <cone-339> ffmpeg.git 03Christophe Gisquet 07master:226700398105: x86: hpeldsp: better factorization
[21:53] <kurosu> this goes into details above my head
[21:53] <kurosu> usually, I just try and see if it's better
[21:54] <kurosu> but that's sometimes useless
[21:54] <kurosu> because it may actually hurtful to a much older/newer cpu
[21:54] <jamrial> true
[21:54] <kurosu> *be hurtful
[21:55] <jamrial> considering the mmx versions are now only going to be used by old cpus, benchmarking it on new cpus doesn't really give a proper image of a real world scenario
[21:55] <kurosu> yeah
[21:56] <kurosu> on those I remember you had to be really careful about your insn scheduling
[22:07] <kurosu> jamrial, re: add missing guards to ff_pix_sum16_xop, wouldn't an equivalent check be needed in the _init code ?
[22:08] <UtUser> >Have you tried the sample with the official decoder? If that breaks, then its not our decoder which needs to be fixed, but our encoder.
[22:08] <UtUser> I havesome mre testing to do.
[22:12] <jamrial> EXTERNAL_<opt> macros in the _init code take care of that
[22:13] <kurosu> ok, this is set based on detection by configure then
[22:15] <jamrial> yeah, those macros expand to "HAVE_<opt>_EXTERNAL && (cpuflag & AV_CPU_FLAG_<opt>)" which is optimized out when HAVE_<opt>_EXTERNAL is 0
[22:30] <cone-339> ffmpeg.git 03Christophe Gisquet 07master:99a319c4e753: x86: huffyuvdsp: port add_bytes to yasm
[22:35] <fionag> out of curiosity, is there some reason the PIX_SUM doesn't use psadbw already?
[22:35] <fionag> it seems a little weird that it doesn't, unless I'm misunderstanding the purpose of the function
[22:35] <JEEB> UtUser, if it seems like a bug in the encoder, feel free to poke me. I'll try to poke it after I get back from work tomorrow
[22:35] <UtUser> I was just quoting somebody else
[22:35] Action: JEEB is the guy whose name is on the top of utvideoenc.c
[22:36] <UtUser> ok
[22:36] <JEEB> I did enable slices at one point automatically depending on the amount of cores you have, but I did check against the official encoder if I recall correctly
[22:36] <UtUser> how does one use the official encoder, by the way?
[22:37] <JEEB> encoder/decoder, probably via VfW and VirtualDub
[22:37] <UtUser> ah
[22:37] <JEEB> there's a libutvideo wrapper, but I've always felt like using vdub and feeding it exactly the data I wanted to test was simpler
[22:38] <UtUser> well, honestly I'd prefer the CLI
[22:38] <UtUser> I've got a test clip
[22:38] <UtUser> if I try and transcode it with libutvideo I may or may not get errors
[22:38] <JEEB> oh, you only use libutvideo?
[22:38] <JEEB> not the internal encoder
[22:38] <UtUser> I use utvideo
[22:38] <UtUser> internal
[22:38] <JEEB> k
[22:39] <UtUser> never tried libutvideo
[22:39] <UtUser> both in ffmpeg? just to make sure
[22:39] <JEEB> yeah, you need to build the lib and I'm not sure how many updates it got
[22:39] <JEEB> latter needs the ut video library of course
[22:39] <UtUser> :(
[22:39] <UtUser> hmm
[22:39] <JEEB> I just generally want to keep lavf/lavc as far from creating sample/results
[22:40] <JEEB> so I use the official encoder/decoder in vdub when I need to test against a reference
[22:40] <UtUser> ok
[22:40] <UtUser> so I'm firing up vdub
[22:40] <UtUser> wait
[22:40] <JEEB> http://umezawa.dyndns.info/wordpress/?p=4809
[22:40] <JEEB> official ut video
[22:41] <JEEB> also if you can give me a sample that I can repro things with that is an alternative as well
[22:42] <UtUser1> I am so sorry
[22:42] <UtUser1> my webchat client froze again
[22:42] <UtUser1> anyways, I am unsure of how to proceed
[22:43] <JEEB> <JEEB> http://umezawa.dyndns.info/wordpress/?p=4809
[22:43] <JEEB> <JEEB> official ut video
[22:43] <JEEB> <JEEB> also if you can give me a sample that I can repro things with that is an alternative as well
[22:43] <UtUser1> well actually I think somebody already split and uploaded it...
[22:43] <UtUser1> http://trac.ffmpeg.org/ticket/2661#comment:6
[22:43] <JEEB> ok
[22:43] <JEEB> can you tell me if it happens with one slice?
[22:44] <UtUser1> hm?
[22:44] <JEEB> after -i you set -slices
[22:44] <JEEB> to set the amount of sliced used for encoding
[22:44] <UtUser1> oh boy
[22:44] <UtUser1> see, here's the problem
[22:44] <UtUser1> not every frame is bugged
[22:45] <JEEB> well, I just want to know if it borks at all with one slice
[22:45] <UtUser1> so I'll encode like 2 minutes of video and there might be 4 seconds of bgged frames
[22:45] <UtUser1> I see your point though
[22:45] <UtUser1> it may take some time however
[22:45] <JEEB> I put a change in in February because the official Ut Video decoder only threads in slices
[22:45] <JEEB> The official Ut Video decoder only threads with slices, thus until
[22:45] <JEEB> now any files encoded by the libavcodec encoder have only been
[22:45] <JEEB> decodable with a single thread. The default slice count is now
[22:45] <JEEB> set to subsampled_height / 120.
[22:46] <JEEB> before that it was always -slices 1
[22:46] <UtUser1> I see
[22:46] <JEEB> I had tested that things would decode correctly at that point
[22:46] <UtUser1> a likely culprit
[22:46] <JEEB> but you never know, so it's worth a try
[22:46] <UtUser1> ok
[22:46] Action: JEEB is rather dry and down-to-earth in these things
[22:46] <UtUser1> just to confirm
[22:47] <UtUser1> should I be decoding the busted clip or encoding a newone?
[22:47] <JEEB> encode the clip that makes the encoder create files that bork at decoding
[22:47] <UtUser1> ok
[22:47] <JEEB> encode -> decode -> check if it borked
[22:48] <JEEB> also, I'm happy that some people use my encoder :)
[22:48] <UtUser1> I think it's one of the greatest features of ffmpeg
[22:48] <UtUser1> I use it for my masters
[22:48] <JEEB> I was kind of worried about it not getting used because the libutvideo wrapper was already in :)
[22:49] <UtUser1> well, people like me just type in the most obvious thing
[22:49] <UtUser1> like utvideo without the lib part
[22:49] <UtUser1> seriously
[22:50] <UtUser1> you can also type in things like h264, etc.
[22:50] <UtUser1> aac gives you the experimental encoder
[22:50] <UtUser1> the offical name is "ut video", so I just removed the space, and to my amazement, it worked, so I used that :)
[22:58] <JEEB> UtUser1, anyways, after you can confirm if it happens with one slice or not, feel free to poke me with a sample that I can then encode with the encoder and try and feed it to the official decoder
[22:58] <UtUser1> uh
[22:59] <UtUser1> you've lost me
[22:59] <UtUser1> I'm encoding with one slice now
[22:59] <JEEB> yes
[22:59] <UtUser1> it should be done soon
[22:59] <JEEB> since it seems to be taking a while
[22:59] <UtUser1> it's about a minute but I had to get the settings right
[22:59] <JEEB> k
[22:59] <UtUser1> I just had some soup
[23:00] <JEEB> and I'll have to be up in ~6 hours
[23:00] <UtUser1> oh shit it'll be like 5 more minutes
[23:00] <UtUser1> oh no man
[23:00] <UtUser1> well ok
[23:00] <UtUser1> you do that
[23:00] <UtUser1> sleep and whatnot
[23:00] <JEEB> just poke me, I will read through the backlog
[23:01] <JEEB> tell me if it happens with just multiple slices or if just one slice is affected too, and then please link a sample I can throw at my encoder to replicate
[23:01] <JEEB> :)
[23:01] <JEEB> and I can then check the output against the official decoder
[23:02] <UtUser> AHHHHHHHHH
[23:02] <UtUser> my IRC cient crashd again
[23:02] <JEEB> <JEEB> just poke me, I will read through the backlog
[23:02] <JEEB> <JEEB> tell me if it happens with just multiple slices or if just one slice is affected too, and then please link a sample I can throw at my encoder to replicate
[23:02] <JEEB> <JEEB> :)
[23:02] <JEEB> <JEEB> and I can then check the output against the official decoder
[23:02] <UtUser> ok
[23:03] <UtUser> not sure if the encode-able sample part will work
[23:03] <UtUser> too big a file I'm trying right now
[23:03] <JEEB> well if you can limit it to the pictures that are borked
[23:03] <JEEB> and see if they by themselves make it happen
[23:03] <UtUser> so it's always the same behavior and not random?
[23:03] <JEEB> it should be
[23:03] <UtUser> ok
[23:04] <JEEB> unless there's some really weird shit going on, but at least the encoder is fully dependant on only that one picture you're feeding it
[23:05] <UtUser> well, I'll try and let you know
[23:05] <UtUser> I'll probably be nice and cozy at home while you're at work
[23:05] <UtUser> get some sleep now
[23:05] <UtUser> I'll do my best
[23:06] <cone-339> ffmpeg.git 03James Almer 07master:02a3e327f118: x86/dsputilenc: add missing guards to ff_pix_sum16_xop
[23:50] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:b3f461508176: ffmpeg: fix check for muxing overhead being unknown
[23:55] <cone-339> ffmpeg.git 03Diego Biurrun 07master:2ea2612df508: svq1enc: Rename SVQ1Context to SVQ1EncContext
[23:55] <cone-339> ffmpeg.git 03Michael Niedermayer 07master:cb8763bda7e5: Merge commit '2ea2612df508abdd1f97c6a6ef56275a52c5c41e'
[00:00] --- Fri May 30 2014
1
0
[00:05] <Dave77> llogan: I just wondered if something about QT could be added to FAQ
[00:05] <llogan> what do you want to add, exactly?
[00:14] <massdos> i think i found the problem. maybe someone can confirm
[00:15] <massdos> in libspeexdec.c from ffmpeg-20140415-git-ef818d8
[00:15] <massdos> line 46: FROM ( avctx->sample_fmt = AV_SAMPLE_FMT_S16;
[00:15] <massdos> TO avctx->sample_fmt = AV_SAMPLE_FMT_NONE;
[00:15] <massdos> so the message says "Unable to parse option value "(null)" as sample format"
[00:16] <massdos> so i think it's should be this...
[00:16] <massdos> any one can confirm?
[00:37] <llogan> massdos: yes. ef48ac6 is the culprit
[00:37] <llogan> thanks for letting us know
[00:38] <bencc> when building on ubuntu-14.04 with --enable-x11grab I'm getting "Error: Xext not found"
[00:38] <llogan> you need libxext-dev or something like that
[00:38] <bencc> tried installing libxext-dev but still getting the rror
[00:38] <bencc> installed it
[00:39] <llogan> anything of interest in config.log?
[00:39] <bencc> "pkg-config --modversion xext" gives me 1.3.2
[00:39] <bencc> where is config.log?
[00:39] <llogan> in your ffmpeg source directory
[00:39] <bencc> I'm using https://github.com/pyke369/sffmpeg
[00:41] <bencc> in config.log I see many lines "undefined reference to `_Xreply'" and similar
[00:42] <bencc> last two lines are
[00:42] <bencc> collect2: error: ld returned 1 exist status
[00:42] <bencc> Error: Xext not found
[00:42] <llogan> third party scripts are generally offtopic here. you should contact the author.
[00:42] <bencc> ok. thanks
[01:28] <bencc> when using fbdev it records my terminal. can I record xvfb instead?
[01:33] <benlieb> I'm creating videos by slicing another video like so: cmd = "ffmpeg -y -i #{@dir}/raw/#{@import.raw_source} -ss #{(a)import.lesson_times[0]} -c copy -to #{(a)import.lesson_times[1]} -map_chapters -1 #{@dir}/raw_lessons/#{@import.lesson_id}.mp4"
[01:33] <benlieb> the videos created this way have variable blackness for the first 3-5 seconds before the video stream is visible.
[01:33] <benlieb> What is causing this and how do I avoid it?
[01:34] <benlieb> c_14: to the rescue?
[01:34] <benlieb> or anyone else....
[01:34] <benlieb> :)
[01:35] <c_14> try using -ss as an input option instead of an output option
[01:35] <benlieb> c_14 how would I do that? Or rather where would that go?
[01:36] <c_14> -y -ss #{(a)import.lesson_times[0]} -i #{@dir}/raw/...
[01:36] <benlieb> after the -c ?
[01:36] <benlieb> the -to too no?
[01:37] <c_14> Don't move the -to
[01:40] <benlieb> that seems to do it.
[01:40] <benlieb> now what exactly happened :) ?
[01:41] <c_14> You used -ss as an input option instead of an output option. This causes a lot of magic and doohickery to come into effect which can help git rid of weird black frames when streamcopying.
[01:41] <c_14> Basically ffmpeg decodes and throws away the input up to the seek point before doing stuff with it.
[01:43] <llogan> benlieb: are you no longer using the color source filter?
[01:44] <joecool> hey is there any compelling reason to use libcdio over cdparanoia with ffmpeg?
[01:44] <benlieb> llogan: I am in another part of the script
[01:45] <benlieb> llogan: basically a lot of stuff needs to happen all over the place. Here's the methods that are called and in this order to give you an idea: make_db_lesson connect_instructors_to_lesson make_commissions make_intro raw_lesson big_mp4 add_intro small_mp4 make_previews add_outro_to_preview make_thumb
[01:45] <benlieb> and then some...
[01:46] <benlieb> llogan: I'm trying to make a script that automates what used to take a human days to do
[01:47] <benlieb> Or more. The only thing I'm losing is the quality of the intro and outdo. None of the text is animated like before. Is there a cli program that allows for "flashy" video manipulations?
[01:48] <klaxa> imagemagick + ffmpeg maybe?
[01:48] <llogan> you mean to animate text using a variety of presets or whatever? not that i know of, but that doesn't mean there isn't one.
[01:48] <c_14> If you want 'flashy' text, you might want to look at substation alpha subtitles. You can do pretty nice things with those.
[01:48] <klaxa> oh yeah or that
[01:49] <benlieb> c_14: is substation the program?
[01:50] <benlieb> nvm
[01:50] <klaxa> aegisub is regarded the most sophisticated WYSIWYG editor for ssa subs
[01:51] <c_14> ssa files are plain text, so once you get something you like you can swap out parts of it (ie episode name or something)
[01:51] <benlieb> looks like a gui
[01:51] <llogan> popular with aneem fans
[01:52] <benlieb> I don't want subtitles, I want attractive and dynamic intros and outros ideally.
[01:52] <c_14> You said something about animating text, you can do things like make pretty text with ssa subtitles.
[01:54] <llogan> maybe blender.
[01:56] <kingsob> I have a ts segment from a hls stream, and it has a Duration: 00:00:09.29, start: 12.182467, bitrate: 1595 kb/s. I am trying to reencode the segment with a lower bitrate, but in doing so, I seem to reset the start back to 0.000000. is there a way I can keep the start as it was in the original video?
[01:59] <benlieb> Here's an example of our "previous" type of intro that was manually done in a premier http://previews.idance.net.s3.amazonaws.com/mp4/2368.mp4
[01:59] <benlieb> c_14: that looks like a gui, though, no?
[02:01] <c_14> aegissub is a gui, yes. But as I said the ssa files are plain text so you so if the only things you're changing are the names/people you can just have one base ssa template file that you modify for each video.
[02:03] <c_14> And you can do text effects like that with ssa subtitles. you might want to burn them into the video though.
[02:06] <benlieb> c_14 I can already do this in the manner you're describing with final cut and premier. Ideally I'd like a completed animated solution. The current script is pulling all data (text etc) from the databae.
[02:06] <freezway> so with libavutil and av_dict_get, if you don't pass AV_DICT_DONT_STRDUP_VALUE then why does it say not to change the value returned?
[02:07] <c_14> benlieb: oh, ok. I don't really have any other ideas though.
[02:07] <freezway> shouldnt it be strdup'd and not care?
[02:10] <klaxa> benlieb: with a source video for the... flaming stuff and some hours of tracing those flames it could be done with ssa subs
[02:10] <klaxa> with variable text
[02:10] <klaxa> wouldn't look exactly like it of course
[02:10] <klaxa> but probably close enough
[02:12] <benlieb> klaxa: what I'm really after is something that empowers creativity as well as automation. I don't really like the flames for example, and would love to just have a text animation filter similar to "draw text" that has many preset animation theme templates, for example.
[02:12] <benlieb> I see this stuff on TV everywhere and in in other gui video editors.
[02:12] <klaxa> hmm haven't heard of such a thing
[02:12] <klaxa> well yeah gui editors
[02:13] <klaxa> with a little bit of scripting you can generate your own animations
[02:13] <benlieb> if someone knew how to make this available (I don't) there is a HUGE market for this. I can't imagine someone hasn't stepped into fill this gap. It must exist out there somewhere....
[02:13] <klaxa> with imagemagick or ssa subs even
[02:13] <benlieb> klaxa: but as I said ssa isn't cli
[02:14] <klaxa> ssa are plaintext files
[02:14] <klaxa> sure as hell they are cli
[02:14] <benlieb> but the application of those to a video is manual via the gui
[02:14] <benlieb> I'm writing scripts that are processing thousands of videos.
[02:14] <klaxa> you create a template once and replace the text
[02:14] <benlieb> It's just not efficient for us to do this manually
[02:15] <klaxa> do you want a bazillion different text effects?
[02:15] <benlieb> klaxa: in what manner would you add the effect to the video?
[02:15] <klaxa> render the subs on a video, maybe a blank one
[02:16] <benlieb> but how do you choose the video? Probably by open a program, selecting a video and pressing a button, right?
[02:16] <freezway> ah what the shit. AV_DICT_DONT_STRDUP_VAL isnt even used in av_dict_get
[02:16] <klaxa> wait... what?
[02:17] <klaxa> ffmpeg -i video.mkv -vf ass=subs.ass output.mkv
[02:18] <klaxa> like i said, you create *one* template (you'd probably have to for custom effects in any case no matter what method) with the gui, or if you want to, write it in a texteditor
[02:18] <klaxa> then you replace the text in the subtitle file with whatever text you want
[02:19] <klaxa> and render it with ffmpeg on the video
[02:20] <benlieb> klaxa: so ass is a ffmpeg filter...
[02:20] <benlieb> let me get this straight
[02:20] <klaxa> ok
[02:20] <benlieb> I can create a "template intro" that basically has place markers for text
[02:21] <benlieb> then use the ass filter to stick text (from a file) into that template and render it , or concat it via ffmpeg?
[02:21] <klaxa> what are place markers?
[02:22] <benlieb> the things that templates use for stuff that gets shoved into them later
[02:22] <klaxa> okay let me try to explain it how i would do it
[02:22] <benlieb> place holders
[02:23] <klaxa> use a blank video source, create a subtitle script with aegisub, maybe with external scripting for effects, and use dummy text which is going to be replaced by actual text
[02:24] <klaxa> then i replace the dummy text with actual text for a video, burn it on a blank video with ffmpeg's ass filter
[02:24] <klaxa> now i have a video with shiny text effects
[02:24] <klaxa> you can concat that with ffmpeg, not sure if codec copy will work though
[02:25] <benlieb> what is aegisub?
[02:25] <benlieb> external program?
[02:26] <sacarasc> Yes.
[02:26] <klaxa> in my scenario it is used once to create a template
[02:27] <benlieb> how are the effects generated? In aegisub
[02:27] <benlieb> ?
[02:28] <klaxa> there are some lua scripts
[02:28] <klaxa> you can use the built-in move() function
[02:28] <klaxa> here's an example of what i made like a year ago: http://klaxa.eu/justice_anger.mkv
[02:29] <klaxa> i did that with a python script written for that exact scene though
[02:29] <klaxa> maybe not the best example
[02:30] <benlieb> klaxa: nice.
[02:30] <benlieb> but there are no text effects, movements, resizing, flames, etc
[02:31] <benlieb> how would that be done. I'm missing something.
[02:31] <klaxa> did you see those words forming from cards? wasn't that moving enough? :P
[02:31] <klaxa> like i said, for moving you can use the move() command which is part of the specification
[02:31] <klaxa> you can fade text with fade()
[02:31] <klaxa> fade in and fade out
[02:31] <benlieb> the red ones?
[02:32] <klaxa> yeah
[02:32] <klaxa> the english ones
[02:32] <benlieb> I thought you were talking about the subtitles
[02:32] <klaxa> those are part of the subtitles
[02:32] <klaxa> they were in the text-file
[02:32] <klaxa> it's called typesetting in the fansub scene
[02:32] <klaxa> http://klaxa.eu/justice_anger_soft.mkv
[02:33] <klaxa> in your player, disable and enable subs at random points to see what are subs and what are not
[02:51] <benlieb> I'm still trying to figure out where the effects come from. Read the wikipedia page for Substation Alpha and the page for Aegisub
[02:52] <sacarasc> They come from the subtitle format and the ass decoder in ffmpeg.
[02:53] <benlieb> sacarasc: how can I see a list of available effects...
[02:54] <klaxa> benlieb: http://docs.aegisub.org/manual/ASS_Tags
[02:59] <benlieb> In the process above that you recommended, when you say "I replace the dummy text" does that mean you write to the subtitle file?
[03:00] <benlieb> Or re-write it rather?
[03:02] <c_14> You'd probably create a local copy of the file somewhere and then rewrite parts of it, yes.
[03:07] <benlieb> c_14: klaxa: To see if I've got this straight, the ffmpeg ass filter can read a file in ssa format (which includes times and effects) generated once by the gui aegisub program?
[03:07] <c_14> yep
[03:11] <benlieb> c_14: I'm having trouble finding a visual reference for these effects. I'd like to see what's possible before going through the trouble of trying to get this to work...
[03:11] <c_14> Well, there's what klaxa posted with the text coming together to form letters.
[03:13] <benlieb> c_14: this looks promising. Was this really generated with ass? https://www.youtube.com/watch?v=Xy-9IrbfAtc
[03:13] <c_14> ye
[03:14] <c_14> I have several videos with similar karaoke effects.
[03:18] <c_14> You can just search on youtube for 'aegisub effect' or 'aegisub movement effect' etc and you'll get plenty of results.
[03:18] <c_14> Some of them even post the templates.
[03:19] <c_14> ie: https://www.youtube.com/watch?v=_KwxtW4qLy8 with template: http://sprunge.us/fJQA
[03:47] <benlieb> how can I fade out the last 2 seconds of a video of arbitrary length?
[03:48] <benlieb> c_14 ^
[03:49] <c_14> I don't think ffmpeg can do that by itself. You'll have to find the length of the video somehow, store that in a variable and use that to calculate the point from which you want to start fading out.
[03:52] <benlieb> c_14 That what I determined from the docs. This doesn't quite seem reasonable to me. Isn't that the most common use case for fading out? For arrays we can do it with negative index
[03:53] <c_14> Ye, I think there was a feature request a while ago, but I'm pretty sure it hasn't gone anywhere yet.
[04:05] <benlieb> c_14: so basically I need this to create a fade out!
[04:05] <benlieb> https://gist.github.com/pixelterra/1ad422d88c227fc607e1
[04:05] <benlieb> crazytown
[04:09] <c_14> The enhancement ticket is here: https://trac.ffmpeg.org/ticket/2631
[04:09] <c_14> Doesn't look like there's a lot going in that direction though.
[04:27] <benlieb> it says Most developers on irc seem to have a agreed that such a "queue" feature should not be implemented due to memory (security?) concerns
[04:27] <benlieb> huh?
[04:30] <benlieb> is there any way to fade in audio and video at the same time?
[04:32] <benlieb> c_14 ^
[04:33] <c_14> Use the fade and afade filters with the same timestamps.
[04:34] <Generalcamo> I'm trying to convert a folder of .wav files to .ogg. Is there an easy way to do this? I navigated to the folder, but I am confused by the documentation
[04:35] <c_14> for file in *.wav; do ffmpeg -i "$file" ${file%wav}ogg; done
[04:37] <Generalcamo> So I need to manually input the names, instead of doing an entire folder.. this will be fun
[04:37] <c_14> hmm? that script should do it automagically. Assuming you have acces to an sh compatible shell.
[04:38] <Generalcamo> Ha ha... windows
[04:38] <Generalcamo> ..
[04:39] <c_14> he, he, I have no idea.
[04:39] <c_14> You could always do something similar in python or something.
[04:40] <benlieb> Generalcamo: yeah, write a python / ruby / php script
[04:40] <Generalcamo> I haven't wrote scripts in years..
[04:40] <benlieb> gist the output of dir in that directory
[04:41] <benlieb> gist.github.com
[04:42] <Generalcamo> https://gist.github.com/anonymous/0a82687c0e0ec73d833d
[04:43] <benlieb> no I need the contents of that dir
[04:43] <Generalcamo> Oh, sorry
[04:43] <benlieb> go into the \wav folder in the command line
[04:43] <benlieb> and do a dir
[04:45] <Generalcamo> https://gist.github.com/anonymous/8070ceecb51bcb902f28
[04:45] <Generalcamo> Sorry
[04:49] <benlieb> do you have ruby installed?
[04:50] <Generalcamo> No, but I can install it quickly
[05:00] <benlieb> Generalcamo: well you'll need some scripting foo if you want to work with ffmpeg. Might as well install ruby, because DOS will make you wanna die
[05:00] <benlieb> c_14: what does this mean: Simple filtergraph 'fade=t=in:st=0:d=2;fade=t=out:st=21:d=2' does not have exactly one input and output.
[05:01] <c_14> You're using -vf? swap out the ; for a ,
[05:01] <benlieb> c_14 I thought that was when the filters were themselves enclosed in " "
[05:01] <benlieb> lemme try
[05:02] <c_14> vf takes a single filterchain
[05:12] <erisco> where can I find documentation for programming with ffmpeg? I am trying to encode a raw video stream
[05:12] <erisco> I keep hitting pages which are about the cli
[05:25] <benlieb> erisco: http://www.ffmpeg.org/ffmpeg.html
[05:25] <erisco> this seems to be entirely about the cli
[05:25] <benlieb> c_14: when I moved that -ss filter to the input, it changed the length of the video to match the value of -to (2:04).
[05:26] <benlieb> erisco: as far as I know that's all ffmpeg is
[05:26] <erisco> ah, well there is more
[05:26] <erisco> there are C headers you can program against too
[05:26] <c_14> benlieb: Note that if you specify -ss before -i only, the timestamps will be reset to zero, so -t and -to have the same effect:
[05:26] <benlieb> erisco: http://www.ffmpeg.org/documentation.html
[05:27] <erisco> ah the doxygen
[05:28] <benlieb> c_14 so I'd have to supply the -to as the offset of the timestamp in -ss?
[05:28] <benlieb> or more to the point, the -to timestamp of the new stream?
[05:28] <c_14> ye
[05:33] <zumba_addict> good evening folks. This command is making a 6000 kb/s which I don't need since it's just a frozen pic with an audio. What do I add? ffmpeg -i output.mp4 -target ntsc-dvd output.vob
[05:34] <c_14> -target sets the bitrate for you, so there's not much you can do if you want to stay compatible to the ntsc-dvd format.
[05:34] <c_14> You could, however, try specifying a bitrate manually.
[05:34] <zumba_addict> ok, how do I do that? what is the param? is it -ab 1200
[05:35] <c_14> -b:v nk
[05:35] <c_14> where n is a number
[05:35] <zumba_addict> cool
[05:35] <zumba_addict> do I keep -target there?
[05:35] <c_14> if you want to. -target sets a lot of things (bitrate, codec, buffer size) so you might want to keep it
[05:35] <c_14> depends on your use case
[05:36] <zumba_addict> yup, it's a dvd target
[05:36] <zumba_addict> i only have a 700mb cds here :D from 2002, LOL
[05:36] <zumba_addict> i still got tons of them
[05:48] <benlieb> c_14: "fade=t=in:st=0:d=2,fade=t=out:st=21:d=2,afade=t=in:st=0:d=2" ===> [Parsed_fade_1 @ 0x7fa16a500540] Media type mismatch between the 'Parsed_fade_1' filter output pad 0 (video) and the 'Parsed_afade_2' filter input pad 0 (audio)[AVFilterGraph @ 0x7fa16a603520] Cannot create the link fade:0 -> afade:0 Error opening filters!
[05:48] <benlieb> Know what that's about?
[05:50] <c_14> You'll probably need to throw that in a -filter_complex '[v]fade[vo];[a]afade[ao]' -map '[v]' -map '[a]'
[05:51] <benlieb> does this mean it accepts a stamp or seconds? [-]HH[:MM[:SS[.m...]]]
[05:51] <benlieb> [-]S+[.m...]
[05:51] <c_14> ye
[05:54] <benlieb> c_14 I thought you only need filter_complex when you have more than one input
[05:55] <c_14> Normally yes, but I think the current filterchain is trying to pass the video output from the fade filter into the input for the afade filter and failing miserably.
[05:55] <benlieb> c_14 but I can see that the output of the video fade goes into the input of the audio fade which won't work
[05:59] <benlieb> c_14 how would you turn this into the filter_complex: "fade=t=in:st=0:d=2,fade=t=out:st=21:d=2,afade=t=in:st=0:d=2,afade=t=out:st=21:d=2"
[06:00] <c_14> like I said '[v]fade,fade[vo];[a]afade,afade[ao]' just with your options attached to the filters
[06:01] <benlieb> what happens to the vo and ao 'variables' just discarded?
[06:03] <c_14> put those in -map '[vo]' -map '[ao]'
[06:03] <c_14> I messed up earlier when I said -map '[v]' -map '[a]'
[06:03] <benlieb> c_14 ok, that's what I thought
[06:04] <benlieb> c_14 so the [v] in [v]fade is a "pad" or a "stream" or both or is that the same thing? And that is previously defined, and it means the 1st v stream from the first input?
[06:06] <c_14> That [v] and [a] was just my symbolic hint that you should put the video and audio streams there, if you only have one input file, do [0:v] and [0:a]
[06:08] <benlieb> c_14: ok, was wondering bout that too. I'm such a newb
[06:09] <benlieb> basically you need filter_complex whenever you want to affect more than one stream in a filter
[06:09] <benlieb> correct?
[06:10] <c_14> Basically.
[06:11] <benlieb> c_14 I think I'm getting it.
[06:11] <benlieb> c_14: Also I think I can simplify this and other commands with this info: Unlabeled outputs are added to the first output file
[06:12] <benlieb> so I only need to "label" the output pad and then use -map if I want it to go somewhere else.
[06:12] <benlieb> and since I only have one output file
[06:44] <benlieb> c_14 is there a difference between the -s option and the scale filter?
[10:11] <ashhhh> PLEASE help me with RTSP streaming in windows
[10:11] <ashhhh> i cant find an alternative for ffserver for windows can
[10:11] <ashhhh> can u please suggest one
[10:37] <ashhhh> gello pls help
[13:24] <sunny0070> how can i install ffmpeg on vps
[13:25] <sunny0070> via parallel power panel
[13:52] <azk> The fuck is a parallel power panel
[13:59] <Harzilein> hi
[14:00] <Harzilein> this is technically an avconv question as that is what i currently have installed. as avconv likes to lie about its origin when called as ffmpeg -version, how do i check for presence of a working ffmpeg?
[14:04] <JEEB> it should be pretty simple, the binary tells you if it's from the ffmpeg or libav project
[14:05] <Harzilein> JEEB: i suspect it doesn't.
[14:05] <JEEB> it should, there's no reason not to :P
[14:06] <JEEB> also libav hasn't had an ffmpeg binary for literally ages by now (although unfortunately ubuntu had that 2012 version until 13.10, so it had that binary until then)
[14:07] <JEEB> ok, I tested on a 12.04 box
[14:07] <JEEB> ffmpeg -version doesn't say anything about the project
[14:07] <JEEB> just `ffmpeg` does though
[14:07] <JEEB> altough...
[14:07] <JEEB> grab
[14:07] <JEEB> grah
[14:08] <Harzilein> harzilein@debian:~$ avconv -version > version.txt ; ffmpeg -version > version2.txt ; cmp version.txt version2.txt && debpaste add < version2.txt
[14:08] <Harzilein> [...]
[14:08] <Harzilein> http://paste.debian.net/102369
[14:08] <JEEB> yes I just told you that -version doesn't contain that info
[14:08] <JEEB> /usr/bin/ffmpeg
[14:08] <JEEB> ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
[14:08] <JEEB> so no, the libav ffmpeg binary that was there does not lie about its origins :P
[14:09] <Harzilein> really useless -version option then ;)
[14:09] <ubitux> "The Libav developers" is the fork
[14:09] <JEEB> well same for the ffmpeg then really
[14:09] <ubitux> ffmpeg 1.0 is extremely old btw
[14:09] <JEEB> blame both sides if you're gonna blame someone for not putting the project there :P
[14:09] <JEEB> but yeah, just run the binary and it's the first line
[14:10] <JEEB> without any params
[14:10] <Harzilein> ubitux: that's a bit redundant, distro versions are always old, upstream channels always call them ancient ;)
[14:10] <ubitux> "ffmpeg version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers" "the FFmpeg developers" is ffmpeg
[14:10] <JEEB> yup
[14:10] <ubitux> Harzilein: well, 1.0 is from 2012
[14:11] <JEEB> Harzilein, basically I'd like to get a revisit on that "likes to lie about its origin" comment :P since both sides seem to be noting themselves correctly
[14:11] <ubitux> given that there is not a single day without commits since then, it's old yes
[14:12] <Harzilein> JEEB: okay. let me do another test:
[14:13] <Harzilein> harzilein@debian:~$ avconv 2>&1 | head -1 > version.txt ; ffmpeg 2>&1 | head -1 > version2.txt ; cmp version.txt version2.txt && (cat version2.txt ; echo ; echo) | debpaste add
[14:14] <Harzilein> [...] http://paste.debian.net/102370
[14:15] <JEEB> which doesn't really show us more than the fact that you have an ffmpeg ffmpeg in there
[14:16] <Harzilein> uhm, i don't think so. why would ffmpeg call its binary avconv?
[14:16] <JEEB> nfi :P
[14:16] <Harzilein> well, perhaps it's a marrilat quirk, let me check
[14:17] <sacarasc> Maybe its to "fix" your distro which thinks there will be an `avconv`.
[14:17] <JEEB> and yes, you are using some custom packaging, and if that packaging only packages the ffmpeg cli, then you really need to find someone who packages a newer one because you have no reason for not updating
[14:17] <JEEB> (unlike when you have libraries installed and depended on, and thus can't budge)
[14:18] <Harzilein> yeah, that's what i meant with checking, i'd check what set of deps it has (perhaps compared to its build deps) as well
[14:19] <Harzilein> marillat/dmo does indeed seem to package ffmpeg, sorry for the noise.
[14:20] <Harzilein> otoh it depends on marillat's "versioning era"-bumped av* libraries...
[14:21] <JEEB> well that means that nothing vanilla debian depends on those then
[14:22] <JEEB> anyways, tl;dr - if you need a newer ffmpeg cli, just build it yourself or use one of the static binaries
[14:22] <JEEB> debian unstable does already have Libav 10, too, so depending on your needs that's just fine too
[14:22] <Harzilein> JEEB: well, okay, back to my actual problem: i want to add metadata with my transcodings that preserve version and command line options so they can be reproduced
[14:23] <Harzilein> s/version/& information/
[14:23] <Harzilein> i wonder if someone has shaved that particular yak before
[14:26] <Harzilein> basically the transcoding frontend should check if that particular set of versions is still available, optionally check if it can successfully reproduce the transcoded media and once that happens delete the transcoding
[14:28] <Harzilein> the ability to recover as many command line options as possible from just the reencoded file would be nice as well
[14:29] <Harzilein> or possibly from just the original and the reencoded file, stuff like audio track assignments
[14:43] <chaika> Is there a way to tell ffmpeg to encode H264 with an odd number for height (resolution), or does that go against the H264 standard?
[14:43] <chaika> In my case it complains "[libx264 @ 0x9db7de0] height not divisible by 2 (766x431)
[14:43] <chaika> ", and then exists with "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[14:43] <chaika> exits*
[14:43] <GT_> Hi guys, I have a problem that I need to encode a video and set the creation date. According to the documentation, I should use -timestamp now, but it's not working
[14:44] <JEEB> the libx264 wrapper defaults to 4:2:0 YCbCr, for decoder compatibility
[14:44] <chaika> And in that pixel encoding it's disallowed? Do you know if it's permitted in 4:2:2 or 4:4:4?
[14:44] <JEEB> if you want to encode 4:2:2 or 4:4:4, you would have to set the -pix_fmt yourself
[14:45] <JEEB> yes, 4:2:0 encodes chroma data in 2x2 blocks
[14:45] <JEEB> so while in theory you could do non-mod2 4:2:0, it's pretty much "there be dragons" kind of area
[14:45] <chaika> True, thanks.
[14:45] <JEEB> and 99%+ of all implementations just don't support it
[14:46] <chaika> I don't understand the implementation of pixel formats to understand how that would even work
[14:46] <chaika> well enough*
[14:47] <JEEB> basically internal padding and some other stuff, but generally you can just think that 4:2:0 just doesn't support it :P
[14:47] <JEEB> it's very muchos implementation-specific and as I said, no-one supports it
[14:48] <JEEB> 4:2:2 encodes chroma in 2x1 blocks (every horizontal line has its own chroma values), and 4:4:4 has one chroma value for every luma value
[14:48] <JEEB> but yeah, you basically kill hardware decoder compatibility etc with those
[14:48] <GT_> any Idea why can't I use -timestamp now to update the creation date? http://pastebin.com/EP04athx
[14:48] <JEEB> if you need RGB, then there's the libx264rgb encoder
[14:49] <chaika> I encode in 10-bit so I already kill hardware decoding anyway :P
[14:49] <JEEB> :)
[14:49] <JEEB> just sayin'
[14:49] <GT_> Jeeb any idea how to reset the creation date? or why isn't the way I tried working? http://pastebin.com/EP04athx
[14:49] <chaika> But yeah, weird stuff that I wouldn't want to get into, I just didn't think that it was the pixel format causing the failure
[14:49] <JEEB> chaika, what's your source?
[14:50] <JEEB> if it's 4:2:0 YCbCr then you most probably want to look into what you're doing exactly to it
[14:51] <chaika> The source is just some random webm with VP8 video actually, and the default for VP8 must be some other pixel format because libvpx never complains about odd resolution
[14:51] <JEEB> because generally if there's no reason for it, you don't want to change that
[14:51] <JEEB> chaika, can you post ffmpeg -i welp.webm info on it for interest?
[14:51] <JEEB> pastebin or so
[14:52] <GT_> JEEB do you have a minute or so from your time? Till he paste's the result?
[14:52] <JEEB> GT_, if I would have any idea about your issue, I would have responded already
[14:53] <GT_> k, just ascing. And do you know somebody I could connect about this issue? Because I'm searching the internet for quite some time already and I can't find any solution
[14:57] <chaika> JEEB: http://pastebin.com/7zY5PUGm
[14:58] <chaika> Oops, got disconnected
[14:58] <JEEB> chaika, ok so it seems like libvpx wraps around it with some padding
[14:58] <JEEB> or something like that
[14:58] <JEEB> the actual data inside is 4:2:0 YCbCr
[14:58] <chaika> Yeah that's interesting
[14:59] <chaika> I guess they don't need to meet any hardware decoding standards yet so they have a lot of freedom
[14:59] <JEEB> well in theory you could do the same with H.264, it's just that you'd have to deal with the padding somehow
[15:00] <JEEB> it does have some cropping windows things, but not sure if they can be used for that
[15:00] <JEEB> also I really wonder how whatever then converts that to RGB will deal with the internal res vs external res dilemma
[15:00] <JEEB> regarding chroma upscaling
[15:01] <JEEB> because there's usually there's these specific ways of downscaling chroma, and then you're supposed to kind of do it in a similar way
[15:01] <JEEB> the other way
[15:02] <JEEB> of course if you suddenly get a situation where the other half of that 2x2 chroma block is just padding...
[15:02] <JEEB> or whatever, dunno
[15:02] <chaika> Google magic happens
[15:02] <JEEB> surprised that things handle it just fine
[15:03] <chaika> Well it certainly takes a lot of bitrate to match the quality of High profile H264, so I wouldn't be surprised if there was some redundacy and extra data in there
[15:04] <JEEB> nah, that's just libvpx sucking (and the format in general being on the level of H.264's baseline or so)
[15:04] <chaika> Although I'm not an encoding software programmer so I'm not well aware of the actual implementation of the codecs
[15:04] <chaika> Yeah haha
[15:06] <chaika> Sometimes I wish one of them would die off (and it would obviously be VPx), but the competition has done a few good things, like get H.264's patent holder or whatever to make it a little freer of a format
[15:06] <chaika> The only time you have to pay for licensing now is if you directly sell the right to view H264 encoded video, so having ads on a page that has H264 or whatever is fine
[15:09] <JEEB> nah, that's been in there for quite a while :P
[15:10] <JEEB> the VPx video formats had nothing to do with how that ended up if I recall correctly
[15:11] <JEEB> although dunno, in early 2010 a lot of people starting pointing that thing out, but I'm :effort: to starting looking into it
[15:15] <JEEB> ok, it seems like that "news" was not really news
[15:15] <JEEB> just that MPEG-LA used to have "after December 31, 2010" in their old license
[15:15] <JEEB> so they finally decided to do something about that :P
[15:33] <sruli> hi all, just wondering if anyone can advise which would be the best minimal linux distro to use if i only need ffmpeg (no gui or anything required) i will be setting it up as a VM
[15:44] <sacarasc> sruli: Go check which distros link ffmpeg against Xorg for capturing, not them ones.
[15:45] <sruli> sacarasc: in plain english that would mean?
[15:46] <vovcia> hello :))
[15:47] <c_14> sruli: I'd also stay away from debian based distros. It's fine if you want to compile ffmpeg from source, but trying to get ffmpeg in the repos is more than just a pain.
[15:49] <sacarasc> sruli: Look at what ffmpeg depends on in different distros. If they require Xorg, you probably don't want that, as it will bring in a lot of extra junk.
[15:49] <sruli> takes me 5 minutes to complie ffmpeg, have done so on a few of my ubuntu's without a problem, but i now want to setup a vm only for ffmpeg, so was wondering if i should just go for a minimal ubuntu or is there a distro which will be much better
[15:49] <BtbN> ffmpeg on ubuntu is a major pain, thanks to libav
[15:49] <sacarasc> If you're compiling yourself, anything minimalistic would be fine.
[15:50] <vovcia> i have a question about multiple streams.. i have this command: http://pastebin.com/mN4nrEdS it works almost fine, but second stream is second behind the first because ffmpeg opens first stream and then the second
[15:50] <vovcia> i mean it opens -i 8000.sdp, synchronizes, and then open 9000.sdp
[15:51] <vovcia> is there a way to open that streams simultaneously?
[15:52] <sruli> this is the guide i used to complie ffmpeg, worked without a hicup everytime https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
[15:53] <BtbN> compiling it isn't the complicated part
[15:53] <BtbN> packaging software for ubuntu/debian which needs ffmpeg is
[16:41] <chaika> > libopus
[16:41] <chaika> Does anyone actually use this?
[16:41] <chaika> Common usage when?
[16:41] <c_14> I use opus basically whenever I want lossy audio.
[16:43] <c_14> IMO, it is one of the best if not the best lossy audio codec out there, plus it doesn't have licensing issues.
[16:45] <JEEB> chaika, well given that you come IIRC from a fansubbing background, it isn't used because most airings are already lossy, use something that compresses well enough (AAC@~192kbps) and it can be cut in small audio frame chunks so you don't have to re-encode when cutting
[16:45] <JEEB> in some blu-ray/DVD rips I've seen mirko using opus
[16:46] <JEEB> in those cases the source is lossless
[16:48] <JEEB> but really, while opus is good, it's still not really shining at these kinds of use cases since at such rates you generally can use f.ex. vorbis as well. Really low bit rate scenarios are where opus really shines.
[17:00] <chaika> I see. I thought opus was god-tier at everything and that it was just unsupported/uncommon/unheard of for some reason
[17:05] <JEEB> well, it's good at most rates, it's just that there's no real compelling reason to start using it too much on other than low rate scenarios
[17:06] <JEEB> since you have vorbis or AAC for higher ones
[18:13] <albator> hello
[18:13] <albator> just got a new box with ubuntu 14.04
[18:13] <albator> and i can't compile ffmpeg like i used to..
[18:14] <JEEB> last I tested it worked just fine :P might want o provide a pastebin with more info
[18:15] <albator> I compile the external encoder as usual, libvpx x264 and fdk_aac
[18:15] <albator> then i run the ffmpeg compile, but it doesn't find x264
[18:16] <albator> which never happened before..
[18:16] <JEEB> config.log reading time? :P
[18:16] <JEEB> also are you sure you've told ffmpeg where to find x264's library
[18:17] <JEEB> or hell, did you even compile/install it
[18:17] <JEEB> (as by default x264 only compiles the binary, not the libraries)
[18:17] <JEEB> you need to --enable-static for a static library
[18:19] <albator> no i m not telling where is x264
[18:19] <albator> as I never needed too
[18:20] <albator> i did compile x264 with --enable-static yes
[18:21] <albator> x264 binary is present in /usr/local/bin
[18:35] <albator> was missing the "-extra-libs " arg
[19:39] <karika200> hi
[19:39] <karika200> I'm trying to stream a file with ffmpeg to an ffserver, but i get this error: av_interleaved_write_frame(): Connection reset by peer
[19:40] <karika200> here's ffmpeg output: http://pastebin.com/g7NEb9Lh
[19:40] <karika200> I installed it from debian-multimedia repository
[19:40] <karika200> and I'm using debian
[19:42] <karika200> And it's my ffserver config: http://pastebin.com/mGdeVDTN
[19:42] <karika200> what could be wrong?:/
[19:44] <llogan> unfortunately ffserver is basically unmaintained. i have no experience with it, but try the ffmpeg-user mailing list if you don't get help here.
[19:44] <karika200> i see, thx
[19:45] <karika200> can u suggest me a server what i can use instead of ffserver?
[19:45] <karika200> finallky I want to stream IP cams stream
[19:46] <llogan> i don't know what to recommend, but did you see: https://trac.ffmpeg.org/wiki/Streaming%20media%20with%20ffserver
[19:47] <llogan> also, does your ffserver console output say anything useful?
[19:47] <karika200> I set a logfile for the logs, but nothing interesting in the logs neither on the console
[19:48] <karika200> I tried also in debug mode
[19:48] <karika200> but nothing
[19:49] <llogan> i don't want to fall into the ffserver rabbit hole, but i do feel like procrastinating. decisions...
[19:52] <jgh-> karika200: if your camera supports rtmp you can use nginx-rtmp
[19:52] <jgh-> wowza is another option, I think it's reasonably cheap and the trial period is like 6 months now
[19:53] <karika200> jgh, thx, nginx sounds good
[19:53] <karika200> and maybe I will try icecast2 for video streaming
[19:54] <karika200> wowza could be good, but I want to use my own server for some reasons
[19:54] <jgh-> you can use your own server with wowza
[19:54] <XHFHX> Hi. I currently try to concat a couple of different files (4:3/16:9, different framerate...) with a script. First I tried it completly with commandline, it worked, but I don't understand everything and couldn't find an explanation in the documentation. So now I'm working with the function concat and a list of videos (e.g. videos.txt). This is much simpler, but I can't rescale the videos, which is necessary, as
[19:54] <XHFHX> I need a 720p file out. Or is there a way to say ffmpeg that it shall output a 720p file? Sorry, it's the first time I'm using ffmpeg
[19:54] <karika200> jgh, I'll give a try, thx! :)
[19:57] <XHFHX> oh, seems it was just a typo, now it works :)
[20:06] <XHFHX> mh, well, this list function only works for same codec, so this wont do it, so please can someone explain me the syntax?
[20:06] <XHFHX> bin\ffmpeg.exe -i part1.mp4 -i part2.mp4 -filter_complex "movie=part1.mp4, scale=1280:720 [v1] ; amovie=part1.mp4 [a1] ; movie=part2.mp4, scale=1280:720 [v2] ; amovie=part2.mp4 [a2] ; movie=part3.mp4, scale=1280:720 [v3] ; amovie=part3.mp4 [a3] ; [v1] [v2] [v3] concat=n=3 [outv] ; [a1] [a2] [a3] concat=n=3:v=0:a=1 [outa]" -map "[outv]" -map "[outa]" -c:v libx264 -preset ultrafast -qp 0 output.mkv
[20:06] <XHFHX> i dont get why you have to do "concat=n=3:v=0:a=1"
[20:06] <XHFHX> concat=n=3 will output an error
[20:11] <llogan> XHFHX: you can simplify your command http://pastebin.com/cmjUKPf9
[20:12] <llogan> (but i didn't test that example)
[20:12] <XHFHX> i experienced errors when i just scale the video, i had to pad it
[20:12] <llogan> and apparently i added a superfluous part4.mp4 which you can ignore
[20:14] <XHFHX> thank you llogan, I'll try it out now
[20:14] <llogan> you should always show your example command and complete console output when experincing issues. just saying that you get errors is not very easy to provide help for
[20:15] <XHFHX> [Parsed_scale_1 @ 04b3e720] Media type mismatch between the 'Parsed_scale_1' fil
[20:15] <XHFHX> ter output pad 0 (video) and the 'Parsed_concat_3' filter input pad 1 (audio)
[20:15] <XHFHX> [AVFilterGraph @ 0037d120] Cannot create the link scale:0 -> concat:1
[20:15] <XHFHX> Error configuring filters.
[20:16] <XHFHX> right, sorry :D
[20:16] <XHFHX> http://pastebin.com/8hEFp8Ey
[20:17] <llogan> For the concat filter to work correctly all segments must start at timestamp 0, but we'll get to that later
[20:21] <llogan> oh, i forgot the audio in my example
[20:21] <llogan> [v1][0:a][v2][1:a][v3][2:a]concat
[20:25] <llogan> but the output may pause at the end of the first segment, so add the setpts filter: http://pastebin.com/PtvMB8ZY
[20:26] <XHFHX2> sorry, have some connection probs
[20:26] <llogan> i guess you missed some stuff
[20:26] <llogan> llogan | oh, i forgot the audio in my example
[20:26] <llogan> llogan | [v1][0:a][v2][1:a][v3][2:a]concat
[20:26] <llogan> llogan | but the output may pause at the end of the first segment, so add the setpts filter: http://pastebin.com/PtvMB8ZY
[20:27] <XHFHX2> still wont work llogan http://pastebin.com/QCgmR25G
[20:27] <XHFHX2> the problem is the 4:3 and 16:9 merging IMO
[20:29] <XHFHX2> still the same error with the modified command that you sent me
[20:29] <JEEB> for dealing with both you either decide on one being anamorphic, or just pad after resizing to a common size either vertically or horizontally
[20:30] <llogan> SAR 0:1 looks odd
[20:30] <JEEB> for example, you scale to X:720 and then pad to 1280x720
[20:30] <JEEB> I think that value was the unknown one
[20:30] <JEEB> not sure though
[20:30] <XHFHX2> yeah, that what i was doing
[20:31] <XHFHX2> but I don't understand the whole syntax of the concat function
[20:31] <XHFHX2> it works somehow but I'm not sure why and I think thats not good if I want to use it in a script
[20:32] <XHFHX2> its the line [v1] [v2] concat=n=2 [outv] ; [a1] [a2] concat=n=2:v=0:a=1 [outa] i dont get
[20:32] <XHFHX2> wait, actaully that makes sense, the other one makes no sense to me
[20:32] <llogan> you give it each "set" that you want to concatenate. [v1][0:a] are link labels that refer to the video from the "[v1]" filter chain, and [0:a] is the audio from the first input
[20:32] <XHFHX2> [v1] [v3] [v2] concat=n=3 [outv] ; [a1] [a3] [a2] concat=n=3:v=0:a=1 [outa]
[20:33] <llogan> i showed you how to do it in one concat instance
[20:33] <XHFHX2> why do i have to attach to the audio-concatiation v=0 and a=1?
[20:33] <llogan> default settings are v=1 a=0, so it's good to be explicit
[20:33] <XHFHX2> but if i let it out it will return an error
[20:34] <llogan> "an error"
[20:34] <llogan> with concat you should *always* declare the proper values for v and a. do not rely on defaults.
[20:35] <XHFHX2> but why does it work on the video and not on the audio concatiation?
[20:36] <llogan> i have no context to provide an answer
[20:37] <XHFHX2> wait, i'll write a command which will show my problem I don't understand
[20:41] <rps2> Hi, gang. I have a somewhat silly question regarding ffmpeg logging.
[20:42] <rps2> We were using an old V1.2.x version and were getting log messages such as "frame=17397 fps= 33 q=34.0 ENC: size= 46793kB time=00:09:40.08 bitrate= 660.8kbits/s dup=1 drop=0"
[20:43] <rps2> On a V2.2.2 version, the word "ENC:" is not included in the output. We unfortunately have a process that was watching for that to give us a progress bar.
[20:43] <rps2> Was that removed?
[20:43] <rps2> If so, is there a way to recreate it? Hacking up the PHP code that was watching for that isn't trivial.
[20:47] <benlieb> rps2: I can't answer your actual question, but what was your php code doing that makes this change non-trivial?
[20:49] <JEEB> I'm actually not sure if vanilla ffmpeg ever output that ENC part
[20:49] <rps2> benlieb: It's a rather convoluted library that watches a number of log files and generates real-time progress bars. I didn't write it and there is a significant lack of documentation on just how it works.
[20:49] <JEEB> at least I don't remember ever seeing it in vanilla ffmpeg
[20:50] <rps2> JEEB, I don't see "ENC:" in the V1.2.6 source either.
[20:50] <JEEB> but if all that's needed is adding that thing there in logging, it shouldn't be too hard to find the call for av_log or whatever that outputs it
[20:50] <JEEB> rps2, which just means that it had been patched all along :P
[20:50] <benlieb> rps2: so the php code looks for a line with that string, and parses the line into processable bits?
[20:50] <JEEB> to be honest I would rather parse the X=Y pairs
[20:50] <JEEB> but not my code so (Ž
[20:51] <rps2> benlieb, yes, that's what I think it does. The guy who wrote that is no longer with us and he didn't document much of anything.
[20:51] <llogan> my condolences. RIP.
[20:52] <XHFHX2> is there a very simple command to scale a 4:3 video up to 16:9 with padding or do i have to use the normal padding command?
[20:54] <benlieb> rps2: my gut tells me the best way forward is to adapt your script to the most recent, most common version of ffmpeg
[20:55] <benlieb> rps2: if feels wrong to "stick it back in there" to make it like the old version. That seems to be asking for trouble.
[20:55] <benlieb> rps2: probably time to hire someone to make that script work right, and maybe also document it.
[20:56] <rps2> benlieb: Yeah, I think that's what I may have to do, but the PHP code is really fugly. Unfortunately, I'll have to be the one to fix it since we're a bit short handed.
[20:57] <benlieb> rps2: might also be time to change it from php to a proper OOP language. Is this happening in a web process or bg server process. I couldn't imagine doing the latter in php.
[20:59] <rps2> benlieb: Whatever I do right now is a bandaid. We're doing a complete revamp of the code. The problem is a lot of the existing code was built with CodeIgnitor, hence the heavy lean on PHP.
[21:00] <benlieb> rps2: gist your code? gist.github.com
[21:04] <rps2> benlieb: https://gist.github.com/anonymous/d4743d73b9ad4a988b5d#file-ffmpegmonitor
[21:04] <rps2> At least that's the bit I spotted.
[21:05] <XHFHX2> can someone just tellme whats the easiest way to pad any 4:3 video into 16:9? I got it padded and into the middle, but the video is still as little as the source, need to upscale it somehow
[21:05] <XHFHX2> isn't there just a little command that will do this? :/
[21:06] <XHFHX2> currently im also working with x=(1280-VideoX)/2
[21:06] <XHFHX2> why is pretty lame and think can be done better
[21:07] <benlieb> XHFHX2: I'm new to ffmpeg, but I remember seeing this somewhere
[21:07] <benlieb> rps2: holy spagetti code.
[21:07] <rps2> Yeah, no kidding!
[21:07] <XHFHX2> i ggogled around a bit but havent found something useful
[21:08] <benlieb> rps2: hard to test code like that. or know what's happening
[21:08] <llogan> XHFHX2: start here http://ffmpeg.org/ffmpeg-filters.html#pad
[21:08] <XHFHX2> trough that, doesnt help much :/
[21:08] <DelphiWorld> hi guys
[21:08] <DelphiWorld> a srt subtitle
[21:08] <rps2> benlieb: Welcome to my world. "Well, let's get Rick to fix it! He can fix anything!" Sure I can. Uh, huh.
[21:09] <DelphiWorld> can it be included in a mpeg4 container?
[21:10] <benlieb> rps2: is that in a controller or a lib file, or class file or what?
[21:11] <rps2> I believe it's in a lib file, but I can't be sure. I haven't analyzed it yet.
[21:13] <rps2> benlieb: Ah HAH! The guy DID hack the V1.2 ffmpeg.c file to stuff in that ENC: thing!
[21:13] <llogan> DelphiWorld: .mp4? i don't think so.
[21:13] <rps2> I just found the source.
[21:14] <llogan> DelphiWorld: try mov_text or a better container, but others know more about subs than I do
[21:14] <DelphiWorld> llogan: thank
[21:17] <benlieb> rps2: fun times
[21:17] <benlieb> I've just discovered the blackdetect filter. Be still my beating heart.
[21:17] <benlieb> So going to make my life easier... http://www.ffmpeg.org/ffmpeg-filters.html#blackdetect
[21:20] <XHFHX2> can please anyone tell me how to scale a 40x40 video in the right aspect ratio and with padding to a 1280x720 video? im really getting tired, i've readt the documentation but i can't work it out
[21:21] <benlieb> XHFHX2: make a stack overflow question
[21:21] <XHFHX2> ok
[21:21] <benlieb> that's what I do when irc doesn't come through
[21:22] <benlieb> usually people answer in a day or so
[21:22] <llogan> XHFHX2: ask on the ffmpeg-user mailing list, go to sleep, and when you wake up you will have an answer, "please provide your command and the complete console output"
[21:22] <benlieb> make sure to tag it ffmpeg
[21:22] <llogan> superuser is generally a better place for ffmpeg cli questions unless its a programming specific question
[21:23] <llogan> (if you want to use a Stack Exchange site instead of an official help channel)
[21:24] <FVG> hi, i'm recording stereo mix through alsa hw:0,0 and when i use arecord the sound is good, but with ffmpeg there is a lot of noise/distortion when there is sound. how could i fix it?
[21:25] <benlieb> how do I install ffplay?
[21:25] <benlieb> I used brew install ffmpeg, and got all of the other tools, but ffplay didn't come
[21:28] <llogan> benlieb: it requires SDL
[21:28] <benlieb> llogan: wassat
[21:28] <llogan> as a dependency
[21:29] <llogan> benlieb: maybe add --with-sdl? i've already forgotten how to use brew...
[21:30] <llogan> see "brew info ffmpeg". might be listed there.
[21:32] <benlieb> llogan: found the --with-ffmplay option on some blog
[21:32] <benlieb> trying this: brew install ffmpeg --with-theora --with-libogg --with-libvorbis --with-freetype --with-tools --with-ffplay
[21:33] <benlieb> I've had to recompile ffmpeg 4 times for this little project
[21:33] <benlieb> is there a --with-every-fucking-thing option?
[21:33] <benlieb> just to get it over with
[21:37] <llogan> benlieb: i don't know. this is #ffmpeg. a brew channel might be a better place to ask that. i tihnk "brew info ffmpeg" will show all the specifc script options.
[21:37] <benlieb> llogan: is ffplay a way to test out a command without actuallyy saving the output file?
[21:38] <llogan> yes, it can often be used to test commands
[21:38] <llogan> like filter previews
[21:38] <benlieb> llogan: so the same command using ffplay instead of ffmpeg just gives you a visual of what would happen?
[21:38] <benlieb> if you saved the file.
[21:38] <benlieb> that's awesome
[21:39] <llogan> it can give you an approximation since there ar other factors involved (encoder limitations, encoding artifacts, etc).
[21:40] <llogan> or you could possibly pipe from ffmpeg to ffplay to include artifacts, etc without making a file
[21:41] <benlieb> llogan: if I supply -ss and -t is there a character sequence during playback that would let me jump to the end and beginning of those positions?
[21:41] <DelphiWorld> llogan: do you have any example of including a text string on a video?
[21:41] <llogan> subtitles (soft or hard). drawtext filter.
[21:42] <llogan> benlieb: you can use -ss with ffplay i think. too lazy to test. or use arrow keys during playback. or click on screen to move to percentage.
[21:42] Action: llogan is now late for meeting
[21:42] <benlieb> llogan: you can use -ss and -t
[21:42] <FVG> llogan: www.pastebin.com/99tGMaFP
[21:43] <benlieb> DelphiWorld: use drawtext filter
[21:53] <FVG> even weirder is when i had pulseaudio, if i used ffmpeg the sound on my speakers would become staticy but the recorded file would sound fine, and it would revert when i stopped ffmpeg
[22:00] <lkiesow> Is there a way to compose a video of different sections of a source video? What comes to my mind is cutting the sections using -t and -ss and then concatenate them or using the select filter. The disadvantage of the first option is that I have to run FFmpeg multiple times (n+1 times for n sections), the disadvantage of the select filter is, that I cannot change the order of the sections.
[22:42] <bencc> when using -ss with -t, does -t is relative to -ss or abosulte in the input file?
[22:42] <bencc> if I have a 60 mintues video and I'm using "-ss 30 -t 40" will I get a video starting at 00:30:00 and end at 00:40:00?
[22:43] <c_14> bencc: -t is always absolute
[22:43] <c_14> -t is always the output length
[22:44] <bencc> c_14: so I'll get a 40 minutes output video?
[22:44] <c_14> yep
[22:44] <bencc> so if I want a video that starts at 00:30:00 and ends at 00:40:00 I need "-ss 00:30:00 -t 00:10:00" ?
[22:45] <c_14> lkiesow: try a filter_complex with splits and concat.
[22:45] <llogan> FVG: i wanted to see the complete console output
[22:46] <c_14> bencc: yes
[22:46] <bencc> thanks
[22:46] <bencc> c_14: is there another paramater that can give me "start at, end at" ?
[22:46] <llogan> lkiesow: yet another option is (a)trim filter(s), but the downside is that you have to re-encode
[22:47] <c_14> bencc: -to, but only if you use -ss as an output option
[22:47] <bencc> c_14: using -ss as an output option will give me the same result, right?
[22:48] <c_14> bencc: -ss as an output option with -to will start the output video at -ss and give you to -to from the input video
[22:48] <DelphiWorld> c_14: see pm
[22:50] <bencc> c_14: thanks. trying
[22:54] <lkiesow> c_14: you mean something like split --> select=between(...) --> concat?
[22:55] <DelphiWorld> if anyone is ready to develope ffmpeg based app pm me
[22:55] <lkiesow> llogan: re-encoding is something I have to do anyway, so that is not a problem. I'll have a look at the trim filter, thanks
[22:56] <c_14> lkiesow: I actually meant trim like llogan said, I got the names mixed up in my head. But basically you take all the inputs, use (a)trim filters to cut it and then concat
[23:00] <Mmike> Hol-hal! Can ffmpeg by default use multicore CPUs, or do I need to manually complile that in?
[23:01] <JEEB> the things that can use multiple threads will do that as long as you have some kind of threading library available
[23:01] <JEEB> most lunixes have pthreads by default
[23:01] <JEEB> and there's a wrapper around the windows threading system
[23:02] <JEEB> so those two types of systems should be set by default at configuration time
[23:05] <JEEB> Mmike, when you configure ffmpeg you should have the configure script tell you "threading support: something"
[23:05] <lkiesow> c_14: Something is odd, I just tried it using ffmpeg -i in.mp4 -filter_complex:v '[0:v] trim=1:2 [a]; [0:v] trim=21:22 [b]; [a][b] concat [out]' -map '[out]' xy.mp4 but instead of a two seconds long video I will get one which is 24 seconds. Any idea?
[23:06] <c_14> You probably need to add a setpts=PTS-STARTPTS filter to each of the trims
[23:07] <Mmike> JEEB, i'm actually using avconv as that ships with ubuntu 14.04 (not sure why ffmpeg was ditched)
[23:07] <Mmike> but I guess they did build it with pthreads support
[23:08] <c_14> Mmike: avconv support is in #libav
[23:08] <Mmike> c_14, thnx
[23:17] <lkiesow> c_14: Sadly, the setpts filter does not help. I've tried splitting the two sections and write them to different files. The first section is only one second (as expected) but the second is much to long
[23:23] <lkiesow> llogan: http://fpaste.org/105771/40139854/
[23:26] <c_14> lkiesow: the setpts has to be after the trim
[23:29] <lkiesow> c_14: That worked, thanks!
[23:30] <lkiesow> As for an explanation, do the trimed chunks keep their timestamps and when they are concatenated the video basically becomes the length of the last chunk?
[23:30] <lkiesow> Without the setpts filter I mean
[23:32] <c_14> pretty much. the last frame of the first part gets repeated until the start pts of the second chunk
[23:39] <lkiesow> ok, thanks again
[23:49] <bencc> what does this means? "Warning: data is not aligned! This can lead to a speedloss"
[23:49] <bencc> speedloss in transcoding?
[23:49] <bencc> is there a way I can fix it?
[23:53] <bencc> c_14: http://dpaste.com/2GQPQYJ/
[23:55] <c_14> first of -t is an output option, it has to be after the input filename
[23:57] <c_14> But the data is not aligned part sounds a lot like the input has some issues.
[23:57] <bencc> "-t duration (input/output)"
[23:57] <bencc> "When used as an input option (before -i), limit the duration of data read from the input file. "
[23:58] <c_14> Ok, didn't know that worked but ok.
[23:58] <bencc> the output looks fine so I'll just ignore it
[00:00] --- Fri May 30 2014
1
0
[00:10] <UtUser> How am I supposed to upload this 80 MB file?
[00:11] <UtUser> If I host it on a web server, can one of you download it, test it, and re-open the ticket?
[00:12] <J_Darnley> There are lorts of websites that offer this service. FFmpeg also has an ftp server that you could use.
[00:13] <UtUser> I can host it temporarily
[00:13] <UtUser> but I want you to handle the trac ticket, okay?
[00:14] <UtUser> if the FTP serer is public, I suppose it would be easiest for me to upload it there
[00:14] <J_Darnley> http://ffmpeg.org/bugreports.html
[00:15] <UtUser> you handle the bug report
[00:15] <UtUser> I'm not going to explain all the little details
[00:16] <UtUser> it would be better if you could confirm this problem yourself before we go and reopen the ticket
[00:16] <J_Darnley> Me? Personally? I don't even have an account on trac
[00:16] <UtUser> are you familiar with ffmpeg's source code?
[00:17] <J_Darnley> A little but not with utvideo
[00:17] <UtUser> I was talking to the utvideo guy on #ffmpeg just a few days ago
[00:17] <UtUser> that was before I knew about the problem
[00:17] <llogan> you were talking to him today
[00:17] <UtUser> really?
[00:18] <llogan> refer to 12:14:52 -8 UTC
[00:18] <UtUser> hey Daemon404
[00:19] <UtUser> how am I supposed to do that?
[00:21] <UtUser> help me out here
[00:22] <UtUser> !log
[00:22] <UtUser> !viewlog
[00:22] <J_Darnley> What are you looking for?
[00:23] <UtUser> some asshole told me to check the log
[00:23] <UtUser> I am not familiar with the ffmpeg developers
[00:23] <J_Darnley> So scroll up
[00:23] <UtUser> my log doesn't go that far back
[00:24] <UtUser> only to 13:10
[00:24] <wm4> people don't like pointing out the obvious, so sometimes they say the same thing, but slightly less obvious
[00:24] <UtUser> I do not understand
[00:24] <UtUser> I am in GMT-8
[00:24] <UtUser> UTC=GMT AFAIK
[00:25] <J_Darnley> http://pastebin.com/Q49urRqe
[00:26] <cone-554> ffmpeg.git 03Diego Biurrun 07master:512f3ffe9b4b: dsputil: Split off HuffYUV encoding bits into their own context
[00:26] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:48a691630833: Merge commit '512f3ffe9b4bb86767c2b1176554407c75fe1a5c'
[00:27] <UtUser> yeah, so @Daemon404
[00:27] <UtUser> I assume he's not sleeping
[00:27] <J_Darnley> I can't say.
[00:28] <UtUser> he's a great guy
[00:28] <UtUser> he ported the ut video code all himself
[00:28] <J_Darnley> But as you've you've pinged him a few times he will reply when he sees it.
[00:28] <UtUser> hopefully
[00:28] <UtUser> so I've got this huge video file for him to test
[00:29] <UtUser> what do you recommend?
[00:30] <J_Darnley> The usual line is: cut it down to the smallest section that will show your problem. Are you asking how to do that?
[00:30] <wm4> UtUser: you said you use mpv to play it? did you try another player?
[00:30] <UtUser> that might be a good start, but I've done my best so far
[00:30] <UtUser> wn4: I should test it in VLC
[00:30] <J_Darnley> On an unrelated note, does anyone know who open billling system dot com are? I've got an email from them about "business" and FFmpeg but it smells like spam.
[00:32] <UtUser> VLC does not squeal about errors
[00:32] <UtUser> like I said, it looks like an FFMPEG decoder issue
[00:33] <UtUser> must have been this way for 3 months since my build of MPV could be that old
[00:36] <cone-554> ffmpeg.git 03Andrew Kelley 07master:1d3eb0b5735f: oggenc: Move ogg_write_pages up above ogg_write_header
[00:36] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:5313d60dc0f2: Merge commit '1d3eb0b5735f6dd72d2bf648455cf06ac7c24bc1'
[00:37] <UtUser> J_Darnley, I'm afraid I've never heard of that site but I would reply if ffmpeg was specifically mentioned unless you have a @ffmpeg.org email address
[00:38] <UtUser> how do I trim the file down to the nearest frame?
[00:39] <UtUser> no approximation, just the exact frame number
[00:39] <UtUser> the file is 1920x1080 24 fps, currently 2 seconds long and 78 MB
[00:39] <UtUser> rgb24 color space
[00:40] <cbsrobot> what frame do you need ?
[00:40] <UtUser> actually, I'm not sure
[00:40] <UtUser> the problem occurs on several frames
[00:40] <UtUser> and the error message has subtle variations, so I'm thinking all of the frames are important
[00:41] <UtUser> but I can trim off, say, the last 5 frames if necessary
[00:41] <UtUser> the file is exactly 48 frames long
[00:42] <J_Darnley> What file format?
[00:42] <cbsrobot> ffmpeg -i infile -t 1.791 -c copy outfile
[00:42] <UtUser> decimals, of course!
[00:42] <UtUser> J: it's MKV utvideo + wavpack
[00:46] <J_Darnley> If you can't get ffmpeg to do it, I think mkvmerge has splitting options (it has been a while since I've used it)
[00:47] <UtUser> cool beans
[00:47] <UtUser> ffmpeg does copy the streams pretty well though
[00:47] <UtUser> do you think it's safe to cut off a couple of redundant error messages at the end?
[00:48] <J_Darnley> No, just post everything printed by ffmpeg
[00:48] <UtUser> I mean the video file itself
[00:48] <UtUser> by error messages I mean bugged frames
[00:48] <J_Darnley> oh my bad
[00:49] <UtUser> sorry, I have a strange way of speaking
[00:49] <UtUser> I'm going to assume those frames are garbage unless you like to see repeated error messages...
[00:49] <J_Darnley> If you can reproduce your problem with just "1 error message" then yes, chop of anything not required
[00:49] <UtUser> technically I guess those frames must be different
[00:49] <UtUser> ok
[00:49] <J_Darnley> *off
[00:51] <UtUser> hell, the first frame should do it I guess
[00:52] <UtUser> it says too long VLC then it says cannot build huffman codes on a new line for each error
[01:06] <UtUser> I can't get it smaller than 20 MB
[01:06] <UtUser> well, really 19.6 MB
[01:06] <Daemon404> thats tiny; it's fine
[01:07] <UtUser> great
[01:07] <UtUser> and welcome back
[01:07] <UtUser> what do I do now?
[01:07] <Daemon404> also i didnt write te internal decoder, and i only mentored the internal encoder
[01:07] <Daemon404> but i do know the format
[01:07] <Daemon404> upload it somewhere
[01:07] <UtUser> ok
[01:07] <Daemon404> we have a samples ftp, but i dont know how to access it
[01:07] <Daemon404> any old link will do
[01:07] <Daemon404> ill just dl it
[01:08] <Daemon404> and mirror it or w/e
[01:08] <UtUser> OK, to keep it semi-permenant
[01:08] Action: Daemon404 brb; walking home
[01:22] <UtUser> uploading to 6 different sites now
[01:27] <Daemon404> O_o
[01:27] <UtUser> I'm doing some of your work for you
[01:28] <UtUser> it already finished on 3 sites
[01:28] <UtUser> http://www42.zippyshare.com/v/71324301/file.html
[01:28] <UtUser> http://uppit.com/ivu0tovxvtch/brokenframes.mkv
[01:28] <UtUser> http://hugefiles.net/k3xvup9eodjt
[01:30] <UtUser> my neighbor's music is so loud I can't think
[01:31] <UtUser> I
[01:31] <UtUser> 'm trying to remember the exact console output
[01:31] <UtUser> because it might red flag my ISP that the same upstream data sequence is being repeated so many times (probably not but w/e)
[01:31] <ubitux> what's broken?
[01:32] <ubitux> the frames look fine here
[01:32] <UtUser> try and transcode them in a newer ffmpeg
[01:32] <ubitux> there is a "Too long VLC (31) in init_vlc" error though
[01:32] <UtUser> exactly
[01:32] <UtUser> and an error that follows it
[01:32] <UtUser> can't remember what it was
[01:33] <ubitux> but the output looks fine anyway
[01:33] <ubitux> or is it not?
[01:33] <UtUser> it probably isn't
[01:33] <UtUser> see, utvideo is supposed to be a 100% lossless archival format
[01:33] <UtUser> and even other than that
[01:34] <UtUser> ffmpeg-based players like MPV will have trouble
[01:34] <UtUser> and according to some guy, the encoder is perfect
[01:34] <UtUser> so it must be the decoder
[01:34] <UtUser> maybe
[01:34] <ubitux> i tried ffplay and mpv and got an output that looks correct
[01:34] <ubitux> that's why i was asking
[01:34] <UtUser> because so many frames in the video are the same
[01:34] <UtUser> I think there are some non-broken frames in there
[01:35] <UtUser> so if it has trouble with a broken frame it should still show the non-broken frame
[01:35] <UtUser> I didn't cut it very exactly, see
[01:35] <UtUser> that's why it's 20 MB
[01:36] <UtUser> http://www.sockshare.com/file/EBEC6306126D92F0
[01:37] <UtUser> both bitshare and filenuke are showing NaN%, so I assume they won't work
[01:37] <ubitux> (why are you uploading it in so much places?)
[01:37] <UtUser> IDK, posterity
[01:39] <UtUser> calling @Daemon404
[01:39] <Daemon404> i can grab it but i am not poking it tonight
[01:39] <Daemon404> nearly 1am
[01:39] <UtUser> oh boy
[01:40] <UtUser> well, I stayed up until 4:30 last night
[01:40] <UtUser> watching TV
[01:40] <cone-554> ffmpeg.git 03Andrew Kelley 07master:9767d7c092c8: oggenc: Flush after writing headers
[01:40] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:b5657516b2b2: Merge commit '9767d7c092c890ecc5953452e8a951fd902dd67b'
[01:40] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:919c320f7226: avformat/oggenc: fix EOS flag
[01:42] <UtUser> don't forget the ticket, guys
[01:42] <UtUser> http://trac.ffmpeg.org/ticket/2661
[01:44] <ubitux> this ticket is closed
[01:45] <Daemon404> g 52
[01:45] <Daemon404> fffs
[01:46] <UtUser> I know it's closed
[01:46] <UtUser> it should be re-opened
[01:46] <UtUser> g 52? no idea
[01:47] <Daemon404> typo
[01:47] <Daemon404> /g 52 switches channels
[01:47] <UtUser> k
[01:48] <UtUser> I think that ticket needs to be re-examined
[01:48] <UtUser> my point is that it was most likely broken again since then
[01:49] <UtUser> I've had that happen in my own projects where I thought a bug was fixed but then months later I'd re-discover it and realize it was unfixable by me
[03:49] <cone-554> ffmpeg.git 03Thierry Foucu 07master:12875df324e5: Timecode: Support 48fps
[03:49] <cone-554> ffmpeg.git 03Lazaros Koromilas 07master:bbc10a1aa537: libavformat/utils: Fix segfault on m4a cover artwork parsing
[04:28] <cone-554> ffmpeg.git 03Lukasz Marek 07master:8518da23f59d: ffmpeg: add -devices param
[12:20] <cone-584> ffmpeg.git 03Anton Khirnov 07master:f13ffb6636fd: flacdec: do not overwrite a channel layout set by the caller
[12:20] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:ef13967e601b: Merge commit 'f13ffb6636fdecb5e3e0ddcff48f096e7b3db362'
[12:26] <cone-584> ffmpeg.git 03Anton Khirnov 07master:d6b9ce99ea38: flac demuxer: parse the WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag
[12:26] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:03ffaed3f019: Merge commit 'd6b9ce99ea384fb676561461768b8316725a4ccd'
[12:32] <cone-584> ffmpeg.git 03Anton Khirnov 07master:54ed488b1af5: flac muxer: write WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag for multichannel files
[12:33] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:61301ca7860f: Merge commit '54ed488b1af583df6c9d2a73b4a44f16b7e4f82c'
[12:38] <cone-584> ffmpeg.git 03Anton Khirnov 07master:5fdaf312c554: flac: make avpriv_flac_parse_block_header() inline
[12:38] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:40beec6a431d: Merge commit '5fdaf312c5541b77b6364db8b49d6abb416a25c0'
[12:47] <cone-584> ffmpeg.git 03Anton Khirnov 07master:6df478bf891b: matroskadec: split parsing tracks into a separate function
[12:47] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:69de229bb881: Merge commit '6df478bf891b9fc5626e4a0b993899f310ba0a1c'
[12:56] <cone-584> ffmpeg.git 03Anton Khirnov 07master:4efdadc8ec50: matroskadec: export just the STREAMINFO block as FLAC extradata
[12:56] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:1c0ce2d4e0e7: Merge commit '4efdadc8ec50332c812e8a95e8c67f5a260e7cb0'
[13:08] <cone-584> ffmpeg.git 03Anton Khirnov 07master:23f741f79327: matroskadec: parse the channel layout mask for FLAC
[13:08] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:579e2b2874ae: Merge commit '23f741f79327e31be7b2a75ebb2e02111e06e52f'
[13:16] <cone-584> ffmpeg.git 03Anton Khirnov 07master:efcde917af40: vorbiscomment: simplify API by using av_dict_count()
[13:16] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:dff4aa6afd40: Merge commit 'efcde917af407a6031ecff68edd51fce7b83d104'
[13:52] <cone-584> ffmpeg.git 03Anton Khirnov 07master:106b62f4ba60: matroskaenc: write the channel mask for FLAC
[13:52] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:61917a104e0c: Merge commit '106b62f4ba600f24415eaded5e020aeceb23fd59'
[14:53] <cone-584> ffmpeg.git 03Diego Biurrun 07master:593886b5dd2b: ppc: util_altivec: Drop unused macros
[14:53] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:232073161494: Merge commit '593886b5dd2b583657aa3fd80bb173f702c9710d'
[15:13] <cone-584> ffmpeg.git 03Diego Biurrun 07master:b5aa48551300: ppc: Move vec_unaligned_load macro to util_altivec
[15:13] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:175aeab0b401: Merge commit 'b5aa48551300eed678aaea86ced7086758598a35'
[15:28] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:cf3a038f50e4: avformat/matroskaenc: fix ident string
[15:53] <Daemon404> michaelni, do you want anotehr fun jpeg sample?
[15:53] <Daemon404> looks like a variant of cmyk
[15:53] <michaelni> sure
[15:53] <Daemon404> pmed it to you
[15:54] Action: Daemon404 is remidned to dl that utvideo sample too
[16:39] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:ec33f59fed82: avcodec/mjpegdec: Support pix_fmt_id== 0x42111100
[16:40] <michaelni> Daemon404, fixed
[16:40] <Daemon404> nifty.
[16:42] <nevcairiel> more magic numbers!
[16:44] <Daemon404> theyre a mask of the subsamplign and stuff
[16:44] <nevcairiel> i know
[16:44] <Daemon404> its just implemented in a really, really weird wya
[16:44] <nevcairiel> no less magic tho
[16:44] <nevcairiel> should just implement all 32-bit combinations of it and be done with it
[17:09] <michaelni> llogan, theres a reply for you: https://github.com/FFmpeg/FFmpeg/pull/72
[17:10] <michaelni> comments from everyoe else welcome too
[18:46] <cone-584> ffmpeg.git 03Christophe Gisquet 07master:0810608e2345: x86: hevc_mc: better register allocation
[19:28] <cone-584> ffmpeg.git 03Lazaros Koromilas 07master:0f87b42b44f8: libavformat/utils: Warning about invalid cover art instead of an error
[19:50] <kurosu> michaelni, btw about very old patches, I still have a wmalosslesspro patch that soon should conflict with ape changes
[19:52] <cone-584> ffmpeg.git 03Vignesh Venkatasubramanian 07master:c14045c81867: lavf: Remove experimental flag for Opus in WebM
[19:53] <michaelni> kurosu, which wmalossless patch where ? and which ape changes where ?
[19:53] <kurosu> I'll send an updated changes
[19:53] <kurosu> one using the scalprod_and_madd from ape
[19:54] <kurosu> and I think libav is planning on rewriting it
[19:54] <kurosu> *it -> apedsp
[19:54] <kurosu> the change is not bad but takes shortcuts because it's only used in ape
[19:54] <kurosu> maybe I should wait for the change to be applied, actually
[20:08] <llogan> michaelni: i replied to the github PR.
[20:17] <jamrial> So who's gonna claim the comment #300 on the aac ticket?
[21:16] <UtUser> Daemon404: What about the Ut Video decoder?
[22:27] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:7dba055bb0d3: oggenc: Fix the EOS flag
[22:27] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:b3f9052177f2: Merge commit '7dba055bb0d31b2c79d9c3a66abb849a71417d3c'
[22:53] <cone-584> ffmpeg.git 03Konrad Iturbe 07master:c1485afe4975: README: add markdown syntax
[22:53] <cone-584> ffmpeg.git 03Konrad Iturbe 07master:50f4d0bb5052: LICENCE: add markdown syntax
[22:53] <cone-584> ffmpeg.git 03Konrad Iturbe 07master:c3ee6e3153c3: INSTALL: add markdown syntax
[23:02] <Dave77> are there any official examples in how to get ffmpeg to work with QT project?
[23:06] <wm4> quicktime or the gui lib
[23:24] <cone-584> ffmpeg.git 03Michael Niedermayer 07master:d228271813ab: tests/fate/opus: change test to use the official reference samples
[23:44] <cone-584> ffmpeg.git 03James Almer 07master:561bfc85eb26: x86/dsputilenc: implement SSE2 versions of pix_{sum16, norm1}
[23:47] <kurosu> michaelni, do you remember why you saturate the result of pix_sum16 to 2^16 (while I'd expect the result <=256*255) ?
[00:00] --- Thu May 29 2014
1
0
[00:00] <b_jonas> LukeMaxwell: you can use the -report option to make ffmpeg write all the log output to a regular file
[00:01] <b_jonas> LukeMaxwell: and you might want to increase the log level to -v 99 as well
[00:03] <llogan> increased verbosity is often more annoying than useful
[00:57] <LukeMaxwell> sorry llogan I went to the store real fast
[01:05] <LukeMaxwell> okay so here's the new command that I ran
[01:06] <LukeMaxwell> ffmpeg -v 99 -report -f v4l2 -i /dev/video0 -an -r 20 -s 640x480 /tmp/testnow.mkv
[01:22] <LukeMaxwell> here's the output: http://lukemaxwell.info/ffmpeglog.txt
[01:43] <LukeMaxwell> Can anyone help me? llogan b_jonas
[01:58] <LukeMaxwell> It only recorded video for one second
[02:16] <llogan> LukeMaxwell: did you tell it to stop?
[02:17] <LukeMaxwell> Yes
[02:17] <LukeMaxwell> I hit ctrl C
[02:17] <llogan> what's wrong with the output?
[02:17] <LukeMaxwell> it was running for a good 30 seconds before I told it to stop
[02:22] <En-ett_> hi
[02:22] <En-ett_> Small question. Does having a certain resolution indicate what aspect ratio you have?
[02:22] <En-ett_> I would have thought so
[02:22] <c_14> depends on the sar
[02:22] <En-ett_> Like, if I have 1920x1080p video
[02:22] <En-ett_> it means that aspect ratio is inevitable 16:9
[02:22] <En-ett_> right?
[02:23] <c_14> Only if the pixels are square, if they aren't it doesn't.
[02:23] <En-ett_> but yet, I'm using this software that converts videos from mts <-> avi, and it gives me the option to choose res and aspect ratio both
[02:23] <En-ett_> c_14: hmm ok
[02:23] <En-ett_> c_14: any idea how may I easily determine the aspect ratio of a video?
[02:23] <En-ett_> (I know that res is 1440 x 1080)
[02:24] <En-ett_> by going to vlc -> tools -> codec info
[02:24] <c_14> ffprobe will tell you
[02:24] <c_14> it's the dar
[02:24] <c_14> dar -> display aspect ratio
[02:27] <c_14> In case you're wondering (width/height)*sar = dar
[02:29] <quattro_> is it possible to transcode and save a .avi -> mp4 and while transcoding streaming the content?
[02:29] <llogan> http://ffmpeg.org/ffmpeg-formats.html#tee
[02:29] <llogan> https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer
[02:30] <sacarasc> Can you do that at all with ffmpeg and mp4?
[02:30] <sacarasc> MOOVs and all that.
[02:31] <llogan> i was assuming that the streaming was not mp4, but the local is.
[02:36] <LukeMaxwell> hey llogan can you help me?
[02:37] <llogan> LukeMaxwell: try ffmpeg -report -f v4l2 -i /dev/video0 -t 30 -f null -
[02:37] <LukeMaxwell> okay one second
[02:39] <LukeMaxwell> it's running but let's see if it freezes up at all
[02:40] <llogan> can you provide the output?
[02:40] <LukeMaxwell> llogan: Okay so ffmpeg stopped its' self and said Encoder did not produce proper pts, making some up.
[02:43] <llogan> LukeMaxwell: can you provide a link to the complete output?
[02:44] <llogan> also the output of "v4l2-ctl --list-formats-ext"
[02:45] <LukeMaxwell> yes one second
[02:45] <LukeMaxwell> llogan: can I run v4l2-ctl -report --list-formats-ext ?
[02:48] <llogan> no
[02:54] <LukeMaxwell> how would i capture the output?
[02:55] <sacarasc> The text output.
[02:55] <llogan> probably by copy and pasting from your console
[02:58] <LukeMaxwell> okay
[03:13] <littlebat> LukeMaxwell: ffmpeg ... 2>&1 | tee -a ffmpeg.log
[03:15] <LukeMaxwell> thanks littlebat
[03:49] <LukeMaxwell> well now my desktop is having magical issues with wifi
[04:08] <benlieb> I was recently recommended to use this command "ffmpeg -y -f lavfi -i color=c=black:s=720x362:sar=8/9:r=ntsc:d=4 -t 4 -vf..." to create an "empty" video. Where can I find documentation for the key values after the -i ?
[04:08] <benlieb> they don't seem to be part of a filtergraph and the docs on the -i only mention a file.
[04:11] <benlieb> I was just disconnected from the server. So if anyone answered my last question could you please repeat the answer?
[04:14] <c_14> benlieb: That's a lavfi input virtual device
[04:14] <c_14> https://ffmpeg.org/ffmpeg-devices.html#lavfi
[04:15] <benlieb> c_14: tnx yet again :)
[04:22] <benlieb> c_14: that's interesting, but still not thorough docs. Are there more? I just don't understand it. And none of their examples use ffmpeg or -i
[04:26] <benlieb> I guess I'm to understand that everything after the -i is it's own filtergraph
[04:27] <c_14> pretty much
[04:46] <benlieb> c_14: Would you be able to help me understand this command better:
[04:46] <benlieb> `ffmpeg -y -i #{@dir}/intros/#{@lesson.id}.mp4 -i #{@dir}/raw_lessons/#{@lesson.id}.mp4 -filter_complex 'aevalsrc=0:d=4[a1];[0:0][a1][1:0][1:1]concat=n=2:v=1:a=1:unsafe=1[v][a]' -map '[v]' -map '[a]' #{@dir}/mp4_big/#{@lesson.id}.mp4`
[04:46] <benlieb> I can't put the filter_complex graph into "english"
[04:48] <benlieb> aevalsrc=0 is generate silence, yes?
[04:48] <c_14> 'create 4 seconds af silence and store it in a1; take the first stream from the first input file and a1 and concatenate it with the first stream of the second input file and the second stream of the second input file and don't fail if the segments have different formats'
[04:48] <c_14> 'and save the video in v and the audio in a
[04:49] <benlieb> what does the ; do?
[04:49] <benlieb> I thought filters were separated by ,
[04:50] <c_14> filters are separated with commas, filterchains are separated with semicolons and the filtergraph is all the filterchains combined
[04:53] <benlieb> so aevalsrc=0:d=4[a1] is a filter...
[04:53] <c_14> no, aevalsrc=0:d=4 is a filter
[04:53] <c_14> [a1] is a variable if you will
[04:54] <benlieb> the docs for aevalsrc look nothing like that https://ffmpeg.org/ffmpeg-filters.html#aevalsrc
[04:55] <c_14> yeah they do?
[04:55] <c_14> It's just >examples > generate silence with a duration tacked on
[04:56] <benlieb> I mean the concept of "where" to put that silence, i.e. the 'variable'
[04:58] <c_14> The docs for aevalsrc will only show you the doc for a single filter, look here: https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-syntax-1
[04:59] <c_14> Or read this: https://trac.ffmpeg.org/wiki/FilteringGuide
[05:03] <benlieb> c_14 ok so each filter has "pads" on either side... except when it's a source or a sink
[05:03] <c_14> yep
[05:03] <benlieb> so aevalsrc=0:d=4[a1] has nothing on the left because it's a source
[05:03] <c_14> yep
[05:04] <benlieb> in this the pads are in [ ]?
[05:04] <benlieb> [0:0][a1][1:0][1:1]concat=n=2:v=1:a=1:unsafe=1[v][a]
[05:04] <benlieb> so [v][a] are the output pads
[05:05] <benlieb> and it needs 4 input pads...
[05:05] <c_14> yep, 2 video input pads, 2 audio input pads 2*1 + 2*1 = 4
[05:06] <benlieb> In this [0:0][a1][1:0][1:1]
[05:06] <benlieb> did [a1] exist before aevalsrc "defined" it?
[05:06] <c_14> nope
[05:07] <c_14> you can try leaving out the aevalsrc filterchain and ffmpeg should complain that a1 doesn't exist
[05:07] <benlieb> the concat docs don't seem to explicitly state the order of the input pads
[05:08] <benlieb> also, how do you know if [0:0] is audio or video?
[05:08] <c_14> By looking at the source file.
[05:08] <c_14> you can also use [0:v]
[05:08] <c_14> That will grab all the video streams
[05:08] <c_14> or [0:v:0]
[05:08] <c_14> that will grab the first video stream
[05:09] <c_14> ditto for audio
[05:09] <c_14> ditto for subtitles
[05:09] <benlieb> how do you "look" at the source file?
[05:09] <c_14> ffprobe
[05:09] <c_14> ffprobe $file
[05:10] <c_14> the normal ffmpeg output will list it as well
[05:11] <benlieb> what does is normal ffmpeg output
[05:11] <benlieb> what is?
[05:12] <benlieb> just ffmpeg file?
[05:12] <c_14> anytime you do anything with ffmpeg and don't throw away stderr
[05:13] <benlieb> exiftool shows metadata but doesn't show the streams
[05:14] <c_14> Just ffprobe $file and it'll have all the streams in the output.
[05:15] <benlieb> exiftool is showing me something confusing: https://gist.github.com/pixelterra/246947bfe27315cfab21
[05:16] <benlieb> it says Image Width : 640
[05:16] <benlieb> but Source Image Width : 720
[05:16] <benlieb> Image Height & Source Image Height are both : 362
[05:18] <benlieb> Also says Image Size : 640x362
[05:18] <benlieb> What is the difference between these things?
[05:20] <c_14> I'm guessing image width has the pixel aspect ratio applied to it.
[05:27] <benlieb> does the [v][a] at the end of concat also "create" those "variables"
[05:27] <benlieb> or are these predefined.
[05:27] <benlieb> c_14: ^
[05:28] <c_14> it creates them as well
[05:31] <benlieb> c_14 what's your day job? You work with video for work?
[05:31] <c_14> nah, systems administration
[05:31] <c_14> I play around with videos for fun.
[05:33] <benlieb> is there a book on ffmpeg?
[05:34] <c_14> There probably is somewhere, I wouldn't know of one though.
[05:35] <benlieb> I wonder if I put the silent audio in the "intro" creation command, then it would make the concat command much simpler, no? Probably could just concat "implicitly"
[05:35] <benlieb> `ffmpeg -y -f lavfi -i color=c=black:s=720x362:sar=8/9:r=ntsc:d=4 -t 4 -vf #{filters.join(',')} #{@dir}/intros/#{@lesson.id}.mp4`
[05:36] <c_14> you could use the aevalsrc as another input for that command, yes
[05:39] <benlieb> so `ffmpeg -y -i aevalsrc=0:d=4 -f lavfi -i color=c=black:s=720x362:sar=8/9:r=ntsc:d=4 -t 4 -vf #{filters.join(',')} #{@dir}/intros/#{@lesson.id}.mp4`
[05:39] <c_14> should work
[05:39] <c_14> might need the -f lavfi, not sure
[05:42] <benlieb> would that simplify the concat process at all?
[05:43] <c_14> It would allow you to use -vf concat=n=2
[05:45] <benlieb> hm. didn't work so good.
[05:45] <benlieb> `ffmpeg -y -f lavfi -i aevalsrc=0:d=4 -i color=c=black:s=720x362:sar=8/9:r=ntsc:d=4 -t 4 -vf #{filters.join(',')} #{@dir}/intros/#{@lesson.id}.mp4`
[05:45] <benlieb> produces
[05:46] <benlieb> color=c=black:s=720x362:sar=8/9:r=ntsc:d=4: No such file or directory
[05:46] <benlieb> two -f lavfi ?
[05:46] <benlieb> that worked
[05:47] <benlieb> now `ffmpeg -y -i #{@dir}/intros/#{@lesson.id}.mp4 -i #{@dir}/raw_lessons/#{@lesson.id}.mp4 -vf concat=n=2 #{@dir}/mp4_big/#{@lesson.id}.mp4`
[05:47] <benlieb> produces
[05:47] <benlieb> Simple filtergraph 'concat=n=2' does not have exactly one input and output
[05:49] <c_14> hmm, maybe you can only use the concat filter in a complex filtergrah, try -filter_complex '[0][1]concat=n=2:a=1:v=1[a][v]'
[05:51] <benlieb> `ffmpeg -y -i #{@dir}/intros/#{@lesson.id}.mp4 -i #{@dir}/raw_lessons/#{@lesson.id}.mp4 -filter_complex '[0][1]concat=n=2:a=1:v=1[a][v]' #{@dir}/mp4_big/#{@lesson.id}.mp4`
[05:51] <benlieb> Output pad "out:v0" with type video of the filter instance "Parsed_concat_0" of concat not connected to any destination
[05:54] <c_14> '[0:0][0:1][1:0][1:1]concat=n=2:v=1:a=1[v][a]' maybe?
[05:55] <benlieb> Output pad "out:v0" with type video of the filter instance "Parsed_concat_0" of concat not connected to any destination
[05:55] <benlieb> `ffmpeg -y -i #{@dir}/intros/#{@lesson.id}.mp4 -i #{@dir}/raw_lessons/#{@lesson.id}.mp4 -filter_complex '[0:0][0:1][1:0][1:1]concat=n=2:v=1:a=1[v][a]' #{@dir}/mp4_big/#{@lesson.id}.mp4`
[05:56] <benlieb> need to use -map ?
[05:56] <c_14> yes, -map '[v]' -map '[a]'
[05:57] <c_14> did you use a map in the previous one? if not add the map and try again.
[05:58] <benlieb> ok that worked
[05:58] <benlieb> so it looks like -filter_complex '[0:0][0:1][1:0][1:1]concat=n=2:v=1:a=1[v][a]' -map '[v]' -map '[a]' is the simplest form of a concat. Crazy.
[05:59] <benlieb> More like a concathouse
[05:59] <benlieb> that's a pun
[06:01] <benlieb> technically the default for n is 2 and the default for v is 1, so those can be left off
[06:02] <benlieb> c_14 6
[06:02] <benlieb> ^
[06:04] <c_14> I'm wondering if you might be able to leave off everything except for 'concat[v][a]'
[06:04] <c_14> ffmpeg might automatically throw all streams into the filter
[06:06] <benlieb> this worked: `ffmpeg -y -i #{@dir}/intros/#{@lesson.id}.mp4 -i #{@dir}/raw_lessons/#{@lesson.id}.mp4 -filter_complex 'concat=a=1[v][a]' -map '[v]' -map '[a]' #{@dir}/mp4_big/#{@lesson.id}.mp4`
[06:06] <benlieb> I'll try to take off the maps
[06:06] <benlieb> or should I leave them on?
[06:06] <c_14> I don't think ffmpeg'll like that.
[06:08] <benlieb> seems the above is as short as i can get it. The a=1 has to stay or it gags
[06:08] <benlieb> since I'm adding audio (silence) to the intro, how hard would it be to add actual audio, like a song snippet there?
[06:09] <c_14> you just need the song or the song snippet as an input file
[06:10] <c_14> just take your cammand, replace the -f lavfi -i aeval.* with -i song.format and the add a -c:a copy as an output option so you don't reencode the audio
[06:17] <benlieb> will try
[06:17] <benlieb> does the audio crop?
[06:18] <benlieb> c_14 ^
[06:19] <c_14> you're using -t 4 as an output option, so yes
[06:20] <benlieb> c_14 that didn't get the audio...
[06:20] <DaSpawn> I am trying to do segments of a live mp4 video stream, they work ok, but the subsequent video segments when played think they are streaming and they are not seekable, only the first segment is. How can I make the subsequent segments seekable.correct?
[06:21] <DaSpawn> my current command: ~/bin/ffmpeg -i rtsp://10.0.1.102:555 -map 0 -c:v copy -an -f segment -segment_time 600 -segment_wrap 144 out%03d.mp4
[06:21] <c_14> benlieb: hmm?
[06:21] <benlieb> trying again c_14
[06:23] <benlieb> c_14: strangely, the audio is only audible in the "intro" once it's joined to the lesson...
[06:24] <c_14> benlieb: that's strange
[06:24] <benlieb> playing the "intro" file that's created separately there is no audio
[06:24] <benlieb> hm...
[06:25] <benlieb> c_14: `ffmpeg -y -i "#{audio}" -f lavfi -i color=c=black:s=720x362:sar=8/9:r=ntsc:d=4 -t 4 -c:a copy -vf #{filters.join(',')} #{@dir}/intros/#{@lesson.id}.mp4`
[06:27] <c_14> benlieb: that should work...
[06:28] <benlieb> c_14 there's no volume slider on the quicktime player for the intro, but there is on the lesson once it's added...
[06:30] <c_14> can you pastebin the ffmpeg output for that command or the ffprobe output for the output file?
[06:34] <benlieb> c_14: https://gist.github.com/pixelterra/8c76027af998cdf3824b
[06:37] <c_14> hmm, the audio stream is there
[06:38] <benlieb> c_14 the stream identifiers are weird.
[06:39] <benlieb> shouldn't it be [0:0] and [1:0]
[06:39] <benlieb> ?
[06:39] <c_14> Nah, then there would be two files
[06:39] <c_14> [file:stream]
[06:40] <benlieb> c_14: i tried to specify [0:0] and [0:1] in -map, but it said no [0:1] found
[06:44] <c_14> right, because in the command you have two input files, the audio and the color, the ffprobe, however, is showing you the output file which is one file with two streams. Hence the [0:0] [0:1]
[06:44] <benlieb> c_14: ok, right. So why doesn't it play in the intro then though?
[06:45] <c_14> I'd probably blame the player for that...
[06:45] <c_14> tried it with ffplay?
[06:46] <benlieb> c_14: but after I concat it to another video it plays over the intro section...
[06:47] <c_14> with 'plays over the intro section', do you mean it works correctly?
[06:47] <c_14> ie has 4 seconds of music and then the regular audio for the rest?
[06:47] <benlieb> yes
[06:48] <c_14> I honestly couldn't tell you.
[06:49] <benlieb> yeah, it doesn't break the bank, it's just weird.
[06:49] <benlieb> The other thing is that it sets the metadata of the lesson to the metadata of the audio clip...
[06:49] <benlieb> interesting
[06:50] <c_14> you can change that with -map_metadata/-metadata look them up in the docu.
[06:53] <benlieb> c_14: thanks so much for your expertise. This would have been much harder without you!
[06:54] <c_14> np
[11:11] <gouessej> Hi. The picture still freezes but the audio continues when playing this video with ffplay even with ffmpeg 2.0.3: http://tuer.sourceforge.net/videos/Video20140524_152907_remuxed.mp4
[11:14] <gouessej> I switched to Mageia Linux 4 yesterday, mostly to benefit of a more recent version of ffmpeg but it doesn't solve my problem
[11:15] <ubitux> works fine here
[11:16] <ubitux> but ffmpeg 2.0 is pretty old, i'm using a more recent one
[11:19] <gouessej> ok thanks, I'll try with ffmpeg 2.2.2
[11:19] <gouessej> but if the problem comes from a codec, it won't solve my problem
[11:22] <gouessej> ubitux, which version of ffmpeg do you use?
[11:23] <ubitux> tried git/master and 2.2.2
[11:26] <gouessej> Thanks. I've just tried with a static build (27 May 2014) under Windows and it works.
[11:35] <gouessej> When I use ffmpeg 2.0.3 under Windows 64 bits, I don't reproduce my bug.
[11:36] <shunya_chakra> hi in ubuntu any one please tell me how can i install ffmpeg
[11:37] <gouessej> Which version of Ubuntu do you use?
[11:37] <gouessej> It should be in the official repository except if you use Ubuntu 14.04 as far as I know
[11:38] <shunya_chakra> ubuntu 14.04
[11:39] <Keestu> I have build the ffmpeg in android, and and written small application based on it. I am giving the source code of entire application to the client. It is Ok, if i give the ffmpeg built libraries along with this?
[11:43] <gouessej> shunya_chakra, Ubuntu 14.04 is shipped with LibAV instead of ffmpeg. This ppa provides only ffmpeg 1.2 for Trusty: https://launchpad.net/~jon-severinsson/+archive/ffmpeg
[11:46] <shunya_chakra> Thanks gouessej
[11:47] <gouessej> shunya_chakra, you're welcome.
[12:01] <gouessej> ubitux, which distro do you use?
[12:01] <ubitux> archlinux
[12:01] <ubitux> why would it matter?
[12:02] <gouessej> maybe. Thanks
[12:02] <gouessej> I don't know why, I'm investigating
[14:02] <naxa> there is a mediawiki-based wiki I forgot which has a recipe book or faq for many ffmpeg operations. anyone recall a similar page?
[14:03] <naxa> I think I got the hint from this channel years ago
[14:07] <ubitux> multimedia.cx?
[14:07] <ubitux> but that's probably not up-to-date
[14:08] <ubitux> you should refer to trac.ffmpeg.org
[14:08] <ubitux> and the official documentation
[14:54] <sgtpepper> hey guys , I've been checking the documentation, but I haven't found any reference to this, Is there any way, when you use "Launch" on a feed to actually Launch the process when you receive the first GET from the client
[14:55] <sgtpepper> as opposed to when you actually launch ffserver
[15:32] <naxa> ubitux: probably not multimedia.cx - it was a user thing, at least that page, and it was somehow a huge list
[15:32] <naxa> checked the ffmpeg category on m....cx, doesnt look like it
[15:34] <naxa> it was a single page of many tasks put on one page in a faq manner, in the true 'frequently' sense I suppose
[16:08] <Keestu> does ffmpeg has its own decoder for h264 or do i need to build from libx264 ?
[16:14] <ubitux> ffmpeg has a builtin decoder for h264
[16:14] <ubitux> libx264 is an encoder so it won't make any difference
[16:30] <Keestu> Ah. ubitux thanks for the info.. :)
[18:12] <bencc> can I record desktop on a server?
[18:12] <bencc> in that case, what will be the screen resolution if there is no screen?
[18:16] <JodaZ> bencc, well, you need to be running a desktop
[18:17] <bencc> JodaZ: do I need something like ubuntu-desktop on Linode or DigitalOcean VPS?
[18:19] <JodaZ> you can install a desktop accessible by vnc, thats possible on any dedicated server or vps
[18:19] <JodaZ> but thats not a ffmpeg question, ask in your distributions channel or a general linux help forum or something
[18:21] <bencc> JodaZ: I want to record the desktop with ffmpeg
[18:22] <JodaZ> bencc, yeah, for that you first need a desktop, until you have one that is not a ffmpeg question
[18:33] <bryancp> what option should I use for 8-bit mulaw? seems to be expecting 16-bit atm
[18:33] <bryancp> this is for ffplay, btw
[18:33] <bryancp> currently doing: ffplay -f mulaw -ar 8000 ...
[18:49] <thebombzen> bencc: if you're running an X display you can use ffmpeg -f x11grab -i :0.0
[18:50] <thebombzen> but if you're not running a desktop then you can't grab something that isn't there
[18:51] <bencc> thebombzen: I'm installing a virtualbox guest and trying with xvfb
[18:51] <bencc> it should work, right?
[18:52] <thebombzen> bencc: I don't know what xvfb is and I have never used virtualbox, so I couldn't tell you
[18:53] <bencc> thebombzen: xvfb is X virtual framebuffer
[18:53] <thebombzen> I can't help you there. I've only tried x11 grabbing when I'm using a standard everyday desktop. sorry
[18:54] <bencc> thebombzen: so you take a server, install a desktop and grab with ffmpeg as usual?
[18:54] <the_f0ster> anyone know of any video "Footprinting" software ?
[18:54] <thebombzen> bencc: well I have never dealt with a computer that didn't have a monitor attached. so I don't know
[18:55] <bencc> ok. thanks
[18:56] <thebombzen> the_f0ster: do you mean like adding a watermark? you could do that with FFmpeg filters. look at http://trac.ffmpeg.org/wiki/FilteringGuide
[18:56] <the_f0ster> thebombzen: no.. like identifying if a video is a copy of another, or if some segment in the video is contained in another etc
[18:56] <the_f0ster> http://disp.ee.ntu.edu.tw/~pujols/Introduction%20to%20Video%20Fingerprintin…
[18:57] <thebombzen> I don't really know anything about that, sorry
[19:12] <the_f0ster> thebombzen: cool, just figured this might be a good place to ask
[19:57] <llogan> bencc: maybe fbdev is a better option for you. i've never tried it though. http://www.ffmpeg.org/ffmpeg-devices.html#fbdev
[19:57] <llogan> or simply remotely connect from a computer with x11 and use x11grab.
[20:02] <Bombo> hmm how do i need to encode a h264 vid that can be played by internet explorer 11? "-vcodec libx264 -preset superfast -crf 23 -r 25" seems not to work
[20:02] <Bombo> works just in ff
[20:02] <Bombo> (html5 video tag)
[20:07] <Bombo> llogan: http://pastebin.com/9NN2N64k
[20:09] <llogan> Bombo: ass -pix_fmt yuv420p as an output option
[20:09] <llogan> #add
[20:09] <llogan> s/#add/*add
[20:09] <llogan> remove -r 25. that's the input default anyway
[20:09] <llogan> remove -threads 0. that's also default for this encoder.
[20:10] <llogan> and add "-movflags +faststart" as an output option
[20:10] <llogan> that is all.
[20:21] <Bombo> llogan: ok seems to work now, thx ;)
[21:51] <DelphiWorld> hi FFMpegsters
[21:52] <DelphiWorld> Guys, please i need help with HLS... could someone help me getting audio tracks to be merged in ts
[21:52] <bencc> llogan: what's the difference between using fbdev and xvfb with x11grab?
[21:53] <DelphiWorld> yo yo c_14
[21:54] <DelphiWorld> c_14, this is a garbage script i am using: http://paste.debian.net/102295/
[21:54] <DelphiWorld> c_14: hold on i'lle post you videos what i want
[21:56] <DelphiWorld> c_14: this is another cmd given by iive, to add metadata to audio streams:
[21:56] <DelphiWorld> ffmpeg -re -i udp://@239.100.1.8:1234 -map 0:0 -map 0:8 -map 0:2 -c:v libx264 -vb 512k -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -ac 2 -ar 44100 -f hls -metadata:s:a:1 language=ara -metadata:s:a:2 language=eng ./test.m3u8
[21:56] <DelphiWorld> but not working, and wait:P
[21:58] <llogan> bencc: i don't know since i've never used xvfb
[21:59] <DelphiWorld> c_14: see PM for URL
[22:00] <c_14> So you want to take a source such as that video and turn it into an hls stream?
[22:00] <DelphiWorld> c_14: no. but try to turn it ;)
[22:00] <DelphiWorld> c_14: the issue is:
[22:00] <DelphiWorld> 1. i have a MPEG2-TS DVB stream
[22:01] <DelphiWorld> its have several audio stream & one video stream
[22:01] <DelphiWorld> if i save it into a .mp4 with the option -map to chouse 2 or more audio streams
[22:01] <DelphiWorld> is taking it perfectlyyyyyyyyyyyyyyyy
[22:01] <DelphiWorld> iOS play it happyly no complain and i see language to select and perfectly working
[22:01] <DelphiWorld> but
[22:01] <DelphiWorld> if i want to turn it into HLS with same audio streams
[22:02] <DelphiWorld> 1. if i ffprobe it i dont see the language metadata in the streams
[22:02] <DelphiWorld> 2. iOS see only one audio stream
[22:02] <DelphiWorld> i hope you got it c_14
[22:02] <c_14> 1: I think that's a bug in ffmpeg, see ticket: https://trac.ffmpeg.org/ticket/3655
[22:02] <c_14> As for 2, let me test a bit.
[22:05] <DelphiWorld> i realy wish to have HLS with multi audio
[22:07] <DelphiWorld> this ticket dont have patch to try;)
[22:07] <c_14> Hmm, in my tests the hls stream has both audio tracks, it just doesn't have the metadata.
[22:07] <DelphiWorld> c_14: yes me too that was i say
[22:07] <DelphiWorld> but iOS wont see 2
[22:08] <DelphiWorld> iOS will get only the first available stream
[22:08] <c_14> That's probably a limitation in iOS then.
[22:08] <c_14> Or do you know of an hls stream with which it works on iOS?
[22:08] <DelphiWorld> c_14: mmmmmmmmmmmm
[22:08] <DelphiWorld> c_14: no, didnt test another
[22:09] <DelphiWorld> c_14: when you think this metadata issue will be fixed?
[22:09] <bencc> llogan: ok. I'll try both. thanks
[22:10] <another> you didn't test me? i'm disappointed!
[22:11] <c_14> DelphiWorld: Don't know. probably at least a week. Depends on when someone has the free time to look into and fix it.
[22:26] <DelphiWorld> c_14, this bug is not only for hls
[22:26] <DelphiWorld> c_14: is for mpeg2ts i belieuv
[22:27] <c_14> I'm pretty sure I've gotten language codes working in m2ts files.
[22:27] <DelphiWorld> c_14: ok i should do:
[22:27] <DelphiWorld> -f mpegts /tmp/c14.ts?
[22:27] <DelphiWorld> rughtN
[22:27] <DelphiWorld> right?
[22:27] <c_14> ye
[22:27] <DelphiWorld> wait
[22:31] <DelphiWorld> c_14: sory.
[22:31] <DelphiWorld> true, i got audio this time
[22:52] <DelphiWorld> c_14: do you have any recomanded 264 encoding for iGears?
[22:52] <DelphiWorld> iOS's
[22:52] <c_14> encoding settings?
[22:52] <DelphiWorld> any good H.264 parameters
[22:52] <c_14> -profile baseline is usually a good bet
[22:53] <DelphiWorld> c_14: what about fps... any example please?
[22:53] <DelphiWorld> c_14: i am asking about that cause i'm BLIND
[22:53] <DelphiWorld> i dont know anything about VIDEO:P
[22:54] <c_14> you usually don't have to worry about fps, 25 is a pretty normal setting though.
[22:54] <DelphiWorld> c_14: cause apple recomand 30
[22:54] <DelphiWorld> fps is specified by -r, right?
[22:54] <c_14> ye
[22:55] <DelphiWorld> cool
[22:55] <DelphiWorld> c_14: if i give you a stream, will you help me getting a similar settings?
[22:57] <c_14> It's hard pulling settings from a stream, the only x264 options you really need to be worrying about though is -crf, -preset, -profile and maybe -tune
[22:57] <DelphiWorld> hold on c_14i will tel you the issue:P
[23:00] <DelphiWorld> c_14: there's a flag i see it in most broadcaster's stream, iuv420p tv
[23:00] <DelphiWorld> how to get it?
[23:01] <DelphiWorld> some streamer's ask for it
[23:01] <c_14> yuv420p is the pixel format. you can force it with -pix_fmt yuv420p
[23:02] <DelphiWorld> yes i see iuv420p but not the TV flag
[23:02] <c_14> Hmm, I've never seen that flag.
[23:03] <DelphiWorld> hold on;)
[23:09] <DelphiWorld> c_14: see pm
[23:10] <DelphiWorld> in that stream
[23:10] <DelphiWorld> is mpeg2
[23:10] <DelphiWorld> but have iuv420p tv
[23:10] <DelphiWorld> same other streams have but with H.264
[23:16] <c_14> Hmm, I don't know what that (tv) part does or how to get it.
[23:16] <c_14> Are you sure you need it?
[23:17] <DelphiWorld> c_14: one of my streams partner who i'm exchanging streams with him ask for it
[23:17] <DelphiWorld> myself i never needed it:)
[23:24] <c_14> I think it's the colormatrix
[23:25] <c_14> Setting the colormatrix to bt601 seems to add the (tv) part
[23:25] <c_14> -vf colormatrix=src=bt709:dst=bt601
[23:25] <DelphiWorld> c_14: how?
[23:25] <c_14> Assuming the source colormatrix is bt709
[23:26] <DelphiWorld> hold on, let me try
[23:29] <DelphiWorld> lol
[23:29] <DelphiWorld> not added
[23:29] <DelphiWorld> ffmpeg -re -i udp://@239.100.1.8:1234 -map 0:0 -map 0:8 -map 0:2 -c:v libx264 -vb 512k -vf colormatrix=src=bt709:dst=bt601 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -ac 2 -ar 44100 -f mp4 euronews.mp4
[23:39] <c_14> Oh, hmm. the (tv) part was getting added automatically because I was using the mpeg2video encoder.
[23:42] <DelphiWorld> lol
[23:43] <c_14> -x264opts colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off <- this seems to add the (tv) part though
[23:44] <DelphiWorld> let's try;)
[23:46] <DelphiWorld> c_14: lol, works:P
[23:46] <DelphiWorld> c_14: now let's see if we get any screaming from him :)
[23:46] <massdos> hello
[23:47] <massdos> anyone knows why receive this message: [abuffer @ 02d78b80] Unable to parse option value "(null)" as sample format
[23:48] <llogan> not without additional information
[23:48] <massdos> well it's simply "ffplay file.flv" :D
[23:48] Action: DelphiWorld rename FFMpeg to MediaOcean
[23:49] <DelphiWorld> massdos: output the log of ffplay
[23:49] <massdos> ah ok
[23:49] <llogan> and provide link to file if possible if it isn't huge
[23:51] <massdos> http://pastebin.com/ctcsB4j8
[23:51] <massdos> well it's 300 mb about
[23:51] <massdos> but the problem i found it's in zeranoe builds
[23:52] <massdos> i tried with version ffmpeg-20140414-git-5e379cd-win32-static.7z
[23:52] <massdos> and it worked correctly. audio is working
[23:52] <massdos> but then i tried with version ffmpeg-20140415-git-ef818d8-win32-static.7z
[23:52] <massdos> and i got that message
[23:52] <massdos> so
[23:53] <massdos> between these version. something happens :D
[23:53] <llogan> could be a regression. the sample file would be needed to verify though
[23:53] <DelphiWorld> anyone have any idea how to inser a clock in video?
[23:53] <DelphiWorld> like in top right i want to display time
[23:54] <llogan> https://trac.ffmpeg.org/wiki/FilteringGuide#BurntinTimecode
[23:56] <Dave77> how do I get something added to FFMPEG FAQ?
[23:58] <c_14> Dave77: Submit a patch.
[23:59] <llogan> Dave77: if you need additional help or instructions you can ask in #ffmpeg-devel
[00:00] --- Thu May 29 2014
1
0
[01:04] <BBB> I notice my english in that commit msg wasn't quite wonderful either
[01:04] <BBB> ohwell
[01:14] <BBB> so that other loop (the final else statement in that function) is only ever called once, right?
[01:14] <BBB> so why do we optimize that?
[01:17] <BBB> michaelni: in what situation is that loop that includes LINEAR_CORE performance-sensitive? do we have a command line that tests that?
[01:19] <BBB> (and yes I'm trying to get to a situation where the function itself can be moved outside optimizable templates, and the speed-sensitive things within are just regular functions pointers; the same cleanup did wonderful things to sws and it's no different here)
[01:21] <michaelni> "make fate-list | grep fate-swr-resample_lin" should list the tests that test the linear interpolation code
[01:24] <BBB> why isn't there just a special case for linear (calling LINEAR_CORE) in the same way that there is a special loop for COMMON_CORE above?
[01:24] <BBB> and then the final call for all of them can be unoptimized c code
[01:24] <BBB> (the else)
[01:29] <michaelni> i dont think theres a real reason, just the thinking that the non default settings are less important to optimize for as few people would use them
[01:31] <michaelni> it shure could get its own if() case
[01:31] <BBB> if you make linear it's own if case, the else just happens once for any resampling session
[01:31] <BBB> so you can make it plain c
[01:32] <BBB> then you can get rid of the tempting and the two relevant if statements can get their own yasm function
[01:32] <BBB> saves lots of binary code, the yams will likely be faster because, well, inline sucks, we can get rid of avx inline support, and it will support msvc
[01:32] <BBB> I see only positives
[01:39] <michaelni> compensation_distance should be non zero for -async > 1 and "jittery" input timestamps
[02:27] <BBB> michaelni: is there a test for that?
[02:29] <michaelni> possibly not, unless fate-filter-aresample covers it
[02:29] <BBB> can you handle this outside the call to swri_resample?
[02:30] <BBB> i.e. just do two calls to swri_resample on a dst_incr switchpoint
[02:30] <BBB> in any other case I don't think (from the inside of this function) there's anything special going on
[02:34] <michaelni> might be possible, yes
[02:36] <cone-843> ffmpeg.git 03Carl Eugen Hoyos 07master:4d8c28deab24: imgutils: make systematic palette opaque.
[02:36] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:e222cfefcdcb: Merge commit '4d8c28deab2488579f585406110b1be790896e59'
[02:38] <BBB> ok better patch sent
[02:39] <BBB> I'll see what I can do about the index < 0 and compensation_index != 0 pieces, I won't have much time on weekdays but it would make this code significantly faster
[02:39] <BBB> and yasmifiable (which likely will make it faster also)
[02:45] <BBB> michaelni: since I can't seem to find good tests for compensation_distance, I'll leave that alone and hope you can do that (or write a test)
[02:45] <BBB> but index < 0 is triggered in all tests so I can do that
[02:52] <cone-843> ffmpeg.git 03Anton Khirnov 07master:45fc73edfe07: vf_format: rework format list parsing
[02:52] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:6e9dbee7c657: Merge commit '45fc73edfe071f9690e8671ed2dc402b1cb02ece'
[02:53] <michaelni> ill try to find somethig to test compensation_distance unless i forget
[03:01] <cone-843> ffmpeg.git 03Anton Khirnov 07master:862f33c10ea3: vf_scale: use the pixfmt descriptor API
[03:01] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:a37f2cc5797a: avfilter/vf_format: fix duplicate ;
[03:01] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:de5ec0882591: Merge commit '862f33c10ea38ea49fa4188725df5e5246dbd1d8'
[03:09] <cone-843> ffmpeg.git 03Anton Khirnov 07master:a7d070acb55c: vf_fieldorder: avoid using AV_PIX_FMT_NB
[03:09] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:cdf6a9441ded: Merge commit 'a7d070acb55c3ebbdd5e93e3366f32865732b8a3'
[03:22] <cone-843> ffmpeg.git 03Anton Khirnov 07master:b03b2d86aa9d: buffersrc: avoid using AV_PIX_FMT_NB
[03:22] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:50ffd8439c93: Merge commit 'b03b2d86aa9d79670825b42d8a8a7c41f59cb444'
[03:28] <cone-843> ffmpeg.git 03Anton Khirnov 07master:7cc4c9f32f44: lavfi/formats: avoid using AV_{PIX,SAMPLE}_FMT_NB
[03:28] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:a1cb4efd2ff0: Merge commit '7cc4c9f32f446feaec5447e3d097e8147e35f156'
[05:00] <BBB> michaelni: I'm also not quite sure why that only works on planar audio, packed audio should work just as well, you only write one sample per inner loop iteration so it's about as simple as adding a dst_step/stride or so?
[05:00] <BBB> anyway, bed now
[06:13] <cone-843> ffmpeg.git 03Michael Niedermayer 07master:a0c5cd3475fd: avcodec/x86/dsputilenc: set the count of SSE registers correctly for get_pixels
[06:13] <cone-843> ffmpeg.git 03James Almer 07master:e64e079ece7d: x86/dsputilenc: implement SSE2 version of diff_pixels
[08:07] <kurosu> BBB: thanks for not being lazzy and starting the rewrite of those resampling loops
[08:08] <kurosu> probably jamrial is the one appreciating it the most :)
[08:15] <jamrial> once that code is ported to yasm, i'll post the xop and fma versions i had planned back when i tried porting it myself :P
[08:17] <jamrial> didn't do it for the current inline version as they would mean a lot of bloat (both code and final binary size)
[08:27] <kurosu> is that the k10 computer you mentioned that allows you benchmarking it ?
[08:27] <kurosu> s/allows/enables but you should get my meaning
[08:28] <jamrial> no, xop/fma4 was introduced with Bulldozer
[08:28] <jamrial> k10 is sse3 (not even ssse3)
[08:29] <kurosu> oh, right
[08:29] <jamrial> fma3 then with Piledriver, and Haswell on Intel's side
[08:29] <kurosu> the bulldozer probably doesn't even have 3dnow as amd deprecated years ago
[08:30] <jamrial> yeah, k10 was the last one with 3dnow and 3dnowext
[08:30] <kurosu> have you ran all of fate with 3dnow at most ?
[08:31] <kurosu> probably you did, and hearing no complain from you is a good omen :)
[08:34] <jamrial> did it for the 3dnow port of vector_clipf, yes
[08:34] <jamrial> still have to send that to the list
[13:09] <BBB> yeah if jamrial wants to rewrite the main loop in yams after this, that'd be awesome
[13:41] <BBB> has anyone ever noticed how identical avresample and swresample are in terms of implementation
[13:42] <BBB> I mean, I'm just throwing an elephant in the room here because what do I know, but why on earth would you make a new lib if the implementation (not just use case) is 100% identical
[13:43] <nevcairiel> because you got paid to create it
[13:55] <compn> and nobody said you couldnt copy the other lgpl code ?
[13:55] <compn> :P
[13:56] <compn> jk maybe theres only one way to do it, because of sws limitations
[13:57] <compn> BBB : so you're saying its not 'better' but the exact same ?
[13:59] <BBB> which one is better than which?
[14:00] <compn> yes
[14:00] <BBB> as for main resampling loop, I'd expect swr to be significantly faster, ave does jamrial's original approach
[14:00] <BBB> ave=avr
[14:00] <BBB> so there's a call overhead + branches in the main resampler
[14:01] <BBB> that's incredibly slow
[14:01] <BBB> (both in loop)
[14:01] <BBB> swr currently has just branch (b/c of inline asm), and I've modified it so that there's no more branch so you can do outside loop in yams with one single call per frame (instead of one call per sample in a loop)
[14:02] <Daemon404> i kind of doubt audio resampling is anyones bottleneck tbh
[14:02] <BBB> that's true also
[14:02] <BBB> but hey we do this because I CAN HAZ FAZTERDER!
[14:02] <BBB> !!11
[14:02] <BBB> 25% is a reasonable gain
[14:03] <Daemon404> and one of the libraries exists because youtube paid for it
[14:03] <Daemon404> re: above
[14:05] <compn> is that a bad thing or a good thing ?
[14:06] <compn> or just a fact
[14:06] <compn> anyways
[14:07] Action: compn goes afk
[15:03] <j-b> more lib*sample
[15:04] <ubitux> BBB: https://lists.libav.org/pipermail/libav-devel/2012-April/026066.html
[15:09] <ubitux> Daemon404: and ffmtech paid for another?
[15:20] <cone-554> ffmpeg.git 03James Almer 07master:58632070866a: x86/dsputilenc: use HADDD in ff_sse16_sse2
[15:38] <plepere> ubitux, can I ask for your help ? I'm blocked on some really small function
[15:39] <ubitux> maybe
[15:40] <plepere> thanks
[15:40] <plepere> http://pastebin.com/iLDR8NMd
[15:41] <plepere> the code is quite simple. It's basically calculating coeff, and doing dst+=coeff clipped to the bit depth
[15:42] <ubitux> ok
[15:42] <plepere> but I've got incorrect MD5s when using assembly
[15:45] <plepere> and using gdb, the results seem right
[15:47] <ubitux> unrelated but you can probably unroll the 8 lines
[15:47] <plepere> ok
[15:47] <ubitux> and probably do 2 lines at a time
[15:48] <plepere> well normally it's all in a macro to have the 4x4, 8x8, with 8 and 10bit support
[15:48] <plepere> even 16x16 and 32x32
[15:49] <ubitux> %rep & friends
[15:49] <plepere> oh yeah
[15:49] <ubitux> anyway well i don't see anything obviously wrong
[15:50] <plepere> I don't know if that's a good thing. :p
[15:51] <ubitux> btw, you can probably remove the unpack somehow
[15:51] <ubitux> with some half signed byte addition like there is in loop filters
[15:52] <ubitux> plepere: i'd suggest to memcmp in the caller
[15:52] <ubitux> duplicate the input block, call your other function, memcmp the 2
[15:53] <ubitux> a bit overkill but well&
[16:07] <kriegerod> hi all, is there any work in progress, or just useful thoughts or whatever regarding better HTTP MJPEG streams recognition? I see some streams don't open well with ffmpeg without explicit "-f mjpeg -i ..."
[16:08] <plepere> hmm
[16:10] <Daemon404> i dont any image format gets probed aside fom ext
[16:10] <Daemon404> its quite annoying
[16:10] <plepere> ubitux, so you're suggesting that I'd work not on dst, but on dst2, basically ?
[16:11] <plepere> do dst2= memcpy(dst); asm_function; dst=memcpy(dst2)
[16:12] <ubitux> plepere: in the caller, instead of func_c() you do memcpy(tmp,input); func_c(input); func_asm(tmp); memcmp(input,tmp)
[16:12] <ubitux> you add a counter or something to identify the mismatching one
[16:13] <ubitux> then when you have it, you can start debugging
[16:13] <plepere> ok I'll try that. thanks
[16:20] <michaelni> kriegerod, open a ticket please if theres none yet
[16:22] <michaelni> ok to apply: "[FFmpeg-devel] [PATCH 2/2] x86/vp9: inital AVX2 intra_pred" ?
[16:40] <cone-554> ffmpeg.git 03Andreas Cadhalpun 07master:0f17bc644c4a: Improve the detection of architecture x86.
[17:29] <plepere> ubitux, I've found something : the result is wrong when [coeffs] is below 0
[17:29] <ubitux> because of a bug in your signed add then :)
[17:30] <ubitux> look at the 0x80 hacks all over the vp9 lpf code
[17:30] <ubitux> or in vp8
[17:30] <ubitux> to do some weird signed/unsigned additions
[17:31] <plepere> I'll look into it, but I'm quite uncomfortable about this
[17:32] <plepere> I'll manage
[17:35] <plepere> I'm starting by replacing the shr by sar for the shifts
[17:42] <plepere> ok, your 0x80 hack worked wonders. :)
[17:42] <plepere> well, I did it in a more.. barbaric way : xor tempq, 0xffffffffffff0000
[17:44] <ubitux> i didn't invent anything, i lamely stole the trick from vp8
[17:44] <ubitux> so it works?
[17:46] <plepere> no
[17:46] <plepere> D:
[17:46] <ubitux> :(
[17:46] <plepere> I'll look more into the printfs
[17:49] <plepere> well I'm an idiot. I broke the case when the coeff is positive.
[17:55] <plepere> SUCESS !!!!
[17:56] <plepere> cmp tempd, 0x8000
[17:56] <plepere> jle .positive
[17:56] <plepere> xor tempq, 0xffffffffffff0000
[17:56] <plepere> .positive
[17:56] <plepere> thanks ubitux. :)
[17:56] <ubitux> i'm sure you can do better&
[17:57] <ubitux> like, branchless.
[17:57] <plepere> yes, I see what you mean
[17:58] <plepere> like shift left first then shift right arithmetic ?
[17:58] <ubitux> dunno exactly what you're doing and what your code looks like :p
[17:59] <plepere> it's the code from before
[17:59] <plepere> argh, I have to go
[17:59] <plepere> I'll do something nice.
[17:59] <plepere> without jumps. :)
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:64fb19cc995f: avfilter/formats: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:f3fdc32e2f67: avfilter/crop: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:5feac96fdb37: avfilter/hflip: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:c0f8801e4793: avfilter/il: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:1dbc98461b62: avfilter/vf_mergeplanes: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:cfa0ad6eec96: avfilter/vf_noise: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:e10ac3a12ea8: avfilter/vf_swapuv: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:515e8aed0318: avfilter/vf_transpose: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:ee0c91cc6582: avfilter/vf_telecine: Avoid using non public AV_PIX_FMT_NB
[18:00] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:0d26264fb4c8: avfilter/vf_drawtext: Avoid using non public AV_PIX_FMT_NB
[18:01] Action: Daemon404 wonders if michaelni has ever taken a vacation
[18:04] <iive> there was once a power outage, he had to be hibernated to a harddisk. ;)
[18:34] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:1853e2cba9b2: avfilter/formats: Avoid using non public AV_SAMPLE_FMT_NB
[18:37] <jamrial> Skyler_: can you check the "[FFmpeg-devel] [PATCH 2/2] x86/dsputilenc: implement SSE2 versions of pix_{sum16, norm1}" thread?
[18:37] <jamrial> just noticed that x264 is using HADD* macros in a couple of mmx functions
[18:38] <jamrial> and as is it's expanding to pshufw, which is an mmxext/sse instruction
[18:46] <Skyler_> x264 doesn't support MMX-only CPUs anyways, so that's likely a function naming error
[18:47] <Skyler_> (MMXEXT is the minimum for asm, as x264 uses -inline- MMXEXT)
[18:48] <Daemon404> there is a relevant pengvado quote for this of course
[18:48] <jamrial> alright
[18:48] <Daemon404> (from back when he actually talked)
[18:59] <Skyler_> so I guess it should be fixed in that function names should probably be fixed.
[19:31] <kierank> Daemon404: he did once iirc
[20:09] <wm4> hm apparently libavformat/utils.c has weird logic to add a dts if there is no dts?
[20:10] <wm4> because I'm pretty sure mkv doesn't store both pts and dts
[20:10] <nevcairiel> of course it does, it invents all sorts of timestamps
[20:27] <cone-554> ffmpeg.git 03Lou Logan 07master:8a64ea768be0: doc/filters: amix only supports float samples
[20:33] <michaelni> anyone who wants to disable timestamp calculation and just want to get whats stored, see: AVFMT_FLAG_NOFILLIN
[20:34] <wm4> michaelni: ah, nice
[20:47] <michaelni> should i "merge" this: https://github.com/FFmpeg/FFmpeg/pull/72 ? (its not a technical issue, rather about README name & syntax)
[20:49] <Daemon404> personally, no
[20:49] <Daemon404> opinions may vary
[20:51] <llogan> might be kind of weird to have one be markdown style and the others not
[20:51] <llogan> INSTALL, etc
[20:52] <Daemon404> pretty sure the author is one of those people who thinks github == git
[20:56] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:0674da997abe: avcodec/cavs: use av_mallocz_array()
[20:56] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:2870617853b5: avcodec/vp3: use av_mallocz_array()
[20:56] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:5be8c276946d: avformat/rtspdec: Use av_mallocz_array()
[20:57] <michaelni> Daemon404 & llogan please reply to him
[20:58] <llogan> i've never really used github...i'll have to remember my account(s).
[21:16] <wm4> <Daemon404> pretty sure the author is one of those people who thinks github == git <- lol
[21:17] <wm4> but it's good to see that people making these "pull requests" are not told to fuck off
[21:17] <wm4> though it's unfortunate, because ffmpeg's review process is mail based
[21:20] <wm4> so this is basically https://github.com/KonradIT/FFmpeg/blob/master/README.md vs. https://github.com/FFmpeg/FFmpeg/blob/master/README
[22:14] <UtUser> Guys, I think the Ut Video decoder is broken again.
[22:14] <Daemon404> the actual decoder
[22:14] <Daemon404> of the lib
[22:14] <Daemon404> or*
[22:15] <UtUser> or?
[22:15] <Daemon404> utvideodec.c or libutvideodec.cpp
[22:15] <Daemon404> the external or internal one
[22:15] <UtUser> I'm using a static build
[22:16] <Daemon404> does it list the decoder has utvideo or libutvideo
[22:16] <UtUser> just a sec...
[22:16] <Daemon404> and in what way is it broken
[22:16] <UtUser> giving the same messages as in this bug report from a while ago: http://trac.ffmpeg.org/ticket/2661
[22:16] <UtUser> and it encoded perfectly
[22:17] <UtUser> to Ut Video I mean
[22:19] <Daemon404> it hasnt been touched since then
[22:19] <Daemon404> so a sample is likely needed
[22:19] <UtUser> Well, it identifies the stream as just "utvideo" but I'm not sure if I'm looking in the right place
[22:19] <Daemon404> how was the file generated
[22:19] <UtUser> 1 sec
[22:20] <UtUser> ffmpeg -i "%1" -c:v utvideo -pix_fmt rgb24 -c:a wavpack "%1-lossless-rgb24.mkv"
[22:21] <UtUser> never got any messages like this with a build from about 7 months ago
[22:25] <Daemon404> we do need some sort of sample to test on
[22:25] <Daemon404> input to the encoder + command line to reproduce
[22:25] <Daemon404> file it on trac
[22:25] <UtUser> the trouble is, I'm not sure if a really short sample would trigger these sorts of messages
[22:26] <UtUser> they are sporadic during transcoding
[22:26] <Daemon404> a single frame in theory could
[22:26] <Daemon404> utvideo is keyframe-only
[22:26] <UtUser> I know
[22:26] <UtUser> but it seems like not all of the frames are bugged
[22:26] <Daemon404> figure out which frame() are bugged -> cut it
[22:26] <Daemon404> ?
[22:26] <Daemon404> er frame(s)
[22:26] <UtUser> oh ok
[22:26] <UtUser> smart
[22:33] <cone-554> ffmpeg.git 03Diego Biurrun 07master:f1df0a4c08b5: on2avc: Remove pointless dsputil.h #include
[22:33] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:d84286b1ea1a: Merge commit 'f1df0a4c08b54e722e7a2c797d0d31c7f2c531d0'
[22:40] <cone-554> ffmpeg.git 03Diego Biurrun 07master:888dcd86755d: h264_picture: Remove pointless dsputil.h #include
[22:40] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:43c57dbe1454: Merge commit '888dcd86755d37e55fd74166f6d38ad66d41db58'
[23:14] <UtUser> BOOM! found some bugged frames!
[23:14] <UtUser> 2200-2240
[23:14] <UtUser> I feel like the matrix or something watching a console for half an hour
[23:15] <UtUser> is there an alternative to -ss that I can use to just start at the frame number?
[23:17] <cbsrobot> why not use -ss ?
[23:17] <UtUser> would it be like -ss 0:0:0:2200?
[23:17] <cbsrobot> 2200/fps
[23:18] <UtUser> gotcha
[23:19] <cbsrobot> or for the lazy ones: -ss `$(echo "2200/fps" | bc)`
[23:19] <cbsrobot> just replace fps
[23:19] <llogan> or use select filter maybe
[23:19] <UtUser> awesome functionality
[23:19] <UtUser> I think I'll just stick to elementary arithmatic for now though :)
[23:24] <UtUser> now te damn program has to seek to that point after having taken almost a second to decode each frame
[23:24] <UtUser> ...and it's done
[23:27] <UtUser> MPV's decoder, which is based on FFMPEG, reports errors even when playing said 118 MB clip
[23:27] <wm4> wut
[23:27] <UtUser> I'll try and trim it down some more
[23:36] <cone-554> ffmpeg.git 03Diego Biurrun 07master:0d439fbede03: dsputil: Split off HuffYUV decoding bits into their own context
[23:36] <cone-554> ffmpeg.git 03Michael Niedermayer 07master:e2abc0d5cacc: Merge commit '0d439fbede03854eac8a978cccf21a3425a3c82d'
[00:00] --- Wed May 28 2014
1
0
[01:02] <LLKCKfan> How can someone who is almost 30 and never had a job get one? I have been applying just to be told I am not what they are looking for or they are not hiring.
[01:03] <sacarasc> Rob a bank, go to prison, then when you get out, they'll give you a better chance!
[01:19] <DelphiWorld> sup
[02:03] <LLKCKfan> No
[04:29] <benlieb> I'm just using ffmpeg for my first serious project. I was happy until I had a string that needed escaping. Now I want to die.
[04:29] <benlieb> Can anyone help me/
[04:29] <benlieb> ?
[04:30] <benlieb> I want to put this string into a blank video that will then (later) be appended to a separate video "Tango Milonga 1: The Dance's Music and Music History"
[04:31] <benlieb> When I write it like this, it obviously doesn't work (but no manner of escaping seems to be the right combination):
[04:31] <benlieb> ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf drawtext="fontfile=/Library/Fonts/Arial.ttf: text=Tango Milonga 1: The Dance's Music and Music History: fontcolor=white: fontsize=24: box=0: x=(w-text_w)/2: y=(h-text_h-line_h)/2","fade=t=out:st=3:d=1" /Users/benlieb/my_life/sites/2007/idance/videos_in_production/intros/2621.mp4
[04:32] <benlieb> The text option in this example is coming from a DB and currently looks like this in my ruby script (another level of escaping):
[04:32] <benlieb> cmd = %Q[ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf drawtext="fontfile=/Library/Fonts/Arial.ttf: text=Tango Milonga 1: The Music and Music History: fontcolor=white: fontsize=24: box=0: x=(w-text_w)/2: y=(h-text_h-line_h)/2","fade=t=out:st=3:d=1" #{@dir}/intros/#{@lesson.id}.mp4]
[04:32] <benlieb> oops
[04:33] <benlieb> cmd = %Q[ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf drawtext="fontfile=/Library/Fonts/Arial.ttf: text=#{(a)lesson.title}: fontcolor=white: fontsize=24: box=0: x=(w-text_w)/2: y=(h-text_h-line_h)/2","fade=t=out:st=3:d=1" #{@dir}/intros/#{@lesson.id}.mp4]
[04:33] <benlieb> Sorry for the flood, but that's it...
[04:42] <benlieb> anyone?
[04:44] <woof-woof> you could use pastebin
[04:44] <woof-woof> it is better
[04:45] <benlieb> woof-woof: true. that IS a bit ugly.
[04:46] <benlieb> I've made a SO question if it makes things more readable for you: http://stackoverflow.com/questions/23880319/how-can-i-programatically-escap…
[04:46] <benlieb> woof-woof: in the docs I found "The tool tools/ffescape in the FFmpeg source tree can be used to automatically quote or escape a string in a script"
[04:47] <benlieb> but I haven't found that program or how it would be implemented
[05:09] <c_14> benlieb: https://git.videolan.org/?p=ffmpeg.git;a=blob;f=tools/ffescape.c;h=0530d28c…, the source is there. When you compile ffmpeg it should be in the tools folder.
[05:10] <benlieb> c_14: I used brew to install ffmpeg
[05:10] <benlieb> is that a C file?
[05:11] <benlieb> c_14: how would I call that from the command line?
[05:14] <c_14> /path/to/file/ffescape
[05:15] <c_14> you'll probably need -s list_of_escape_chars
[05:15] <c_14> and you can set the number of escaping levels with -l
[05:15] <benlieb> which ffescape returns nothing.
[05:16] <benlieb> I'm asking in the brew channel where that might be...
[05:16] <benlieb> my ffmpeg is in /usr/local/bin/ffmpeg
[05:16] <benlieb> where would that imply that ffescape is supposed to be?
[05:18] <c_14> It might be in /usr/share somewhere.
[05:18] <c_14> I don't think make install installs it anywhere by default.
[05:18] <benlieb> looked around here https://gist.github.com/pixelterra/a02958e96bba53385250
[05:27] <balrog74> Good day all. Query about fdk-aac. Is there a --enable-pic option for that one piece? I have an app that links to ffmpeg but its complaining that the fdk-aac lib isnt linkable.
[05:31] <balrog74> http://pastebin.com/x0ceT6MX if anyone is interested
[05:33] <c_14> benlieb: Tried looking in share? If not, just download the source; ./configure; and make alltools, then copy/use tools/ffescape
[05:35] <benlieb> c_14: wouldn't that interfere with the ffmpeg installed by brew?
[05:39] <c_14> nah, you're not actually installing it anywhere. Just compiling it, or to be precise parts of it.
[05:39] <c_14> balrog74: just recompile libfdk_aac with -fPIC in your CFLAGS
[05:40] <c_14> benlieb: you don't even need to make alltools, just make tools/ffescape
[05:45] <benlieb> c_14, ok I reinstalled with --with-tools
[05:45] <benlieb> I have ffescape, now just need to figure out how to use it.
[05:45] <balrog74> c_14: Thanks. Im testing.
[05:45] <benlieb> ffescape "hi: world" doesn't do anything
[05:55] <c_14> ffescape takes input from stdin or optionally from a file
[05:58] <benlieb> c_14 I've figured that out, but it's output is not working to actually escape what I need
[05:58] <balrog74> c_14: Im trying this syntax ./configure --prefix="$HOME/ffmpeg_build" --disable-shared CFLAGS='-fPIC ''
[06:00] <c_14> balrog74: either set CFLAGS as an environment variable and export it or try --extra-cflags='-fPIC'
[06:00] <c_14> benlieb: like I said, you'll probably need to use -s to set the list of characters you want to escape
[06:01] <balrog74> c_14: aye. will do.
[06:01] <benlieb> c_14: I did that but I'm missing something somehow.
[06:02] <benlieb> warning longish paste...
[06:02] <benlieb> This works: ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf drawtext="fontfile=/Library/Fonts/Arial.ttf: text=bob: fontcolor=white: fontsize=24: box=0: x=(w-text_w)/2: y=(h-text_h-line_h)/2" /Users/benlieb/my_life/sites/2007/idance/videos_in_production/intros/2621.mp4
[06:02] <benlieb> Assuming I just wanted to do this manually, what would I replace the text "bob" with to get the text "Bob's" printed?
[06:03] <benlieb> when I try ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf drawtext="fontfile=/Library/Fonts/Arial.ttf: text=Bob\'s: fontcolor=white: fontsize=24: box=0: x=(w-text_w)/2: y=(h-text_h-line_h)/2" /Users/benlieb/my_life/sites/2007/idance/videos_in_production/intros/2621.mp4
[06:03] <benlieb> the video is made, but the text is not drawn
[06:04] <c_14> benlieb: please pastebin it next time
[06:06] <c_14> I'm not sure you need the \, the "" should be escaping the '
[06:08] <benlieb> c_14: if I use Bob's it draws as Bobs
[06:09] <benlieb> If I use Bob\'s nothing draws at all
[06:09] <benlieb> Neither with Bob\\'s or Bob\\\'s
[06:09] <benlieb> or 'Bob'\''s'
[06:09] <benlieb> this is rediculous
[06:12] <c_14> How about Bob'\''s ?
[06:12] <woof-woof> What's the issue?
[06:13] <benlieb> c_14 that also just draws bobs
[06:13] <benlieb> would it matter that I'm using 2.2.1?
[06:20] <balrog74> c_14: thanks. OI
[06:20] <balrog74> Ill poke at it tomorrow
[06:20] <c_14> benlieb: nah, can't get it working either right now
[06:20] <benlieb> c_14: crazy right?
[06:21] <benlieb> I finally got bob:bob to print using 'bob''\':'bob'
[06:21] <benlieb> which is definitely not what is produced by ffescape
[06:21] <benlieb> but replacing the : with ' just get's the ' ignored.
[06:21] <benlieb> I have no idea what's going on here.
[06:21] <LLKCKfan> How can someone who is almost 30 and never had a job get one? I have been applying just to be told I am not what they are looking for or they are not hiring.
[06:22] <benlieb> LLKCKfan: on topic?
[06:24] <benlieb> c_14 any luck?
[06:24] <c_14> benlieb: I can also get bob:bob to display with bob\\\:bob, haha
[06:24] <c_14> bob\\\\\'bob
[06:24] <c_14> works
[06:25] <c_14> That's an awful lot of escaping for one quote...
[06:26] <benlieb> 5 quotes? You're in bash?
[06:27] <c_14> ye
[06:27] <c_14> -vf "drawtext=text=bob\\\\\'bob:fontcolor=black:fontsize=24:box=0"
[06:27] <benlieb> just found this, which may explain something http://www.ffmpeg.org/ffmpeg-filters.html#Notes-on-filtergraph-escaping
[06:29] <benlieb> christ almighty,
[06:29] <c_14> escaping is fun, isn't it? ;)
[06:31] <benlieb> c_14 so their final example is this: this is a \\\\\\'string\\\\\\'\\\\: may contain one\\, or more\\, special characters
[06:31] <benlieb> c_14 now my question is, what does ffescape actually do for me, because it didn't do that. Also is there any way to do that programatically?
[06:32] <benlieb> I guess I could just do a replace for ' \ and ,
[06:32] <benlieb> with the respective 5, 4, and 2 slash rule. But that will probably choke somehow
[06:34] <benlieb> what's needed is this escape_for_shell(escape_for_filtergraph(escape_for_filter_option)))
[06:34] <benlieb> scape_for_shell(escape_for_filtergraph(escape_for_filter_option(text))))
[06:35] <benlieb> it looks like ffescape only does the escape_for_filter_option bit
[06:36] <c_14> ye, you'll probably have to create those 3 functions yourself and then use those for escaping
[06:37] <benlieb> tried this: echo "this is a 'string': may contain one, or more, special characters" | ffescape -s "':" -l 1 | ffescape -s "':," -l 2
[06:37] <benlieb> and this echo "this is a 'string': may contain one, or more, special characters" | ffescape -s "':" -l 2 | ffescape -s "':," -l 1
[06:38] <benlieb> close but not perfect
[06:38] <benlieb> well not useable
[06:38] <LLKCKfan> How can someone who is almost 30 and never had a job get one? I have been applying just to be told I am not what they are looking for or they are not hiring.
[06:39] <benlieb> c_14: I don't understand why after the second level of escape the ' gets \\\ and the : get's only \\
[06:40] <c_14> Because : is not special to the second layer.
[06:41] <benlieb> c_14, ah
[06:42] <benlieb> so this does it: echo "this is a 'string': may contain one, or more, special characters" | ffescape -s "':" -l 1 | ffescape -s "'," -l 1 | ffescape -s "'" -l 1
[06:44] <benlieb> Now to try to get that in my ruby script
[06:44] <benlieb> But I don't see why this needs to be done via ffescape. I wonder if there is a native ruby class that does something similar
[06:46] <c_14> I don't know much about ruby, but it should be possible.
[06:49] <benlieb> c_14 is ffmpeg always that hard to work with? This is my first go around. And damn.
[06:49] <benlieb> It's like sticking your finger in a blender
[06:49] <c_14> As long as you're not escaping things, not really.
[06:49] <c_14> Takes some getting used to, sure, but it gets better with time.
[06:51] <c_14> Anyway, the sun has long since risen. High time I went to bed.
[06:51] <c_14> Hope you get your stuff working.
[06:53] <benlieb> c_14: almost
[06:53] <benlieb> not sure how to get the output I need front he ruby script.
[06:54] <benlieb> but shouldn't be too bad
[10:36] <erle-> how can i force ffmpeg to use static encoder libs only?
[11:41] <DelphiWorld> &T is Larbi & Tayeb
[11:59] <UtUser> guys, the Ut Video decoder is broken again
[11:59] <UtUser> as per http://trac.ffmpeg.org/ticket/2661
[12:00] <UtUser> built from the repo a couple days ago
[12:00] <UtUser> I'm getting those shitty messages when I try to transcode to h.264
[12:01] <UtUser> People use Ut Video for their masters, so it's sort of a big deal.
[12:20] <UtUser> I would like some closure on the Ut Video decoder but I'll wait
[14:25] <bryancp> Hello! Having a bit of trouble connecting to a mulaw udp stream. The `avformat_open_input` function doesnt fail, but blocks. Ive been able to play the stream fine using a library on Android but not ffmpeg. Other streams (such as one created from the command line using ffmpeg) work just fine. Under what conditions would open input block like this? Maybe
[14:25] <bryancp> thatll help me track down the problem.
[15:34] <Camusensei> hello :)
[15:36] <Camusensei> I was looking at how to concatenate two video files, but could not find how to concatnate AND encode at the same time (I have not much space left). Is it possible? (to spice things up, I'm on windows)
[15:37] <sacarasc> http://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20medi… Change "-c copy" to your encoding options.
[15:39] <Camusensei> sacarasc: looks perfect, thank you :)
[15:43] <Camusensei> sacarasc: hmm, what about my container, how do I specify it if I have to use -f concat? (I planned to do something like -f webm -b:v 2M -crf 4)
[15:44] <sgtpepper> Hey Everyone?
[15:44] <sacarasc> If you mean your output one, just give it a file extension.
[15:44] <c_14> Camusensei: -f concat is an input format specifier, you can still define a separate output format
[15:45] <Camusensei> c_14: ok, thank you
[15:45] <sacarasc> Everything after the last -i [input] are output options.
[15:45] <Camusensei> ok
[15:49] <bryancp> Posted a message earlier about avformat_open_input hanging trying to open a valid udp stream& any ideas as to when/why it might block? Perhaps its trying to determine the data format?
[16:22] <Keestu> how ffplay.c works?.. av_read_frame (.. packet) reads a the packet, and it is copied into the queue [ not deep copy], but once the frame is read, the av_free_packet is invoked, would that not be an error? or is my understanding is wrong ?
[17:04] <Camusensei> c_14, sacarasc: it's working like a charm, thank you very much. have a nice day.
[20:43] <benlieb> can someone help me concat my two videos?
[20:43] <benlieb> Stream specifier ':1' in filtergraph description [0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a] matches no streams.
[20:43] <benlieb> my command is: ffmpeg -i intros/2621.mp4 -i raw_lessons/2621.mp4 -filter_complex '[0:0] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' mp4_big/2621.mp4
[20:43] <benlieb> I think it is because the first input (intro) has no audio stream?
[20:44] <c_14> benlieb: I think so too, just remove the audio part from the concat and map it normally.
[20:45] <benlieb> c_14: I wish I understood the command well enough to do that
[20:45] <benlieb> Which part exactly should I remove?
[20:45] <c_14> '[0:0][1:0]concat=n=2:v=1[v]' -map '[v]' -map 1:1
[20:45] <benlieb> I actually pasted wrong, my original command was: ffmpeg -i intros/2621.mp4 -i raw_lessons/2621.mp4 -filter_complex '[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' mp4_big/2621.mp4
[20:46] <benlieb> then I took out a bit to try to remove the audio
[20:46] <benlieb> the second video does have audio tho
[20:47] <c_14> ye, if the first video has no audio, just use the command snippet I gave you.
[20:47] <c_14> Wait, do you want silence inserted for while the first video is playing?
[20:48] <benlieb> c_14 the first video is just silent with 4 seconds of some text displaying
[20:48] <benlieb> what's the best way to make this work?
[20:50] <c_14> -filter_complex 'aevalsrc=0:d=4[a1];[0:0][a1][1:0][1:1]concat=n=2:v=1:a=1[v][a]' -map '[v]' -map '[a]'
[20:50] <c_14> should do it
[20:52] <benlieb> that failed: https://gist.github.com/pixelterra/26134627caf8c85d5eca
[20:54] <c_14> Your input videos aren't the same size.
[20:55] <benlieb> I got your command to work by adding the unsafe:1 option
[20:55] <benlieb> they should be the same size...
[20:56] <benlieb> I only checked via the mac finder
[20:57] <benlieb> but you're right the final output is off
[20:57] <c_14> The SAR is off anyway, the second video has square pixels while the first one has a SAR of 8:9
[20:58] <benlieb> ug
[20:58] <benlieb> kill me
[20:59] <benlieb> c_14: this is my command for making the intro video:
[20:59] <benlieb> `ffmpeg -y -f lavfi -i color=c=black:s=640x362 -t 4 -vf #{filters.join(',')} #{@dir}/intros/#{@lesson.id}.mp4`
[20:59] <benlieb> How could I alter that to match the specs of the raw_lessons/2621.mp4 file?
[21:01] <benlieb> I can see that the output video file was clipped
[21:01] <c_14> try color=c=black:s=640x362:setsar=1
[21:02] <c_14> wait, you might have to put that in a filterchain
[21:02] <wizbit> can ffmpeg capture still frames from a live ogg video feed?
[21:02] <llogan> color=c=black:s=720x362:sar=8/9:r=ntsc
[21:02] <c_14> wizbit: can you elaborate?
[21:04] <benlieb> llogan: I want the intro to match the lesson
[21:05] <llogan> isn't that what i provided?
[21:05] <benlieb> llogan: I don't really know,but c_14 says setsar=1
[21:06] <c_14> benlieb: try llogan's mine was wrong
[21:06] <benlieb> and said the lesson video had square pixels
[21:06] <benlieb> I'm new to this and waaay over my head
[21:06] <llogan> you're doing fine for being new at this
[21:06] <benlieb> i think it should be called fffmpeg, where the fs stand for fuck fuck fuck
[21:06] <c_14> If I'm reading this correctly, in0 is square and in1 is anamorphic, so llogan's should be correct.
[21:07] <benlieb> lol
[21:07] <benlieb> I'll try...
[21:08] <benlieb> why would I use 720x362 if the orig is 640, is that because of the sar being diff?
[21:08] <benlieb> why couldn't I just match exactly?
[21:09] <llogan> what is the original? I'm just going by your console output. i thought you wanted something similar to raw_lessons/2621.mp4
[21:09] <benlieb> I run a website that turns educational DVD's into small pieces of purchasable instruction. This process has always been done by someone else, who has recently left, and also manually. I'm trying to write a script that will automate the process.
[21:09] <benlieb> llogan: I do
[21:10] <llogan> color=c=black:s=720x362:sar=8/9:r=ntsc:d=4
[21:10] <benlieb> not sure how to find that out exactly though. My mac finder says its 640x362.
[21:10] <benlieb> ok I'll try
[21:23] <benlieb> that seemed to do it. I might just stay happy with that until I have more time to understand it.
[21:23] <benlieb> thanks guys. I'm sure I'll be back soon :)
[21:23] <llogan> glad it worked for you
[22:02] <denysonique_> Is FFmpeg dead?
[22:02] <denysonique_> Since not found in the main repository of Ubuntu?
[22:02] <UtUser> I can't speak for Ubuntu
[22:03] <UtUser> but I can assure you that FFMPEG is under continual development, always has been
[22:03] <UtUser> FFMPEG has its own repository and makes its own automatic builds
[22:04] <pzich> not sure if it was ubuntu, but some linux distro forked their own version
[22:04] <iive> denysonique_: no, it is ubuntu that is dead
[22:04] <pzich> http://ubuntuforums.org/showthread.php?t=1995559
[22:05] <denysonique_> The ffmpeg guys should get it back into Ubuntu. Since it is the most popular distro and not doing so decreases the popularity of FFmpeg.
[22:06] <iive> denysonique_: we are trying but i it is not easy.
[22:06] <UtUser> Well, I had to download it on Windows
[22:06] <UtUser> you Linux users have it too easy
[22:06] <denysonique_> iive: can you link me to the story or give some tl;dr on it?
[22:07] <iive> ubuntu is following debian, so the problem is rooted there - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729203
[22:08] <iive> that's from the news page :)
[22:09] <JodaZ> denysonique_, distro builds of ffmpeg never were any good anyways because there was nothing in them because of license reasons
[22:09] <denysonique_> JodaZ: maybe except for Gentoo
[22:10] <UtUser> I don't understand why you can't just copy the binaries into /usr/bin
[22:11] <UtUser> there is no dependency on any specific window manager or anything like that
[22:12] <UtUser> you can even download deb packages right off of the website
[22:12] <UtUser> and AFAIK it's all compatible with Ubuntu
[22:13] <UtUser> the website specifically mentions Ubuntu in fact
[22:16] <denysonique_> UtUser: someone made a ppa for Ubuntu
[22:22] <UtUser> yes
[22:31] <llogan> denysonique_: see link
[22:32] <llogan> also http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html
[23:39] <LukeMaxwell> hey, having an issues running ffmpeg
[23:39] <LukeMaxwell> running ubuntu 14.04 LTS
[23:41] <c_14> LukeMaxwell: can you go into further detail?
[23:48] <LukeMaxwell> ffmpeg -v info -f v4l2 -i /dev/video0 -an -r 20 -s 640x480 /tmp/testvideo.mkv
[23:49] <llogan> you forgot the link to the console output
[23:51] <LukeMaxwell> sorry llogan what do you mean? Haven't used ffmpeg for over two years
[23:52] <LukeMaxwell> also, I have a network drive that I would like to save my webcam video to
[23:52] <llogan> after you enter your ffmpeg command ffmpeg will spew out a bunch of text in your console. i want to see that
[23:53] <LukeMaxwell> okay llogan its on another computer. how do I copy the terminal output?
[23:53] <llogan> are you remotely logged into the other computer?
[00:00] --- Wed May 28 2014
1
0
[00:00] <Daemon404> not sure how asm is in msvc
[00:01] <kurosu> well, anyway, the problem is more in the C part, but I was wondering how much of mingw I may be using besides running fate
[00:01] <kurosu> (after starting to use msvc)
[00:03] <nevcairiel> you can step through asm and inspect regs, works fine
[00:11] <kurosu> Daemon404, can you do out-of-tree builds with the msvc toolchain ?
[00:11] <Daemon404> yes
[00:11] <kurosu> nice
[00:11] <kurosu> I usually just create a folder and run eg ../configure
[00:12] <kurosu> is that still ok or do I need a special option ?
[00:12] <Daemon404> there i nothing special except --toolchain=msvc
[00:12] <Daemon404> and making sure msys link.exe doesnt screw yu up
[00:12] <Daemon404> (as noted in the docs)
[00:12] <kurosu> yeah saw that part indeed
[00:13] <kurosu> and in addition my .bashrc was resetting LIB & INCLUDE so to avoid the inverse conflict
[00:14] <clever> how are av options like rtmp_conn set from the ffmpeg api level?
[00:18] <cone-679> ffmpeg.git 03Michael Niedermayer 07master:b0d0e29ffbd4: avcodec/sgirledec: fix () in RBG323_TO_BGR8() macro
[00:18] <cone-679> ffmpeg.git 03Michael Niedermayer 07master:c37d17929590: avformat: add format_probesize to allow tuning the maximum amount of bytes to identify the filetype
[00:29] <cone-679> ffmpeg.git 03Michael Niedermayer 07master:d236d4907c93: update APIchanges & version for c37d179
[02:07] <cone-679> ffmpeg.git 03Michael Niedermayer 07master:d2eacbb754ba: doc/APIchanges: fix typo in date
[02:08] <cone-679> ffmpeg.git 03Michael Niedermayer 07master:96470ca22b3b: avformat/mov: allow seeking back to the begin even if nothing is marked as keyframe
[03:49] <jamrial> michaelni: how true is the comment in http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/x86/mpegvideoenc_… ?
[03:53] <michaelni> jamrial, the dct is supposed to be inlined there
[03:56] <jamrial> can that line be s->dsp.fdct(block); instead? as in, can these quantize functions use the c version of fdct(), or is the relevant ff_fdct_<opt>() a must?
[03:58] <michaelni> dunno maybe it would work maybe the scaling would differ cant remember
[04:00] <jamrial> this is regarding the fdct yasm port patch i sent a couple hours ago. these quantize functions are inline asm and currently have a hard dependecy on the fdct functions because of that line
[04:02] <jamrial> so the only options i have are making the quantize functions depend on both yasm and inline asm (ugly and not ok), porting the quantize functions to yasm (a huge task i'm not up to), changing that line so it can fall back to the c version if using --disable-yasm, or dropping the fdct yasm port patch
[14:47] <Daemon404> ubitux, i cannot facepalm harder
[14:57] <ubitux> Daemon404: well i understand the concern
[14:57] <ubitux> but i believe pkg-config is the correct answer
[14:58] <ubitux> and i think it should be used more, as i said in another thread
[14:59] <Daemon404> the concern is bollocks
[14:59] <Daemon404> its a hack to support idiots with broken envs
[15:00] <Daemon404> too stupid to learn the tools
[15:08] <wm4> haha
[15:08] <wm4> what a stupid thread
[15:08] <ubitux> it's still the same story for x264 btw
[15:11] <wm4> why don't you send users to the x264 bug tracker then
[15:11] <ubitux> ?
[15:11] <ubitux> i mean we're not using pkg-config
[15:12] <wm4> well I'd still consider that a bug
[15:12] <ubitux> and ofc now there is (justified) reluctance to change it to pkg-config because it would break with ppl using --extra-{c,ld}flags
[15:12] <wm4> what is this, 1990?
[15:12] <ubitux> wm4: http://ffmpeg.org/pipermail/ffmpeg-devel/2014-May/157646.html
[15:12] <ubitux> see that thread
[15:43] <cone-919> ffmpeg.git 03Christophe Gisquet 07master:86ae0da60c46: x86: hpeldsp: propagate changes across codecs
[16:06] <cone-919> ffmpeg.git 03Neil Armstrong 07master:99d742aac41b: configure: uClibc native pthread requires -ldl
[16:58] <cone-919> ffmpeg.git 03Nicolas George 07master:58a10e0e2ce1: compat/w32pthreads: add return value to pthread_cond_init().
[16:58] <cone-919> ffmpeg.git 03Nicolas George 07master:55cc60cd6d94: lavu: add thread message API.
[16:58] <cone-919> ffmpeg.git 03Nicolas George 07master:fc9c857c2d1b: ffmpeg: use thread message API.
[16:58] <cone-919> ffmpeg.git 03Michael Niedermayer 07master:2db89765f3fc: Merge remote-tracking branch 'cigaes/master'
[17:00] <ubitux> ah, finally!
[17:00] <ubitux> cool.
[17:09] <Daemon404> wow uclibc
[17:38] <BBB> so how do we test this resampling code?
[17:41] <ubitux> make libswresample/swresample-test maybe
[17:41] <ubitux> otherwise... ffmpeg -ar ?
[17:42] <Daemon404> i should not have mention --static
[17:42] <Daemon404> now the neurotic carl eugen is going to spend 3 more days misunderstanding pkh-config
[17:42] <Daemon404> pkg*
[17:46] <JEEBsv> lol
[17:46] <JEEBsv> I hope it's not your having fun with him :P
[17:46] <JEEBsv> *you
[17:47] <nevcairiel> everyone is having fun with carl today
[17:48] <ubitux> well since he's helping out users on ffmpeg-user, it's a good idea if he understands how it works&
[17:49] <ubitux> so go help him Daemon404 ;)
[17:49] <Daemon404> ubitux, heh
[17:49] <Daemon404> i would like to think "how to use pkg-config" is a bit beyond the scope of ffmpeg
[17:49] <Daemon404> but meh
[17:49] <Daemon404> lusers~
[17:50] <nevcairiel> he helps users? doesnt he just go around telling them not to use libav? :p
[17:50] <Daemon404> no nevcairiel
[17:50] <Daemon404> he also tells them to submit full uncut output
[17:51] <ubitux> this is useful
[17:51] <Daemon404> ubitux, *sometimes*
[17:51] <Daemon404> lots of times knowledgable people submit more than enough info
[17:51] <nevcairiel> report a problem in some code, get asked to provide ffmpeg output
[17:51] <Daemon404> only to be met with :uncutoutput:
[17:51] <Daemon404> bug tracker is absolutely great at alienating power users
[17:51] <Daemon404> or devs
[17:52] <Daemon404> in optimizing for the lowest common denominator
[17:52] <Daemon404> ... much liek a call center.
[17:52] <ubitux> it gives the exact ffmpeg version and configuration
[17:52] <ubitux> so this is important when digging an old report
[17:52] <Daemon404> he tells people ot provide it when teh yeven provide a git hash
[17:52] <ubitux> typically to try reproducing in the exact context
[17:52] <Daemon404> and compiler
[17:52] <Daemon404> etc
[17:52] <Daemon404> its all there.
[17:52] <ubitux> doesn't happen often, and it's simpler for them to just paste the complete output
[17:53] <ubitux> it's not like it's an unbearable request
[17:53] <nevcairiel> it just pisses smart people off
[17:53] <Daemon404> yes
[17:54] <Daemon404> most of them just dont submit bugs anymore
[17:54] Action: compn wonders when Daemon404 or nevcairiel will take over reviewing bug reports on trac
[17:54] <compn> :P
[17:54] <Daemon404> compn, not as long as carl is there to override everythign i do
[17:55] <Daemon404> btw i get teh feeling this is the reason a bunch of people report bugs directly to michael
[17:55] <Daemon404> via email or irc
[17:56] <ubitux> there is quite some activity on the trac you know
[17:56] <Daemon404> i know
[17:56] <Daemon404> but almost none of it is dev
[17:56] <Daemon404> (except that epic aac one)
[17:56] <j-b> pkg-config is bad :)
[17:57] <Daemon404> j-b, vlc is bad
[17:57] <Daemon404> you patch stuff and dont upstream said patches
[17:57] <Daemon404> shame!
[17:57] <j-b> Do we?
[17:57] <Daemon404> funman does all the time
[17:57] <Daemon404> i troll him about it
[17:57] <Daemon404> he just says hes lazy
[17:57] <nevcairiel> good enough reason
[17:57] <j-b> he is lazy
[17:57] <ubitux> j-b: why?
[17:58] <j-b> Daemon404: but, a contrario from MPlayer, we don't fork hundreds of libraries inside our trees
[17:58] <Daemon404> stuff like "fix mips build of gnutls" and stuff
[17:58] <Daemon404> that definitely does not belong in vlc.
[17:58] <nevcairiel> who cares about mips =P
[17:58] <Daemon404> vlc apparently :P
[17:58] <j-b> Daemon404: have you ever tried to upstream a buildsystem fix?
[17:58] <Daemon404> yes
[17:58] <Daemon404> it used to be my job
[17:58] <nevcairiel> was it fun?
[17:58] <j-b> exactly ?
[17:58] <Daemon404> anyway
[17:58] <j-b> Most people don't understand what a compiler is
[17:58] <Daemon404> oi plan to troll some of contrib/ soon
[17:58] Action: Daemon404 rm -r libmpeg2
[17:59] Action: Daemon404 runs
[17:59] <j-b> what a cross-compiler is
[17:59] <j-b> Daemon404: like I care
[17:59] <Daemon404> j-b, i used to upstream cross-compilation fixes specifically
[17:59] <j-b> Daemon404: 99% of contrib/ patches are about cross-compiling issues
[17:59] <j-b> Daemon404: you were paid to do so.
[17:59] <Daemon404> i used to work on openembedded and its precursor
[17:59] <Daemon404> for a living
[17:59] <Daemon404> ;)
[17:59] <Daemon404> i sitll do
[17:59] <Daemon404> still*
[17:59] <j-b> Daemon404: do you go and say that to all distributions?
[18:00] <j-b> that have 100s of patches?
[18:00] <Daemon404> i call it "debian maintainer syndrome":
[18:00] <Daemon404> it is crap.
[18:00] <j-b> call it the way you want.
[18:00] <j-b> not really my problem.
[18:00] <j-b> but I'm bored explaining to people what pkg-config is abot
[18:00] <j-b> or why a non-autotools setup is stupid.
[18:01] <Daemon404> people who dont know that have no place building stuff really
[18:01] <ubitux> j-b: i wouldn't mind getting lectured on why pkg-config is bad
[18:01] <j-b> ubitux: it's not bad.
[18:01] <j-b> ubitux: that was a joke.
[18:01] <ubitux> ok :)
[18:01] <j-b> ubitux: it used to be very bad in the beginning.
[18:01] <j-b> ubitux: it's now correct.
[18:01] <Daemon404> ubitux, the other thing i want to do btw is remove my great shame from ffmpeg (libutvideo)
[18:01] <Daemon404> i think i will have a hard time convincing people
[18:02] <j-b> ubitux: even if I prefer pkg-config-lite
[18:02] <ubitux> Daemon404: did you see the trac ticket about ut performance?
[18:02] <Daemon404> ubitux, its idiots talkign to idiots
[18:02] <ubitux> j-b: -lite? what? :)
[18:02] <Daemon404> nobody has any clue wtf theyre talking about
[18:02] <nevcairiel> yeah that guy complained to me
[18:02] <Daemon404> and i cant be arsed to fix them
[18:02] <nevcairiel> i sent him to carl
[18:02] <nevcairiel> :P
[18:03] <j-b> ubitux: a version that does not need glib
[18:03] <ubitux> sounds good
[18:03] <Daemon404> j-b, good news: freebsd wroye pkgconf
[18:03] <Daemon404> which needs nothing
[18:03] Action: Daemon404 runs
[18:03] <ubitux> iirc pkg-config embed a glib copy in its repository or something
[18:03] <ubitux> but yeah ok :)
[18:03] <Daemon404> i dont really understand why pkg-config needs glib in the first place
[18:03] <nevcairiel> someone liked glib?
[18:04] <j-b> Daemon404: and that depends on a libc that is only in FreeBSD, like 99% of BSD stuff?
[18:04] <Daemon404> j-b, not sur.w
[18:04] <Daemon404> sure*
[18:04] <j-b> Daemon404: because of the RedHat/Gnome Glib fetishism
[18:04] <Daemon404> j-b, will people get pissy if i upstream random vlc patches
[18:04] <Daemon404> (with proper author attribution)
[18:04] <j-b> Daemon404: of course not.
[18:04] <j-b> Daemon404: and noone cares about attributions for those things
[18:05] <Daemon404> i learned never to say "noone"
[18:05] <j-b> most patches are from funman or me
[18:05] <Daemon404> some are remk
[18:05] <Daemon404> remi*
[18:05] <j-b> just don't try to upstream my fontconfig patch :)
[18:06] <Daemon404> well also
[18:06] <Daemon404> i cant upstream anythign to GNU
[18:06] <Daemon404> because i cant sign a CLA for someone else
[18:06] <Daemon404> obviously.
[18:06] <compn> wait
[18:06] <compn> vlc doesnt fork libs ?
[18:06] <j-b> GNU still needs CLA?
[18:06] Action: compn looks at libdvdread
[18:06] <j-b> compn: of course not.
[18:06] <j-b> compn: dvdread is not in our tree.
[18:06] <Daemon404> j-b, yes
[18:06] <Daemon404> they rewrote a whole bunch of my patch submissions
[18:06] <Daemon404> because they couldnt be arsed to get me to sign a CLA
[18:06] <j-b> compn: and I forked dvdread, because MPlayer maitainers are lazy.
[18:06] <compn> :D
[18:07] <Daemon404> kind of annoying, since i spent hours trackign down and fixing these bugsd
[18:07] <Daemon404> but 0 credit
[18:07] <Daemon404> =p
[18:07] <j-b> and dvdread is the biggest crashers ever.
[18:07] <compn> probably yes
[18:07] <j-b> because it's coded by incompetent
[18:07] <compn> its old old old code
[18:07] <compn> and dvds are corrupted now
[18:07] <j-b> not only
[18:07] <compn> anti-pirate dvd protections
[18:07] <j-b> not only
[18:08] <j-b> "Oh, I can't parse this IFO file. I couldn't reject and stop, but wait, It's better to assert(0) and abort()!"
[18:08] Action: wm4 would like a libdvd* with non-retarded API
[18:08] <wm4> PS: libdvdnav has a retarded API
[18:08] Action: compn would like dvd:// support in ffmpeg
[18:08] <j-b> I agree with wm4, this should be rewritten from scratch
[18:09] <wm4> compn: well, that would be nice, but it wouldn't really fit into libavformat
[18:09] <compn> libavdevice surely
[18:10] <compn> j-b : how is quality of bluray code ?
[18:10] <j-b> compn: quite good, to be honest.
[18:11] <wm4> libbluray has the same API problems as libdvdnav IMO
[18:11] <j-b> compn: parsing of files is done with flex/bison, license is correct, cross-OS is correctly done
[18:11] <ubitux> maybe that's the reason we have a bluray reader and not a dvd one in ffmpeg :p
[18:11] <j-b> wm4: libbluray APIs are way better.
[18:11] <compn> mplayer dvd stuff works cross-os
[18:11] <compn> :P
[18:11] <compn> probably lots of ifdefs
[18:12] Action: compn probably just trolling now
[18:12] <wm4> j-b: my main problem with both of them is that it's hard to do correct seeking
[18:13] <j-b> bd_seek_time ?
[18:14] <wm4> j-b: that's not very precise, and also associating precise timestamps with a raw ts byte stream is kind of hard
[18:16] <j-b> wm4: well, dvdnav doesn't even provide that.
[18:16] <wm4> j-b: maybe I'm missing something, but to me it seems both provides equivalent APIs in this aspect
[18:16] <wm4> you can get a timestamp that is valid for a specific byte position
[18:17] <j-b> nope, you cannot
[18:17] <wm4> and you can seek "somewhere" using a timestamp
[18:17] <j-b> see the jump_to_sector_by_time commit from lately
[18:18] <wm4> and libbluray does that better?
[20:02] <kurosu> how do you people debug using msvc? create an empty projet and just manually add the binary? or do you have a solution file at the ready ?
[20:03] <Daemon404> mostly people who debug are API users
[20:03] <Daemon404> and hence have their own rojects
[20:03] <Daemon404> projects*
[20:05] <kurosu> for some reason the express version does show me win64/x64/whatever targets but accepts to debug just fine whatever is thrown at it (ie even a win64 binary in a win32 solution)
[20:05] <kurosu> *doesn't show
[20:06] <nevcairiel> express includes 64-bit compilers though
[20:06] <nevcairiel> maybe the IDE just doesnt show it
[20:06] <nevcairiel> my fate runs on express
[20:06] <nevcairiel> both 32 and 64 bit
[20:08] <kurosu> hum, actually, I don't know what it built, as I just supplied --toolchain=msvc
[20:10] <nevcairiel> that depends what your env variables contain really
[20:10] <kurosu> duh, so it is win64
[20:11] <kurosu> I just wrote a batch file to invoke win64 + msys bat directly
[20:33] <cone-919> ffmpeg.git 03Carl Eugen Hoyos 07master:2d56f0d05475: Write the actual mp3 frame size when muxing into caf if available.
[20:34] <funman> Daemon404: did i not upstream some patches?
[20:44] <ubitux> ok so, valgrind drd went from 1199 to 1215 passing tests (on a total of 1937) after the thread changes
[20:44] <ubitux> better, but still not complete :P
[21:05] <cone-919> ffmpeg.git 03Michael Niedermayer 07master:d35000c2dcb7: avcodec/g723_1: fix writing into input frame data and warning
[21:13] <ubitux> alpa_astero: that's just bits here and there to diversify, don't worry ;)
[21:15] <alpa_astero> ubitux: what do you mean, precisely?
[21:16] <ubitux> i'm just being sarcastic, you can ignore me :p
[21:28] <cone-919> ffmpeg.git 03Clément BSsch 07master:53bac1b4bd2a: doc: add a tutorial for writing filters.
[21:32] <ubitux> wm4: still didn't find motivation to get that utf-16 done? :)
[21:32] <wm4> no
[21:32] <wm4> I hate subtitles
[21:33] <ubitux> :D
[21:33] <wm4> but I think I should get it done before the next release
[21:33] <TheFluff> fuck subtitles; subitles suck; subtitles are dying; subtitles are dead to me; subtitles hit WTC
[21:33] <wm4> yes
[21:58] <cone-919> ffmpeg.git 03Lou Logan 07master:2dbf5e7038f4: configure: s/solving/solve
[22:12] <cone-919> ffmpeg.git 03Lou Logan 07master:5b1a56b34b3f: doc/ffmpeg: note that -t is also an input option
[22:20] <cone-919> ffmpeg.git 03Lou Logan 07master:60ef61242c33: MAINTAINERS: add Trac maintainers
[22:37] <cone-919> ffmpeg.git 03Michael Niedermayer 07master:52887aa409bf: avformat: move default for max_analyze_duration into utils.c
[22:37] <cone-919> ffmpeg.git 03Michael Niedermayer 07master:e6a084641aad: avformat/utils: set max analyze duration depending on the circumstances
[00:00] --- Tue May 27 2014
1
0
[00:22] <rsdrsdrsdrsd> it was the default division by 16 of the crop that made the difference in frame sizes ;-)
[00:47] <Trouffman> hey :)
[00:51] <Trouffman> I've been wondering if ffmpeg on linux is able to use the h264 stream from an UVC Webcam (C920 / C930 logitech) and send it over the network (without having to decode + re-encode as it is already encoded). The webcam can be setted to output the h264 strema with V4l2-ctl
[00:51] <c_14> https://trac.ffmpeg.org/wiki/How%20to%20capture%20a%20webcam%20input
[00:51] <c_14> -codec copy
[00:54] <Trouffman> thanks c_14 was actually lookign at the man pag to look a bit more in deep
[01:27] <Trouffman> I had to specify -vcodec h264 (before my device name) then -vcodec copy after , otherwise it was always reseting to the defaulf YUY2 (even if set with v4l2-ctl) I guess ffmpeg redifine the settigns when you donèt specify the right codec
[03:17] <Trouffman> finally got all i needed...
[03:18] <Trouffman> now having issue for streaming my input :/ : Goal Send the stream to wirecast (or VLC for now on.) using RTP or RTSP :/
[08:56] <woof-woof> is this a bug?
[08:56] <woof-woof> http://pastebin.com/4btUNtmT
[10:13] <DelphiWorld> hi ffmpegsters
[10:13] <DelphiWorld> so anyone on my hls issue?
[11:48] <allengreen> Can I transcode two file in two separated thread?
[11:49] <allengreen> cause there are a lot of global variables
[11:52] <_julian> anyone around who was involced in dca armv6 asm optimisation?
[11:52] <_julian> I'm wondering if some of them might be used in ac3 decoder as well?
[12:08] <DelphiWorld> anyone have a recomanded cdn for stream distribution?
[12:53] <peterparker> @ods15
[12:54] <peterparker> can you help Compile FFmpeg (the configure options have to be on one line)
[12:54] <peterparker> @od15
[12:54] <peterparker> @superdump
[12:54] <peterparker> @ubitux
[12:54] <peterparker> @'md
[12:54] <ubitux> peterparker: stop it now or i kick you
[12:54] <DelphiWorld> lol
[12:54] <peterparker> yeah hi
[12:55] <peterparker> can you help me compile ?
[12:55] <peterparker> I am following http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat
[12:55] <peterparker> everything went smooth but got stuck on Compile FFmpeg (the configure options have to be on one line)
[12:55] <ubitux> official wiki is here: http://trac.ffmpeg.org/wiki/CompilationGuide
[12:55] <ubitux> use pastebin to paste your configure line and config.log if you have an issue
[12:55] <ubitux> and please stop hilighting random people
[12:57] <peterparker> will a image works here ?
[12:57] <peterparker> like this http://prntscr.com/3mpezs
[12:57] <DelphiWorld> peterparker: no, use pastebin
[12:57] <peterparker> ok
[12:57] <ubitux> also, just read the first sentence of that output
[12:59] <DelphiWorld> ubitux: any clue about my yesterday's AAC audio metadata issue?
[12:59] <ubitux> i have to go
[13:00] <DelphiWorld> okay
[13:00] <peterparker> I am pating it
[13:01] <peterparker> here http://pastebin.com/6P18n8wq DelphiWorld
[13:03] <DelphiWorld> what OS are you using
[13:04] <peterparker> CentOS 6.5
[13:04] <DelphiWorld> first of all SuckOs
[13:04] <DelphiWorld> i never has this issue in debian
[13:04] <peterparker> cpanel works on that only
[13:04] <DelphiWorld> you should create a tmp directory somewhere else
[13:04] <peterparker> I also love ubuntu
[13:04] <DelphiWorld> and specify the TMPDIR as a variable and point it to it
[13:05] <DelphiWorld> peterparker: you're not obligated to run cpanel on same server as ffmpeg...
[13:05] <peterparker> why spend more on a different server
[13:05] <peterparker> I am trying to run ffmpeg on the server for a test project
[13:06] <DelphiWorld> peterparker: ok ask tata to host you :-P
[13:06] <peterparker> so I ahve to create a tmp directory anywhere in the server and then edit configure file and mention the path
[13:06] <DelphiWorld> no need to edit configure file
[13:06] <DelphiWorld> montion the path in shell
[13:06] <DelphiWorld> in bash
[13:06] <peterparker> ok
[13:06] <peterparker> allrite be there
[13:06] <DelphiWorld> if i remember corectly export TMPDIR=/DIR
[13:07] <peterparker> by tata are you refering to my ISP ?
[13:07] <DelphiWorld> peterparker: to your country generaly lol
[13:07] <peterparker> heheheh
[13:12] <peterparker> same error everytime
[13:12] <peterparker> i have changed the path
[13:13] <peterparker> anyways thanks for help I gota go now will come back later
[13:13] <peterparker> DelphiWorld
[13:13] <DelphiWorld> ok
[13:17] <jkli> hi
[13:17] <DelphiWorld> hi
[13:18] <jkli> does it make sense to include deadzone settings if you already use crf?
[13:19] <jkli> err deblocking
[13:19] <jkli> not crf
[13:20] Action: DelphiWorld is not H.264 aware ;)
[13:20] <jkli> ah
[13:21] <jkli> well i see that a lot of encodings have problems with near black / dark backgrounds
[13:21] <jkli> they tend to fuse them together into one big area
[13:21] <jkli> it looks bad on films with lots of night scenes
[13:27] <iive> there are some x264 developers around, they know more stuff.
[13:29] <iive> i think deblocking settings control the loopfilter that is part of the decoding. aka frame is decoded then deblocked and the resulting image is used as reference for next frames.
[18:14] <xjunior> Hey guys& sorry to ask that, but I've been struggling with ffmpeg command line tool for a while now, getting many sorts of errors& I need to get a video, then 2 different input images and add them as an overlay, but at the same place, just different video time
[18:14] <xjunior> one for the first half of the video, the other for the second half
[18:14] <xjunior> Is that possible? Can someone gimme a light on how to do that?
[18:20] <c_14> I'd probably use a complex filter to split the source stream into two copies, trim the first one to the length you want overlay a to display, trim the second one to where you want overlay b to display, apply the overlay to each stream and then concat the video streams again.
[18:22] <klaxa> *filter complex
[18:26] <woof-woof> is this a bug? > http://pastebin.com/kKPp8kh9
[18:27] <klaxa> maybe
[18:27] <klaxa> include ffmpeg's output
[18:27] <woof-woof> Ok..
[18:37] <woof-woof> Here: http://pastebin.com/WTc43npX
[18:39] <spaam> and the when that does not work?
[18:40] <woof-woof> ?
[18:45] <woof-woof> It never works.
[18:49] <c_14> I'm not sure %ld is a valid filename pattern.
[18:51] <klaxa> it's %1d though
[18:51] <klaxa> hmm... is that valid?
[18:51] <c_14> I dislike fonts where I can't tell the 1 from an l...
[18:53] <woof-woof> %1d worked with bmp why not with jpg?
[18:53] <woof-woof> I think it means start with 1 digit?
[18:53] <woof-woof> Or no?
[18:56] <c_14> `ffmpeg -f image2 -i out%1d.jpg -vf interlace interlace%1d.png' works fine for me
[19:00] <woof-woof> Didn't work here...
[19:01] <c_14> Are the files named 1.jpg and 2.jpg ?
[19:01] <woof-woof> Tried that also, originally name 0, 1.jpg...
[19:04] <woof-woof> I don't have libopenjpeg... if that matters.
[19:08] <c_14> I don't have it either and it works for me.
[19:08] <c_14> Try it with a different source maybe?
[19:11] <c_14> ie if you have a video somewhere, ffmpeg -ss x -i video -frames:v 2 %1d.jpg; ffmpeg -f image2 -i %1d.jpg -vf interlace int%1d.png
[19:12] <woof-woof> Well, I want to interlace images.. Not videos.
[19:13] <woof-woof> that will happen if the source is JPEG... output as JPEG should work fine
[19:13] <c_14> I know, that command would have given you two jpegs that you could have tested with.
[19:15] <woof-woof> My jpegs were converted using ffmpeg... But it didn't work as well.
[19:17] <c_14> It's working for me, so I thought it might be a problem with the source so I asked if you had a different source you could test with and how you could create such a source.
[19:18] <woof-woof> ffmpeg bmp > jpeg
[19:21] <woof-woof> I have a statically compiled version here that it's not working as well... If could test with it
[19:23] <woof-woof> I am downloading another, maybe the problem is here.
[19:24] <c_14> I'm downloading the latest static as well, will test with it.
[19:26] <c_14> static build works for me as well
[19:30] <woof-woof> It worked for when I converted bmp > jpeg with it... I guess the version I was using was generating bad jpegs.
[19:30] <woof-woof> or I don't know.
[19:33] <woof-woof> c_14: the newer version is not working with some jpeg I have here...
[19:33] <woof-woof> if you could test with the same JPEG...
[19:37] <c_14> The jpegs I've been generating work, I'd need access to the ones you're using to test with them.
[19:38] <woof-woof> I'm uploading..
[19:41] <woof-woof> Here: woof-woof.site11.com/files/JPEG.tar
[19:43] <gouessej> Hi. I have a problem with all videos I recorded with a Samsung S3, it uses 3gp4 as a container format. The picture freezes but the audio continues in VLC. I've just tried to remux one of them with ffmpeg but it doesn't solve my problem.
[19:44] <woof-woof> gouessej, did you try playing it with ffplay?
[19:44] <c_14> woof-woof: Those 2 jpegs have different pixel_formats
[19:45] <c_14> 1 is yuvj402p and 2 is yuvj444p
[19:45] <woof-woof> that is the problem then?
[19:45] <gouessej> yes, it's the same
[19:45] <c_14> *420
[19:45] <c_14> I would guess so.
[19:45] <gouessej> Duration: 00:06:22.98, start: 0.000000, bitrate: 17149 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 17021 kb/s, 30.04 fps, 30.08 tbr, 90k tbn, 180k tbc Metadata: creation_time : 2014-05-24 13:35:39 handler_name : VideoHandle Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 123 kb/s Metadata: creation_time : 2014-05-24 13:35:39
[19:46] <c_14> woof-woof: Ye, I converted 2.jpg to yuvj420p and then tried interlacing again and it worked.
[19:46] <c_14> gouessej: next time pastebin, it's less spammy and you can keep the formatting to make it easier to read
[19:47] <gouessej> oops, sorry
[19:47] <c_14> gouessej: can you upload a sample video somewhere?
[19:48] <gouessej> yes
[19:48] <gouessej> I can put it onto my SFTP
[19:49] <DeadSix27> anyone can tell me what "v410" is?
[19:49] <DeadSix27> in the context, that it shows up as videoformat: v410
[19:49] <DeadSix27> probably uncompressed?
[19:50] <woof-woof> c_14: Yea, that was the problem actually.
[19:51] <c_14> DeadSix27: v410 Uncompressed 4:4:4 10-bit
[19:51] <DeadSix27> ah kk
[19:52] <DeadSix27> hx.
[19:52] <DeadSix27> +t
[20:08] <gouessej> Done: http://tuer.sourceforge.net/videos/Video20140524_152907_remuxed.mp4
[20:13] <gouessej> woof-woof, does it play correctly on your computer?
[20:15] <woof-woof> I will check it
[20:16] <gouessej> thanks
[20:16] <woof-woof> Downloading.. 59MB will take few minutes here.
[20:18] <c_14> gouessej: all 28 seconds play fine here
[20:21] <gouessej> thanks c_14. My machine is quite old, it was bought in 2005
[20:22] <gouessej> I'm under Mageia Linux 3, 32 bits.
[20:22] <gouessej> AMD Sempron 2600+
[20:23] <gouessej> I fear my version of ffmpeg is obsolete
[20:23] <gouessej> 1.1.8
[20:23] <c_14> That is rather old.
[20:26] <gouessej> Mageia Linux 4 uses ffmpeg 2.0.3. I have to upgrade. I hope it will solve my problem.
[20:44] <woof-woof> it plays fine here.
[00:00] --- Tue May 27 2014
1
0