Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
December 2015
- 1 participants
- 62 discussions
[02:12:38 CET] <cone-644> ffmpeg 03wanzhang 07master:9cc1e644f39e: ffplay: Fix auto insertion point of rotation filter
[12:27:36 CET] <cone-330> ffmpeg 03Michael Bradshaw 07master:99eabcdd5f90: avcodec: add OpenJPEG 2.x compatibility
[12:48:24 CET] <cone-330> ffmpeg 03Stefan Pöschel 07master:80508178e14f: doc/muxers/mpegts: update doc after adding flag to embed an AC-3/E-AC-3 ES the DVB way
[13:05:40 CET] <relaxed> ubitux: you mean they use faststart by default?
[13:05:49 CET] <ubitux> yes
[13:10:07 CET] <thresh> jfyi, I've ran git gc on ffmpeg.git, but somehow cdc285 is still reachable
[13:12:23 CET] <atomnuker> ...damnit kierank, this is might be even worse than leaving porn in the git repo
[13:13:33 CET] <thresh> git reflog show --all | grep cdc285 also shows zero results
[13:13:36 CET] <thresh> so I'm a bit puzzled
[13:17:47 CET] <atomnuker> git is serious business damnit, you break it or you dump your shit and you'll cause this kind of mess
[13:18:22 CET] <atomnuker> be more careful when pushing things next time
[13:18:48 CET] <atomnuker> hell, have 1 single directory which has the proper remote set to push
[13:20:07 CET] <atomnuker> just don't treat it like a joke, "oh I'll add another remote and push there, nothing bad will happen"
[13:22:50 CET] <thresh> I'll disable push/read access for a while for a more aggressive git gc
[13:25:06 CET] <atomnuker> it might be in the christmas spirit to forgive, kierank, but at least say you're sorry and that it won't happen again
[13:32:09 CET] <durandal_1707> how it is reachable?
[13:32:26 CET] <thresh> git show cdc285 says it's still there
[13:32:47 CET] <thresh> likely due to the fact that git gc prunes all commits that are > 2 weeks old
[13:33:45 CET] <nevcairiel> That's what I do, a separate directory with my push remote setup, and not anywhere else
[13:37:33 CET] <thresh> well git gc --agressive --prune=now didnt help in this case
[13:37:47 CET] <thresh> I'll try to explore this further when I have time
[14:23:01 CET] <cone-330> ffmpeg 03Paul B Mahol 07master:56c7d2b4dad3: avfilter: add high-order parametric multiband equalizer filter
[14:51:47 CET] <relaxed> I think Mahol's latest commit broke git (linux i386) http://pastie.org/pastes/10652141/text
[14:55:08 CET] <atomnuker> ping durandal_1707, I think you forgot to include "libavutil/libm.h"
[14:58:20 CET] <ubitux> michaelni: do you think fc09bf57a60d4c4a6d339b204b3282337067c06d might the cause of the regression in #4998?
[15:01:21 CET] <cone-330> ffmpeg 03Paul B Mahol 07master:c6e3b6a819a5: avfilter/af_anequalizer: use pow instead of exp10
[15:05:18 CET] <cone-330> ffmpeg 03Paul B Mahol 07master:c9b99494bed7: avfilter/af_anequalizer: make cliping filter type actually useful
[15:10:19 CET] <michaelni> ubitux, ive no way to really guess, anyhing could be it. Trial and error or bisection might be needed if guessing doesnt work
[16:47:47 CET] <atomnuker> oh wow, using range encoding with ffv1 saves quite a lot of space
[17:02:15 CET] <ubitux> so why is default "rice"?
[17:06:15 CET] <atomnuker> I guess it's for compatibility reasons (and maybe some performance reasons)
[17:06:56 CET] <atomnuker> you can't expect aliens who find the last human video archives to have a recent ffmpeg version
[17:10:14 CET] <JEEB> :D
[17:11:37 CET] <fritsch> lol
[17:16:16 CET] <nevcairiel> range probably needs a newer ffv1 profile then?
[17:56:05 CET] <cone-330> ffmpeg 03Reto Kromer 07master:b218ad462866: tools/bookmarklets: HTML code fixes
[18:26:39 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:5630ed5be64f: lavu/libm: misc, minor changes
[19:14:52 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:73616b1f21a7: lavu/libm,configure: remove exp10, exp10f detection
[19:14:53 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:11388b5a8f18: lavu/internal: add ff_exp10
[19:50:24 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:48cd3d233b36: lavc/libopusdec: replace pow(10,x) by ff_exp10(x)
[19:50:25 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:0e9fe3e3c9d2: lavu/eval: replace pow(10,x) by ff_exp10(x)
[19:50:26 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:86aa2e9f768b: lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
[19:50:27 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:e0024b9e5f5b: lavfi/f_ebur128: replace pow(10,x) by ff_exp10(x)
[19:50:28 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:6c360ca8a1d8: lavfi/af_volume: replace pow(10,x) by ff_exp10(x)
[19:50:29 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:421679dbf799: lavfi/af_compand: replace pow(10,x) by ff_exp10(x)
[19:50:30 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:cb3a994bb148: lavc/aacpsy: replace pow(10,x) by ff_exp10(x)
[19:50:31 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:b0e28da37cca: lavc/cngdec: replace pow(10,x) by ff_exp10(x)
[19:50:32 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:717eeb77e1d9: lavc/dcaenc: replace pow(10,x) by ff_exp10(x)
[19:50:33 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:26ac80d23540: lavc/imc: replace pow(10,x) by ff_exp10(x)
[19:50:34 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:5495c7f2a382: lavc/on2avc: replace pow(10,x) by ff_exp10(x)
[19:50:35 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:a0ea801dc39a: lavc/opus: replace pow(10,x) by ff_exp10(x)
[19:50:36 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:62765c0014bc: lavc/wmadec: replace pow(10,x) by ff_exp10(x)
[19:50:37 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:3343e4e6078c: lavc/wmaenc: replace pow(10,x) by ff_exp10(x)
[19:50:38 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:25ae086db2c1: lavc/wmaprodec: replace pow(10,x) by ff_exp10(x)
[19:50:39 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:0abdcae5a907: lavc/acelp_pitch_delay: replace exp2f(M_LOG2_10 *x) by ff_exp10f(x)
[19:51:02 CET] <Daemon404> what a christmas gift.
[20:42:41 CET] <ubitux> michaelni: confirmed to be a regression
[21:18:59 CET] <atomnuker> any way to transfer information from a demuxer to a decoder?
[21:19:11 CET] <atomnuker> outside of avctx fields
[21:22:24 CET] <Compn> side data / meta data ? or something else ?
[21:24:02 CET] <atomnuker> a single boolean variable that gets read by the demuxer
[22:05:59 CET] <nevcairiel> if it doesnt fit into any of the predefined properties, then sidedata
[22:14:02 CET] <cone-330> ffmpeg 03Ganesh Ajjanagadde 07master:f16e4a0857e3: ffplay: replace rint by lrint
[00:00:00 CET] --- Sat Dec 26 2015
1
0
[00:19:59 CET] <pinPoint> does anyone have any insights to how handbrake uses ffmpeg? like the behind the scene information, parameters, etc?
[00:21:22 CET] <pinPoint> oh also furq c_14 TD-Linux I have done some tests that took a couple days. Let me know what you think. http://wideopenbokeh.com/AthenasFall/?p=303
[00:52:45 CET] <who0> Hi guys, merry Xmas ;)
[00:53:04 CET] <waressearcher2> who0: hallo, whe geht's ?
[00:54:10 CET] <who0> sehr gut :)
[00:54:56 CET] <waressearcher2> so süß
[00:55:24 CET] <who0> I'm trying to add a png into and mp4 with ffmpeg (it's too easy with itunes)
[00:56:13 CET] <who0> (ok special hobbie for xmas)
[00:56:24 CET] <poseidon1157> It's wie gehts I believe
[00:56:31 CET] <poseidon1157> whe is phonetic
[00:57:22 CET] <rjp421> how do i make ffmpeg listen on 0.0.0.0:1234 instead of localhost:80 when encoding to mjpeg?
[00:57:57 CET] <who0> I've completely forgot my german lessons ;)
[00:58:41 CET] <poseidon1157> Anyone know how to edit a manifest.xml file to point to local files?
[00:58:53 CET] <poseidon1157> I have moof/dat files that I'd like to reassemble
[00:59:13 CET] <poseidon1157> I keep getting errors from vlc
[00:59:43 CET] <poseidon1157> "File reading failed
[00:59:43 CET] <poseidon1157> VLC could not open the file "<path>/Fragments(video=0)150000(null)0(null)" (No such file or directory)."
[01:00:03 CET] <poseidon1157> Not sure where it's getting 150000 . . . from
[01:01:05 CET] <waressearcher2> so viele Fragen
[01:01:17 CET] <waressearcher2> I habe echt keine Ahnung
[01:02:10 CET] <waressearcher2> Äh, 'tschuldige
[01:09:53 CET] <t4nk896> Asked this question awhile ago, no responce.
[01:09:54 CET] <t4nk896> What should be to blame if the audio through a stream is skipping badly. YTDL-CORE, ffmpeg, or my internet?
[01:49:07 CET] <Fusl> hey everyone, i'm currently trying to switch over from handbrake (osx) to ffmpeg (linux) and try to get the same results as i get on handbrake. for video this is fine, but i'm having issues with aac audio encoding (ffmpeg having worse quality though using the same CBR settings)
[01:49:42 CET] <Fusl> i made the audio streams of both encoding results visible and i can see a large quality difference between handbrake: https://scr.meo.ws/snapshot/2015-12-25-01-46-39-irrOb2oe.png
[01:49:49 CET] <Fusl> and ffmpeg: https://scr.meo.ws/snapshot/2015-12-25-01-45-52-wKDfjafk.png
[01:50:16 CET] <Fusl> the settings i'm using are -i input.mkv -map 0 -t 120 -c:v h264 -vf scale="1280:trunc(ow/a/2)*2" -crf 20 -c:a aac -b:a 256k output.mkv
[01:50:40 CET] <Fusl> ffmpeg version N-77432-gc0f67e1
[02:15:10 CET] <wuqiong> hi, everybody, Merry Christmas
[05:44:28 CET] <TD-Linux> pinPoint, looks pretty reasonable, the results aren't surprising which is good
[05:47:48 CET] <pinPoint> excellent
[06:17:02 CET] <wt> Is it possible to specify all commandline args by a file instead of on the commandline? I would like to prevent my streaming password from being in the ps output.
[06:29:59 CET] <rjp421> how do i make ffmpeg listen on 0.0.0.0:1234 instead of localhost:80 when encoding to mjpeg?
[07:58:52 CET] <roger21> hey
[07:59:09 CET] <roger21> noob question i guess
[07:59:34 CET] <roger21> is it possible to increase the volume of an audio file
[08:00:55 CET] <roger21> without making it overload
[08:01:23 CET] <roger21> like the file is both low and loud
[08:01:52 CET] <roger21> making it les low when it's low but not more louder when it is already loud
[09:40:08 CET] <prelude2004c> happy holidays everyone.. and christmas for those that celebrate it :)
[10:24:22 CET] <Opcode90> i think im must be the only idiot that bout myffmpeg
[10:24:36 CET] <Opcode90> it was harder to understand then the command lines to me
[10:24:48 CET] <Opcode90> bought even
[10:26:02 CET] <tdr> :)
[10:26:10 CET] <Opcode90> give me a good bat file for any given task, and im happy properly named for its task
[10:26:50 CET] <Opcode90> I espescially love ffmpeg for switching containers
[10:27:24 CET] <Opcode90> Its not so bad for cutting and editing peices of a movie or chopping a little here and ther off
[10:29:01 CET] <Opcode90> I did find it a pain that you can cut off black bars i think its right and left but top and bottom you have to re-encode. If i remeber correctly , each time you re-encode theres quality loss even with some of the more lossless codecs
[10:31:10 CET] <Opcode90> I own Pavtools everything they make, i bought, I own winx converters, somehow i still find myself using that silly freemake converter to chop off bars that ffmpeg requires re-encode on.
[10:31:52 CET] <Opcode90> And yeah you have to be a donator to get that ability about 10 bux i think.
[10:33:07 CET] <Opcode90> Crop is a beautiful word, but it involves re-encoding, which i avoid when i can.
[10:35:24 CET] <Opcode90> The only time i like to re-encode is if im useing NeatVideo filter in Sony Vegas or its lesser counter part which i paid for both the Sony one Steam sells for 99 bux with 2 other progs audio related. To clean video up take out granular snow.
[10:35:46 CET] <Opcode90> Some movies they put it in on purpose like Black Swan.
[10:36:29 CET] <Opcode90> I took it out, i have come to have a keen eye for video, i dont like snow even if the director wants it there.
[10:36:49 CET] <Opcode90> Another I can think of is a kind of bbc Movie Awakenings.
[10:37:36 CET] <Opcode90> Also, even the movie War of the Worlds had to much video noise for me,
[10:37:42 CET] <Opcode90> I cleaned it up
[10:37:59 CET] <Opcode90> thats the new one with Tom Cruise.
[10:38:52 CET] <Opcode90> The NeatVideo Filter costs about 99 bux
[10:39:29 CET] <Opcode90> THe cheapest worthwile non mac software is a Sony Editing prog but look at the support list if you are interested.
[10:40:32 CET] <Opcode90> and I think I've been as off topic as i could possibly be.
[10:40:43 CET] <Opcode90> Merry Hannakuh.
[10:40:57 CET] <Opcode90> Past.
[10:43:17 CET] <Opcode90> Even though I feel Christmas is a roman pagan date of old 1000 years of worship, Merry Christmast to those that love and worship Yeshua, Jesus Christ.
[15:47:49 CET] <el_juliano> I have a .opus (audio) and a .mp4 (video only) file and I want to merge them. What is the command to do so?
[15:49:16 CET] <relaxed> ffmpeg -i audio.opus -i video.mp4 -map 0 -map 1 -c copy out.mp4
[15:50:04 CET] <el_juliano> thank you very much :)
[15:50:05 CET] <relaxed> that assumes video.mp4 only contains video. If not, change -map 1 to -map 1:v
[15:50:22 CET] <el_juliano> okay thanks
[15:51:02 CET] <who0> I'm trying to add a png into and mp4 with ffmpeg (it's too easy with itunes)
[15:51:31 CET] <relaxed> cover art?
[15:51:39 CET] <JEEB> el_juliano: opus in mp4 hasn't been standardized (yet) so that copying thing won't gonna fly most probably :P
[15:51:48 CET] <el_juliano> I have a general problem with the command line. What do I do when a file has spaces in its name?
[15:52:10 CET] <relaxed> el_juliano: use quotes
[15:52:20 CET] <relaxed> JEEB: which container does?
[15:52:28 CET] <who0> yep cover art
[15:52:30 CET] <JEEB> matroska kind of does, as well as mpeg-ts
[15:52:35 CET] <el_juliano> JEEB: okay then I will download the audio file in another codec
[15:53:16 CET] <relaxed> change out.mp4 to out.mkv
[15:53:51 CET] <who0> I'm trying .. -i file.png -map 1:0 -c:v:2 png | but no attached_pic
[15:56:48 CET] <el_juliano> relaxed: will the audio codec stay opus and the video codec will be which codec? (when doing "out.mkv")
[15:57:27 CET] <JEEB> if it's still copy then the video and audio formats won't change
[15:57:40 CET] <JEEB> it's just the container that will change
[15:57:46 CET] <el_juliano> ah okay thanks
[15:59:14 CET] <el_juliano> but the thing with the quotation marks because of the spaces in the filenames is a bit confusing to me. when the filename is: file number 6 for example then I must type file number 6 or what?
[15:59:48 CET] <JEEB> it depends on what OS and what terminal you're using :P
[16:00:20 CET] <JEEB> on windows it's generally "" quotes, on linux you can either escape them or use double or single quotes
[16:00:27 CET] <el_juliano> I am using Manjaro (Arch) Linux and the LXTerminal for lxde desktop environment
[16:00:45 CET] <JEEB> check which shell you're using and start learning of it :)
[16:00:53 CET] <el_juliano> escape them? I don't understand
[16:01:17 CET] <relaxed> or use bash's tab completion
[16:01:47 CET] <JEEB> This\ is\ a\ string\ with\ many\ spaces\:P
[16:02:43 CET] <JEEB> anyways, if it's bash there's http://www.tldp.org/LDP/Bash-Beginners-Guide/html/
[16:03:43 CET] <el_juliano> okay thanks. for now I will just change all the spaces to _ with my file manager :p
[16:04:15 CET] <relaxed> el_juliano: http://mywiki.wooledge.org/BashGuide/Practices#Quoting
[16:05:17 CET] <who0> I found some tips for mp3 and covertart / but none for video :(
[16:12:18 CET] <el_juliano> can anyone pleae take a look at that: http://pastebin.com/DighVc5g
[16:13:18 CET] <relaxed> .wmv isn't going to work, use .mkv
[16:13:42 CET] <fritsch> "sudo"?
[16:13:59 CET] <who0> for more power ;)
[16:15:16 CET] <el_juliano> oh I messed up :p I confused wmv and mkv...
[16:15:40 CET] <el_juliano> and sudo because at the end there was something like "operation not permitted" therefore i tried with sudo
[16:18:12 CET] <el_juliano> that worked perfectly thank you very much guys! :)
[16:18:29 CET] <who0> no clues with my cover art ? ;)
[16:19:19 CET] <relaxed> who0: which container are targeting?
[16:19:42 CET] <who0> mp4 (for >ipad)
[16:20:16 CET] <relaxed> I don't think the supports there for it.
[16:22:42 CET] <who0> ;(
[16:24:39 CET] <relaxed> who0: looks like other muxers can, though. http://stackoverflow.com/questions/17798709/ffmpeg-how-to-embed-cover-art-i…
[16:27:29 CET] <who0> itunes add it, I don't think that is pure magic. There is a new stream with Video:png (and the stream conatain 1 frame)
[16:28:55 CET] <who0> Yep, It's seam to ... I would to use only ffmpeg ;)
[16:31:39 CET] <rjp421> how do i make ffmpeg listen on 0.0.0.0:1234 instead of localhost:80 when encoding to mjpeg?
[16:41:45 CET] <who0> AtomicParsley works fine
[17:35:23 CET] <dusted> Is there a way to get ffmpeg to drop frames when live-streaming, if some condition is met ? (I imagine the input buffer reaching a certain number of frames) ?
[19:10:39 CET] <aiena> how do I convert an mp2 file to mp3
[19:11:43 CET] <JEEB> you generally don't want to, unless you can't play the audio unless it's in that format. because you'd have to re-encode mp2 (lossy) to another lossy format (mp3)
[19:41:09 CET] <aiena> JEEB: true but i think something is wrong with the file likely orrupt
[19:41:16 CET] <aiena> as ffmpeg states invalid data
[19:42:56 CET] <dystopia_> i would go to aac
[19:43:03 CET] <dystopia_> instead of mp3
[19:43:47 CET] <dystopia_> demux it with ffmpeg
[19:43:53 CET] <dystopia_> ffmpeg -i input.whatever -map 0:1 -acodec copy -vn out.mp2
[19:44:07 CET] <dystopia_> then encode with nero's aac encoder, or with qaac encoder
[19:45:12 CET] <dystopia_> qaac64.exe out.mp2 -a 128 --adts -o out.aac
[19:46:25 CET] <dystopia_> then remux audio and encoded video with ffmpeg
[19:46:52 CET] <dystopia_> ffmpeg -i out.aac -i out.mp4 -map_metadata -1 -acodec copy -vcodec copy ffmpeg_out.mp4
[19:47:12 CET] <dystopia_> or .mkv or whatever container you use
[19:48:41 CET] <aiena> huh weird
[19:48:48 CET] <aiena> mplayer can play the file
[19:49:04 CET] <aiena> but ffpmeg reads the file as invalid data
[19:49:15 CET] <dystopia_> ok
[19:49:22 CET] <aiena> what could cause this
[19:49:23 CET] <dystopia_> just encode your video
[19:49:28 CET] <dystopia_> then remux the source audio
[19:49:35 CET] <aiena> its only an audio piece
[19:49:36 CET] <dystopia_> possible the source of your file
[19:49:49 CET] <dystopia_> did you get it from some wierd back haul feed?
[19:49:50 CET] <aiena> wanted to convert it to mp3 because vlc would not play it
[19:54:42 CET] <JEEB> aiena: what does ffmpeg/ffprobe output for it? (in a pastebin, preferably)
[19:57:13 CET] <aiena> http://paste.opensuse.org/view/simple/91982122
[19:57:26 CET] <aiena> but that is on a freinds computer
[19:57:34 CET] <aiena> on my ffmpeg same output
[20:00:32 CET] <JEEB> I thought your issue was with the original file?
[20:05:03 CET] <aiena> yes
[20:05:06 CET] <aiena> I have the same file
[20:05:09 CET] <aiena> same issue
[20:05:14 CET] <aiena> I asked him to give it to me
[20:05:26 CET] <aiena> so i could test it he just migrated from windolws to linux
[20:05:31 CET] <aiena> same error on my pc
[20:05:37 CET] <aiena> windows
[20:05:54 CET] <dystopia_> the input file there is already mp3
[20:06:08 CET] <dystopia_> ffmpeg -i ./Nemo.mp3
[20:06:19 CET] <aiena> hmm mp3 is the file extension
[20:06:37 CET] <aiena> but vlc reported codec a mp2 i think
[20:06:42 CET] <aiena> and wouldnt play it
[20:06:53 CET] <aiena> how do I know what the file extension really is
[20:06:56 CET] <JEEB> sounds like something is throwing stuff off
[20:07:07 CET] <JEEB> well the extension is what it is, but what's really in there is a separate discussion :P
[20:07:14 CET] <fritsch> let's guess
[20:07:16 CET] <aiena> indeed
[20:07:22 CET] <aiena> i found this file weird
[20:07:24 CET] <fritsch> i guess: a proprietary song from itunes
[20:07:37 CET] <JEEB> well if mplayer could play it...
[20:07:41 CET] <JEEB> that's not likely
[20:07:47 CET] <fritsch> it does?
[20:07:54 CET] <aiena> mplayer's libmad plays it with it mpeg library
[20:07:57 CET] <fritsch> then ffprobe would be nice to know
[20:08:00 CET] <JEEB> < aiena> mplayer can play the file
[20:08:21 CET] <dystopia_> can you open the file in media info
[20:08:38 CET] <aiena> in media info as in
[20:08:43 CET] <dystopia_> and then do view -> text and spam the output on pastebin
[20:08:50 CET] <aiena> didnt get you is media info a binary
[20:08:50 CET] <dystopia_> the program called "media info"
[20:09:01 CET] <aiena> hmm I am on linux is it a linux program
[20:09:10 CET] <JEEB> it can be gotten on most distros
[20:09:11 CET] <aiena> you were giving windows references last time i think
[20:09:14 CET] <dystopia_> https://mediaarea.net/en/MediaInfo
[20:09:14 CET] <aiena> ok
[20:09:15 CET] <JEEB> it's also a cli program
[20:09:17 CET] <dystopia_> oh
[20:09:21 CET] <fritsch> opensuse should provide it
[20:09:27 CET] <dystopia_> sorry im a windows user
[20:09:30 CET] <dystopia_> :p
[20:09:37 CET] <dystopia_> but would still be intrested in the output
[20:09:39 CET] <fritsch> yeah - but mediainfo also exists there
[20:09:40 CET] <aiena> looking at it
[20:10:24 CET] <JEEB> anyways, mediainfo has its flaws (in many cases more than libavformat/-codec), but it's another case of checking things out. also ffprobe with defining the input format as mp2 with "-f mp2" could be interesting
[20:10:29 CET] <aiena> ok spamming the result one sec
[20:10:32 CET] <JEEB> nonono
[20:10:34 CET] <aiena> getting the package installed
[20:10:34 CET] <JEEB> pastebin
[20:10:36 CET] <JEEB> always pastebin
[20:10:40 CET] <aiena> lol
[20:10:46 CET] <aiena> spamming the result not here
[20:10:54 CET] <aiena> I dont want to get banned or inconvieneice folks
[20:11:03 CET] <aiena> spamming in irc may be ok in a PM max
[20:12:14 CET] <aiena> hmm it is am mp3 file
[20:12:21 CET] <aiena> as per media info
[20:12:28 CET] <aiena> and urther encoded in lame
[20:12:34 CET] <aiena> huh why cant ffmpeg pick it up
[20:12:49 CET] <JEEB> so ffprobe can't say anything?
[20:12:54 CET] <JEEB> if you poke it with it?
[20:12:56 CET] <aiena> http://paste.opensuse.org/42cbdce6
[20:13:35 CET] <aiena> no
[20:13:49 CET] <aiena> if I just say ffprobe /path/to/file
[20:14:14 CET] <JEEB> you can make a bug report with it on the trac, I guess there's either a) garbage stuff in the file or b) the mpeg-1 layer 3 parser has a boog
[20:14:34 CET] <JEEB> I'm so happy that we mostly stopped using raw bit streams after MPEG-1 Layer 3 :P
[20:14:39 CET] <aiena> JEEB: http://paste.opensuse.org/view/raw/2a567d3e
[20:14:58 CET] <JEEB> yeah, I recommend making a bug report on trac and attaching that as sample
[20:15:33 CET] <aiena> ok only issue is I dont know from where my freind got that mp3 from
[20:15:50 CET] <aiena> just that the output of ffmpeg intrigued me enough to inspect it more
[20:16:00 CET] <aiena> because ffmpeg is amazing otherwise
[20:16:08 CET] <JEEB> you can dd the first 500KiB or so?
[20:16:13 CET] <JEEB> see if that also makes it happen
[20:16:15 CET] <aiena> is that enough
[20:16:18 CET] <aiena> for analysis
[20:16:21 CET] <JEEB> if the same thing happens, yes
[20:16:33 CET] <aiena> hmm
[20:16:46 CET] <aiena> dont know how to do dd like that
[20:17:07 CET] <aiena> dd if=foo.mp3 of=op.mp3 bs=4M
[20:17:18 CET] <aiena> and what else to limit it to first 500 k
[20:17:32 CET] <JEEB> yeah, you will have to set bs to 500KiB, don't remember the suffix for that
[20:17:33 CET] <aiena> i've normally only dd'd isos etc
[20:17:35 CET] <JEEB> and then count=1
[20:17:42 CET] <aiena> k
[20:17:44 CET] <JEEB> that way it takes bs * 1
[20:17:52 CET] <aiena> count=1 is ewhat i wanted to know
[20:18:04 CET] <aiena> or I could upload first one mb
[20:18:11 CET] <aiena> guess id3 tag will go in the process
[20:18:53 CET] <JEEB> just make sure the sample makes it happen as well
[20:19:03 CET] <JEEB> if it's replicate'able, it's good
[20:19:31 CET] <JEEB> preferably not only the PNG stuff but also some audio samples, too
[20:20:10 CET] <newbie|4> sorry got disconnected
[20:20:20 CET] <JEEB> 21:19 < JEEB> just make sure the sample makes it happen as well
[20:20:20 CET] <JEEB> 21:19 < JEEB> if it's replicate'able, it's good
[20:20:20 CET] <JEEB> 21:20 < JEEB> preferably not only the PNG stuff but also some audio samples, too
[20:20:48 CET] <newbie|4> JEEB: it is an audio file
[20:20:53 CET] <newbie|4> no video content in it
[20:21:02 CET] <newbie|4> dont know what you mean by PNG stuff
[20:21:24 CET] <fritsch> there is a cover in the file
[20:21:39 CET] <fritsch> now do the dd command he said and upload that somewhere, please
[20:21:41 CET] <aiena> yes
[20:21:45 CET] <aiena> sure
[20:24:07 CET] <aiena> can you'll file the bug report I'll upload the file
[20:24:17 CET] <aiena> made a 1mb sample mediainfo, file plays back
[20:24:45 CET] <aiena> hmm wait
[20:26:13 CET] <aiena> JEEB: here https://drive.google.com/file/d/0B3pPXUAP0TBMR3E4OWhrMWc1MnM/view?usp=shari…
[20:27:53 CET] <aiena> yup and ffpprobe gives same output on 1mb sample
[20:28:07 CET] <aiena> can you'll file the bug report
[20:28:11 CET] <aiena> need to sleep
[20:28:16 CET] <aiena> merry christmas
[20:36:24 CET] <Sorunome> Hey, I have this issue: I have this 12h long input video at 25FPS and I want to speed it up to about 6-7min, 60FPS. For that I used `ffmpeg -i paint_full_nosound.mkv -vf "setpts=(1/100)*PTS" -r 60 paint_speed.mkv` but the output file is invalid, as in, VLC isn't able to play back the output, if i put it into my video editor it crashes. So, is that the correct way to speed up a vid? Am I doing something wrong?
[20:53:14 CET] <tmm1> is there a send_field equivalent for the deinterlacers in libpostproc?
[22:09:24 CET] <Muessigb> hello!
[22:09:39 CET] <Muessigb> i have a video file that has a broken start segment
[22:09:53 CET] <Muessigb> it is reported to be 25 hours long
[22:09:55 CET] <Muessigb> but its not
[22:10:05 CET] <Muessigb> its 1h 16 min and 01 secs long
[22:10:21 CET] <Muessigb> when playing it in vlc it starts at 25h 14m 52s
[22:10:30 CET] <Muessigb> is there any way to fix this with ffmpeg
[22:10:58 CET] <Muessigb> the file plays correctly, but is there a way to skip the beginning until vaild video is found?
[22:11:49 CET] <JEEB> you could try remuxing it with various tools
[22:12:42 CET] <Muessigb> yes
[22:12:51 CET] <Muessigb> is it possible with ffmpeg?
[22:13:01 CET] <Muessigb> to skip the broken beginning
[22:13:06 CET] <Muessigb> the file plays fine in ffplay
[22:13:21 CET] <Muessigb> but when supplying it to ffmpeg, it dies
[22:13:30 CET] <Muessigb> "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
[22:13:48 CET] <Muessigb> i supplied the bare minimum to convert it to mp4
[22:13:58 CET] <Muessigb> i dont really care about the codec right now
[22:14:03 CET] <Muessigb> currently its MPEG
[22:14:14 CET] <Muessigb> mpeg2video ac3 audio
[22:14:23 CET] <Muessigb> i just want to fix the file
[22:14:28 CET] <Muessigb> then i can do the rest easily
[22:15:07 CET] <JEEB> ffmpeg -i input -map 0:v -map 0:a -c copy out.ts
[22:15:08 CET] <JEEB> try this
[22:15:18 CET] <JEEB> although it might copy out the broken stuff as well
[22:15:47 CET] <JEEB> for MPEG-TS or PS I might even recommend a hex editor / dd if you know exactly where the good samples start
[22:17:17 CET] <Muessigb> hmm
[22:17:18 CET] <Muessigb> Could not write header for output file #0 (incorrect codec parameters ?): Error number -22 occurred
[22:18:41 CET] <Muessigb> i originally created this 1:1 dvd copy with vlc
[22:18:48 CET] <Muessigb> i hope its not lost :(
[22:19:32 CET] <Muessigb> be back soon
[22:23:26 CET] <waressearcher2> Frohe Weihnachten
[23:31:00 CET] <rjp421> how do i make ffmpeg listen on 0.0.0.0:1234 instead of localhost:80 when encoding to mjpeg?
[23:31:41 CET] <waressearcher2> wirklich ?
[00:00:00 CET] --- Sat Dec 26 2015
1
0
[00:00:16 CET] <J_Darnley> Well it wasn't in my old cygwin dir. Lets try my older backups
[00:05:07 CET] <J_Darnley> Oh my. Look at all that unfinished work.
[00:06:08 CET] <tmm1_> lol
[00:09:12 CET] <rcombs> <@BtbN> libyami itself copies the frame, again. No wonder it's horribly slow.
[00:09:18 CET] <rcombs> BtbN: ^ where's the bit that does this?
[00:16:54 CET] <J_Darnley> tmm1_: I couldn't find it, sorry.
[00:17:04 CET] <tmm1_> J_Darnley: no worries, thanks for looking
[00:17:30 CET] <J_Darnley> I suggest you unroll, by hand, the various macros in the C version and see what they're doing.
[00:19:42 CET] <J_Darnley> I'm going to do the same and try to recreate what I think I drew.
[00:28:05 CET] <J_Darnley> Oh I think I remember now. I think it was on a scrap of paper!
[00:32:29 CET] <nevcairiel> JEEB: I'll probably look into merging the remaining patches from libav after the holidays
[00:34:13 CET] <JEEB> ok, so if I want to post a patch in the mean time I could do that instead of reworking it to use the new libav thingamajigs instead of the lavc context from a muxer?
[01:25:49 CET] <J_Darnley> tmm1_: This is roughly what I had down on paper: http://users.telenet.be/darnley/ffmpeg/yadif.png
[01:26:33 CET] <J_Darnley> That is the main spatial check hidden in the CHECK macro
[01:27:38 CET] <tmm1_> interesting
[01:28:19 CET] <J_Darnley> Briefly put the score is the sum of the absolute differences represented by the red lines
[01:31:22 CET] <J_Darnley> I should have a more verbose text file following soon.
[01:32:12 CET] <tmm1_> cheers
[02:19:16 CET] <J_Darnley> tmm1_ http://users.telenet.be/darnley/ffmpeg/yadif.txt
[02:19:41 CET] <J_Darnley> (It is really a C file but I couldn't be bothered renaming it after I added the code.
[02:19:47 CET] <J_Darnley> )
[02:21:33 CET] <J_Darnley> :qall
[02:21:50 CET] <J_Darnley> :) wrong window
[02:38:34 CET] <tmm1_> J_Darnley: this is great, thanks!
[02:51:50 CET] <cone-721> ffmpeg 03Stefan Pöschel 07master:470749703e3c: avformat/mpegtsenc: add flag to embed an AC-3/E-AC-3 ES the DVB way
[05:25:27 CET] <kierank> any ideas why this crashes http://pastie.org/private/vm3emeqh1hlzwobeq2z6da
[05:25:30 CET] <kierank> works fine with one table
[05:25:34 CET] <kierank> but reuse causes a problem
[05:28:02 CET] <kierank> michaelni: ping ^
[05:28:04 CET] <kierank> vlc code stuff
[05:53:57 CET] <rcombs> BtbN: ~poke~
[11:47:30 CET] <michaelni> kierank: unrelated to the crash but int16_t new_cfhd_vlc_level[NB_VLC_TABLE_18 * 2];24 <-- the 24 shouldnt be there
[11:48:19 CET] <kierank> Yes saw that
[17:06:24 CET] <cone-007> ffmpeg 03James Almer 07master:ce4c85de6a40: x86/vf_maskedmerge: make ff_maskedmerge8_sse2 work on x86_32
[17:06:25 CET] <cone-007> ffmpeg 03James Almer 07master:0988c68cf9cd: x86/vf_blend: simplify using macros
[17:06:26 CET] <cone-007> ffmpeg 03James Almer 07master:02f428051a41: x86/vf_blend: make all functions work on x86_32
[17:06:27 CET] <cone-007> ffmpeg 03James Almer 07master:8dba3fb8fdcf: x86/vf_blend: add sse2 versions of blend_difference and blend_negation
[17:24:21 CET] <tapas_> i want to see how ffmpeg is autthenticating with rtmp server. how do i enable log for that ?
[18:22:41 CET] <Daemon404> you must really enjoy pain, ubitux
[18:54:53 CET] Action: TD-Linux is still mad about SanDisk ruining their Clip line with the Sport and Jam
[18:58:24 CET] <_6U54N0_> http://pastebin.com/mGxciMCJ
[19:00:33 CET] <cone-007> ffmpeg 03Paul B Mahol 07master:8cbb055760c7: avfilter/af_sofalizer: make virtual speaker positioning supports all channel layouts
[19:04:53 CET] <ubitux> Daemon404: re: srt? :)
[19:13:55 CET] <Daemon404> yes
[19:19:16 CET] <rcombs> BtbN: _poke_
[19:19:27 CET] <ubitux> well, if you look closely, you'll notice there isn't that much code
[19:19:44 CET] <ubitux> it's just about taking the good design decision
[19:19:49 CET] <ubitux> and know what to expect
[19:20:09 CET] <ubitux> anyway, i think this last iteration should solve a bunch of issues
[19:20:21 CET] <ubitux> rcombs: what happened to the ass stuff
[19:20:22 CET] <ubitux> ?
[19:20:36 CET] <rcombs> ubitux: all sitting around if you want it
[19:20:44 CET] <ubitux> well, why not push it?
[19:22:31 CET] <rcombs> which bits, I have like 4 ass-related patches
[19:22:43 CET] <rcombs> and have lost track of what complaints people had
[19:23:09 CET] <rcombs> (this is where something like GH pull requests would be useful)
[19:23:46 CET] <ubitux> i don't know :)
[19:24:17 CET] <rcombs> clearly I should send everything again
[19:26:28 CET] <cone-007> ffmpeg 03Paul B Mahol 07cfhd:HEAD: avfilter/af_sofalizer: make virtual speaker positioning supports all channel layouts
[19:27:03 CET] <ubitux> rcombs: and submit samples :p
[19:28:50 CET] <rcombs> good plan
[19:29:17 CET] <ubitux> why am i just notified about a commit in a (now inexistant) "cfhd" branch on ffmpeg-cvslog?
[19:29:22 CET] <ubitux> ^ kierank
[19:29:43 CET] <kierank> wtf
[19:30:04 CET] <ubitux> or is it an hidden branch?
[19:30:14 CET] <kierank> not meant to be anything
[19:30:28 CET] <kierank> or even meant to be pushed
[19:30:44 CET] <ubitux> seems to be readable from git.videolan.org somehow
[19:30:46 CET] <ubitux> Merge branch 'cfhd' of https://github.com/kierank/ffmpeg-cfhd into cfhd
[19:30:50 CET] <ubitux> :p
[19:30:53 CET] <kierank> where, how?
[19:31:10 CET] Action: kierank wonders what he did to cause that
[19:31:13 CET] <ubitux> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cdc285357f8a6abcf…
[19:31:19 CET] <ubitux> started from here
[19:31:26 CET] <ubitux> then went back to "parent"
[19:31:46 CET] <ubitux> but i don't see the branch in the list
[19:31:51 CET] <kierank> I don't know what I did
[19:32:18 CET] <ubitux> http://ubitux.fr/pub/pics/cfhd-kierank-cvslog.png
[19:32:25 CET] <ubitux> basically just got this
[19:32:43 CET] <kierank> pushed to git.vo by accident I guess
[19:32:50 CET] <kierank> but it's not there
[19:32:51 CET] <ubitux> but it's not visible
[19:32:54 CET] <ubitux> yeah
[19:32:56 CET] <ubitux> :D
[19:33:42 CET] <kierank> Twas the night before christmas and kierank broke git
[19:34:20 CET] <JEEB> :D
[19:38:10 CET] <bencoh> :D
[19:43:07 CET] <jamrial> kierank: git push -n is your friend :P
[19:44:38 CET] <kierank> kieran@ubuntu:~/ffmpeg$ git push origin --delete cfhd -n
[19:44:39 CET] <kierank> error: unable to delete 'cfhd': remote ref does not exist
[19:44:39 CET] <kierank> error: failed to push some refs to 'git@source.ffmpeg.org:ffmpeg'
[19:45:51 CET] <jamrial> even if it existed, you can delete anything. you'd need to ask j-b for that
[19:45:55 CET] <ubitux> kierank: i'm wondering if videolan doesn't have a hook that delete the branch
[19:46:11 CET] <jamrial> *can't
[19:46:13 CET] <ubitux> and the mailer just got time to send one notification before it got trashed completely
[19:46:41 CET] <thresh> hey everyone
[19:46:54 CET] <thresh> please join me in shaming kierank
[19:47:03 CET] <kierank> yeah a lump of coal for me tomorrow
[19:47:30 CET] <thresh> also there seems to be a lot of unreachable objects in ffmpeg git repo, and in order to fix that, a manual git gc / git prune / git repack might be needed
[19:47:36 CET] <ubitux> haha
[19:47:43 CET] <ubitux> thresh: we noticed
[19:48:08 CET] <thresh> so I'm kind of asking if you want me to launch git gc to "fix" stuffs
[19:49:30 CET] <jamrial> while it prevent people from pushing while it's running? not eveyone that may push something is online here right now
[19:50:53 CET] <jamrial> *will
[19:52:22 CET] <thresh> oh, I have no idea. it should be fairly fast, though.
[19:53:19 CET] <ubitux> thresh: http://pastie.org/pastes/10651229/text
[19:53:25 CET] <ubitux> so what happened exactly?
[19:54:53 CET] <nevcairiel> Not like anyone is going to push right now, so feel free to gc it
[19:55:07 CET] <thresh> I'll do full backups first and I have to run now
[19:59:46 CET] <J_Darnley> lol, silly email "protection"
[20:31:19 CET] <cone-007> ffmpeg 03Ganesh Ajjanagadde 07master:26937fb416cd: swr/resample: use av_clip_int16 instead of av_clip
[20:58:19 CET] <cone-007> ffmpeg 03Michael Niedermayer 07master:052e692e85f5: avcodec/ac3dec: Print the value of out of range exponents
[20:58:20 CET] <cone-007> ffmpeg 03Michael Niedermayer 07master:4bec36f98c51: avformat/mpegts: consider stream_type 4 just a hint toward mp3 and not definite
[21:00:22 CET] <BtbN> rcombs, https://github.com/01org/libyami/blob/HEAD/vaapi/vaapiimage.cpp#L143
[21:00:56 CET] <BtbN> It also has to do that, as the data somehow has to get into the VAAPI Surface
[21:01:26 CET] <Daemon404> BtbN, that whole library reads so sloppy
[21:01:32 CET] <BtbN> another fun part I discovered is that libyami does not seem to support timestamps _at all_
[21:01:48 CET] <BtbN> While the input and output buffers do have a timeStamp field, the output timestamp is allways just 0
[21:02:03 CET] <BtbN> So there is absolutely no way to get any information about reordered frames or stuff
[21:02:10 CET] <Daemon404> BtbN, it's also missing a stupidly easy fats path
[21:02:15 CET] <BtbN> No idea how it should be possible to propperly use that library _at all_
[21:02:19 CET] <Daemon404> if srcstride == dststride -> memcpy whole thing
[21:02:35 CET] <Daemon404> unless it expects it to be zeroes
[21:02:36 CET] <Daemon404> or something
[21:02:53 CET] <BtbN> Well, VAAPI surfaces allways have a 32 byte alignment, so the dst stride basicaly never matches
[21:03:10 CET] <Daemon404> pretty sure we do 32 sometimes
[21:03:14 CET] <Daemon404> for some SIMD stuff
[21:03:20 CET] <Daemon404> avx was it?
[21:03:38 CET] <BtbN> In the current state, libyami is useless
[21:03:55 CET] <Daemon404> pretty sure j-b said somethign similar like 6 months ago
[21:03:58 CET] <BtbN> The only thing it might be usefull for is zero-copy transcoding, with both decoding and encoding happening in VAAPI Surfaces
[21:04:10 CET] <Daemon404> why use ffmpeg at all then
[21:04:16 CET] <BtbN> exactly
[21:04:46 CET] <BtbN> Anyway, I have a "working" libyami encoder here now: https://github.com/BtbN/ffmpeg/tree/yami
[21:04:54 CET] <BtbN> It's just missing one important part: Timestamps
[21:05:05 CET] <BtbN> Which libyami doesn't provide at all
[21:05:40 CET] <Daemon404> ... nice namespace for yami
[21:05:42 CET] <Daemon404> or lack thereof
[21:05:53 CET] <BtbN> exactly
[21:06:01 CET] <BtbN> it has a function which has the litteral symbol "encode"
[21:06:05 CET] <JEEB> lol
[21:06:19 CET] <JEEB> so that's what the earlier comments about such symbol were
[21:06:33 CET] <Daemon404> teh stuff about 'native display' is weird too
[21:06:37 CET] <Daemon404> for an encoder
[21:06:55 CET] <BtbN> Not realy, maps directly to VAAPI
[21:07:09 CET] <BtbN> https://github.com/01org/libyami/blob/master/capi/VideoEncoderCapi.h that's the entire encoding API. It's horrible.
[21:07:22 CET] <Daemon404> nice header name too
[21:07:31 CET] <Daemon404> generic name, no subfolder
[21:07:55 CET] <BtbN> And no pkg-config for that! I added that myself.
[21:09:00 CET] <rcombs> BtbN: ah, so no CPU->CPU internal copy, then
[21:09:14 CET] <BtbN> hm?
[21:09:31 CET] <rcombs> like, it doesn't memcpy() from one CPU-memory buffer to another
[21:09:45 CET] <BtbN> It would need some sse4 instructions to copy to the uswc vaapi buffer
[21:09:50 CET] <rcombs> just from the source buffer into a mapped GPU surface
[21:09:51 CET] <BtbN> In an efficient way
[21:09:55 CET] <BtbN> yes
[21:10:38 CET] <BtbN> It's so slow because plain memcpy into uswc memory is highly inefficient
[21:11:47 CET] <BtbN> But liyami is so bad that'd I'd prefer writing an encoder on top of plain vaapi for ffmpeg...
[21:11:58 CET] <BtbN> +b
[21:12:06 CET] <BtbN> And that's such a pain that I'd never do it.
[21:16:46 CET] <rcombs> well, shot off an email to my Intel contacts; maybe at least a few of those issues can be resolved
[21:20:09 CET] <Daemon404> IME nobody at intel knows anyone outside their area
[21:21:04 CET] <rcombs> and what area do you suppose I know people in :3
[21:21:13 CET] <Daemon404> ;p
[21:21:29 CET] <Daemon404> well intel also tends to have 5 teams doign similar things
[21:21:32 CET] <Daemon404> but not taling to eachother
[21:30:55 CET] <Mavrik> Sounds like a proper corporation.
[21:32:37 CET] <rcombs> BtbN: you mean SSE2 MOVNTDQ?
[21:33:16 CET] <BtbN> https://software.intel.com/en-us/articles/copying-accelerated-video-decode-…
[21:33:17 CET] <BtbN> MOVNTDQA
[21:33:23 CET] <rcombs> isn't that for loads?
[21:33:31 CET] <BtbN> You need both, load and store
[21:33:44 CET] <rcombs> ah
[21:34:03 CET] <BtbN> basicaly you create a 4K buffer, and load and store into and out of it
[21:34:18 CET] <BtbN> And that makes the CPU cache that 4K buffer, which in turn makes the copy fast
[21:34:48 CET] <BtbN> There's basicaly a finished copy-function in that article
[21:34:52 CET] <BtbN> using intrinsics though
[21:35:01 CET] <BtbN> But translating it to yasm wouldn't be too hard i think
[21:35:52 CET] <rcombs> that example seems to be for copying from a GPU USWC buffer to a CPU one, though, so more useful for decoding
[21:36:14 CET] <BtbN> I think it should work in both directions
[21:36:21 CET] <rcombs> does doing basically the same step backwards stillyeah
[21:36:26 CET] <rcombs> *steps
[21:36:57 CET] <rcombs> is MOVNTDQA still useful when the input is WB system memory, though?
[21:37:37 CET] <BtbN> No idea
[21:37:44 CET] <BtbN> Would propably need a benchmark
[21:38:04 CET] <BtbN> But it's libyami which should take care of that
[21:38:26 CET] <rcombs> yeah
[21:39:39 CET] <BtbN> It's so sad that there's great hardware acceleration for a lot of stuff in all intel CPUs
[21:39:44 CET] <BtbN> but it's basicaly useless on Linux
[21:39:49 CET] <BtbN> QSV is a bad joke
[21:40:07 CET] <BtbN> Patching your kernel just to use their patches libva, with another abstraction layer on top?
[21:40:10 CET] <BtbN> *d
[22:07:26 CET] <cone-007> ffmpeg 03Michael Niedermayer 07master:b83d8be6bff7: swscale/utils: Fix intermediate format for cascaded alpha downscaling
[22:30:16 CET] <nevcairiel> Is that kernel patch still required in recent kernels?
[22:30:26 CET] <BtbN> Yes, they never upstreamed it
[22:30:36 CET] <nevcairiel> But the dispatcher media sdk library is equally a joke on linux
[22:31:08 CET] <nevcairiel> It contains zero Linux support, which is why FFmpeg has a huge hack to interface with a VAAPI device
[22:31:38 CET] <BtbN> The QSV stuff in ffmpeg should propably never have received any linux support
[22:31:43 CET] <nevcairiel> That said, QSV doesn't even work well on Windows
[22:31:50 CET] <BtbN> Now people are actualy messing with it.
[22:31:56 CET] <BtbN> QSV works great for me on Windows.
[22:32:03 CET] <nevcairiel> (In general, not FFmpeg specific)
[22:32:20 CET] <BtbN> OBS also supports it, since quite a while. Never had any issues using it.
[22:32:23 CET] <nevcairiel> Not at all for me, encodes often stall and just stop
[22:32:38 CET] <nevcairiel> Msdk goes into some endless device busy loop
[00:00:00 CET] --- Fri Dec 25 2015
1
0
[04:28:15 CET] <x1> I intend to record high-quality screencasts over several hours without losing too much diskspace. How could I pick my codecs effectively?
[04:29:00 CET] <x1> My criteria are 1) lossless 2) comparitively modern 3) support only required for Linux machines
[04:35:38 CET] <jigg> use h264
[05:46:34 CET] <garth> I'm looking to do an intermediate encode of a mpeg2 source (yuv 4:2:0) with as little loss of quality as possible (disk space/access speed is no object), am I right to assume that yuv4 would be the best choice for the video codec? (I'm doing this as I have to use multiple aggressive filters and I'll end up encoding it in a lot of different formats/quality and I don't want to waste time with the filters processing)
[06:30:09 CET] <shibly> Hi, anyone there?
[06:32:07 CET] <shibly> I have a question, may i ask?
[06:32:53 CET] <llogan> shibly: don't ask to ask. just ask.
[06:33:42 CET] <shibly> Can anyone post a good link for ffmpeg c programming tutorial?
[06:33:49 CET] <shibly> ffmpeg programmin in C
[06:47:22 CET] <_6U54N0_> i am tryin to play a acc audio but, only get noise and distortion.
[06:47:22 CET] <_6U54N0_> i am using SDL_AudioSpec for sound device
[06:47:22 CET] <_6U54N0_> the mp3 and wav audio sound ok.
[06:47:50 CET] <_6U54N0_> i have tried with resample instructions too, but i get a error, Exception float point and my program die.
[06:48:24 CET] <_6U54N0_> my code base is this tutorial: http://dranger.com/ffmpeg/tutorial03.html
[06:48:24 CET] <_6U54N0_> i have made a little modifications to resample and convert audio into the audio_decode_frame() funtion
[06:48:46 CET] <_6U54N0_> this is the part of code where i made a modification to play a aac audio:
[06:48:46 CET] <_6U54N0_> http://pastebin.com/mGxciMCJ
[07:07:10 CET] <_6U54N0_> i am using ffmpeg 2.0.4 version from 2014
[07:10:07 CET] <thomedy> hello
[07:10:13 CET] <thomedy> is anyone working
[07:10:16 CET] <thomedy> im out of my depth
[07:10:20 CET] <thomedy> and google isn't doing much
[08:47:28 CET] <pinPoint> erm?
[09:04:41 CET] <thomedy> help please
[09:04:57 CET] <thomedy> i cant seem to figure out how to encode to avc1 and mpeg4
[09:08:32 CET] <t4nk896> What should be to blame if the audio through a stream is skipping badly. YTDL-CORE, ffmpeg, or my internet?
[09:35:40 CET] <thomedy> i have encoded into so many variations
[09:54:58 CET] <fritsch> thomedy: does it work if you download the file?
[10:01:27 CET] <thomedy> fritsch: are you still availabel to help?
[10:01:40 CET] <fritsch> if you answer my question
[10:01:51 CET] <fritsch> does the file work from local disk?
[10:01:52 CET] <thomedy> i have downloaded and run web
[10:02:00 CET] <thomedy> most have been my l ocal storage
[10:02:27 CET] <thomedy> i have tried encoding multiple variations and the closest i have come is aac and mp4v
[10:02:30 CET] <fritsch> so then, provide logfiles of ffplay / ffprobe and so on
[10:02:40 CET] <fritsch> does the original file work from local disk?
[10:02:40 CET] <thomedy> the only file that works right is aac and avc1
[10:02:58 CET] <thomedy> it plays i am just trying to step frame by frame through the vid with javvascript
[10:03:14 CET] <thomedy> and for some reason only that particular codecruns real time
[10:03:27 CET] <fritsch> so you live encode?
[10:03:32 CET] <fritsch> I don't get your usecase yet
[10:03:36 CET] <fritsch> you stream?
[10:03:44 CET] <thomedy> here watch this one sec
[10:03:52 CET] <fritsch> try to describe your use case and what you are doing ....
[10:04:05 CET] <fritsch> looking at resulting files is worthless if one does not know what you do
[10:04:51 CET] <thomedy> okay my use case is very specific....
[10:04:56 CET] <thomedy> i have a website im buildin
[10:05:11 CET] <thomedy> the desin incorporates a video paused
[10:05:28 CET] <thomedy> and then as i scroll left or right it either moves forward frame by frame or backwards
[10:05:50 CET] <thomedy> i can only iterate through one type of video
[10:05:52 CET] <fritsch> so you "seek frame wise"?
[10:06:04 CET] <thomedy> yyes
[10:06:07 CET] <fritsch> hehe
[10:06:19 CET] <fritsch> try mjpeg codec
[10:06:21 CET] <fritsch> just for fun
[10:06:35 CET] <thomedy> oh my god i hope your right
[10:06:36 CET] <thomedy> one sec
[10:06:58 CET] <fritsch> you know h264 and such have reference frames
[10:07:06 CET] <fritsch> that are needed in forward and backward direction
[10:07:14 CET] <fritsch> to properly decode something
[10:07:41 CET] <fritsch> and what about the audio?
[10:07:49 CET] <fritsch> how is that related?
[10:08:23 CET] <thomedy> i dont know if it is
[10:08:27 CET] <fritsch> "moves backward" frame by frame ... moving backward is hard for a hw decoder
[10:08:35 CET] <thomedy> logically i would say it isn't but i want to start one step at a time
[10:08:38 CET] <thomedy> with a working model
[10:08:41 CET] <thomedy> its muted anyway
[10:08:46 CET] <thomedy> and i think its aac
[10:08:49 CET] <fritsch> yeah don't unmute it
[10:08:54 CET] <thomedy> nope
[10:08:56 CET] <thomedy> not at all
[10:09:00 CET] <thomedy> its purly visual
[10:09:17 CET] <thomedy> but what ever variable that i can match i just want a working verison
[10:09:25 CET] <thomedy> i know my fps is 29.97
[10:09:33 CET] <thomedy> and i hae test ed that
[10:09:43 CET] <fritsch> 29.97 sounds interlaced
[10:10:08 CET] <thomedy> ill be honest i dont know what interlaced means
[10:10:16 CET] <fritsch> you are writig a video editor?
[10:10:27 CET] <thomedy> but i have to assume the pixels are woven into the frames together
[10:10:28 CET] <thomedy> ad no
[10:10:28 CET] <fritsch> cause I don't see a point at all to go back and forth frame wise
[10:10:29 CET] <thomedy> not at all
[10:10:31 CET] <fritsch> per click
[10:10:43 CET] <fritsch> you need to click 29.97 times to get one second of video
[10:10:54 CET] <thomedy> nope... essentially all i want is viusally a side scrolling parallax website for portfolio work
[10:11:29 CET] <fritsch> and how long is that video?
[10:11:32 CET] <thomedy> yeah that i get
[10:11:35 CET] <thomedy> 7 seconds
[10:11:38 CET] <thomedy> that is it
[10:11:39 CET] <fritsch> ah!
[10:11:42 CET] <thomedy> but i refuse to give up
[10:12:03 CET] <fritsch> okay - then why not use some js + created pngs?
[10:12:17 CET] <fritsch> 29*7 ~ 210 images
[10:12:28 CET] <fritsch> then you can jump from index to index
[10:12:37 CET] <fritsch> and preload them
[10:13:02 CET] <fritsch> or better said preload 20 back and 20 forth a time and dynamically load the next chunk into browser memory
[10:13:12 CET] <thomedy> okay
[10:13:18 CET] <fritsch> just an idea
[10:13:27 CET] <thomedy> you know what i did that
[10:13:30 CET] <thomedy> and i liked it almost
[10:13:34 CET] <thomedy> but it doesn't load right
[10:13:40 CET] <thomedy> it only works in firefox
[10:13:41 CET] <fritsch> hehe - that's another issue
[10:13:48 CET] <thomedy> i know
[10:13:56 CET] <thomedy> i m jus ttrying not to give up
[10:13:58 CET] <fritsch> try mjpeg now - and see if works better
[10:14:04 CET] <thomedy> i am its encoding
[10:14:13 CET] <thomedy> while i was typing that it finished
[10:14:14 CET] <thomedy> one sec
[10:14:29 CET] <thomedy> im goingg to run ffmpeg -i file real quick to get my info
[10:14:41 CET] <fritsch> you seem you do like a hackjob :-)
[10:14:45 CET] <fritsch> hehe
[10:15:00 CET] <fritsch> oki - afk, I'd personally would go with the image stack for a 7 second demonstration
[10:15:07 CET] <fritsch> and use JS to correctly cash that stuff
[10:15:13 CET] <thomedy> the thing is their big images
[10:15:20 CET] <fritsch> browser video capabilities in the sense you want them is hard
[10:15:35 CET] <fritsch> which dimensions does the video need to have?
[10:15:59 CET] <fritsch> you can add quite a lot compression to pngs
[10:16:21 CET] <thomedy> at min i would think 75% of screen height/width and that should keep an okay resolution
[10:16:24 CET] <fritsch> but yeah obviously the codec will be much better video wise, as you can save a lot data cause of not so fast changing content
[10:16:24 CET] <thomedy> i want good resolution
[10:16:31 CET] <thomedy> i even optinpg'd the pngs
[10:16:40 CET] <thomedy> and reduced their size by 40 %
[10:16:53 CET] <fritsch> how large is the mjpeg video?
[10:17:05 CET] <fritsch> and how large the h264 version?
[10:17:17 CET] <thomedy> actually let me check one sec
[10:17:55 CET] <thomedy> mjpeg seems about 3x larger... have i got that right
[10:17:59 CET] <thomedy> ls -al is all i did
[10:18:12 CET] <fritsch> yes
[10:18:19 CET] <fritsch> as every frame is a full frame
[10:18:24 CET] <fritsch> just to test your code
[10:18:32 CET] <fritsch> try it from local browser and local disk
[10:19:13 CET] <fritsch> at the end there is still gif and apng :-) and such things
[10:19:17 CET] <thomedy> i usually run local host its just easier and saves on data
[10:19:24 CET] <thomedy> but it seems to be right right now
[10:19:28 CET] <fritsch> okay - so does the video display?
[10:19:30 CET] <thomedy> good point
[10:19:34 CET] <thomedy> im checking the js next
[10:20:11 CET] <fritsch> you can reduce the jpeg quality a bit further (depending on the params you gave it)
[10:20:22 CET] <fritsch> the good about mjpeg - no further codec is needed
[10:21:42 CET] <thomedy> well that has to be the right codec
[10:21:49 CET] <thomedy> the sample rate is correct
[10:22:02 CET] <thomedy> but i have no idea why i still cant step through the frame by frame
[10:22:02 CET] <fritsch> what is sample rate in regard to video?
[10:22:17 CET] <fritsch> as I have no idea how you step
[10:22:20 CET] <fritsch> I cannot help you there
[10:22:30 CET] <fritsch> here is another idea:
[10:22:33 CET] <fritsch> make the pngs
[10:22:37 CET] <fritsch> make multiple of them
[10:22:41 CET] <fritsch> in different qualities
[10:22:50 CET] <thomedy> 48000 and 44000
[10:22:50 CET] <fritsch> measure the bandwidth with the onload method of the images
[10:22:53 CET] <fritsch> and change accordingly
[10:22:56 CET] <thomedy> i am really not sure what that means
[10:22:56 CET] <fritsch> that's audio
[10:23:12 CET] <thomedy> so that really should not matter
[10:23:16 CET] <fritsch> if bandwidth is good load hq frames, if not lower
[10:23:20 CET] <thomedy> i cant tell what im missing
[10:23:21 CET] <fritsch> and let the browser scale them
[10:23:22 CET] <fritsch> done
[10:23:36 CET] <fritsch> yeah me neither :-)
[10:23:36 CET] <thomedy> what is hq?
[10:23:41 CET] <fritsch> high quality
[10:23:46 CET] <fritsch> lq: low quality
[10:23:49 CET] <fritsch> mq: medium quality
[10:23:53 CET] <thomedy> i might have to go back to the frame by frame images
[10:23:58 CET] <fritsch> fsnq: fritsch's super nice quality
[10:24:00 CET] <thomedy> but i already know its jumpy that way
[10:24:12 CET] <fritsch> yeah - writing a "player" which is what you do in js
[10:24:16 CET] <fritsch> is a problem
[10:24:23 CET] <fritsch> if it's jumpy your pre caching does not work
[10:24:39 CET] <fritsch> use an image array and cache 10 images before and 10 images after the current point you are
[10:24:43 CET] <thomedy> my players ihave written in the past have neer been a problem
[10:24:43 CET] <fritsch> which is dynamically loading
[10:24:49 CET] <fritsch> then use those :-)
[10:25:12 CET] <thomedy> sure right now i havce pre loaded about a 150 of them
[10:25:22 CET] <thomedy> okay its late i hae to work in the morning
[10:25:26 CET] <thomedy> im really diggin gthis design
[10:25:49 CET] <thomedy> thank you by the wayor the life of me i never would have thought mjpeg
[13:49:22 CET] <_6U54N0_> http://pastebin.com/mGxciMCJ
[13:51:59 CET] <fritsch> _6U54N0_: check the swr_alloc_set_opts method
[13:52:40 CET] <_6U54N0_> ok,
[13:52:48 CET] <fritsch> wait
[13:52:58 CET] <fritsch> convert dies, right?
[13:53:02 CET] <fritsch> what's the backtrace?
[13:53:35 CET] <fritsch> the memcpy most likely misses the sample_size, but out_samples is in bytes
[13:53:38 CET] <fritsch> check your variable names
[13:53:39 CET] <fritsch> :-)
[13:54:57 CET] <fritsch> check &frame.data[0]
[13:55:13 CET] <fritsch> that looks wrong, or is that interleaved audio input?
[13:57:25 CET] <_6U54N0_> when put NULL by frame.dat[0] then my program run but in silence.
[13:58:42 CET] <fritsch> hehe
[13:58:54 CET] <fritsch> i think so - it seems it's not filled correctly then
[13:59:12 CET] <_6U54N0_> but i dont know what put in this placer.
[13:59:25 CET] <_6U54N0_> place*
[13:59:50 CET] <fritsch> if you have floatp
[13:59:56 CET] <fritsch> input it won't work like that
[14:00:59 CET] <fritsch> av_samples_get_buffer_size
[14:02:55 CET] <fritsch> post the backtrace of the crash (that code is quite unreadable) if I don't study it for 15 minutes
[14:03:17 CET] <_6U54N0_> av_samples_get_buffer_size value is equal to frame.linesize[0] that work ok.
[14:03:30 CET] <fritsch> need to go afk
[14:04:25 CET] <_6U54N0_> my code base is this tutorial: http://dranger.com/ffmpeg/tutorial03.html
[14:05:20 CET] <_6U54N0_> i only made a little modification to resample and convert audio, ... not more.
[14:11:49 CET] <jonascj> Hi guys. when you specify 3500k as bitrate in ffmpeg, is it 3500*1024 bit/s or 3500*1000 bit/s?
[14:12:11 CET] <JEEB> 1000
[14:12:26 CET] <jonascj> IEC has defined KiB to mean 1024 bytes and KB to mean 1000 bytes...
[14:12:29 CET] <JEEB> there are separate suffixes for 1000 and 1024, IIRC
[14:12:35 CET] <JEEB> jonascj: yeah but this is bits
[14:12:45 CET] <JEEB> 1000 is more used with bits (per second)
[14:13:12 CET] <JEEB> also IIRC there are separate suffixes for both :P
[14:13:22 CET] <jonascj> alright, bits/bytes is just a matter of 8, but k (1000) vs ki(1024) adds up when you have many many giga
[14:13:25 CET] <waressearcher2> 300 baud/s
[14:13:56 CET] <waressearcher2> jonascj: du hast rechts
[14:14:18 CET] <jonascj> alright, audio bitrate of 256k in ffmpeg means 256*1000 bit/s, great, now I know how to calculate target bitrate for a given target file size
[14:14:40 CET] <jonascj> I got screwed by assuming that both DVDs and ffmpeg took G, k, m etc. to mean 1024^n, not 1000....
[14:17:43 CET] <JEEB> well now you'll know what to expect from other video related tools regarding bit rates :)
[14:18:38 CET] <jonascj> yup, and I've reeducated myself as to what hdd and optical media manufactureres specify
[14:18:41 CET] <jonascj> :-/
[14:18:45 CET] <jonascj> maybe it has been so for 15 years :P
[14:20:02 CET] <jonascj> when FFMPEG reports 252 kb/s for an audio stream it is also kilobit (1000 bit)?
[14:21:25 CET] <jonascj> or is it kilobyte?
[14:23:00 CET] <DHE> lowercase b is bits
[14:23:32 CET] <jonascj> "duration 04:01:24.40, start 0.00, bitrate: 20237 kb/s", "stream #0:0(eng) Audio: acc... 252 kb/s)" and "stream #0:1 Video: h264 .... 19979 kb/s"
[14:25:08 CET] <jonascj> Good, thanks
[14:36:28 CET] <jonascj> Anything critical I miss in this "ffmpeg -i input.mp4 -c:v libx264 -preset veryslow -b:v 4100k -vf scale=-1:720 -pass 1 -c:a copy -f mp4 /dev/null" and the corresponding "-pass 2" command?
[14:37:29 CET] <jonascj> It is some h264 1080p video with bitrate 20237 kb/s. I am trying to compress it to 8GB, by scaling to 720p and decreasing the bitrate. Those numbers now work out because you guys telling me k=1000 in ffmpeg.
[14:37:52 CET] <jonascj> But have I forgotten an important switch in my command, the quality parameter of x264 or similar?
[14:38:20 CET] <DHE> it looks good enough. just understand that the second pass will run a lot slower
[14:40:13 CET] <jonascj> than pass1? I know, I don't know how slow, but it will be done in 12 hours or something like that
[14:40:39 CET] <jonascj> (i have run it once before where I messed up the sizes/rates because of 1000 vs 1024)
[14:45:31 CET] <DHE> think of it this way. if you want to make any changes you can usually just re-run pass 2 by itself.
[14:46:42 CET] <jonascj> oh okay, I didn't know. I thought the parameters of pass 1 and pass 2 had to match
[14:48:42 CET] <jonascj> does -preset matter on pass 1?
[14:55:19 CET] <DHE> minimally. pass 1 usually tweaks the settings in favour of speed
[14:55:55 CET] <jonascj> will this be variable bitrate, or constant bitrate?
[14:56:07 CET] <jonascj> the commands I gave that is.
[14:59:54 CET] <jonascj> constant since it is with -b:v
[15:06:42 CET] <DHE> for constant bitrate you need to also set -maxrate, -minrate and -bufsize to something
[15:06:48 CET] <DHE> otherwise it will just target a final average bitrate
[15:38:27 CET] <jonascj> DHE: targeting a final average bitrate seems like what you want in a mixed video? Lower the bitrate where you can to be able to have higher bit where it is needed most.
[15:46:10 CET] <DHE> typically. for a personal media collection this is usually fine
[15:50:26 CET] <jonascj> alright, I'll try to think about when it is more appropriate or wanted with a really constant video bitrate.
[15:57:46 CET] <DHE> CBR is usually used when there's a maximum bitrate target (eg: streaming sources)
[15:57:55 CET] <DHE> where variance isn't really tolerable
[16:26:38 CET] <_6U54N0_> does somebody knows a example to convert aac audio to audio S16
[16:26:55 CET] <_6U54N0_> for SDL_AudioSpec
[17:23:38 CET] <tapas_> i want to see how ffmpeg is autthenticating with rtmp server. how do i enable log for that ?
[18:52:25 CET] <_6U54N0_> does somebody knows a example to convert aac audio to audio S16, cause i am using SDL_AudioSpec audio device.
[18:54:07 CET] <_6U54N0_> this is a part of code: http://pastebin.com/mGxciMCJ
[18:55:27 CET] <_6U54N0_> on the line 75 my program die
[18:56:14 CET] <_6U54N0_> error Exception floating point.
[19:16:55 CET] <ashka> hi, I am having issues with writing to a file from a pipe. I am using ffmpeg 2.5.4-1. I am running this command : ffmpeg -i - -vcodec copy -acodec copy out.flv, the audio is AAC 48k ( http://pastebin.com/EbfNxQYf ), however inspecting the saved file says AAC 44.1k, and the audio is pitched down when played ( http://pastebin.com/QBjXvR3v )
[19:17:45 CET] <ashka> if this is a bug and not me doing something wrong I'll try to upgrade but how can I fix the files I already have ? doing ffmpeg -i in.flv -vcodec copy -ar 48000 out.flv resamples without pitching the audio back up
[19:25:15 CET] <waressearcher2> ashka: hallo, wie geht's ?
[19:47:41 CET] <nyuszika7h> I would like to remove non-English audio tracks from files, but the tracks may not always be in the same order, is there a way to select based on language?
[19:48:28 CET] <JEEB> try adding the language code into a map command and see if that works, -map 0:a:en f.ex.
[19:50:11 CET] <nyuszika7h> doesn't seem to work, it just chooses the first audio track
[19:50:35 CET] <JEEB> which is not english?
[19:50:54 CET] <JEEB> I guess it doesn't work like that then... welp
[19:52:50 CET] <nyuszika7h> yeah it's not English
[19:52:59 CET] <JEEB> alright
[19:53:07 CET] <JEEB> I had only used type:number so far :)
[19:53:15 CET] <JEEB> I guess you'll have to script it with ffprobe or so then :)
[19:53:32 CET] <nyuszika7h> hmm, -map_metadata is a thing
[19:53:53 CET] <JEEB> that copies specific metadata, IIRC
[19:53:55 CET] <furq> nyuszika7h: -map 0:m:language:eng
[19:53:59 CET] <nyuszika7h> the docs seem to suggest that's something else though, yeah
[19:54:10 CET] <nyuszika7h> furq: ah, thanks
[22:21:30 CET] <metRo_> hello, I'm trying to cross compile ffmpeg but it keeps give an error about smbclient. I have installed it and I can confirm libsmbclient.h is in sysroot. I'm cross compiling on an ubuntu machine to run on a raspberry pi
[22:21:39 CET] <metRo_> can you help me identify the problem_
[22:21:40 CET] <metRo_> ?
[22:21:50 CET] <metRo_> I tried to set pkp_config path
[22:22:00 CET] <metRo_> I have the ./configure log if you want to take a look
[22:22:02 CET] <metRo_> thank you
[22:22:07 CET] <metRo_> and merry christmas all :)
[22:23:03 CET] <waressearcher2> metRo_: hallo, wie geht's es dir ?
[22:24:11 CET] <metRo_> waressearcher2: sorry but I don't understand you
[22:26:49 CET] <poseidon1157> Hi all
[22:26:55 CET] <waressearcher2> poseidon1157: hallo
[22:26:58 CET] <poseidon1157> Merry christmast
[22:27:02 CET] <poseidon1157> *Christmas
[22:27:23 CET] <poseidon1157> Also, does anyone know how to turn several moof segments back into a mp4?
[22:27:34 CET] <poseidon1157> Or is that regarded as a 1 way transformation?
[22:29:39 CET] <metRo_> waressearcher2: here is the congif output logfile if you want to take a look http://pastebin.com/LqHuea74
[00:00:00 CET] --- Fri Dec 25 2015
1
0
[00:02:41 CET] <BtbN> I wonder if libyami ever delays frame output. I can't see anything that would indicate that
[00:04:06 CET] <BtbN> seems like the output size is just 0 then
[00:27:24 CET] <BtbN> Well, it does work now.
[00:27:27 CET] <BtbN> But it's horribly slow
[00:27:37 CET] <BtbN> encoding 1080p h264 at 16fps
[00:37:40 CET] <Rokam> rcombs: it did work with ffplay. But not with Kodi
[00:38:06 CET] <rcombs> Rokam: are you setting the "headers" option instead of the "cookies" one
[00:39:44 CET] <Rokam> I did use cookies with ffplay
[00:39:59 CET] <Rokam> and it works
[00:40:38 CET] <Rokam> Now I need to debug kodi with ffmpeg to check why it doesn't update the cookies
[00:41:21 CET] <Rokam> ffplay.exe -cookies "WMPTOKEN_52dfc02cdd23810590000f57=173846766e9c8c8dc4c4121176fb2c6c" "http://live.hls.globo.com/dvr/off24ha/master-playlist.m3u8?h=04114508248755…"
[00:43:56 CET] <BtbN> libyami itself copies the frame, again. No wonder it's horribly slow.
[01:04:09 CET] <prelude2004c> hey everyone.. any idea how we can fix the vdpau issue and h264 ?
[03:15:15 CET] <michaelni> ubitux, ive added a aarch64 osx fate client that should force the use of gas-preprocessor, should show up on the next run
[03:23:39 CET] <jamrial> does anyone have an aac sample with ipd/opd data, or know how to create one?
[10:23:32 CET] <cone-393> ffmpeg 03Hendrik Leppkes 07master:b942845beedc: avcodec/libschroedingerenc: add missing AVClass to private context
[12:01:24 CET] <main> hey guys i want to convert a video so i can import it to cinelerra. after converting the video seems to be in the wrong stream so that its not recognised X'( stream #0.0 is in #0.1 and stream #0.1 is in #0.2 after conversation how can i set the option whitch allowes me to choose which inputstream goes to whitch outputstream?
[12:02:25 CET] <ubitux> you're looking for the -map option (order in cli defines order in output), but you're on the wrong channel, go to #ffmpeg
[12:02:37 CET] <main> ty
[12:30:06 CET] <kierank> ironically having the same channel map discussion in two places on the mailing list
[12:48:14 CET] <cone-393> ffmpeg 03Paul B Mahol 07master:57787f5ef823: avcodec/s302menc: comment out allowed channel layouts
[13:36:46 CET] <ubitux> alright, rewriting srt demuxer again to handle a maximum of madness
[14:04:16 CET] <Compn> ehe
[14:04:48 CET] <Compn> arent there any srt demuxer libs out there ?
[14:04:51 CET] <Compn> free for the taking ?
[14:10:16 CET] <ubitux> ...
[14:10:31 CET] <ubitux> Compn: demuxing is like 200 lines of code
[14:10:50 CET] <ubitux> any better idea for external libs?
[14:11:19 CET] <ubitux> i'm just changing the logic to be more heuristic based, and cover more cases
[14:26:29 CET] <nevcairiel> I doubt there actually is a set library :P
[14:26:37 CET] <nevcairiel> srt*
[15:30:52 CET] <cone-393> ffmpeg 03wm4 07master:a0ec4aebabe1: avformat/subtitles: treat negative duration like unknown duration
[16:10:50 CET] <Prelude2004c_> hey everyone . still looking for some assistance with vdpau
[16:10:54 CET] <Prelude2004c_> anyone around ?
[16:12:35 CET] <J_Darnley> Yes but I can't help you with that.
[16:13:43 CET] <Prelude2004c_> :) thank you
[16:13:49 CET] <Prelude2004c_> its a tough issue
[16:13:59 CET] <Prelude2004c_> i can't seem to get anyone who knows it well enough to figure out the issue
[16:14:49 CET] <Prelude2004c_> i think ffmpeg has some bug in the code that is causing this .. doesn't make too much sense
[16:15:06 CET] <Prelude2004c_> decoding on h264 sources may not be working
[17:05:16 CET] <ubitux> michaelni: can you upload http://b.pkh.me/ticket5032-rrn.srt and http://b.pkh.me/madness.srt to fate-samples/sub?
[17:05:27 CET] <ubitux> 36a2ea0edb6eddd21425c6f4e412fccc ticket5032-rrn.srt
[17:05:29 CET] <ubitux> 713094eecb94d277666edaaf09931086 madness.srt
[17:06:01 CET] <ubitux> patch fixing those is done, i'll submit later with a fate test
[17:16:23 CET] <ubitux> actually,
[17:16:25 CET] <ubitux> 713094eecb94d277666edaaf09931086 madness.srt
[17:16:54 CET] <ubitux> i mean b1420e94e5bfad62cfd03a33af060074
[18:07:52 CET] <michaelni> ubitux, uploaded
[18:24:34 CET] <cone-393> ffmpeg 03Ganesh Ajjanagadde 07master:520a5d33f0ea: lavfi/af_aemphasis: remove unnecessary complex number usage
[18:24:35 CET] <cone-393> ffmpeg 03Ganesh Ajjanagadde 07master:e29db08cf7f6: lavu/libm: add exp10 support
[19:18:18 CET] <ubitux> michaelni: thanks
[19:40:08 CET] <cone-393> ffmpeg 03Paul B Mahol 07master:3689b58a5a1c: avfilter/af_biquads: display clipping warnings once per filtered frame
[19:59:52 CET] <Properrr_> Hello to all. May somebody help me? I want get PSI tables from demuxer of ffmpeg
[20:00:05 CET] <Properrr_> What should i do?! ffmpeg 2.8
[20:01:03 CET] <Properrr_> PAT, CAT, PMT, EIT tables...
[21:23:40 CET] <JEEB> what kind of time line does FFmpeg have regarding the recent changes by elenril into the internals? if I have patches that would have to be partially redone with those changes, should I start poking at it now, or rather post them as-is?
[21:32:52 CET] <durandal_1707> ubitux: do you know how to use asendcmd filter?
[21:37:45 CET] <Compn> JEEB : only nevcairiel is doing merges iirc, so ask him
[22:39:19 CET] <cone-393> ffmpeg 03Michael Niedermayer 07master:e42e0b11f1df: avfilter/x86/vf_maskedmerge: Clear upper part of width
[22:46:33 CET] <durandal_1707> michaelni: thanks!
[23:15:12 CET] <tmm1_> is anyone aware of work to optimize the yadif implementation for arm64?
[23:24:42 CET] <J_Darnley> I haven't seen any chatter about it
[23:24:55 CET] <J_Darnley> but then I tend to ignore arm discussions
[23:27:35 CET] <fritsch> tmm1_: weren't there recently some improvement for w3fdif (also a very good deinterlacer)
[23:29:57 CET] <jamrial> yes, but for x86 afaik
[23:30:11 CET] <fritsch> i need to look into that again
[23:30:18 CET] <fritsch> in kodi we have yadif sw deinterlacing
[23:30:32 CET] <fritsch> last time I added w3fdif even a core i5 3 ghz was too slow
[23:30:35 CET] <fritsch> for 1080i50 live tv
[23:36:54 CET] <tmm1_> yea they both perform well on x86 due to SIMD optimizations, but not so much on arm64
[23:37:38 CET] <tmm1_> i started on a patch but i don't have much experience with NEON, so i'm looking for someone to collaborate with, or even sponsor the development of it
[23:39:10 CET] <fritsch> arm chips like the PI have dedicated firmware methods for deinterlacing
[23:39:19 CET] <fritsch> amlogic do it themselves
[23:39:26 CET] <fritsch> you don't really have an influence
[23:39:43 CET] <fritsch> depends on the use case
[23:41:22 CET] <tmm1_> ah i didn't realize some chips had dedicated deinterlacing built in
[23:41:58 CET] <tmm1_> i'm just interested in making the yadif s/w deinterlacer faster w/ SIMD, just like it is on x86
[23:42:04 CET] <fritsch> oki
[23:42:10 CET] <fritsch> yeah, that's cool
[23:42:51 CET] <fritsch> perhaps you can "copy" the relevant ideas used for the x86 code
[23:43:02 CET] <fritsch> to use the neon instructions similarly
[23:47:42 CET] <tmm1_> yep that's what i'm trying to do, write a neon asm version based on the x86 and C versions
[23:48:40 CET] <tmm1_> are there any docs or papers etc on the yadif algorithm itself? would help to understand what its doing before i start reimplementing it
[23:48:58 CET] <fritsch> i think the source code is the best doku
[23:49:58 CET] <fritsch> but the author is still here :-)
[23:50:14 CET] <fritsch> so I am sure you get answers when you get detailled questions
[23:53:59 CET] <J_Darnley> tmm1_: I once drew an ascii diagram of what yadif did
[23:54:08 CET] <J_Darnley> Do you want me to see if I can find it?
[23:55:29 CET] <tmm1_> J_Darnley: yea that'd be great if you have it handy
[23:55:39 CET] <J_Darnley> Not handy but I'll search for it
[00:00:00 CET] --- Thu Dec 24 2015
1
0
[00:02:32 CET] <Guiri> Does the `-override_ffserver` flag override everything, including the format? I'm using -filter_complex with libx264 so I'd rather not double-encode stuff. But I can only get the stream to work using -format ffm http://.../.ffm
[00:02:47 CET] <Guiri> But the ffserver.conf is configured to use Format flv
[00:04:00 CET] <Guiri> Unless there's a way to do the -concat server side and simply pipe a series of `-i` inputs into ffserver.
[00:58:52 CET] <xintox> is it possible to get a 2 minute sample from an mp4 video file?
[01:03:45 CET] <prelude2004c> no nobody was able to figure out why vdpau is not using the cpu for h264 content ?
[01:48:00 CET] <E-TARD> ok i'm trying to get ffmpeg to hls but i'm doing something worng http://pastebin.com/6Hi4KgQc
[01:50:55 CET] <E-TARD> if someone could just look at my command -> http://pastebin.com/6Hi4KgQc
[01:55:56 CET] <Rokam> E-TARD: what error do you get?
[01:57:41 CET] <E-TARD> oh i forgot to remove the -use_localtime 1 in the pastebin. just over look that but i get this "Cannot use rename on non file protocol, this may lead to races and temporarly partial files av_interleaved_write_frame(): Unknown error"
[01:58:48 CET] <E-TARD> does the .ts file need a url as well
[02:05:01 CET] <derekr> I'm trying to do segmented transcoding of one muxed input to several outputs, and the video seems to be working fine, but when I do audio the playback seems to have gaps (small blips around the segment boundaries) - any ideas on what would cause that? I've tried two different methods, using -f segment, and manual segmenting using -ss/-t, both have the same issue, here's some example scripts: http://pastebin.com/4vfHE4fg http://pastebin.com
[02:11:35 CET] <MachinaeWolf> What would cause a slight skip in recording from line in to mic jack?
[02:31:00 CET] <Rokam> E-TARD: sorry.. don't know whats wrong. I just know that you need to provide the full url
[02:31:27 CET] <E-TARD> i dont know how
[02:32:00 CET] <E-TARD> like this -hls_segment_filename http://192.168.1.2:8060/live%03d.ts
[02:32:31 CET] <Rokam> yes
[02:34:33 CET] <E-TARD> Could not write header for output file #0 (incorrect codec parameters ?): Error number -138 occurred
[02:34:50 CET] <Rokam> thats why I can't help you
[02:34:51 CET] <Rokam> :)
[02:34:59 CET] <E-TARD> oh ok well thanks for trying ;)
[02:46:50 CET] <Rokam> E-TARD: I'm able to encode without the listen option
[02:48:50 CET] <E-TARD> so what just remove that and it works?
[02:50:22 CET] <Rokam> yes. And you can use a http server to host it
[02:50:33 CET] <E-TARD> no
[02:50:39 CET] <E-TARD> that will not work for me
[02:53:51 CET] <C0nundrum> How do i save a file as flv but name it "filename.mp4" ?
[02:54:03 CET] <furq> -f flv
[02:54:16 CET] <C0nundrum> ah, thanks
[02:54:24 CET] <furq> i don't see why you would want to do that though
[02:58:10 CET] <C0nundrum> ugh now that i thnk about it flv is imcompatible with the default html5 player
[03:01:32 CET] <C0nundrum> o neat conversion doesn't take to logn when copying streams
[03:07:19 CET] <Rokam> E-TARD: try ffserver on a linux machine
[03:07:29 CET] <Rokam> that will work too
[03:07:49 CET] <E-TARD> i have
[03:07:51 CET] <E-TARD> but
[03:09:39 CET] <E-TARD> i can not get hls to work on it. i can get mpeg-ts to work but not hls because of the the hls_segment_filename or segment_list there is no way to tell ffserver in the config to use options like that
[03:10:00 CET] <E-TARD> i have not found a way
[03:11:07 CET] <E-TARD> i have looked at lines of code & don't see a way to do it other then avoptionvideo or avpresetvideo
[03:12:00 CET] <E-TARD> users in this chat room have told me to not do it that way
[03:12:09 CET] <furq> ffserver is an unmaintained mess and you probably shouldn't use it
[03:12:10 CET] <DHE> E-TARD: I use HLS a fair bit. hls_segment_filename is where the .ts is written, so if it's a URL then it must be writable
[03:12:27 CET] <E-TARD> i know hls
[03:12:28 CET] <DHE> far easier to just point it at something under your DocumentRoot and write to local disks
[03:12:38 CET] <DHE> (ie. apache)
[03:12:59 CET] <E-TARD> what i don't know is how to make ffmpeg to serve up the m3u8 and .ts
[03:13:11 CET] <E-TARD> i know it can without the use of apache
[03:13:12 CET] <DHE> it doesn't. use apache, or nginx, or microsoft IIS, or whatever you use
[03:13:36 CET] <E-TARD> it will out put http so why not
[03:14:00 CET] <furq> if you want to serve from a remote machine then just nginx-rtmp
[03:14:03 CET] <furq> +use
[03:14:09 CET] <DHE> well you don't write to http typically unless you have publishing enabled
[03:14:27 CET] <E-TARD> what I'm trying to do
[03:15:17 CET] <E-TARD> is have ffmpeg push a stream form my pc to a server that will take that stream & publish hls dash and flv
[03:15:32 CET] <furq> that's exactly what nginx-rtmp does
[03:15:38 CET] <furq> except the dash muxer is apparently broken
[03:15:42 CET] <furq> but you can work around that
[03:15:54 CET] <DHE> any reason not to just standardize on one format?
[03:15:55 CET] <E-TARD> i hate nginx
[03:15:58 CET] <E-TARD> whats next?
[03:16:04 CET] <furq> good luck then
[03:16:13 CET] <E-TARD> what ever
[03:16:29 CET] <E-TARD> JEEB help me
[03:17:43 CET] <derekr> python -m SimpleHTTPServer is another possibility :)
[03:18:49 CET] <E-TARD> so you guys want me to push ffmpeg from my pc to ffmpeg on a server that will out to file then server them with a webserver like apache or something like that?
[03:19:30 CET] <derekr> just run that on your pc?
[03:19:35 CET] <DHE> if it was a simple one-format for dash or hls then that's probably easiest. remote filesystem like cifs or ssh to push content directly onto the webspace
[03:19:36 CET] <E-TARD> no
[03:19:41 CET] <furq> i don't want you to do anything
[03:19:48 CET] <E-TARD> i have a server with a 1gbit
[03:19:53 CET] <furq> i encode on my pc and send it to an rtmp daemon on my server which serves rtmp and hls
[03:20:08 CET] <DHE> that works as well...
[03:20:10 CET] <furq> the rtmp daemon happens to be nginx
[03:20:21 CET] <E-TARD> i want the server to do the re-encode
[03:20:29 CET] <furq> you can do that
[03:20:59 CET] <E-TARD> so i can feed ffmpeg a stream of some kind & have ffmpeg re-encode & out to files
[03:21:01 CET] <E-TARD> ?
[03:21:09 CET] <furq> as long as the stream you send is compatible with rtmp
[03:21:36 CET] <DHE> hairpin it through nginx?
[03:22:16 CET] <E-TARD> something like this ffmpeg -i -f ffm rtmp://server
[03:22:32 CET] <furq> https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_push
[03:23:10 CET] <E-TARD> like this
[03:23:11 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U " -map 0 -flags:v +global_header -flags:a +global_header -profile:v baseline -level 3.0 -maxrate 1024k -bufsize 2985k -codec:v libx264 -vb 896k -codec:a aac -ar 44100 -ac 2 -ab 128k -bufsize 2985k -tune zerolatency -bufsize 0 rtmp://server
[03:23:50 CET] <furq> if that's the command line you want to run on the client then sure
[03:24:19 CET] <spiderkeys> I'm currently working on a low-latency H264 live streaming solution that uses fragmented mp4 sent to the client browser over socket.io from a c++/node.js app and into the media source extensions, don't know if that is exactly what you want to do, but could helpful (although it is all done programmatically, no command line tools)
[03:24:20 CET] <E-TARD> is rtmp the best way to feed the server? what about others like udp
[03:24:29 CET] <furq> it's an rtmp server
[03:24:50 CET] <E-TARD> no to feed ffmpeg on the server
[03:24:51 CET] <DHE> that's how the nginx module works
[03:25:01 CET] <E-TARD> i'm not using nginx module
[03:25:14 CET] <E-TARD> stay on same page as me
[03:25:22 CET] <E-TARD> lol
[03:25:47 CET] <E-TARD> ffmpeg a stream to ffmpeg on server then out to files
[03:25:59 CET] <spiderkeys> piping h264 straight off of the USB driver, muxing it, and shooting it straight into the browser's media source api
[03:31:27 CET] <TD-Linux> yeah that's a pretty reasonable way to do it, just not off the shelf
[03:32:54 CET] <TD-Linux> you could probably even do webrtc, your webcam probably outputs H.264 baseline
[05:00:52 CET] <pinPoint> does new Grothendieck 2.6.6 bring any speed improvements to encoding times for libx265?
[05:14:04 CET] <acbsspdas> Using FFmpeg from git HEAD; ./configure is failing to find x265(tested both versions 1.7 and 1.8) using pkg-config
[05:14:15 CET] <acbsspdas> https://gist.github.com/anonymous/0b9b1041aedef64fa1b1
[05:22:08 CET] <xintox> howdy
[08:33:39 CET] <debianuser> MachinaeWolf: Those "ALSA buffer xrun" usually mean that the application (ffmpeg) don't read data from the buffer in time. When ffmpeg tells "I need 16-bit 48kHz stereo input" - alsa (actually the soundcard driver) fills a circular buffer with those, 192000 bytes per second no matter what happens. And ffmpeg must read them in time. If it doesn't - buffer overflows and you get overrun.
[08:35:33 CET] <debianuser> MachinaeWolf: So the real question is why ffmpeg doesn't read the data in time. There could be different reasons (video/audio sync, not enough cpu to encode, not enough bandwidth to write/send it, etc) and usually in the `ffmpeg -f alsa -i hw:0,0,0 ...` command line that's not because of the "-f alsa -i hw:0,0,0" part, but because of that "..." part. :)
[08:49:25 CET] <jonascj> Should a DVD hold 4.7*1024^3 bytes? That is 5153960755 bytes. My dvd writer says that 4500MB can not fit the disk
[08:49:35 CET] <E-TARD> WoW i found this really cool app Open Broadcaster Software https://obsproject.com/index way better then what i was using. i just wanted to share that for anyone who does not know about it. going to bed night night
[10:22:17 CET] <dv_> correct me if I'm wrong. Group-of-Pictures does not really exist in h.264 as part of the format, right?
[10:22:21 CET] <dv_> unlike, say, MPEG4p2.
[11:00:54 CET] <JEEB> dv_: what specifics are you pointing towards?
[11:01:15 CET] <JEEB> I mean, you have the concept of GOPs due to IDR pictures (and with HEVC IRAP pictures)
[11:01:26 CET] <JEEB> also there's intra refresh and such
[11:04:28 CET] <dv_> I mean that gop as bitstream parameter isn't around anymore
[11:05:01 CET] <dv_> from what I know, you just have IDR pictures in h264, and users *can* manually implement GOP by periodically forcing I/IDR frame generation
[11:05:14 CET] <dv_> but it is not explicitely included by the spec
[11:11:36 CET] <JEEB> hmm, so MPEG-4 Part 2 had GOP length as a parameter in the bit stream? how did that work with adaptive random access pictures?
[11:29:18 CET] <dv_> well tbh I don't know. I just dimly remember somebody here telling me that.
[11:30:03 CET] <dv_> I need this info for documentation I am writing. it concerns a hardware encoder which has a "gop-size" parameter for all formats. mpeg2,mpeg4,h263,h264.
[11:30:41 CET] <dv_> I recall discussions here that "GOP" as a concept has problems and that h264 "learned from this"
[11:30:59 CET] <dv_> unfortunately, I lost the logs :/
[12:19:52 CET] <DHE> dv_: in theory you can run a single huge GOP and never send new IDR frames. in practice people want to be able to seek around videos and join midstream so something is used to bound the size
[12:29:32 CET] <BtbN> Certain Live-Streaming setups also never send new I/IDR frames unless requested, because a frame got lost or something
[12:29:45 CET] <BtbN> The WiiU gamepad for example works like that
[12:39:46 CET] <dv_> DHE: yeah, but with GOPs, there is a fixed interval. if you just have I/IDR frames, you can place them anywhere, not necessarily in a fixed interval.
[12:40:00 CET] <dv_> I guess this is what that person meant by "h264 learned from this"
[12:40:59 CET] <dv_> so the remaining question is whether or not older formats like mpeg4p2 and mpeg2 have some GOP-related difference compared to h264
[12:42:48 CET] <DHE> a few. with only 1 reference frame allowed it means any I-frame in MPEG2 and MPEG4-part2 is a GOP start point. also image quality without a new GOP tended to degrade over time. h264 has neither of these limitations and an I-frame isn't necessarily a GOP start position
[12:43:52 CET] <DHE> so for the mostpart IDR frames are arbitrary for the sake of having them. x264 will also insert one if it detects a massive image change and decides that the previous reference frames are no longer valuable ('scenecut' option)
[12:44:40 CET] <dv_> okay, thanks
[12:45:31 CET] <dv_> image quality without a new GOP doesn't degrade with h264 because it allows for intra refresh? or because it can have multiple reference frames?
[12:45:56 CET] <DHE> or the CABAC filters are pretty good
[12:46:33 CET] <dv_> is the in-loop deblocking another possible reason?
[12:47:23 CET] <DHE> probably helps a bit
[12:47:33 CET] <DHE> I don't know the codec in that level of detail to give an answer
[12:47:39 CET] <dv_> ok
[12:50:22 CET] <Mavrik> Of course, IDRs kinda get important as soon as you have randomly accessed streams :)
[12:55:57 CET] <DHE> at which point 'arbitrary amount of time' makes some sense
[13:45:17 CET] <Nivalis> hello i have trouble with record video from my ip camera with ffmpeg and this command http://pastebin.com/SG9Cehcq , then into vlc "video speed" is not constantly, sometimes it's fast
[13:48:05 CET] <Nivalis> how i can fix accelerate moment and have video 1:1, 1 hour in real time = 1 hour video time
[13:58:34 CET] <waressearcher2> Nivalis: hallo, wie geht's ?
[16:49:03 CET] <thomedy> i am trying to encode avc1 and mp4a i hade it at mp4 and aac
[16:49:19 CET] <thomedy> and im kind of in a hurry
[16:57:57 CET] <waressearcher2> thomedy: hallo, wie geh't es dir ?
[20:06:32 CET] <Properrr_> Hello to all. May somebody help me? I want get PSI tables from demuxer of ffmpeg
[20:06:41 CET] <Properrr_> What should i do?! ffmpeg 2.8
[20:19:07 CET] <waressearcher2> Properrr_: hallo, wie geht's es dir ?
[20:24:46 CET] <xintox> anyone know of a free cdn for streaming?
[20:27:02 CET] <waressearcher2> xintox: was ist fur "cdn" ?
[20:27:17 CET] <xintox> waressearcher2: huh?
[20:27:40 CET] <xintox> cdn. like peer5.com or something that will handle m3u8 streams
[21:11:51 CET] <skokkk> hello, I would like to convert thousands of .mp4's, .avi's, and more to .webm's. How would I go about this with minimal quality loss?
[21:19:25 CET] <JEEB> you will probably want to find the least bad -crf value for some clips with your otherwise selected parameters
[21:20:16 CET] <JEEB> also if you are planning to use those files over limited bandwidth, -maxrate and -bufsize are required
[21:24:08 CET] <c_14> Oh, and use vp9. Not vp8
[21:28:08 CET] <skokkk> cp9?
[21:28:11 CET] <skokkk> vp9?*
[21:31:43 CET] <c_14> libvpx-vp9
[21:31:50 CET] <skokkk> ah. thanks
[00:00:00 CET] --- Thu Dec 24 2015
1
0
[00:07:39 CET] <BtbN> Daemon404, well, iirc that was because of the overall quality of that patch itself. I'd prefer a set of yami de/encoders over the current QSV mess
[00:12:38 CET] <Daemon404> BtbN, also because it didnt add anything
[00:13:05 CET] <BtbN> hm?
[00:13:37 CET] <Daemon404> it added nothing of value
[00:14:46 CET] <BtbN> Well, beeing able to use the various hardware-encoders in current Intel-Hardware without the mess that QSV is on linux would be of value for me.
[00:14:52 CET] <BtbN> Or what did that patch do?
[00:16:21 CET] <Daemon404> http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/187520
[00:16:26 CET] <Daemon404> it's a big thread
[00:20:41 CET] <BtbN> oh, it was just a h264 decoder
[00:20:48 CET] <BtbN> And it's cpp
[00:41:07 CET] <rcombs> BtbN: same
[02:19:01 CET] <Daemon404> i sure would like to know who asyncts is a "maitenece burden" to
[02:19:27 CET] Action: Daemon404 wonders if aresample is even feature-parity with asyncts now
[02:32:33 CET] <J_Darnley> Daemon404: it exists in ffmpeg -- it is a maintainance burden
[02:32:36 CET] Action: J_Darnley runs
[02:33:36 CET] <Daemon404> J_Darnley, which is ironically what the ffmpeg people laughed at libav for doing ;p
[02:35:34 CET] <J_Darnley> I should have dropped the "in ffmpeg" to mae it more funny
[02:35:39 CET] <J_Darnley> *make
[02:36:38 CET] <Daemon404> ;p
[04:26:03 CET] <Compn> [swscaler @ 0332b0c0] deprecated pixel format used, make sure you did set range correctly
[04:26:07 CET] <Compn> -did
[04:26:16 CET] <Compn> +the
[09:26:56 CET] <cone-741> ffmpeg 03Claudio Freire 07master:4720a562c8d4: AAC encoder: fix possible assertion failure in PNS
[09:30:19 CET] <cone-741> ffmpeg 03Carl Eugen Hoyos 07master:b18230ee8c16: lavf/rmdec: Use correct format specifier for int64_t.
[10:20:41 CET] <nevcairiel> New NVIDIA drivers came out yesterday, fixed VP9 DXVA2 support
[10:21:01 CET] <nevcairiel> Now the surprising thing: it doesn't appear to be hybrid, practically no CPU usage
[10:22:52 CET] <nevcairiel> Including 4k at decent frame rates
[10:23:04 CET] <nevcairiel> 100+ fps
[10:23:56 CET] <nevcairiel> BtbN: fritsch ^^ even if you might not care about Windows much :D
[10:53:11 CET] <Loriker> wow
[12:49:47 CET] <BtbN> nevcairiel, does nvidia even have any hybrid decoders?
[12:49:54 CET] <BtbN> Except for the old CUVID stuff
[12:53:56 CET] <durandal_1707> michaelni: do you know how to calculate magnitude value at n frequency for filter in anequalizer?
[12:54:08 CET] <nevcairiel> BtbN: pre-960 they do it for HEVC
[13:15:58 CET] <cone-741> ffmpeg 03Timo Rothenpieler 07master:d7c2b75681e5: vaapi: Add VP9 hwaccell support
[13:17:07 CET] <michaelni> durandal_1707, not sure i understand the question but if you mean to find the scalar power/amplitude/... of a specific frequency in a signal that can be found by many means, fft being one (if you need multiple frquencies) or abs() of dot product with e^(f*i*x) or using some filter to split into bands and compute the energy in each band, ...
[13:20:00 CET] <durandal_1707> I need frequency response, not using fft
[13:20:29 CET] <durandal_1707> of single filter
[13:21:05 CET] <durandal_1707> michaelni: ^
[13:21:41 CET] <michaelni> sine sweep -> filter -> fft
[13:43:46 CET] <durandal_1707> michaelni: I want to add video output to anequalizer which will give frequency response, using fft for this is IIRC suboptimal
[14:00:56 CET] <cone-741> ffmpeg 03erankor 07master:18cd7891cb10: MAINTAINERS: add Eran Kornblau for aes_ctr and movenccenc
[14:05:04 CET] <BtbN> Damn, just noticed the typo in the commit message. Oh well.
[14:07:25 CET] <fritsch> :p
[14:15:35 CET] <ubitux> michaelni: are you using the gaspp from the ffmpeg mirror on these fate instances?
[14:15:46 CET] <ubitux> iirc our gaspp isn't in sync anymore with upstream
[14:16:04 CET] <ubitux> maybe it causes some issues with recent additions?
[14:19:24 CET] <michaelni> the mail was about 2.7.1, gaspp is installed on the box, i assumed its used but who knows
[14:23:49 CET] <michaelni> how can i force gaspp to be used to test this?
[14:46:35 CET] <ubitux> michaelni: --as="/path/to/gas-preprocessor.pl $CC"?
[14:51:41 CET] <kierank> ar: libavresample/: File format not recognized
[14:51:43 CET] <kierank> what does that mean
[14:54:14 CET] <durandal_1707> I found out design data of filter in matlab on web, it have what I need :)
[15:04:50 CET] <cone-741> ffmpeg 03Michael Niedermayer 07master:05af8608c2dc: avcodec/ass: check for av_mallocz() failure
[15:35:25 CET] <philipl> nevcairiel: nvidia has dedicated vp8 and vp9 blocks - previously only exposed in Tegra.
[15:35:43 CET] <philipl> but the whole video decoder section is present on the new desktop cards
[16:04:15 CET] <fritsch> michaelni: https://github.com/FFmpeg/FFmpeg/commit/07b43fb69afdcd091af7fd32228c2608fd4… concerning this fix it seems even higher handbrake versions need full parsing
[16:04:40 CET] <fritsch> michaelni: here is a sample video: https://www.dropbox.com/s/1g71uytvdzqdqj1/Endangered%20Species%201x01%20Col…
[16:04:40 CET] <kierank> av_frame_alloc(), av_frame_unref() and av_frame_free() now can and should be
[16:04:41 CET] <kierank> used instead of avcodec_alloc_frame(), avcodec_get_frame_defaults() and
[16:04:41 CET] <kierank> avcodec_free_frame() respectively. The latter three functions are deprecated.
[16:04:42 CET] <kierank> wtf
[16:06:53 CET] <kierank> Daemon404: any idea how I set an AVframe to defaults then
[16:06:58 CET] <kierank> the APIchanges statement is useless
[16:07:09 CET] <nevcairiel> unref it
[16:07:21 CET] <kierank> really?
[16:07:32 CET] <kierank> I guess "reset the frame fields." probably means put them as default
[16:07:34 CET] <kierank> a bit unclear
[16:11:24 CET] <cone-741> ffmpeg 03Nicolas George 07master:63f7bee75221: lavfi/vf_mpdecimate: remove request_frame().
[16:11:25 CET] <cone-741> ffmpeg 03Nicolas George 07master:d03eab34dd8a: lavfi: rename link.current_pts to current_pts_us.
[16:11:26 CET] <cone-741> ffmpeg 03Nicolas George 07master:b8b7d5ac6c79: lavfi: add link.current_pts field.
[16:11:27 CET] <cone-741> ffmpeg 03Nicolas George 07master:39a09e995d32: lavfi: deprecate avfilter_link_set_closed().
[16:11:28 CET] <cone-741> ffmpeg 03Nicolas George 07master:108b4de5529a: lavfi: replace link.closed by link.status.
[16:11:29 CET] <cone-741> ffmpeg 03Nicolas George 07master:165578871272: lavfi: make request_frame() non-recursive.
[16:40:00 CET] <cone-741> ffmpeg 03Michael Niedermayer 07master:d3b6a9abacc9: avformat/mov: Update handbrake_version threshold for full mp3 parsing
[16:41:08 CET] <fritsch> michaelni: what about always parsing full if it was handbrake? :-)
[16:42:57 CET] <michaelni> i was planing to move towards that stepwise if the next versions still have the problem, didnt want to do it now though as it puts a weight on not fixing it as a fixed handbrake then would generate unplayable files for ffmpeg until we update the version check then again
[16:43:58 CET] <fritsch> I understand your reasoning, but what if the handbrake guys don't play copperative?
[16:44:09 CET] <fritsch> e.g. if they say: 2.7.x worked - we won't change anything and keep it as is
[16:45:14 CET] <rcombs> fritsch: michaelni why not just always do full parsing
[16:45:28 CET] <rcombs> if there's a bug in the MP3 parser that should be fixed there
[16:45:46 CET] <fritsch> i think wm4 proposed such a patch on the ML but this broke one sample
[16:45:53 CET] <fritsch> that (not other player could play)
[16:45:55 CET] <michaelni> full parsing would break some standard compliant mp4s IIUC
[16:46:21 CET] <rcombs> so the parser should be fixed
[16:47:27 CET] Action: michaelni is happy about any solution that works with all samples
[16:47:33 CET] <rcombs> anyone got a sample it breaks?
[16:47:47 CET] <fritsch> nevcairiel: <- linked me one last time
[17:08:19 CET] <fritsch> rcombs: http://ffmpeg.org/pipermail/ffmpeg-devel/2015-November/184188.html
[17:08:32 CET] <Daemon404> [15:07] <@nevcairiel> unref it <-- never woi;d have guessed that
[17:09:57 CET] <fritsch> same - unref means something totally different
[17:26:48 CET] <cone-741> ffmpeg 03Michael Niedermayer 07master:5dbd114b83b0: avformat/movenc-test: Make format static
[17:29:49 CET] <rcombs> http://puu.sh/m4T1z/dbed312206.png this blip does not sound pleasant
[17:30:31 CET] <fritsch> last time I tried it - the sample worked with master
[17:33:27 CET] <fritsch> but no other player could play it (including mp123, totem, mplayer with old ffmpeg, older ffmpeg)
[17:35:14 CET] <rcombs> for me it plays, but with lots of error messages and a highly unpleasant noise towards the end
[17:35:43 CET] <rcombs> but if nothing else can play it I'm not sure why we care much about that particular sample
[17:38:19 CET] <fritsch> hehe, try what you get with ffmpeg 2.7.x
[17:38:21 CET] <fritsch> or mpg123
[17:38:29 CET] <fritsch> but silence the speakers before doing so
[17:41:23 CET] <rcombs> I'm not gonna take you up on that one
[17:43:13 CET] <fritsch> rcombs: hehe
[17:43:55 CET] <fritsch> concerning the other workaround for handbrake, what makes me wonder most: they use ffmpeg to encode that audio ...
[17:44:06 CET] <fritsch> afaik
[17:47:37 CET] <fritsch> https://github.com/HandBrake/HandBrake/blob/master/libhb/encavcodecaudio.c <- i think that last commit could fix / workaround the issues
[17:47:57 CET] <fritsch> https://github.com/HandBrake/HandBrake/commit/d05e644d5243dbd0d0cb7550e2834… <- and this was most likely the issue
[17:49:43 CET] <fritsch> michaelni: ^^ rcombs ^^ you probably have already seen this
[17:51:48 CET] <BtbN> Just noticed that libyami depends on ffmpeg, so using it from ffmpeg creates an interesting situations.
[17:51:57 CET] <BtbN> well, optionaly depends.
[17:52:09 CET] <BtbN> And only on avformat
[17:56:30 CET] <cone-741> ffmpeg 03Michael Niedermayer 07release/2.6:d6ce1cb14077: Update for 2.6.6
[18:00:58 CET] <kierank> Deprecate av_write_header
[18:00:59 CET] <kierank> ???
[18:01:00 CET] <kierank> wtf
[18:01:21 CET] <fritsch> most things I just used to implement an ffmpeg image viewer are deprecated, too
[18:02:06 CET] <nevcairiel> where are you reading that kierank
[18:02:06 CET] <kierank> replaced with what though
[18:02:13 CET] <kierank> APIChanges
[18:02:50 CET] <nevcairiel> avformat_write_header is the replacement, apparently
[18:03:30 CET] <nevcairiel> yeah av_write_header hasnt existed for ages
[18:04:15 CET] <nevcairiel> deprecation from 2011
[18:04:21 CET] <nevcairiel> so likely removed a while ago as well
[18:04:30 CET] <kierank> yes I am aware
[18:04:40 CET] Action: kierank has old code
[18:07:43 CET] <Daemon404> kierank, APIChanges is a useless document
[18:07:46 CET] <Daemon404> add X
[18:07:48 CET] <Daemon404> remove Y
[18:09:41 CET] <durandal_1707> fritsch: does it have replacement?
[18:10:08 CET] <nevcairiel> this particular entry actually mentiones their replacement Daemon404
[18:10:22 CET] <fritsch> durandal_1707: yes - can be workarounded
[18:10:23 CET] <Daemon404> nevcairiel, sure, im just speaking from past experiences
[18:10:44 CET] <fritsch> though some instructions are not fully clear, for example we use since a long time encoded_frame->pts
[18:11:03 CET] <fritsch> for encoding raw streams to ac3
[18:11:26 CET] <fritsch> for pictures it's mostly: av_picture_fill stuff and all the linesize[] and data[] members
[18:11:35 CET] <fritsch> need to look more into it on howto fix up those
[18:11:53 CET] <nevcairiel> av_picture was generally replaced with av_image*
[18:12:17 CET] <nevcairiel> and AVPicture as a struct either with AVFrames or manually keeping linesize and data arrays around, depending on how you need it
[18:12:26 CET] <fritsch> I will look into all of this, when we got out our "v16" release
[18:13:00 CET] <fritsch> out of the door
[18:13:40 CET] <kierank> avformat_new_stream ??
[18:13:44 CET] <kierank> doesn't explain how to free it
[18:15:22 CET] <Daemon404> eh
[18:15:24 CET] <Daemon404> yes it does
[18:15:32 CET] <Daemon404> User is required to call avcodec_close() and avformat_free_context() to clean up the allocation by avformat_new_stream().
[18:15:51 CET] <kierank> but what about the AVStream?
[18:16:06 CET] <fritsch> implicitely freed?
[18:16:08 CET] <Daemon404> it's part of the avformatcontext free
[18:16:20 CET] <Daemon404> that's why you call it with an afctx
[18:17:13 CET] <nevcairiel> yeah you never create stand-alone AVStreams, always directly associated with a context
[18:17:17 CET] <nevcairiel> and it gets free'ed with it
[18:17:26 CET] <Daemon404> in my code i also call avcodec_close on their ->codec member
[18:21:06 CET] <cone-741> ffmpeg 03Michael Niedermayer 07n2.6.6:HEAD: avformat/movenc-test: Make format static
[19:42:34 CET] <cone-741> ffmpeg 03Andreas Cadhalpun 07master:7172175da6f8: mlvdec: validate bits_per_coded_sample
[20:03:53 CET] <BtbN> i realy wonder how people got the idea that "encode" is a good symbol name
[20:24:41 CET] <cone-741> ffmpeg 03Andreas Cadhalpun 07master:b648b246f07a: diracdec: add missing check for pixel_range_index
[21:03:11 CET] <JEEB> man, what is with the sudden surge of people trying to use ffserver as of late
[21:03:23 CET] <JEEB> (on #ffmpeg)
[21:03:31 CET] <JEEB> did it get mentioned somewhere?
[21:07:01 CET] <ubitux> it's not that rare
[21:07:35 CET] <JEEB> well no, but this is the first time since 2011 when there's multiple people within a month or so
[21:08:50 CET] <JEEB> it's kind of scary looking at the usability of ffserver
[21:09:13 CET] <JEEB> (it might do something, but you have to go through three pools of goat blood on the night of the crimson moon to get there)
[21:09:25 CET] <ubitux> ffserver was mentioned by 25 unique people this year
[21:09:27 CET] <ubitux> on #ffmpeg
[21:09:43 CET] <JEEB> now give me a time distribution :)
[21:09:59 CET] <JEEB> I'd bet a lot of them would be during the latter part of the year
[21:10:06 CET] <ubitux> ...and 167 time last year
[21:10:14 CET] <JEEB> ouch
[21:11:14 CET] <ubitux> (actually a bit less, an idiot pasted some <Stream> thing, my grep is borked :D)
[21:11:24 CET] <ubitux> maybe 150 or so
[21:11:42 CET] <ubitux> i only have a year unit in my logs, can't really give more insight :p
[21:11:50 CET] <ubitux> (without pain that is)
[21:12:17 CET] <JEEB> and let's not go towards pain :) we all have enough of that for ourselves
[21:13:58 CET] Action: ubitux disappointed, the pthread assert thing didn't find any issue in fate :(
[21:14:56 CET] <durandal_1707> kierank: what channel layouts are used by s302m?
[21:15:17 CET] <kierank> None
[21:15:28 CET] <kierank> It's arbitary
[21:15:32 CET] <JEEB> yeah
[21:15:59 CET] <durandal_1707> then why decoder sets it?
[21:19:29 CET] <kierank> Because decoder is wrong
[21:19:40 CET] <kierank> And iirc nobody would listen to me last time
[21:45:13 CET] <durandal_1707> kierank: what's way to get channel layouts?
[21:48:41 CET] <Prelude2004c_> hey guys... good day.. is there something known that is a problem with vdpau ? i can't seem to decode using the GPU the h264 sources but i can do mpeg2video ones without a problem
[21:48:59 CET] <Prelude2004c_> i am wondering if this is something with ffpmeg and if so i will use something else to decode and set to raw data to re-encode
[21:50:46 CET] <Daemon404> it should work afaik
[22:10:37 CET] <Prelude2004c_> anyone... having trouble with decoding h264 content
[22:10:40 CET] <Prelude2004c_> using M4000 card
[22:12:58 CET] <kierank> durandal_1707: cant
[23:05:00 CET] <ubitux> so, with vtb (in async), how are we supposed to know how much frame we need to wait before getting sure that we get all frames and we can then sort them?
[23:10:08 CET] <BtbN> Does ffmpeg/lavu have something to get the fourcc of a pixel format?
[23:11:15 CET] <ubitux> av_get_pix_fmt_name?
[23:13:01 CET] <ubitux> actually, avcodec_pix_fmt_to_codec_tag()
[23:13:36 CET] <ubitux> i wonder why it's not in the pixel format desc
[23:13:42 CET] <BtbN> ah, was looking into the pixel format descrition struct instead
[23:14:12 CET] <ubitux> would be nice to have them there indeed
[23:16:57 CET] <BtbN> Great, yami expectes frame data to be in a single continous buffer, and wants offsets into it instead
[23:17:02 CET] <BtbN> so a lot of pointless copying
[23:18:04 CET] <ubitux> "
[23:18:06 CET] <ubitux> You should be able to keep decoding frames until the decode timestamp is greater than or equal to the earliest presentation timestamp in the reorder queue"
[23:18:08 CET] <ubitux> mmmh
[23:18:12 CET] <ubitux> so that might answer my question
[23:24:04 CET] <rcombs> BtbN: `yami_frame->buf = avframe->buf; yami_frame->offset0 = avframe->data[0] - avframe->buf; <etc&>`?
[23:24:53 CET] <BtbN> rcombs, but isn't there one buf for every plane?
[23:25:02 CET] Action: rcombs shrugs
[23:25:04 CET] <BtbN> at least it's AVBufferRef *buf[AV_NUM_DATA_POINTERS];
[23:25:41 CET] <rcombs> `yami_frame->buf = avframe->data[0]; yami_frame->offset0 = 0; yami_frame->offset1 = avframe->data[1] - avframe->data[0];`
[23:25:46 CET] <rcombs> <etc&>
[23:25:59 CET] <rcombs> unless it actually reads the intervening data in which case lolsegfaults
[23:26:13 CET] <BtbN> That sounds kinda awfull
[23:26:33 CET] <rcombs> it is!
[23:26:39 CET] <rcombs> but it's not memcpy
[23:26:46 CET] <Daemon404> .. what are you trying to do here
[23:26:51 CET] <Daemon404> does yami have no concept of stride?
[23:26:58 CET] <BtbN> It does
[23:27:08 CET] <BtbN> It has: data pointer, offset[3], stride[3]
[23:27:55 CET] <Daemon404> is data even guaranteed to be a contiguous buffer
[23:28:06 CET] <BtbN> in ffmpeg? No.
[23:28:12 CET] <BtbN> But yami seems to expect it to be.
[23:28:17 CET] <BtbN> So copying stuff around it is
[23:28:22 CET] <Daemon404> yeah thats why i asked
[23:28:38 CET] <fritsch> better rise an issue with them before it's too late
[23:28:51 CET] <fritsch> it seems libyami is not really what should be coped with
[23:28:54 CET] <BtbN> But if yami doesn't touch the data in between, just giving it the lowest of the 3 data pointers, and calculating offsets might still work
[23:29:08 CET] <Daemon404> it may work
[23:29:13 CET] <Daemon404> but it's not guaranteed to stay working
[23:29:18 CET] <rcombs> yeah, that's my (potentially very bad) idea
[23:29:35 CET] <rcombs> yelling at the yami guys may be a better idea
[23:30:43 CET] <Daemon404> otherwise youre stuck with av_image_copy_to_buffer
[23:30:45 CET] <rcombs> maybe I should have my intel guy do the yelling
[23:31:06 CET] <Daemon404> alternatively
[23:31:07 CET] <Daemon404> if you can
[23:31:12 CET] <Daemon404> you can control get_buffer2
[23:31:16 CET] <Daemon404> and ensure it is contiguous
[23:31:27 CET] <Daemon404> if this is a downstream codebase.
[23:31:35 CET] <Daemon404> if this is internal, you're SOL
[23:32:04 CET] <durandal_1707> who wants parametric equalizer to draw frequency response curve?
[23:32:28 CET] <Rokam> I'm trying to understand why the use of avformat_open_input for m3u8 playlist doesn't work like the ffmpeg command line
[23:32:47 CET] <rcombs> Rokam: what happens?
[23:34:28 CET] <rcombs> I may be able to wield some amount of influence over libyami
[23:34:45 CET] <Rokam> rcombs: Kodi uses avformat_open_input and avcodec_open2. When I pass the playlist
[23:35:12 CET] <Rokam> on every response and on every ts file it changes the cookie
[23:35:43 CET] <Rokam> after about 5 minutes the server returns error 403 due to a wrong cookie
[23:36:11 CET] <Rokam> I've sent a patch for that issue: https://github.com/FFmpeg/FFmpeg/commit/770dd105044d00263da041f509a08b31629…
[23:36:35 CET] <Rokam> And it works fine when I pass the playlist through the command line
[23:36:52 CET] <Rokam> but Kodi remains with the issue
[23:37:10 CET] <Rokam> even with the fixed ffmpeg code
[23:37:35 CET] <Rokam> I'm trying to find the issue to send a patch to kodi or ffmpeg
[23:38:00 CET] <Rokam> but I'm kind noob and I'm unable to compile kodi on win10
[23:39:15 CET] <Rokam> I think the issue is that the context is getting lost when the call comes by libavformat shared
[23:40:43 CET] <Rokam> rcombs: any tip for me?
[23:41:30 CET] <rcombs> maybe debug the process and see if line 548 there is running?
[23:42:52 CET] <Rokam> I'll try to compile kodi again
[23:43:56 CET] <Rokam> rcombs: Is there a simple player that uses ffmpeg shared libs?
[23:44:03 CET] <rcombs> almost certainly easier to do this on a POSIX system
[23:44:11 CET] <rcombs> ffplay, for one
[23:44:30 CET] <rcombs> or mpv (less simple)
[23:44:31 CET] <Rokam> I can't set a cookie on ffplay
[23:44:37 CET] <rcombs> sure you can
[23:44:42 CET] <Rokam> I'll try mpv
[23:45:10 CET] <Rokam> so, I'll try it again
[23:45:43 CET] <Rokam> should I use --headers "Cookie: xxxxxx"?
[23:45:58 CET] <fritsch> Rokam: how did you build kodi against an ffmpeg version with that patch integrated in the first place?
[23:46:32 CET] <Rokam> The beta2 is already with that patch
[23:46:33 CET] <rcombs> just `-cookies <whatever>` I believe
[23:46:34 CET] <fritsch> Rokam: kodi ships 2.8.4 (Jarvis nightly / master nightly), latest stable has 2.7.x
[23:46:52 CET] <Rokam> the patch is on 2.8.2
[23:47:01 CET] <Rokam> I think
[23:47:06 CET] <Rokam> or 2.8.3
[23:47:11 CET] <fritsch> i updated kodi's ffmpeg that afternoon
[23:47:35 CET] <fritsch> jep, it's there -verfied
[23:48:08 CET] <fritsch> was pushed to 2.8.x on 30 october
[23:48:21 CET] <rcombs> Rokam: if the caller sets a cookie using the "Headers" option, that patch won't work as expected
[23:49:03 CET] <Rokam> fritsch: https://github.com/xbmc/FFmpeg/blob/release/2.8-xbmc/libavformat/hls.c#L629 ;)
[23:49:24 CET] <Rokam> rcombs: Thanks for the info. But why it won't work?
[23:51:23 CET] <rcombs> because the patch doesn't handle that case?
[23:53:26 CET] <fritsch> Rokam: yes, found it as said above
[00:00:00 CET] --- Wed Dec 23 2015
1
0
[00:03:51 CET] <Guiri> I'm having some trouble grabbing a stream from ffserver. I think I'm successfully streaming via ffmpeg to the ffm endpoint. I can see it in both logs, the firewall is open. But I don't have a feed at http://domain.com:8090/feed.flv
[00:35:44 CET] <scottchiefbaker> I've got a bunch of old avis I'm trying to convert to x264 and I'm doing ffmpeg -y -i in.avi -preset slower -crf 23 -strict -2 -c:a aac -q:a 0.8 /tmp/out.avi
[00:35:53 CET] <scottchiefbaker> But I'm getting: [libx264 @ 0x47cb920] height not divisible by 2 (320x237)
[00:35:55 CET] <scottchiefbaker> and it fails
[00:36:07 CET] <scottchiefbaker> What's the BEST way to fix that?
[00:55:00 CET] <c_14> -vf scale=iw:-2
[01:09:17 CET] <scottchiefbaker> c_14: Can you translate that to english for me?
[01:09:42 CET] <scottchiefbaker> c_14: It works... just not sure what it does :)
[01:10:04 CET] <c_14> scales the height to the nearest (larger) factor of 2
[01:10:30 CET] <scottchiefbaker> iw means height?
[01:11:16 CET] <scottchiefbaker> Also... what if my input is already a multiple of 2. In other words, is it safe to add this to my script to auto-scale all the incorrect ones, and leave the rest alone?
[01:12:27 CET] <Guest72961> Can someone tell me how to use iw/ow in scale when the video is being auto rotated (because of the rotate metadata)? Is it possible to scale after the auto rotate and have these values respect the rotated video?
[01:12:51 CET] <Guest72961> or do I have to set noautorotate and do it myself?
[01:13:24 CET] <c_14> scottchiefbaker: iw is the input width, that's to make sure it keeps the same input width. The -2 then means to scale the height to a factor of 2 preserving the aspect ratio.
[01:14:19 CET] <c_14> Guest72961: afaik the rotate should be the last filter applied, therefore every filter you manually set will execute before it
[01:18:35 CET] <Guest72961> c_14: Im using this "scale=trunc(min(ow\,1280)/32)*32:trunc(min((ow/dar)\,720)/32)*32" and what its doing is rotating then scaling so my video is squashed
[01:18:43 CET] <Guest72961> same with iw
[01:20:30 CET] <c_14> Y
[01:20:39 CET] <c_14> ou might just have to do it manually and set -noautorotate
[01:27:30 CET] <Guest72961> c_14: Do you know were the source code is for autorotate so I can emulate it?
[01:34:13 CET] <c_14> ffmpeg_filter.c lines 752-770
[01:41:16 CET] <Guest72961> ta
[02:09:40 CET] <E-TARD> I need help real bad! I'm trying to do a hls out from ffserver but I do not get how to pass the hls settings "like hls_flags single_file" and "hls_segment_filename" in the ffserver.conf I was thinking AVPresetVideo?
[02:11:31 CET] <E-TARD> how do i tell ffserver hls settings "like hls_flags single_file" and "hls_segment_filename" in the ffserver.conf
[02:44:12 CET] <E-TARD> can somone help me :(
[02:44:51 CET] <E-TARD> i have been working on ffserver for man many days now
[02:45:04 CET] <E-TARD> there is not much help when it comes t this
[02:46:09 CET] <E-TARD> anyone alive in here?
[02:52:32 CET] <E-TARD> ok amybe someone could help me with this
[02:52:33 CET] <E-TARD> [hls @ 0x808e39c]failed to rename file .tmp to
[02:54:08 CET] <E-TARD> .tmp when you cat it you see the data of a m3u8 file now why does it failed to rename file. i don't know
[03:08:42 CET] <waressearcher2> E-TARD: hallo, wie geht's es dir ?
[03:08:51 CET] <E-TARD> ?
[07:15:47 CET] <pinPoint> so I had my pc do a bench test for time. libx264 and libx265. -preset ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow on both codecs. Interesting results
[07:16:10 CET] <pinPoint> a 3+ run will post the time results(benchmark) soonish
[07:16:37 CET] <pinPoint> 3 day plus run*
[07:43:17 CET] <C0nundrum> Hello if i'm recording an flv and ffmpeg is sundenly clossed is there anyway to recover the flv ?
[08:33:38 CET] <E-TARD> C0nundrum & pinPoint i have been w8ing hrs for a reply to my ? & i feel you will end up w8ing as long or longer
[08:33:47 CET] <E-TARD> 296 user & no one replys
[08:35:45 CET] <JEEB> C0nundrum: flv should not have an index per se so highly likely that you can just pöay that flv file
[08:35:59 CET] <JEEB> *play
[08:47:21 CET] <satinder> hi
[08:47:34 CET] <satinder> I have CP Plus DVR
[08:48:39 CET] <satinder> the video stream from dvr is coming through ethernet port to my pc
[08:49:05 CET] <satinder> I can play that stream through vlc like following
[08:49:11 CET] <satinder> rtsp://admin:admin@192.168.1.240:554/cam/realmonitor?channel=3&subtype=0
[08:49:38 CET] <satinder> but when I am trying to play with ffplay then I can not play
[08:49:51 CET] <satinder> I use following command
[08:50:02 CET] <satinder> ffplay rtsp://admin:admin@192.168.1.240:554/cam/realmonitor?channel=3&subtype=0
[08:50:11 CET] <satinder> Is there any problem
[08:50:22 CET] <satinder> please anybody help me
[08:50:25 CET] <satinder> ??
[08:57:09 CET] <satinder> is there anyone who can help me
[08:57:11 CET] <satinder> ??
[09:22:27 CET] <satinder> Hi
[09:22:35 CET] <satinder> please anyone help
[09:27:26 CET] <durandal_1707> what to help?
[09:33:12 CET] <satinder> durandal_1707 : hi thanks for reply
[09:33:22 CET] <satinder> My query is following :
[09:33:32 CET] <satinder> hi
[09:33:33 CET] <satinder> <satinder> I have CP Plus DVR
[09:33:33 CET] <satinder> <satinder> the video stream from dvr is coming through ethernet port to my pc
[09:33:33 CET] <satinder> <satinder> I can play that stream through vlc like following
[09:33:33 CET] <satinder> <satinder> rtsp://admin:admin@192.168.1.240:554/cam/realmonitor?channel=3&subtype=0
[09:33:34 CET] <satinder> <satinder> but when I am trying to play with ffplay then I can not play
[09:33:37 CET] <satinder> <satinder> I use following command
[09:33:39 CET] <satinder> <satinder> ffplay rtsp://admin:admin@192.168.1.240:554/cam/realmonitor?channel=3&subtype=0
[09:33:41 CET] <satinder> <satinder> Is there any problem
[09:33:43 CET] <satinder> <satinder> please anybody help me
[09:34:10 CET] <satinder> if you have any idea thwn please help
[09:34:36 CET] <satinder> sorry for copy & Paste I hope you understand that issue
[09:34:39 CET] <satinder> :)
[09:37:47 CET] <satinder> durandal_1707 : ??
[09:42:03 CET] <durandal_1707> what ffplay reports?
[09:48:54 CET] <nindustries> Hi guys
[09:49:05 CET] <nindustries> just wanted to say thanks to all of you
[09:49:13 CET] <nindustries> because I love ffmpeg :)
[09:50:57 CET] <satinder> satinder@satinder-vsys:~/bin$ ffplay version 2.8.4 Copyright (c) 2003-2015 the FFmpeg developers
[09:51:01 CET] <satinder> built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
[09:51:01 CET] <satinder> configuration: --prefix=/opt/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/satinder/ffmpeg_build/include --extra-ldflags=-L/home/satinder/ffmpeg_build/lib --bindir=/home/satinder/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
[09:51:02 CET] <satinder> libavutil 54. 31.100 / 54. 31.100
[09:51:02 CET] <satinder> libavcodec 56. 60.100 / 56. 60.100
[09:51:03 CET] <satinder> libavformat 56. 40.101 / 56. 40.101
[09:51:04 CET] <satinder> libavdevice 56. 4.100 / 56. 4.100
[09:51:08 CET] <satinder> libavfilter 5. 40.101 / 5. 40.101
[09:51:10 CET] <satinder> libswscale 3. 1.101 / 3. 1.101
[09:51:12 CET] <satinder> libswresample 1. 2.101 / 1. 2.101
[09:51:14 CET] <satinder> libpostproc 53. 3.100 / 53. 3.100
[09:51:16 CET] <satinder> [rtsp @ 0x7fb640004f60] method DESCRIBE failed: 404 Not Found=0/0
[09:51:18 CET] <satinder> rtsp://admin:admin@192.168.1.240:554/cam/realmonitor?channel=3: Server returned 404 Not Found
[09:51:20 CET] <satinder> durandal_1707 : please see above
[09:51:37 CET] <satinder> :(
[11:04:53 CET] <chuugar> Hi all, is there a way to add a cover art to an OGG audio file with ffmpeg?
[14:12:00 CET] <C0nundrum> Prev querstion: Hello if i'm recording an flv and ffmpeg is sundenly clossed is there anyway to recover the flv ?
[14:12:34 CET] <C0nundrum> JEEB if ffmpeg isn't closed properly for it to complete the file, it doesn't play in any player.
[14:12:48 CET] <Hybridesque> Afternoon everyone
[14:20:47 CET] <JEEB> C0nundrum: that shouldn't be the case with FLV
[14:20:51 CET] <JEEB> after all, you can stream it just fine
[14:20:55 CET] <JEEB> are you sure your output is FLV :P
[14:21:10 CET] <JEEB> or if you have any data at all in the FLV file
[14:21:30 CET] <JEEB> if you run `ffprobe file.flv` does it say anything (use pastebin to copy the information and link it here)
[14:21:36 CET] <JEEB> (don't paste onto the channel)
[15:27:24 CET] <phillip> hi, I want to convert a mts file to mp4. I used the following arguments: https://gist.github.com/PhillipSz/199b3dd2b785e6f4d1dc the problem is that it adds some weird lines, when the camera moves. How can I fix that?
[15:29:01 CET] <fritsch> phillip: the original file plays without those lines?
[15:29:31 CET] <phillip> fritsch: in gnome video (totem) yes.
[15:29:37 CET] <fritsch> and in vlc no, right?
[15:29:47 CET] <fritsch> most likely it's interlaced
[15:29:49 CET] <phillip> yes
[15:29:52 CET] <fritsch> and needs deinterlacing
[15:30:03 CET] <fritsch> what does: mediainfo of this file say?
[15:30:49 CET] <phillip> fritsch: mediainfo ?
[15:31:36 CET] <phillip> fritsch: ahh wait a moment I install it
[15:32:09 CET] <Mavrik> phillip, you enable deinterlacing in the player
[15:32:13 CET] <fritsch> -vf "yadif=0:-1:0" makes it go away? (after the -i yourfile?)
[15:32:22 CET] <fritsch> Mavrik: yeah, totem does it automatically, vlc not :p
[15:32:25 CET] <fritsch> that's most likely his issue
[15:32:26 CET] <Mavrik> Also don't encode into MPEG-4 ffs -_-
[15:32:36 CET] <Mavrik> Yes, deinterlacing will affect quality though.
[15:32:39 CET] <fritsch> but if he is transcoding anyways, he can directly use yadif to deinterlace
[15:32:51 CET] <Mavrik> It introduces a blur when moving camera
[15:33:05 CET] <fritsch> not really
[15:33:11 CET] <fritsch> but with this 25 fps most likely
[15:33:24 CET] <phillip> fritsch: http://sprunge.us/YdFe
[15:33:33 CET] <fritsch> see it's interlaced
[15:33:40 CET] <fritsch> either you deinterlace in the player
[15:33:43 CET] <fritsch> or with ffmpeg
[15:34:07 CET] <fritsch> and don't use mpeg4 please
[15:34:16 CET] <fritsch> that's some 20 years too old
[15:34:43 CET] <phillip> fritsch: okey, what should I use instead?
[15:35:08 CET] <fritsch> keep h264?
[15:35:17 CET] <fritsch> you just want to convert it cause of the "lines" right?
[15:35:42 CET] <fritsch> anyways, add -vf yadif
[15:35:47 CET] <fritsch> and see if you like the output
[15:36:05 CET] <mcepl> hi, I know this is probably not a right channel (can somebody suggest a better one, please?) but can somebody suggest SIMPLE UPnP server with miniamal dependencies (just for home server with RHEL-6)?
[15:36:19 CET] <phillip> fritsch: yep
[15:38:33 CET] <phillip> fritsch: yeah it work, thank you!
[15:39:11 CET] <fritsch> can you get me a mediainfo of the resulting file?
[15:39:21 CET] <fritsch> what happens if you ommit -r 25?
[15:39:48 CET] <phillip> http://sprunge.us/NPHe
[15:40:14 CET] <fritsch> okay, now keep away that -r 25
[15:40:22 CET] <fritsch> and use "yadif=1"
[15:40:26 CET] <fritsch> and try again
[15:40:31 CET] <fritsch> do you like that even more?
[15:40:49 CET] <phillip> http://sprunge.us/GYCV
[15:40:59 CET] <phillip> ahh wait
[15:41:01 CET] <fritsch> nope, that's not it
[15:41:02 CET] <fritsch> :-)
[15:41:14 CET] <phillip> I try with "yadif=1" :)
[15:41:22 CET] <fritsch> and without -r 25
[15:43:13 CET] <phillip> fritsch: so instead of "-vcodec mpeg4" should I also just use "-vcodec h264" ?
[15:43:25 CET] <fritsch> nope - one step after the other
[15:43:38 CET] <fritsch> first see if you prefer the movement with yadif=1
[15:43:53 CET] <phillip> okey so http://sprunge.us/WiDU
[15:44:52 CET] <fritsch> how does it look the video?
[15:45:06 CET] <fritsch> can you still play it?
[15:45:56 CET] <phillip> fritsch: yes, it's perfect!
[15:46:27 CET] <fritsch> okay
[15:46:33 CET] <fritsch> now which ffmpeg version are you using?
[15:46:59 CET] <phillip> ffmpeg version 2.8.4
[15:47:04 CET] <fritsch> replace "yadif=1" with "w3fdif" (without any number)
[15:47:07 CET] <fritsch> and produce another file
[15:47:11 CET] <fritsch> do you like that better?
[15:49:16 CET] <fritsch> for video part of your encoding, use (via the wiki): -c:v libx264 -preset slow -crf 22
[15:49:32 CET] <fritsch> add the vf= yadif=1 or w3fdif
[15:49:40 CET] <fritsch> care for your audio and that's it
[15:49:52 CET] <fritsch> w3fdif is the bbc deinterlacer
[15:50:00 CET] <phillip> fritsch: so it's mostly the same, maybe a bit better :)
[15:50:16 CET] <fritsch> some say it has "much" higher quality than yadif (though - some hang with their face directly in front of the screen)
[15:50:27 CET] <fritsch> i have not seen any numbers proving that
[15:50:30 CET] <fritsch> yadif is quite efficent
[15:50:52 CET] <fritsch> oki, now assemble your ffmpeg command and see that you get something good out of the video
[15:56:38 CET] <phillip> fritsch: okey, thanks a lot! So it needs much more time to convert the file now, but that's fine :)
[15:57:04 CET] <Mavrik> and please do use "-vcodec libx264"
[15:57:16 CET] <Mavrik> Kinda pointless grabbing videos from BR and then destroying them :P
[16:00:57 CET] <phillip> Mavrik: okey so I should use https://gist.github.com/PhillipSz/199b3dd2b785e6f4d1dc this command now?
[16:01:17 CET] <shincode> holy crap people are alive
[16:01:18 CET] <Mavrik> -vcodec and -c:v are obviously the same parameter.
[16:01:25 CET] <Mavrik> But yeah.
[16:01:30 CET] <shincode> Building static libraries of ffmpeg collection with optimizations
[16:01:32 CET] <phillip> hehe
[16:01:47 CET] <shincode> link all statics in my shared library whines about Recompile with fPic
[16:01:58 CET] <shincode> I did --enable-pic on static ffmpegs and without
[16:02:02 CET] <shincode> same with my shared libraries
[16:02:04 CET] <shincode> arm processor
[16:02:12 CET] <shincode> doesnt seem to do this with x86 32 bit
[16:02:26 CET] <phillip> so thanks and bye Mavrik and fritsch !
[16:03:06 CET] <shincode> Lies!
[16:03:13 CET] <shincode> someone said you cant mix statics with shared
[16:03:22 CET] <shincode> I can certinally do this on windows
[16:03:34 CET] <shincode> unless its because theres assembly code it cant mix them
[16:04:00 CET] <shincode> im certain if i disable the assembly instructions it will link and be fine but then i loose the optimizations or will I?
[16:04:42 CET] <shincode> Since when was ffmpeg devs better than a optimizations made by compiler which isa collection of nerds in a cave that alls they do is optimize unless Ox options was invented by ffmpeg
[16:06:33 CET] <durandal_1707> what are you talking about?
[16:08:00 CET] <DHE> I dunno but gcc 5.2.0 with -flto and inline ASM disabled performs worse than gcc 4.3 without -lfto and inline ASM enabled
[16:08:10 CET] <DHE> so I'm inclined to say the hand-written ASM is actually pretty good
[16:09:12 CET] <shincode> i read about that with ftlo
[16:09:47 CET] <shincode> my problem now is its whining that some in libswscale is not relocatable
[16:10:07 CET] <shincode> so I'm guessing enable-pic and the cflags in config.mak are not carrying to libswscale
[16:11:14 CET] <DHE> I think the issue is the local labels in the asm are being duplicated and then the linker has a fit about duplicate symbols
[16:11:35 CET] <DHE> or something to that effect
[16:13:23 CET] <shincode> im only linking in avformat, avcodec, avutil, and swscale if that helps.
[16:16:50 CET] <shincode> VideoStreamer.o: relocation R_ARM_THM_MOVW_ABS_NC against `__pthread_key_create' can not be used when making a shared object; recompile with -fPIC
[16:16:54 CET] <shincode> is what it whines about
[16:22:28 CET] <JEEB> rebuild all of your dependencies with PIC
[16:22:40 CET] <JEEB> like, make sure the whole chain is built with PIC
[16:22:46 CET] <JEEB> with ffmpeg the option is --enable-pic
[16:23:52 CET] <JEEB> if it still fails then, make your own thingy build with PIC as well
[16:24:02 CET] <JEEB> usually it's just the dependencies that need the PIC if it tells you like that
[16:24:06 CET] <JEEB> (IIRC)
[16:24:34 CET] <shincode> I did this
[16:24:51 CET] <shincode> i even when in config.mak and stuck -fPICS on AS flags lol
[16:25:27 CET] <shincode> i even verify cflags gets populate with fPIC when using enable-pic as well
[16:25:37 CET] <JEEB> well I mean your dependencies
[16:25:58 CET] <JEEB> and then finally your code
[16:26:02 CET] <JEEB> if it then still fails then gj
[16:28:50 CET] <shincode> you mean gl?
[16:28:53 CET] <shincode> lol
[16:29:41 CET] <shincode> reality is if i can find the linker on the make file Id link it all to the same library shared or static
[16:52:57 CET] <shincode> --enable-pic --disable-asm used
[16:53:01 CET] <shincode> hope it works
[17:05:47 CET] <shincode> this is wierd....
[17:06:28 CET] <shincode> with x86 I can link just fine statics with asm compiled and optimizations into a shared library which makes use of avcodec but
[17:06:33 CET] <shincode> arm can't....
[17:06:38 CET] <shincode> with the same configure line
[17:11:30 CET] <shincode> there a way to ditch ffmpegs pthread.c objects
[17:11:38 CET] <shincode> like --disable-reinvent-the-wheel
[17:11:55 CET] <shincode> I think this is the problem considering pthread_create_key is whatis whining about
[17:29:32 CET] <shincode> I got closer to this issue
[17:29:40 CET] <shincode> some reason x86 uses pthread.so in the end
[17:29:50 CET] <shincode> but on arm its either compiling a pthread.c into it
[17:29:58 CET] <shincode> Or linking with some pthread.a somewhere
[18:04:01 CET] <shincode> so it appears when doing a diff of config.mak of x86 and arm build it seems like YASM is missing -DPIC
[18:35:42 CET] <Franciman> Hello, I don't pretty much understand what libavfilter is for
[18:35:54 CET] <Franciman> can you give me some pointer to an explaination?
[18:36:05 CET] <Franciman> maybe with examples
[18:41:02 CET] <DHE> the -vf and -af parameters for ffmpeg invoke filters from there
[18:43:39 CET] <Franciman> DHE, where can I find some examples?
[18:44:17 CET] <DHE> I'm not the guy to ask API questions about
[18:44:53 CET] <Franciman> :P
[18:44:58 CET] <Franciman> sorry then
[18:47:33 CET] <c_14> Franciman: doc/examples/filter*
[18:48:26 CET] <Franciman> c_14, would creating a waveform image from audio be a suitable example of filters use?
[18:49:13 CET] <Franciman> anyways thanks
[18:50:06 CET] <c_14> Well, that's basically what showwaves does
[18:50:41 CET] <Franciman> oh great, thanks
[18:53:47 CET] <shincode> i got it!
[18:54:00 CET] <shincode> for the arm problem on shared library add -mword-relocations arm specific..
[18:54:09 CET] <shincode> they say -fPIC should do same thing but its a lie of lies
[18:54:16 CET] <shincode> someone somewhere probablys says option is bad
[18:54:20 CET] <shincode> but wont say why
[18:54:27 CET] <shincode> anyone can sahre any input?
[19:21:53 CET] <shincode> anything
[20:15:30 CET] <lmat> I'm playing a .wav that has 8 channels, and ffmpeg isn't impressed :-) The error is...
[20:16:25 CET] <lmat> pcm_s24le @ 0x7fee....] Channel layout '5.1' with 6 channels does not match specified number of channels 8: ignoring specified channel layout"
[20:16:42 CET] <lmat> I'm guessing that means that the .wav file is specifying itself as a 6-channel audio, but it actually has 8 channels?
[20:16:47 CET] <lmat> It's not playing correctly, too.
[20:16:51 CET] <JEEB> that's not an error
[20:16:54 CET] <JEEB> oh wait
[20:17:15 CET] <JEEB> you are setting a 5.1 layout somewhere yourself
[20:17:21 CET] <JEEB> or the API is
[20:17:34 CET] <JEEB> and you have 8 channels in that wav as data
[20:17:37 CET] <lmat> My pulse audio profile is 7.1
[20:17:47 CET] <JEEB> please pastebin full command line and terminal output
[20:17:48 CET] <JEEB> and link here
[20:17:59 CET] <lmat> oh boy, I'll try! just a sec
[20:18:28 CET] <lmat> I'm using computer A to ssh to computer B for irc. All this is happening on computer C ^_^
[20:18:40 CET] <lmat> I think I'll use computer A, and ssh to computer C, copy this into computer B...
[20:19:31 CET] <JEEB> you could just use ssh as a ProxyCommand
[20:19:44 CET] <lmat> http://sprunge.us/QfFP
[20:20:36 CET] Action: lmat never heard of that...reading
[20:22:21 CET] <shincodex> Hey thats what i was doing earlier
[20:22:36 CET] <JEEB> Host target_boxen\n ProxyCommand ssh -q -W %h:%p jeeb@boxen
[20:22:43 CET] <shincodex> im xrdping from windows into x86 mate to irc while xrdping into arm processor doing all the work
[20:22:50 CET] <JEEB> in your ~/.ssh/config
[20:23:16 CET] <JEEB> that way when you ssh to target_boxen, you will automagically proxy it through boxen
[20:25:12 CET] <shincodex> the only sad thing is i cant copy paste between sessions :((((
[20:25:14 CET] <lmat> JEEB: ah, I see.
[20:25:33 CET] <lmat> okay, pasted output
[20:25:50 CET] <JEEB> does ffprobe say the same?
[20:26:27 CET] <lmat> JEEB: dunno, just a sec
[20:27:26 CET] <lmat> yes
[20:27:51 CET] <JEEB> ok
[20:27:52 CET] <lmat> hmm, maybe I can hexdump the file and read it...I used to know the format ^_^
[20:28:05 CET] <JEEB> so basically the wav says something and the data doesn't agree, which is funky
[20:28:14 CET] <lmat> JEEB: not terribly ^_^
[20:28:34 CET] <JEEB> there's a WAVE extended something that has the channel layout in it
[20:28:41 CET] <JEEB> don't remember how the structure was called :/
[20:28:50 CET] <lmat> JEEB: ooohhhh, I'm just looking at the fmt section.
[20:30:11 CET] <lmat> within the fmt header, the first field is "audio fmt"...the value in the file is fe ff 08 00 (LE)
[20:32:51 CET] <lmat> http://soundfile.sapp.org/doc/WaveFormat/ says that the fmt chunk should have a length of 16. Mine reports 0x28...
[20:33:04 CET] <lmat> Maybe I'll just write my own wave file instead of this one I found online
[20:33:13 CET] <lmat> Here's the deal: VLC plays it as expected.
[20:33:49 CET] <E-TARD> How to i set things like hls_segment_filename or segment_list or segment_list_type in ffserver.conf? do i use avoptionvideo or avpresetvideo?
[20:34:15 CET] <lmat> I'll just bugger off unless anyone's interested in the nitty gritty here.
[20:36:38 CET] <E-TARD> so no one know how to set settings like hls_segment_filename or segment_list or segment_list_type in ffserver.conf?
[20:37:16 CET] <JEEB> E-TARD: you are using ffserver
[20:37:17 CET] <JEEB> good luck
[20:37:30 CET] <JEEB> it's mostly unmaintained and only few know how to use it
[20:37:35 CET] <E-TARD> i have got far with it & know soo much more now then i did before
[20:37:37 CET] <JEEB> if you can get your stuff done with ffmpeg itself
[20:37:42 CET] <JEEB> then do so
[20:37:44 CET] <E-TARD> i just hit a wall with this
[20:37:47 CET] <JEEB> if not, my condolences
[20:37:54 CET] <E-TARD> i need ffserver
[20:38:02 CET] <JEEB> then I'm sorry
[20:38:06 CET] <E-TARD> i have got ffmpeg down pat
[20:38:20 CET] <E-TARD> but i need a ffserver to put on my server
[20:38:31 CET] <JEEB> yeah, ffmpeg is OK. it's just ffserver that is as "dead" as it is
[20:38:40 CET] <JEEB> if you get it to work, great
[20:38:42 CET] <E-TARD> not from what i have seen
[20:38:44 CET] <JEEB> if not, you get to keep both pieces
[20:38:47 CET] <E-TARD> it can do soo much
[20:38:59 CET] <JEEB> right, but that still doesn't make it not dead
[20:39:10 CET] <JEEB> it's only very lightly poked at by a very limited set of people
[20:39:40 CET] <E-TARD> all i need is to set things like -hls_flags single_file in ffserver.conf
[20:39:43 CET] <JEEB> I wouldn't be against removing ffserver altogether because nobody knows how to use it and nobody knows if it's broken or not :P
[20:39:57 CET] <JEEB> but I'm not in control of that :)
[20:40:07 CET] <E-TARD> i feel that to do that i have to set it with something like avoptionvideo or avpresetvideo?
[20:40:26 CET] <E-TARD> without ffserver there would only be pay shit
[20:40:30 CET] <E-TARD> f that
[20:40:44 CET] <JEEB> not really
[20:40:45 CET] <E-TARD> i dont have $800 and up to blow on this
[20:40:58 CET] <JEEB> there's icecast, and for HLS/DASH you use normal httpds
[20:41:09 CET] <JEEB> because it's literally shit on a file system
[20:41:32 CET] <E-TARD> can it do live flv over http
[20:41:57 CET] <JEEB> why not? although nothing supports that
[20:42:05 CET] <JEEB> because flv is only used in rtmp(e)
[20:42:16 CET] <JEEB> or well, not only but you get my point :P
[20:42:21 CET] <E-TARD> i need ffserver to take a feed from me & pump out a flv over http a hls & a dash
[20:42:21 CET] <JEEB> it's flash-only
[20:42:49 CET] <E-TARD> i have got it to do everything i want but the hls and dash because of plays
[20:43:04 CET] <E-TARD> playlists
[20:43:08 CET] <JEEB> the receiving side is what I'd do with ffmpeg I guess
[20:43:25 CET] <JEEB> or did ffmpeg have listen mode so you could push into it?
[20:43:32 CET] <E-TARD> does any one other then JEEB know anything that can help me
[20:43:34 CET] <JEEB> because I know you can push it
[20:43:47 CET] <JEEB> uhh, got it weird again
[20:43:56 CET] <JEEB> *I know ffmpeg can push things through to an HTTP thing
[20:44:19 CET] <E-TARD> i can't use ffmpeg on the server side
[20:44:27 CET] <E-TARD> i need ffserver
[20:45:22 CET] <E-TARD> ok then back to looking at lines and lines of code
[20:45:27 CET] <JEEB> ok, seems like you can listen with ffmpeg
[20:45:38 CET] <JEEB> so yeah, I would have one ffmpeg on the server listening and muxing all those three
[20:45:48 CET] <JEEB> and then another actual transcoder pushing stuff through http
[20:45:55 CET] <JEEB> to the muxer
[20:46:18 CET] <E-TARD> but ffmpeg has not config, ffmpeg will not push out mroe thenone streams from one feed
[20:46:23 CET] <JEEB> what
[20:46:45 CET] <E-TARD> does it have a config file
[20:47:04 CET] <JEEB> ffmpeg -i input -map 0 out.m3u8 -map 0 -f dash out.mpd -map 0 out.flv
[20:47:09 CET] <JEEB> there, one input, three outputs
[20:47:35 CET] <JEEB> you'd of course set more options, but that's the basic gist of it
[20:48:04 CET] <E-TARD> but are they listening
[20:48:23 CET] <JEEB> you'd use an actual httpd for that
[20:48:46 CET] <E-TARD> ok then how to i get my files from my pc to the server
[20:48:58 CET] <E-TARD> ftp
[20:49:18 CET] <prelude2004c> hEY GUYS.. GOOD DAY
[20:49:20 CET] <prelude2004c> oops..
[20:49:29 CET] <prelude2004c> using ffmpeg and vdpau . the M4000 does h264 decoding right ? i am using vdpau and i finally got it going but for some reason any source that is mpeg2video decodes fine with GPU but h264 content does not ? Any idea why that would be ?
[20:49:32 CET] <JEEB> you put one remuxer on the server listening for the transcoder, and push transcoded stuff via HTTP to the muxer
[20:49:57 CET] <JEEB> [ffmpeg transcoding one output stream] => [ffmpeg muxing those formats on the server (no transcoding)]
[20:50:27 CET] <E-TARD> blah there would be mad lag doing it that way
[20:50:36 CET] <JEEB> why?
[20:50:44 CET] <E-TARD> i think ffmpeg ftp to server would be faster
[20:50:49 CET] <JEEB> no
[20:50:52 CET] <E-TARD> this is a live feed
[20:51:06 CET] <E-TARD> i need low lag
[20:51:06 CET] <JEEB> this shouldn't have more lag than what you have between ffmpeg and ffserver :P
[20:51:26 CET] <JEEB> also you'd by now be noticing the lag that libavformat and libavcodec give by themselves
[20:51:44 CET] <JEEB> like the fact that libavformat/-codec have an analyzeduration of five seconds
[20:52:20 CET] <JEEB> anyways, not my job so have fun with whatever you have chosen
[20:52:47 CET] <E-TARD> at this point i wish i had $800 for evostream
[20:53:38 CET] <furq> 19:51:06 ( E-TARD) i need low lag
[20:53:40 CET] <furq> then don't use HLS
[20:53:51 CET] <E-TARD> that and i miss the days of flash and crtmpserver
[20:54:06 CET] <E-TARD> hls is for the iphone dumb shits
[20:54:22 CET] <E-TARD> i dont care soo much about them
[20:54:57 CET] <E-TARD> i just want to have it so i dont have to hear there emails anymore
[20:59:05 CET] <E-TARD> well i'm going to cut out thanks for helping JEEB. i will leve you all with this i feel ffserver is good (I like it for what i got it to do) but i feel more of the same settings found in ffmpeg need to be added to ffserver as well as better docs/tuts
[20:59:56 CET] <shincodex> None
[21:00:01 CET] <furq> did someone in here say that ffserver is a candidate for deprecation
[21:00:09 CET] <furq> that can't happen soon enough
[21:00:22 CET] <shincodex> I thought it was all a candidate for that
[21:00:23 CET] <shincodex> :O
[21:00:36 CET] <JEEB> I definitely would be for it, since so few people know what the flying fuck it does
[21:00:51 CET] <JEEB> and it keeps making people think they can use it as well as ffmpeg
[21:00:51 CET] <furq> i know what it does
[21:00:53 CET] <furq> it sucks
[21:01:10 CET] <JEEB> I think the worst part is that it "works" for some people
[21:01:27 CET] <JEEB> some people who have cut throats of goats on the right moon
[21:01:29 CET] <JEEB> etc
[21:01:53 CET] <furq> yeah i used to use it a bit and then it just stopped working completely after an upgrade
[21:02:20 CET] <furq> and by "working" i mean sort of working
[21:06:24 CET] <shincodex> i think the entertainment of this channel helps me over look those goat cutters
[21:07:07 CET] <furq> there's nothing wrong with a bit of ritual sacrifice
[21:07:31 CET] <furq> as long as it's for a good cause like divining a working configuration
[21:17:32 CET] <romano2k> hello there! is this a good place to ask for help with file transcoding?
[21:18:20 CET] <romano2k> i'll give it a try
[21:19:39 CET] <romano2k> i have a movie file with a FLAC audio track and 4 subtitles tracks. i'd like to copy video, transcode the audio track to AAC and keep only 2 of the subtitles tracks. is ffmpeg suited for this operation?
[21:19:59 CET] <furq> sure
[21:21:25 CET] <furq> https://ffmpeg.org/ffmpeg.html#Advanced-options
[21:21:31 CET] <romano2k> i've tried ffmpeg -i XXX -c:v copy -c:a aac -c:s copy XXX, but it kept only the first subtitle track
[21:21:58 CET] <furq> use -map for stream selection
[21:22:32 CET] <romano2k> so this is a normal behaviour not keeping subtitles with -c:s copy ?
[21:22:40 CET] <furq> i can't say i've ever tried
[21:22:46 CET] <furq> but -map 0:s:0 -map 0:s:1 should work
[21:22:56 CET] <furq> you may need to also explicitly map the audio and video tracks before that
[21:23:06 CET] <romano2k> ok
[21:24:31 CET] <JEEB> romano2k: ffmpeg by default selects "best" tracks in its opinion from all types and only uses those
[21:24:46 CET] <JEEB> you have to use map as furq noted to select more or less
[21:24:50 CET] <romano2k> JEEB: good to know, thank you
[21:25:02 CET] <JEEB> as soon as you put a map parameter into the command line it stops the automagic selection
[21:25:15 CET] <JEEB> so yes, you have to list all tracks you want to put into the output file
[21:25:22 CET] <furq> romano2k: you can also exclude tracks with -map 0 -map -0:s:2a
[21:25:28 CET] <furq> -map 0 -map -0:s:2
[21:27:28 CET] <romano2k> you mean "-map 0" or "-map -0:x:x"?
[21:27:42 CET] <romano2k> i'm reading the map help section, it's pretty new to me
[21:28:05 CET] <furq> both
[21:28:09 CET] <furq> -map 0 maps all streams
[21:28:19 CET] <romano2k> oh ok, i get it
[21:28:25 CET] <romano2k> include all then exclude some
[21:28:28 CET] <furq> right
[21:28:54 CET] <romano2k> i don't understand the 0:s:0 format
[21:29:08 CET] <romano2k> let me share the result of a ffprobe on my file
[21:30:07 CET] <romano2k> http://pastebin.com/Q89mwh40
[21:30:40 CET] <romano2k> there are also chapters which i didn't pasted in here
[21:30:54 CET] <furq> you can just use 0:4 and 0:5
[21:31:08 CET] <romano2k> that's what i was thinking, ok
[21:31:21 CET] <romano2k> and do i need to specify anything to keep the chapters?
[21:31:23 CET] <furq> 0:s:x refers to subtitle streams in particular
[21:32:43 CET] <furq> there's -map_chapters 0 but i think that's done by default
[21:33:22 CET] <romano2k> anyway, "ffmpeg -i XXX -c:v copy -c:a aac -b:a 256k XXX" returns "Unable to find a suitable output format for 'copy'"
[21:33:30 CET] <romano2k> is it a problem with my ffmpeg version?
[21:34:09 CET] <furq> what's the extension of the output file
[21:34:57 CET] <romano2k> .mkv
[21:35:05 CET] <furq> that's weird
[21:36:53 CET] <JEEB> full command line and terminal output of ffmpeg in a pastebin, kthx
[21:40:05 CET] <romano2k> JEEB furq: http://pastebin.com/ChEXLu05
[21:41:31 CET] <JEEB> with -v debug
[21:42:41 CET] <JEEB> I recommend 2> stuff.log
[21:42:43 CET] <JEEB> at the end
[21:42:48 CET] <JEEB> so it gets written into a file :P
[21:42:52 CET] <Prelude2004c_> hey guys.. can anyone give me help with vdpau ? i am totally stuck
[21:42:57 CET] <JEEB> and you don't have to copypasta from the windows cmd.exe
[21:44:40 CET] <romano2k> JEEB: i'll have to find how to output the result into a file, it's not ">" with PowerShell ;-)
[21:45:35 CET] <romano2k> weird, the same command works within cmd
[21:45:47 CET] <romano2k> i mean not only the ">", the whole command
[21:45:51 CET] <furq> fun
[21:46:07 CET] <shincodex> libswscale.v are these the version stamps
[21:46:09 CET] <furq> i'm surprised -c:a aac works without -strict -2
[21:46:16 CET] <romano2k> it doesn't
[21:46:16 CET] <shincodex> so if i delete the files like this they will get regenerated
[21:46:19 CET] <furq> oh ok
[21:46:25 CET] <furq> that does work now but it only changed this month
[21:46:41 CET] <furq> there's been a lot of work on the builtin aac encoder so you might want to upgrade anyway
[21:46:45 CET] <romano2k> but in PowerShell i have the weird error message pasted above, with cmd it gets past it
[21:47:07 CET] <furq> i was going to suggest PS because it looks like an option parsing error
[21:47:10 CET] <furq> and the options look fine to me
[21:47:24 CET] <romano2k> you mean that with the latest version, encoder aac doesn't require the extra parameters anymore?
[21:47:31 CET] <furq> i believe so
[21:47:33 CET] <furq> i've not tried it yet
[21:47:34 CET] <romano2k> cool
[21:47:52 CET] <furq> i already went to the trouble of compiling a version with fdk_aac
[21:48:03 CET] <furq> but apparently the builtin one is much better now than it used to be
[21:48:58 CET] <JEEB> it is
[21:49:07 CET] <furq> speaking of new features i should try out that fancy new deinterlace filter
[21:49:09 CET] <JEEB> atomnuker did a great job with that other guy :3
[21:49:15 CET] <JEEB> "new deinterlacer"?
[21:49:24 CET] <romano2k> yeah i just read the wiki, it puts "aac" above all others
[21:49:26 CET] <JEEB> also you should build your ffmpeg with zscale
[21:49:34 CET] <JEEB> or well, zimg
[21:49:40 CET] <furq> w3fdif
[21:49:49 CET] <JEEB> so you get the zscale resizer/colorspace conversion filter :)
[21:49:50 CET] <furq> someone was talking about it earlier
[21:49:53 CET] <JEEB> hmm
[21:50:24 CET] <furq> i've been meaning to get avisynth and QTGMC working but i sort of hate avisynth
[21:50:53 CET] <JEEB> I've moved all my transcoding that used avisynth to vapoursynth now vOv
[21:51:39 CET] <JEEB> also I'll have to poke w3fdif
[21:56:43 CET] <shincodex> visual studio has trouble importing folders with things like Makefile because its extension based.
[21:58:20 CET] <furq> i think there's another reason why visual studio has trouble with that
[22:02:21 CET] <shincodex> not sure who to be upset with in this case
[22:02:27 CET] <shincodex> Its import files from folder
[22:02:35 CET] <shincodex> seems to be very broken
[22:03:45 CET] <furq> you should be upset with yourself for using visual studio
[22:11:05 CET] <shincodex> its best ide
[22:11:10 CET] <shincodex> i died when i used code blocks
[22:11:21 CET] <shincodex> and it spun in infinite loop when derefence pointer
[22:11:24 CET] <shincodex> i was so sad.
[22:11:34 CET] <shincodex> but then again the pointer was AVFrame so
[22:27:29 CET] <jonascj> Is it realistic to have 4 hours of 720p video h264 encoded on a dvd (4.7GB)?
[22:27:47 CET] <furq> sure
[22:27:55 CET] <furq> whether or not it'll look any good depends on the content
[22:28:07 CET] <jonascj> It means a bitrate of 4.7*1024^2/(4*60*60) = 350 kbit/s
[22:28:27 CET] <furq> that's 350KB/s
[22:28:33 CET] <jonascj> KB/s, yes
[22:28:36 CET] <furq> 2611kbps
[22:29:14 CET] <furq> so probably about 2500 for the video
[22:29:20 CET] <furq> that's plausible
[22:30:09 CET] <jonascj> kbps, is that kilo bit per second (not byte)?
[22:30:14 CET] <furq> yes
[22:30:53 CET] <jonascj> is it always kbps that is in the thousands (1000-3000) when you see specs of modern day h264 video? I always thought it was KB/s
[22:31:05 CET] <jonascj> So 360KB/s is not so bad
[22:31:57 CET] <furq> i've seen 720p crf 20 encodes come out smaller than that
[22:32:03 CET] <furq> it depends on the source
[22:40:39 CET] <jonascj> The source is this http://paste.linuxassist.net/view/0a4c4446 - a 36GB 1080p output from iMovie on Mac (I didn't opt for iMovie, a friend did, now I am trying to compress it a bit).
[22:41:46 CET] <jonascj> First of all I was thinking to rescale it to 720p.
[22:48:52 CET] <prelude2004c> anyone here good with vdpau or can give me direction on how i should proceed ? CPu doesn't have hardware decoding built in so i am trying to use my GPU card... works if the source is mpeg2video but if the source is h264 it doesnt' use the GPU.. not sure why
[22:48:58 CET] <prelude2004c> looking for some guidance
[22:57:30 CET] <fritsch> prelude2004c: vdpauinfo | pastebinit
[22:57:32 CET] <fritsch> please
[23:02:52 CET] <prelude2004c> http://pastebin.com/QSqW7MYY
[23:03:40 CET] <fritsch> all fine
[23:03:45 CET] <fritsch> you talk of decoding, right?
[23:04:54 CET] <fritsch> use a player of your choice and playback the files
[23:06:30 CET] <furq> h264 baseline not supported?
[23:07:01 CET] <fritsch> H264_CONSTRAINED_BASELINE
[23:07:14 CET] <fritsch> not to be confused with h264_baseline
[23:07:22 CET] <furq> they both say not supported
[23:07:31 CET] <furq> also how can it support main and not constrained baseline
[23:08:25 CET] <fritsch> constrained baseline is a nice mixture of all of those a subset
[23:08:41 CET] <furq> i thought CBP was a subset of main
[23:08:51 CET] <fritsch> https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC
[23:08:53 CET] <jonascj> When you see 190 and 320 "kbit/s" what is the unit they mean, is it "kilobits/s", i.e. it is 190/8 KB/s = 24 KB/s and 320/8 KB/S = 40 KB/s ?
[23:08:57 CET] <furq> yeah that's what i'm looking at
[23:08:58 CET] <fritsch> that's what they say
[23:09:09 CET] <furq> It corresponds to the subset of features that are in common between the Baseline, Main, and High Profiles.
[23:09:25 CET] <fritsch> so what do baseline, main and high have in common?
[23:09:49 CET] <fritsch> that's written quite funny
[23:09:59 CET] <fritsch> if you think of sets, the answer would be baseline
[23:10:09 CET] <fritsch> but that would make constrained baseline obsolte
[23:10:16 CET] <furq> look at the feature matrix at the bottom
[23:10:39 CET] <fritsch> nice
[23:10:47 CET] <furq> prelude2004c: run ffprobe on an h264 input file
[23:10:50 CET] <furq> and pastebin the result
[23:11:11 CET] <prelude2004c> yup doing that now
[23:11:15 CET] <prelude2004c> yes i am decoding the input one sec
[23:11:25 CET] <furq> granted if it is baseline i have no idea how you'd fix it
[23:12:15 CET] <prelude2004c> http://pastebin.com/Mddu11Yf
[23:12:31 CET] <prelude2004c> so basically its an h264 high input
[23:12:36 CET] <prelude2004c> i am transocing it using nvenc
[23:12:45 CET] <prelude2004c> the encoding is fine.. uses encoder on the card just fine
[23:12:53 CET] <prelude2004c> the issue is the cpu is not fast enough to decode and i get errors
[23:13:02 CET] <prelude2004c> so i want to offload to GPU decoder which is at 0% usage
[23:13:27 CET] <prelude2004c> if the source is SD and mpeg2video i see the decoder go up and be used for that source.. but the h264 for some reason never uses the decoder and prefers to use the CPU instead
[23:13:33 CET] <prelude2004c> i can't have that
[23:13:56 CET] <fritsch> do you do that from code? or via commandline?
[23:15:07 CET] <furq> prelude2004c: do you get any useful vdpau error messages with -v debug
[23:16:00 CET] <C0nundrum> JEEB are you still there ?
[23:17:04 CET] <prelude2004c> nothing really
[23:17:10 CET] <prelude2004c> i use this code.. let me get it for you
[23:17:31 CET] <Mavrik> Uh.
[23:17:46 CET] <Mavrik> Are you trying to use both decoding and encoding on the same card?
[23:17:51 CET] <prelude2004c> http://pastebin.com/RAchymRY
[23:17:58 CET] <prelude2004c> yup encoding and decoding on same card
[23:18:09 CET] <prelude2004c> the new cards have hardware decoders and cuda cores
[23:18:16 CET] <prelude2004c> so they work independantly.
[23:18:26 CET] <prelude2004c> again ,, when i use a source of mpeg2video it works perfectly as intended
[23:18:54 CET] <xintox> anyone hacking on neulion?
[23:19:05 CET] <xintox> join us in #h4kr
[23:19:08 CET] <prelude2004c> oh wait.. the pastbin i just posted shows ${ffmpeg} -hwaccel vdpau -i "$stream" -c:v h264 -pix_fmt yuv420p -c:a copy -map 0:p:$6 -f mpegts - .. but the c:v should be mpeg2video
[23:19:15 CET] <jonascj> In the two-pass example here https://trac.ffmpeg.org/wiki/Encode/H.264 , how do the two ffmpeg instances communicate. The first one (pass 1) does not seem to produce an output file and something is going to /dev/null ...
[23:19:47 CET] <c_14> jonascj: there's an ffmpegpass-0.log or something
[23:19:52 CET] <c_14> it's created in the cwd
[23:19:52 CET] <prelude2004c> i convert to raw video and then taake that raw video and transcoding back to h264 .. no easier way to do it because if i just send the h264 to the encoder it has to decode too which uses more CPU
[23:21:18 CET] <C0nundrum> When recording an flv, if ffmpeg isn't closed properly, the file isn't playable and ffprobe returns http://pastebin.com/bgWwunma Is there anyway to avoid that or recover the file ?
[23:21:51 CET] <furq> that's an mp4, not an flv
[23:21:51 CET] <flux> c0nundrum, record to some other format that recovers better and convert it to flv afterwards?
[23:22:02 CET] <furq> an flv should be playable if ffmpeg aborts
[23:22:08 CET] <jonascj> c_14: sorry, I did not understand that, unless you are saying "-pass 1" instructs ffmpeg to pick a temp location and filename, write it to a log file, and "-pass 2" instructs ffmpeg to look for any recent pass 1's in the log...
[23:22:31 CET] <c_14> jonascj: it writes to a log file in cwd
[23:22:38 CET] <c_14> You can explicitly set the file with --passlogfile
[23:22:38 CET] <C0nundrum> the reason i don't do that is because multiple streams are being recorded and converting it while recording takes to much cpu time
[23:22:41 CET] <c_14> eh --
[23:23:02 CET] <C0nundrum> furq that what evryone says but it this is the problem i have one sec iwill post the ffprove of a completed file
[23:23:20 CET] <furq> 22:21:50 ( furq) that's an mp4, not an flv
[23:23:24 CET] <furq> does everyone say that as well
[23:23:44 CET] <jonascj> c_14: oh, Current Working Directory.
[23:24:07 CET] <jonascj> c_14: what about "-i input" is that a special keyword as well or should I actually specify myinputfile.mp4 in both commands?
[23:24:28 CET] <furq> you specify the input filename
[23:25:24 CET] <c_14> jonascj: actually specify the file in both commands
[23:25:36 CET] <jonascj> and now I get it, pass1 does not do anything except record statistics into the log file. That is why there is no output filename in the first command (except for /dev/null)
[23:26:28 CET] <prelude2004c> i want to send snapshot files through
[23:26:36 CET] <prelude2004c> thats the best way to do iT so you guys can see the 3 screen shots ?
[23:26:44 CET] <C0nundrum> Nice sarcasm lol, my mistake i meant is there anyway to avoid it with this filetype ? http://pastebin.com/tGhZsNSi
[23:28:24 CET] <furq> no
[23:28:36 CET] <furq> the moov atom isn't written until the encoding is done
[23:28:45 CET] <prelude2004c> http://www.megafileupload.com/e738/shot1.png & http://www.megafileupload.com/e739/shot2.png & http://www.megafileupload.com/e73a/shot3.png
[23:28:49 CET] <prelude2004c> see the 3 files
[23:29:00 CET] <furq> prelude2004c: imgur.com tia
[23:29:23 CET] <C0nundrum> furq so what are my options ?
[23:29:35 CET] <prelude2004c> scratch that
[23:29:40 CET] <furq> use a format which will work if the encoder breaks
[23:29:42 CET] <furq> such as flv
[23:30:32 CET] <prelude2004c> http://imgur.com/a/Af4Zq
[23:30:33 CET] <C0nundrum> Will that require re-encoding the input ?
[23:30:34 CET] <prelude2004c> ok see images there
[23:30:40 CET] <furq> C0nundrum: no
[23:31:11 CET] <prelude2004c> so the issue is the first one using 100% cpu
[23:32:17 CET] <C0nundrum> furq this is the format of the stream ffmpeg is saving http://pastebin.com/tNxudNrv
[23:34:53 CET] <MachinaeWolf> There's some slight discrepency when recording with ffmpeg -f alsa -i hw:0,0,0 file.wav when recording from mic line in
[23:35:12 CET] <MachinaeWolf> [alsa @ 0x6500e0] ALSA buffer xrun.
[23:35:15 CET] <MachinaeWolf> [alsa @ 0x6500e0] ALSA buffer xrun.trate=1497.0kbits/s
[23:35:47 CET] <MachinaeWolf> At one point in the song I'm recording from my 2ds running korg dsn12 it skipped a slight bit
[23:36:53 CET] <C0nundrum> furq Would i just do 'ffmpeg -i "'+link+'" -vcodec copy -acodec copy -bsf:a aac_adtstoasc "'+fileName+'.flv"'; ?
[23:43:37 CET] <jonascj> can I rescale at the same time I do the two pass compression?
[23:45:02 CET] <jonascj> or should I scale before running pass1? It seems to me that the stats will be wrong if it performs pass 1 on a file which is of the wrong resolution
[23:53:48 CET] <jonascj> I've found some examples with "-vf scale=-1:720" passed to both "-pass 1" and "-pass 2" commands. Is that what is needed?
[00:00:00 CET] --- Wed Dec 23 2015
1
0
[10:37:51 CET] <cone-638> ffmpeg 03Clément BSsch 07master:244766e407fb: lavfi/scale: add nb_slices debug option
[10:45:18 CET] -:#ffmpeg-devel- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp
[11:20:02 CET] <cone-831> ffmpeg 03Clément BSsch 07master:f122ba36cb73: lavc: add text encoder
[11:29:36 CET] <cone-831> ffmpeg 03Clément BSsch 07master:b4431c80efe2: lavf/img2enc: add atomic_writing option
[13:28:15 CET] <cone-831> ffmpeg 03Paul B Mahol 07master:a142308dcdc3: avfilter/af_ladspa: fix av_assert0()
[15:01:40 CET] <atomnuker> whoa, a 30 band audio equalizer
[15:03:33 CET] <cone-831> ffmpeg 03Michael Niedermayer 07release/2.7:26241af6f8b2: Update for 2.7.4
[15:03:47 CET] <durandal_1707> you can do same with 30 equalizers stacked together
[15:03:56 CET] <fritsch> hehe
[15:05:10 CET] <durandal_1707> actually I replaced it with equalizer where you can define own bands and that per channel
[15:05:36 CET] <durandal_1707> anequalizer
[15:06:48 CET] <durandal_1707> use same code as 30 band one with additional filters you can pick instead of butterworth
[15:58:10 CET] <cone-831> ffmpeg 03Clément BSsch 07master:4cb26c3c354e: lavfi/drawtext: fix crash when no text, file or timecode provided
[15:59:01 CET] <durandal_1707> its avfilter, not lavfi:(
[15:59:38 CET] <ubitux> ah, you prefer av* notation?
[15:59:50 CET] <durandal_1707> ubitux: ignore that guy and his patch
[16:00:09 CET] <ubitux> ok
[16:01:26 CET] <cbsrobot> durandal_1707: my sounddesigner is sick, so I could not yet test the itur468 filter
[16:02:35 CET] <durandal_1707> who is paying for writing SIMD?
[16:10:46 CET] <cone-831> ffmpeg 03Clément BSsch 07master:1d6308dbc664: lavfi/drawtext: hide first font load warning when fontconfig is present
[16:46:01 CET] <cone-831> ffmpeg 03Clément BSsch 07master:d3dbae1c7179: lavfi/drawtext: fix shadow[xy] descriptions
[16:55:38 CET] <kierank> durandal_1707: me
[16:56:35 CET] <durandal_1707> kierank: what function?
[17:31:48 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:cc37b31ad381: lavfi/vf_colorchannelmixer: replace round by lrint
[17:31:49 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:7af14b37260d: lavfi/vf_colorlevels: replace round by lrint
[17:31:50 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:ff1442a51ddc: lavfi/vf_drawtext: replace round by llrint
[17:31:51 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:b9c2ebeee420: lavc/libvpxenc: replace round by lrint
[17:31:52 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:2a486869d9ea: lavfi/vf_crop: replace round by lrint
[17:31:53 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:ad795f639456: lavfi/af_dynaudnorm: replace round by lrint
[17:31:54 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:ea2f04bffe13: lavfi/vf_histogram: replace round by lrint
[17:31:55 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:879b4a9d3ec8: lavd/pulse_audio_enc: replace lround by lrint
[17:34:43 CET] <durandal_1707> REVERT!
[17:35:07 CET] <kierank> durandal_1707: why?
[17:38:46 CET] <durandal_1707> uses lavfi notation
[17:41:57 CET] <ubitux> durandal_1707: well, i thought we said it was lav* now
[17:42:15 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:fc5e39544b92: lavf/avformat: add av_warn_unused_result to avformat_write_header
[18:06:27 CET] <cone-831> ffmpeg 03Ganesh Ajjanagadde 07master:dd68cde28a44: lavu/libm: add erf hack and make dynaudnorm available everywhere
[18:26:01 CET] <cone-831> ffmpeg 03Rostislav Pehlivanov 07master:c0f67e1123fe: aacenc_is: rename variable
[19:00:36 CET] <cone-831> ffmpeg 03Rostislav Pehlivanov 07n2.7.4:HEAD: aacenc_is: rename variable
[21:32:43 CET] <BtbN> Hm, I think I'll just push VAAPI VP9 if nobody objects until tomorrow evening.
[21:56:54 CET] <Compn> vp9 is bbb territory :P
[21:57:43 CET] <Compn> we've switched to avfilter now ?
[21:58:03 CET] <Compn> lib* stuff was getting annoying :P
[22:04:48 CET] <J_Darnley> Oh lord. The glorious history of mpeg2 dvd video has been rediscovered on the ffmpeg-user list.
[22:19:30 CET] <BtbN> Compn, i think BBB already acked the patch. The parts that touch vp9 code are minimal.
[22:20:15 CET] <BtbN> Or isn't he Ronald S.B.?
[22:20:50 CET] <fritsch> yes
[22:20:54 CET] <fritsch> that's him
[22:25:34 CET] <Compn> yes bbb is ronald
[22:25:51 CET] <Compn> if he ok'd it then no worries :p
[22:27:02 CET] <Compn> J_Darnley : you note that person is used to using mencoder to fix these :P
[22:27:16 CET] <Compn> or was using*
[22:33:40 CET] <Compn> i'm more interested in this thread http://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-December/029579.html
[22:33:51 CET] <Compn> we need full 4k openexr support! :P
[22:34:01 CET] <Compn> with all the colors these people want! :P
[22:34:47 CET] <durandal_1707> $$$$$$
[22:37:41 CET] <Compn> how much you need for all that pixel color durandal_1707?
[22:38:19 CET] <Compn> or probably it also requires reverse engineering a bunch of different "standards" because its all proprietary
[22:41:23 CET] <kierank> Compn: that question is totally stupid
[22:41:30 CET] <kierank> It's like saying does ffmpeg support colour
[22:41:30 CET] <Compn> apple exploit http://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-December/029553.html
[22:41:43 CET] <kierank> it doesn't specify at all what kind of colour (or hdr) s/he wants
[22:42:27 CET] <Compn> kierank : that guy works at india govt computing branch
[22:42:53 CET] <Compn> the branch that runs the entire indian govt computer system...
[22:43:12 CET] <Compn> dont know what HDR is but i must have it.
[22:43:15 CET] <Compn> lol
[22:43:27 CET] <Compn> corporate thinking.
[22:43:57 CET] <Compn> kierank : do you think we should make a corporate page for ffmpeg ? like it will list all features in corp buzzword speak?
[22:44:36 CET] <kierank> probably
[22:44:52 CET] <Compn> it would probably net us more sponsorships and job offers
[22:45:07 CET] <Compn> if any devs want that...
[22:47:59 CET] <jamrial> with stock photos of smiling people in front of a computer? sounds good
[22:48:53 CET] <kierank> Compn: not really
[22:49:09 CET] <kierank> enterprise companies want enterprise solutions
[22:49:14 CET] <kierank> ffmpeg in no way is enterprise
[22:49:32 CET] <kierank> it is definitely a part of many enterprise solutions but itself is not enterprise
[22:51:20 CET] <Compn> have to start ffvendor company
[22:51:35 CET] <atomnuker> I'd volunteer to write the corporate edition website :)
[22:51:37 CET] <kierank> can't imagine anyone who's done that
[22:51:43 CET] <atomnuker> though I'd be more likely to chase people away
[22:52:32 CET] <Compn> hehe
[22:54:21 CET] <Compn> obe has a lot of the corp speak on it ;D
[22:54:27 CET] <kierank> not really
[22:54:30 CET] <kierank> compared to some
[22:54:32 CET] <Compn> "flagship" :D
[22:55:55 CET] <kierank> well yeah we encode some shockingly high profile stuff
[23:47:17 CET] <BtbN> Holy hell, who designed that "API" on libyami, and why did I even bother looking at it?!
[23:55:04 CET] <Daemon404> there was a libyami patch sent to the ML before
[23:55:08 CET] <Daemon404> it was uh... not well recieved
[00:00:00 CET] --- Tue Dec 22 2015
1
0
[00:18:54 CET] <anli> Firefox 43 (linux) uses ffmpeg, the last one uses pulse for audio. How to force ALSA when pulse isn't installed?
[00:27:25 CET] <c_14> Sounds like you want firefox support.
[00:30:34 CET] <anli> c_14: so, ffmpeg uses default ALSA device if not explicitly directed to use other one. Correct?
[00:30:50 CET] <c_14> ffmpeg doesn't do anything unless explicitly directed
[00:30:59 CET] <c_14> It's just a library.
[00:31:04 CET] <kepstin> i'm pretty sure firefox only uses ffmpeg for the video encoders/decoders, and handles the system audio output/input internally
[00:31:11 CET] <c_14> That too.
[00:31:31 CET] <JEEB> anli: firefox doesn't use FFmpeg for anything else than decoding
[00:31:33 CET] <debianuser> anli: Firefox uses ffmpeg (libavcodec.so, actually) for video decoding only. Firefox has its own alsa/pulse backend, and it uses alsa when pulse is not installed.
[00:31:43 CET] <JEEB> anything that happens after that is up to firefox itself
[00:31:56 CET] <JEEB> as debianuser said
[00:32:27 CET] <anli> got it, thanks! Will got to mozilla :)
[03:45:23 CET] <DrJ> I realize this is not a sox channel but maybe someone here will know the answer... is it possible for the input and output of sox to somehow be the same file
[03:45:41 CET] <DrJ> I tried it and it causes the output when its done to just repeat like the first second of audio over and over
[04:51:03 CET] <pinPoint> been out for a while. got a highlight.
[04:58:20 CET] <xintox> does anyone know what Invalid UE golomb means/
[04:58:21 CET] <xintox> ?
[05:21:05 CET] <pinPoint> can I use -report filename?
[05:24:43 CET] <c_14> pinPoint: last I checked, no. you have to set FFREPORT=file= or something
[05:31:17 CET] <pinPoint> in windows... it does not like that option
[05:31:54 CET] <pinPoint> what about output to a folder that does not exist
[05:32:14 CET] <c_14> hmm?
[05:33:32 CET] <pinPoint> can one output to a folder?
[05:33:40 CET] <c_14> no
[05:34:49 CET] <c_14> What would that even do?
[05:35:10 CET] <pinPoint> organize a large dump about to happen in batch
[05:35:31 CET] <pinPoint> and since the log is something along the lines ffmpeg.... its confusing
[05:36:38 CET] <pinPoint> i'll tough it out i guess.
[09:22:04 CET] <Betablocker> ho ho ho - i want to release a software under apache licencse&. but i use ffmpeg with copyleft as a part of my software & for ex. converting rtsp to rtmp i use ffmpeg but did not modify it. does the copyleft from gpl allows me to release my software under apche 2.0 license ?
[09:22:25 CET] <Betablocker> anyone knows& i hate that license stuff
[09:27:26 CET] <JEEB> IANAL, but... FFmpeg itself is LGPL, but it also has GPL-only components that make it be GPL if you configure it as such. You can release your own software with whatever license that is compatible with (L)GPL (whichever FFmpeg build type you're using), and then the combined binary is under one or the other depending on which you chose for FFmpeg feature-wise
[09:27:41 CET] <JEEB> just like ffms2 is BSD or so, but when built with a GPL FFmpeg the binary becomes GPL
[09:28:04 CET] <JEEB> and thus you have to release the sources as usual as GPL
[09:28:45 CET] <JEEB> IIRC Apache v2 is compatible with (L)GPLv3, so you can make your own software Apache v3 and then if you combine it with GPLv3 then the binary altogether is under that.
[09:29:12 CET] <JEEB> I hope this is clear enough :)
[09:29:29 CET] <flux> it's funny somehow, though. now if someone were to extend and distribute ffmpeg, they would be able to do it on the terms of lgpl then. but if you extend a feature that somehow depends on a gpl feature, it is gpl?
[09:29:48 CET] <flux> but if it really doesn't directly depend on the gpl feature even though it's the gpl feature that makes it useful, then, um, what?-)
[09:31:40 CET] <JEEB> well in FFmpeg in general it's pretty simple
[09:31:55 CET] <JEEB> you are either making new files which depend on some headers (LGPL or GPL)
[09:32:07 CET] <JEEB> or you are editing a file which is under one or the other
[09:32:54 CET] <flux> I guess it's going to be nigh impossible to write ffmpeg code without including lgpl headers, so at the very minimum it's doing to be lgpl?-)
[09:33:48 CET] <JEEB> well in theory you could depend on LGPL headers and have your own thing be ISC or whatever, but that is not pushed for (or at least, preferably not something that isn't already in the FFmpeg code base)
[09:34:11 CET] <flux> but regarding betablocker's question, I think if you are merely invoking the ffmpeg program, you're not bound either by gpl or lgpl.. but if you distribute your application with ffmpeg, it might be considered differently.
[09:35:36 CET] <JEEB> if a GPL FFmpeg is required for the application to work in its <whatever the wording in GPL was> then that gets kind of derpy
[09:35:40 CET] <JEEB> but IANAL
[09:36:49 CET] <Betablocker> ok - thank you JEEB
[09:50:31 CET] <pkeuter> uhm. 1080i50 is 25fps, right?
[09:51:27 CET] <Betablocker> jop
[09:51:48 CET] <Betablocker> https://en.wikipedia.org/wiki/1080i
[09:51:57 CET] <pkeuter> does ffmpeg understand it like that to? when i want to force 1080i50, i do 25fps, right?
[09:52:27 CET] <pkeuter> too*
[09:56:40 CET] <jigg> you mean will it have half the fps after deinterlacing?
[09:57:35 CET] <pkeuter> no i am storing it interlaced (-flags ildct+ilme), so i want to make sure i am not creating unneccesary frames :-)
[09:58:04 CET] <pkeuter> it's a decklink card at 1080i50, but then i assume it's 25fps, right?
[09:58:30 CET] <Betablocker> or 30
[09:58:37 CET] <pkeuter> huh?
[09:58:47 CET] <pkeuter> i50 can't be 30fps?
[09:59:51 CET] <Betablocker> depends on your 50 hz or 60 hz electricity net
[10:00:57 CET] <pkeuter> uh are you sure? i think you mean 30fps is when you have 1080i60
[10:03:13 CET] <Betablocker> hmmm i live in europe we have that 50 hz power & but a friend of mine hast 60 hz and 30 frames
[10:03:18 CET] <Betablocker> he lives in the us
[10:09:01 CET] <c_14> pkeuter: 50i is 25 frames per second (50 fields per second)
[10:09:24 CET] <pkeuter> c_14, thanks :-) like i thought. just needed the confirmation
[10:10:37 CET] <pkeuter> c_14, if i save with the ildct+ilme flags, and then play it in my webbrowser, i still see quite alot of interlaced stripes, is that expected behavior?
[10:10:41 CET] <c_14> Betablocker: I assume you mean the television broadcast fps which is 29.97fps
[10:11:20 CET] <c_14> pkeuter: is the web-browser deinterlacing the video?
[10:11:28 CET] <pkeuter> c_14, i was thinking maybe it could be because everything on the web is progressive so it won't deinterlace i suppose
[10:11:50 CET] <c_14> Presumably not
[10:12:05 CET] <pkeuter> well that would explain :-)
[10:12:11 CET] <c_14> Most of the time you'll need to explicitly tell a player to deinterlace a video.
[10:12:42 CET] <pkeuter> yeah with yadif, but that creates a nice little cpu spike :-)
[10:13:10 CET] <flux> there must be some nice gpu-based deinterlacers these days?
[10:15:12 CET] <pkeuter> i dont know
[10:15:17 CET] <pkeuter> you mean for the browser?
[10:16:17 CET] <pkeuter> i'll just use yadif anyway. that looks better
[10:19:29 CET] <jbm> Hi.. I am trying to do video processing on server using ffmpeg. Its noticed that,sometimes the ffmpeg process gets stuck in the middle of executing something & I will have to kill the process by pressing CTRL+C. How can i check if a ffmpeg child process is stuck & kill it programattically?
[10:20:23 CET] <jbm> Is there some way to specify timeout for ffmpeg process?
[10:22:04 CET] <kevmitch> I have a file from which the following is a sample: https://www.dropbox.com/s/ho0mq1av40xm2r8/BBC.David.Attenboroughs.First.Lif…
[10:22:21 CET] <kevmitch> ffmpeg -i says "Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, ycgco/unknown/unknown),"
[10:22:23 CET] <c_14> jbm: are you outputting to file or to network?
[10:23:19 CET] <kevmitch> that ycgco is definitely wrong - it should most likely be bt.709. Is there any way to fix that losslessly?
[10:23:49 CET] <jbm> c_14: Im outputting to file
[10:24:03 CET] <c_14> jbm: just check if the file size stops increasing
[10:24:09 CET] <c_14> (ffmpeg shouldn't hang though...)
[10:24:55 CET] <jbm> c_14: Is there some way to specify timeout for ffmpeg process?
[10:25:12 CET] <c_14> jbm: timeout for what?
[10:27:14 CET] <c_14> kevmitch: the only things I can think of would require a filter
[10:28:19 CET] <jbm> Suppose, I need to add fade out to a video. If there is some problem applying fade out & process gets stuck, can i programattically set some timeout(eg:30seconds),after which the process will be killed?
[10:29:46 CET] <c_14> you could add a sort of timeout in shell to the whole process, but not internally in ffmpeg
[10:33:33 CET] <jbm> c_14: Ok.thanks for the advice. Also,how can i programmatically KILL an ffmpeg process? any kill command in ffmpeg which will do what CTRL+C does?
[10:34:18 CET] <c_14> TERM, SIGINT
[14:05:49 CET] <awidgery> Hi - I'm trying to use ffserver to stream live audio with "ffmpeg -f alsa -i plughw:1,0 http://localhost:8090/feed1.ffm" but it's not working - anyone have experience with ffserver?
[14:31:41 CET] <paule32> awidgery: have a look to nginx
[14:32:30 CET] <paule32> can i stream live recordigs (screen cast + audio aac) without buffer or stream latencies?
[14:36:02 CET] <DHE> x264 has a "zerolatency" setting which will reduce the buffering. might only buy you 1 or 2 seconds of latency reduction though depending on your settings
[14:36:12 CET] <DHE> of course it negatively impacts quality
[14:36:38 CET] <fritsch> just use mjpeg :p
[14:37:43 CET] <paule32> i have start inhouse project - a gui for ffmpeg for my needs
[14:37:53 CET] <fritsch> a gui or a guy?
[14:37:59 CET] <paule32> i surprise what ffmpeg can do on cm d line
[14:38:07 CET] <paule32> haha
[14:38:10 CET] <fritsch> too much for a reasonable gui
[14:38:21 CET] <fritsch> find out what you need and then design the gui
[14:38:36 CET] <paule32> it is easy, with Qt5
[14:39:02 CET] <asturel> hi, i extracted the ASS sub from the mkv with '-vn -an -codec:s:0 srt sub.srt' is there a way to strip the formatting also?
[14:39:16 CET] <asturel> because now its full with <font size="20"><font face="Swis721 Cn BT"><font size="32"> ..
[14:53:04 CET] <DHE> I look forward to click-and-drag filter construction
[14:55:22 CET] <paule32> your project?
[14:56:09 CET] <paule32> is it possible to stream ads with ffmpeg, that when you click on it, you redirect to publisher of ads?
[15:39:03 CET] <jbm> Hi, Im trying to do cross fade between 5 videos using ffmpeg. I am successfully able to crossfade the videos , but I am not sure how to properly crossfade between audios. Any help?
[15:40:55 CET] <durandal_1707> there's filter
[15:41:25 CET] <durandal_1707> afade,acrossfade
[16:03:43 CET] <shincodex> is g++ not smart enough to figure out how to link with libavcodec.a
[16:10:16 CET] <debianuser> shincodex: That's usually up to pkg-config or whatever is used by your build system (autotools, etc.) :)
[16:10:34 CET] <shincodex> im screwed...
[16:10:48 CET] <shincodex> C++ was linking with system libavcodec.so
[16:11:11 CET] <shincodex> which has a bug or doesnt work with mjpeg so i had to look to see if the system libavcodec.a had it working
[16:11:21 CET] <shincodex> which is expecting what it seems to be straight c
[16:18:18 CET] <shincodex> how does one mix the both of them
[16:18:34 CET] <shincodex> I link with c linker it whines about libstdc++ problems
[16:18:52 CET] <shincodex> i link with g++ it whines about avcodec missing every single thing inside of it
[16:20:05 CET] <debianuser> What is the command you're using for linking?
[16:20:22 CET] <DHE> sounds like symbol mangling is an issue. do the headers contain extern "C" { ... } ?
[16:20:41 CET] <DHE> especially if the linker errors are able to name the parameter types
[16:21:34 CET] <kepstin> the ffmpeg headers don't included extern "C", iirc; you should wrap that around the #include statements if you're using it from C++
[16:22:33 CET] <JEEB_> yes
[16:22:42 CET] <JEEB_> it's in the documentation/FAQ
[16:23:41 CET] <shincodex> i wish you didnt even say extern "C"
[16:23:50 CET] <shincodex> because its not that.
[16:24:34 CET] <shincodex> this seems to be a problem in this operating system and static library concept.
[16:25:05 CET] <JEEB> ok
[16:25:09 CET] <shincodex> forget the fact i didnt put in #ifdef __cpluspluss
[16:25:13 CET] <kepstin> shincodex: please pastebin the exact error messages that you're seeing
[16:25:17 CET] <shincodex> oh yeah i cant copy paste lol
[16:25:28 CET] <shincodex> i remote into linux from windows :)
[16:25:43 CET] <shincodex> but to answer your question I already extern "C"
[16:26:04 CET] <shincodex> on the headers
[16:26:12 CET] <asturel> so there's no way to strip the subtitle text formatting? (<font style... family etc..>)
[16:26:30 CET] <shincodex> ill paste some crap one sec
[16:26:36 CET] <asturel> regex replace <[^>]*> with "" kinda worked but there's should be better way
[16:26:41 CET] <kepstin> either you're sshing into the remote system, in which case you can copy/paste locally, or you're remote desktoping in, in which case you can either copy/paste on the remote system...
[16:31:28 CET] <shincodex> i tried ld and gcc and g++
[16:32:06 CET] <shincodex> http://pastebin.com/idtQxJGh
[16:32:28 CET] <shincodex> ill link with ld right now and it will complain about C++
[16:32:35 CET] <shincodex> which is a obvious though.
[16:32:38 CET] <kepstin> using g++ as the linker is correct for c++ code
[16:32:54 CET] <kepstin> the issue is that when using static libraries, you have to explicitly include the entire dependency chain
[16:33:00 CET] <kepstin> you're missing some libraries that ffmpeg uses
[16:33:08 CET] <shincodex> is that the case
[16:33:17 CET] <shincodex> Is that the case with static libraries on this system so
[16:33:41 CET] <kepstin> it's the case with static libraries on any unix system forever
[16:34:07 CET] <shincodex> -l:libblah.a <every dependancy after> -lwhateverso -lwhateverso2
[16:34:40 CET] <kepstin> you should be using pkg-config, replace the libraries in your makefile with $(shell pkg-config --static --libs libavcodec libavutil ...)
[16:34:59 CET] <kepstin> just list the libraries you're using directly, and pkg-config will build the link command
[16:35:18 CET] <shincodex> if its set up that is.
[16:35:36 CET] <kepstin> if you installed ffmpeg correctly, it should be...
[16:35:37 CET] <shincodex> pkg-config --static --libs libavcodec
[16:35:41 CET] <shincodex> ill see what shell dumps out for that
[16:35:52 CET] <shincodex> sudo apt-get libavcodec-dev
[16:35:56 CET] <shincodex> not ffmpeg
[16:36:15 CET] <shincodex> though i have built deps for it before but trying to keep it small
[16:36:25 CET] <kepstin> on recent versions of debian, "libavcodec" is one of the libraries provided by the ffmpeg project
[16:36:26 CET] <shincodex> if i can get away with a few libav's
[16:36:34 CET] <kepstin> so by 'ffmpeg', i'm referring to the project as a whole
[16:36:39 CET] <shincodex> yep.
[16:36:51 CET] <shincodex> oh dear
[16:37:22 CET] <kepstin> the static link command should have basically a ton of libraries, depending on what features are enabled in ffmpeg
[16:37:25 CET] <shincodex> it seems like pkg config stacks with multiple depenacies
[16:37:29 CET] <shincodex> from other objects
[16:37:35 CET] <shincodex> I use lib opencv for other projects
[16:37:46 CET] <shincodex> and its putting its crap in here too which is a sin
[16:38:29 CET] <kepstin> no, the issue is that your system libavcodec probably has opencv features enabled
[16:38:38 CET] <kepstin> so opencv is a dep of it
[16:38:50 CET] <shincodex> wait Im confused now
[16:38:57 CET] <shincodex> Because opencv uses WITH_FFMPEG
[16:39:12 CET] <shincodex> its just a library on top of ffmpeg for opencv_video library
[16:39:30 CET] <shincodex> now your making it sounds like source code in libavcodec has opencv code in it
[16:39:38 CET] <shincodex> making it a circular well dependancy really.
[16:40:22 CET] <kepstin> ffmpeg supports using filters from libopencv within an ffmpeg filter chain
[16:40:45 CET] <kepstin> dunno how exactly the circular dep works out, but they're usually resolvable
[16:41:19 CET] <shincodex> what im afraid of is what ffmpeg was doing
[16:41:28 CET] <shincodex> if you get source off ffmpeg which we have
[16:41:39 CET] <shincodex> and build it as SO's it works and then it doesnt
[16:41:59 CET] <shincodex> it compiles and dumps so's in each libxx folder
[16:42:11 CET] <shincodex> but links with system so when its run it whines because of mismatch somewhere
[16:42:22 CET] <shincodex> unless for force it to link with specific library you compiled with
[16:42:44 CET] <shincodex> So lets say i use package config with the opencv reference sitting in there
[16:42:57 CET] <shincodex> and goto raspery pi.... whatever machine with a arm processor
[16:43:19 CET] <shincodex> would they also included opencv references?
[16:44:09 CET] <shincodex> its as if they only solution is to compile the libraries yourself because the systems have who know what on them
[16:48:46 CET] <kepstin> if you want a minimal ffmpeg with specific features, you'll have to build it yourself. I recommend installing to an alternate prefix, then using the pkg-config control variable 'PKG_CONFIG_PATH' to tell pkg-config where to look for that new library.
[16:52:04 CET] <shincodex> heh
[16:52:27 CET] <shincodex> my configure strips the crap out of it just use rtsp h264 and mjpeg videos no audio or the rest of it
[17:18:16 CET] <shincodex> so i did a sudo apt-get install ffmpeg
[17:18:36 CET] <shincodex> then i constructed a real nasty linker line -l:libavformat-ffmpeg.so.56
[17:18:51 CET] <shincodex> and it turns out this package compiled mjpeg options into it :)
[17:19:19 CET] <shincodex> but the arm processor distro may not use .56
[17:19:20 CET] <shincodex> :(
[17:19:29 CET] <paule32> you dont need install it, you have to compile it
[17:20:29 CET] <paule32> with ./configure --enable...
[17:20:37 CET] <paule32> then make
[17:20:45 CET] <shincodex> yeah where
[17:20:46 CET] <paule32> then "make install"
[17:20:49 CET] <shincodex> where
[17:20:59 CET] <paule32> on console?
[17:21:07 CET] <shincodex> i dont see avcodec.c on my system when i go sudo apt-get install ffmpeg
[17:21:53 CET] <kepstin> ... that's because the debian package only installs the binaries. you'll want to go to ffmpeg.org and download the source in your home directory somewhere...
[17:22:17 CET] <shincodex> I already have the source
[17:22:20 CET] <shincodex> one sec
[17:24:14 CET] <shincodex> here it comes...
[17:24:19 CET] <shincodex> the configure line of death
[17:25:05 CET] <paule32> for 2.7.2:
[17:25:19 CET] <paule32> ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --en
[17:25:19 CET] <paule32> able-libxvid --prefix=/usr/local --enable-librtmp --enable-libfribidi --enable-libfontconfig --enable-filter=drawtext
[17:25:44 CET] <shincodex> mines bigger
[17:26:02 CET] <paule32> this must be done all of custom purpose
[17:26:12 CET] <paule32> you can add more of your needs
[17:27:05 CET] <shincodex> bash ./configure --enable-shared --disable-static --arch=${LARCH:9} --disable-debug --enable-pic --optflags=-Ofast --prefix=/usr --disable-postproc --disable-swscale-alpha --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-encoders --disable-decoders --disable-hwaccels --disable-muxers --disable-demuxers
[17:27:05 CET] <shincodex> --disable-bsfs --disable-indevs --disable-outdevs --disable-devices --disable-filters --disable-parsers --disable-protocols --enable-decoder=h264 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mjpeg --enable-demuxer=rtsp --enable-protocol=http --enable-protocol=httpproxy --enable-protocol=tcp --enable-protocol=udp --enable-filter=scale --enable-ffplay
[17:27:25 CET] <shincodex> you love how like 95% of it is cut out
[17:27:38 CET] <furq> make config
[17:27:39 CET] <furq> do i win
[17:28:00 CET] <shincodex> but doing this made be find a problem with a script
[17:28:22 CET] <durandal_1707> --disable-all
[17:28:23 CET] <kepstin> shincodex: you might want to try out '--disable-all' to save yourself some typing ;)
[17:29:11 CET] <shincodex> I did.. but then i ran into a bug somewhere with a enable dependancy of some sort
[17:29:30 CET] <shincodex> thanksfully its all in a script based on build configurations that visual studio controls anyways
[17:29:34 CET] <shincodex> never have to look at it again
[17:30:43 CET] <shincodex> turns out just going sudo apt-get install ffmpeg wont place a .pc on the machine of libs it uses
[17:30:44 CET] <shincodex> :(
[17:30:54 CET] <shincodex> so i can just pkg-config the libs
[17:32:22 CET] <kepstin> if you're building your own ffmpeg, the stuff from apt-get is irrelevant...
[17:32:52 CET] <shincodex> im trying desperately to not have ffmpeg open source code in my repository
[17:32:56 CET] <shincodex> and the make file of chaos.
[17:33:11 CET] <shincodex> by sudo apt getting something that uses libavcodec with h264/mjpeg support
[17:33:18 CET] <shincodex> and linking with those so's
[17:33:26 CET] <shincodex> but it seems impossible
[17:33:37 CET] <shincodex> i just ldd /usr/bin/ffmpeg
[17:33:39 CET] <furq> there is no such thing
[17:33:56 CET] <shincodex> and it links explicitly with the lib<whatever>-ffmpeg.so.explicitynumberhere
[17:34:08 CET] <shincodex> which those so's are directly tied to the package i just obtained
[17:34:30 CET] <kepstin> if you want to build against the system libavcodec on debian, you should install libavcodec-dev and use pkg-config to get the so names and link command.
[17:34:41 CET] <shincodex> I did... and thats the problem
[17:34:41 CET] <kepstin> and note that the result will obviously only work on debian systems
[17:34:45 CET] <shincodex> the system library has a bug
[17:34:50 CET] <shincodex> rather not a bug
[17:35:01 CET] <shincodex> the configure (no documentation found) does no have mjpeg support
[17:35:28 CET] <shincodex> ubuntu-mate uh
[17:35:31 CET] <shincodex> 32 bit
[17:35:35 CET] <kepstin> I'm not entirely sure how that's possible, that's a built-in codec and there's no reason to disable it
[17:35:36 CET] <furq> which version
[17:35:44 CET] <furq> place your bets now
[17:35:45 CET] <shincodex> of the codec?
[17:35:49 CET] <furq> no of ubuntu
[17:35:51 CET] <shincodex> Or of
[17:35:53 CET] <shincodex> ok one sec
[17:36:09 CET] <furq> i would normally bet 12.04 but i don't think MATE existed then
[17:36:16 CET] <shincodex> Linux plumbox 3.19.0-33-generic #38-Ubuntu SMP Fri Nov 6 18:17:18 UTC 2015 i686 i686 i686 GNU/Linux
[17:36:39 CET] <furq> cat /etc/issue
[17:36:43 CET] <shincodex> thanks
[17:36:43 CET] <kepstin> 3.19? that's based on 14.10 or later i bet
[17:36:47 CET] <furq> or /etc/lsb-release
[17:36:55 CET] <shincodex> Ubuntu 15.04 \n \l
[17:37:02 CET] <furq> yeah 14.x doesn't have ffmpeg
[17:37:26 CET] <shincodex> why did they get rid of it and if they did... to replace with what?
[17:37:38 CET] <shincodex> because I have learned over a few dayts that every library is ffmpeg
[17:37:39 CET] <furq> because of the whole libav nonsense
[17:37:41 CET] <shincodex> on linux that is
[17:37:51 CET] <shincodex> Then they must not play videos?
[17:38:21 CET] <kepstin> they replaced ffmpeg with a fork of ffmpeg named 'libav'
[17:38:44 CET] <kepstin> (which is a really confusing name, since both projects install libraries named libavsomething)
[17:39:39 CET] <furq> yes it is
[17:39:47 CET] <furq> also
[17:39:51 CET] <furq> http://sprunge.us/XaWT
[17:39:55 CET] <kepstin> but anyways, that's old news now, if you have a "libavwhatever-ffmpeg.so.blah" on a debian-based system then it's using libavwhatever from ffmpeg
[17:40:08 CET] <furq> it's not really old news thanks to ubuntu lts
[17:40:22 CET] <kepstin> well, ubuntu lts is old...
[17:40:32 CET] <furq> it's still supported though
[17:40:42 CET] <kepstin> (I actually build my own ffmpeg packages for ubuntu-lts on some of my servers)
[17:40:44 CET] <furq> until some depressingly long distance in the future
[17:40:58 CET] <shincodex> so if they are getting rid of it...
[17:41:06 CET] <furq> they're not getting rid of it
[17:41:07 CET] <shincodex> What would be replacement for development
[17:41:11 CET] <shincodex> Thats what I thought
[17:41:22 CET] <shincodex> But I do agree with the libav nonsense
[17:41:24 CET] <shincodex> this cost us
[17:41:27 CET] <shincodex> too much damn time
[17:41:32 CET] <furq> debian jessie didn't have it, so ubuntu didn't have it for about 18 months
[17:41:36 CET] <furq> then they both came to their senses
[17:42:02 CET] <furq> actually wheezy didn't have it either, it was just a virtual package which pointed to libav-tools
[17:42:17 CET] <shincodex> so somepeople at work for other projects are using VLC for basically the same thing i pasted my configure line to you
[17:42:22 CET] <shincodex> another guy is like lets switch to vlc
[17:42:27 CET] <kepstin> shincodex: anyways, I'm still not sure what your exact issue is; you seem to have the libavcodec from ffmpeg installed, and are linking to it as a shared library, so it should be working...?
[17:42:30 CET] <shincodex> and im still not knowing what VLC really was
[17:42:37 CET] <shincodex> then i looked at it and died.
[17:43:05 CET] <shincodex> My exact issue was avoiding compiling the source code if i can help it
[17:43:06 CET] <furq> kepstin: his issue seems to be that the ubuntu 15.04 ffmpeg package doesn't have mjpeg
[17:43:16 CET] <furq> which is odd because my debian stretch ffmpeg does
[17:43:29 CET] <kepstin> which makes no sense, because the jpeg encoder/decoder is a core ffmpeg thing.
[17:43:33 CET] <furq> that too
[17:43:44 CET] <furq> i can't see any reason why they'd remove it
[17:43:54 CET] <furq> they generally only remove non-gpl stuff
[17:43:59 CET] <shincodex> now you guys said that... uh ubuntu 12.04 should have MJPEG in it
[17:44:05 CET] <shincodex> cause if so I think our arm is 12.04
[17:44:18 CET] <BtbN> 12.04 doesn't have ffmpeg.
[17:44:50 CET] <shincodex> thanks
[17:44:50 CET] <furq> yeah 12.04's ffmpeg is libav in disguise
[17:44:56 CET] <furq> http://packages.ubuntu.com/precise/ffmpeg
[17:44:58 CET] <shincodex> saved me headache
[17:45:35 CET] <furq> also there is no ubuntu 12.04 for arm
[17:45:39 CET] <furq> the first release with arm support was 14.04
[17:45:46 CET] <shincodex> gotta check
[17:45:56 CET] <shincodex> just gotta remote into one of these guys
[17:46:32 CET] <kepstin> raspian is from 2012, but iirc it's based directly on debian, not ubuntu
[17:46:35 CET] <furq> oh never mind apparently there is
[17:46:38 CET] <shincodex> yep
[17:46:44 CET] <shincodex> it was running 15.04 as well
[17:48:00 CET] <shincodex> both use mate flavors
[17:48:02 CET] <shincodex> if it helps any.
[17:48:22 CET] <furq> that makes no difference
[17:58:45 CET] <Guiri> howdy. I'm trying to learn to stream to ffserver and am running into the same error message with all my example movies: http://fpaste.org/303770/45071709/
[17:59:28 CET] <Matador> hmmm
[18:01:27 CET] <Matador> Anyone know proper settings for rate control on h264_qsv ? http://pastebin.com/QccmtPJ9
[18:01:46 CET] <Matador> I'm getting an error, cant seem to find the proper setting :|
[18:29:32 CET] <Matador> this is retarded
[18:29:59 CET] <waressearcher2> Matador: geth't es dir gut ?
[18:30:13 CET] <Matador> nicht gut
[18:30:32 CET] <waressearcher2> aber was ist passiert ?
[18:30:48 CET] <Matador> I pasted issue :|
[18:41:05 CET] <Matador> need a new h264_qsv guide somewhere
[18:41:20 CET] <BtbN> good luck with that
[18:57:10 CET] <Matador> ya well dont get this ratecontrol error
[18:57:24 CET] <Matador> [h264_qsv @ 00000000004ade40] Selected ratecontrol mode is not supported by the
[18:57:24 CET] <Matador> QSV runtime. Choose a different mode.
[18:58:14 CET] <c_14> Start with a minimal working command and then add options to find what breaks it.
[18:58:15 CET] <prelude2004c> hey everyone.. good day to you
[18:58:17 CET] <prelude2004c> using ffmpeg and vdpau . the M4000 does h264 decoding right ? i am using vdpau and i finally got it going but for some reason any source that is mpeg2video decodes fine with GPU but h264 content does not ? Any idea why that would be ?
[18:58:23 CET] <Matador> ya I'm trying to do that c_14
[18:58:25 CET] <prelude2004c> BtbN .. your around.. great.. you know this stuff :)
[19:06:42 CET] <Matador> Why must setting a rate control be so hard.. gahhhh
[19:19:27 CET] <Matador> http://pastebin.com/f20mf6LX
[19:20:07 CET] <Matador> I thought its supported @ https://www.ffmpeg.org/ffmpeg-codecs.html#QSV-encoders
[19:27:09 CET] <Matador> How would I see what ones are supported ?
[19:33:23 CET] <Matador> seems VBR supported, so look_ahead 0 works
[20:10:11 CET] <shincodex> hue hue hue
[20:10:28 CET] <shincodex> i took all of ffmpeg of what i needed from source
[20:10:46 CET] <shincodex> shoved it in a folder built statically and make my C++ link it and one so to rule them all
[20:39:46 CET] <durandal_1707> stealer
[20:40:10 CET] <waressearcher2> GPL
[20:50:12 CET] <shincodex> STEEL
[21:35:05 CET] <shincodex> so building on arm static libraries of this
[21:35:16 CET] <shincodex> optimization custom -Ofast
[21:35:40 CET] <shincodex> and didnt confiigure in any disable optimization I have some complaints about Hey cant use shared recompile with fpic
[21:35:44 CET] <shincodex> and i use fpic...
[21:36:46 CET] <shincodex> wait maybe this is the problem
[21:36:57 CET] <shincodex> --enable-static --enable-pic
[21:37:03 CET] <shincodex> are those compatible like that on the same line lol
[00:00:00 CET] --- Tue Dec 22 2015
1
0