[Ffmpeg-devel-irc] ffmpeg.log.20150501

burek burek021 at gmail.com
Sat May 2 02:05:01 CEST 2015


[00:24:31 CEST] <kittonian> ffmpeg -i test.mkv -c:v copy -acodec ac3 -ac 6 -ab 640k -threads 23 test.m4v
[00:25:03 CEST] <kittonian> that's all i'm doing
[00:27:04 CEST] <llogan> kittonian: see output of "ffmpeg -h encoder=ac3"
[00:27:13 CEST] <llogan> specifically "Threading capabilities"
[00:28:33 CEST] <c_14> ^only accurate for internal encoders though
[00:29:34 CEST] <kittonian> no threading capabilities show up
[01:12:16 CEST] <debianuser> Hello. A short question: is there some archive of ffmpeg daily builds for the last few monthes somewhere? I wanted to do a fast regression testing for something that looks like a bug, and I see daily builds for win32: http://ffmpeg.zeranoe.com/builds/win32/static/ but not for linux :(
[01:24:20 CEST] <llogan> debianuser: you not use git?
[01:24:41 CEST] <llogan> and no, i am unaware of such an archive
[01:25:15 CEST] <debianuser> llogan: I wanted to do a _fast_ regression testing, to briefly estimate a range before having to build ffmpeg myself :)
[01:25:36 CEST] <llogan> using git bisect is probably faster than downloading random builds
[01:25:47 CEST] <llogan> maybe
[01:26:33 CEST] <debianuser> Well, yeah, git bisect is fast... ./configure && make is what makes it slow... :)
[01:27:35 CEST] <llogan> anyone know what ubuntu release removed the counterfeit "ffmpeg"?
[01:29:21 CEST] <debianuser> By the way, when doing ffmpeg git bisect, don't you get into libav branch from time to time?
[01:32:02 CEST] <Anoia> I wonder of Zeranoe has done builds for the FFmpeg releases yet
[01:32:27 CEST] <Anoia> last I checked, it was almsot daily tip only, not much use for a production app :|
[01:34:58 CEST] <llogan> i don't see how a release makes it easier
[01:35:14 CEST] <llogan> when zeranoe provides all previous builds
[01:36:15 CEST] <Anoia> a known stable version
[01:37:36 CEST] <llogan> current git master is considered stable
[01:37:36 CEST] <Anoia> so I can say "I'm using version 1.2.3" rather than "I;m using build 337cb445" AND IT'S NON LINEAR
[01:37:39 CEST] <Anoia> -caps
[01:38:37 CEST] <llogan> debianuser: i think tools/bisect-create helps avoid libav commits
[01:39:48 CEST] <llogan> "git log 337cb44"
[01:42:50 CEST] <debianuser> llogan: Ah, thank you! I'll try that...
[01:43:25 CEST] Action: debianuser attempts to make zeranoe build working in wine...
[01:50:37 CEST] <llogan> debianuser: probably something like "cd ffmpeg && tools/bisect-create && tools/ffbisect need ffmpeg && tools/ffbisect start"
[01:51:07 CEST] <llogan> then the usual tools/ffbisect good (or bad)
[01:51:49 CEST] <llogan> i guess
[02:05:18 CEST] <debianuser> It seems to just do "bisect skip" whenever it does not see the "needed" file... But the harm of touching almost all the files is already done, I have to rebuild from scratch because of it... :(
[02:09:42 CEST] <llogan> what kind of potential regression are you testing?
[02:11:39 CEST] <debianuser> llogan: A friend sent me a sample saying that latest ffmpeg version prints "[matroska @ 0xb5f7aa0] Codec for stream 1 does not use global headers but container format requires global headers" message, and it did not do that before.
[02:13:09 CEST] <debianuser> The sample itself is here: http://www.datafilehost.com/d/dadbd9ed command to reproduce is: ./ffmpeg -i temp_777.vob -c:a copy -c:v libx264 out.mkv
[02:20:46 CEST] <debianuser> Using zeranoe builds I narrowed it to d759844..511585c range, and now building ffmpeg to test my current suspect: 95989463 merge...
[02:32:45 CEST] <debianuser> Yes, that's it. I guess I should ask in #ffmpeg-devel now...
[03:21:35 CEST] <BenMcLean> Hey could somebody take a look at this and help me out with translating it into an ffmpeg command? http://www.reddit.com/r/dosbox/comments/32mpxu/how_to_make_dosbox_videos_look_sharp_for_youtube/cqudsd1
[03:40:23 CEST] <llogan> BenMcLean: this may be worth using instead http://ffmpeg.org/ffmpeg-filters.html#hqx
[03:42:43 CEST] <BenMcLean> llogan, that's probably great advice. But it's kind of difficult to assemble the right command without knowing how .. these ... videos ... work
[03:42:51 CEST] <llogan> otherwise if you want to follow that guy's method -vf scale=1600:1200:flags=neighbor,scale=1280:-2:flags=lanczos or something like that
[03:43:04 CEST] <llogan> anyway i have to go now. have fun.
[03:43:24 CEST] <BenMcLean> I mean I kind of have a general idea of what a framerate is and what an encoder does, but I start feeling really clueless when it gets into describing all the options of what you can do with ffmeg
[03:43:44 CEST] <BenMcLean> llogan, ok well thanks for that tip. it wasn't everything i was looking for, but it's a start :)
[03:48:07 CEST] <c_14> BenMcLean: the command he gave you is basically what you're looking for. The rest is just picking an output format/codecs
[03:48:43 CEST] <BenMcLean> oh i see. I don't need to change the framerate of the video exported from DOSBOX then?
[03:48:55 CEST] <BenMcLean> also, should I be using the scale3x option in DOSBOX or does it matter?
[03:50:04 CEST] <c_14> You only need to change it if you want to (or depending on the device you want to play the video on later).
[03:50:24 CEST] <c_14> Not sure what that option does, but basically it comes down to who you think will scale the video better, DOSBOX or ffmpeg.
[03:52:07 CEST] <jookiyaya> what is the difference between choosing "5.1" and "dolby surround"
[03:52:39 CEST] <c_14> Where?
[03:52:55 CEST] <jookiyaya> audio codec
[03:53:20 CEST] <BenMcLean> c_14, the end goal is YouTube.
[03:53:49 CEST] <BenMcLean> I mean, the point is to deploy on YouTube. But after adding commentary and doing some minor editing in Sony Vegas.
[03:54:43 CEST] <c_14> In that case you might need to drop down to 60 or so, but IIRC youtube should handle that.
[03:54:45 CEST] <BenMcLean> libx264 would be the encoder to use to get mp4 files i could put on YouTube, I guess?
[03:55:26 CEST] <BenMcLean> You mean drop down to 60 frames per second? These are early 90s DOS games!
[03:55:40 CEST] <BenMcLean> I mean, they don't start anywhere close to 60 frames per second.
[03:56:02 CEST] <c_14> jookiyaya: afaik "dolby surround" is a fancy way of encoding surround audio into 2 channels that allows the track to be played as normal stereo or (with a special decoder) as surround.
[03:57:11 CEST] <jookiyaya> even if it's 2 channels, it's not same as stereo?
[03:57:23 CEST] <c_14> BenMcLean: according to that reddit link DOSBOX records at 70fps
[03:57:34 CEST] <c_14> jookiyaya: it's not the same as stereo, but it can be decoded as such
[03:58:05 CEST] <jookiyaya> c_14 what is dolby pro logic then
[03:58:22 CEST] <c_14> BenMcLean: Also, if you're uploading to YouTube and your bandwidth can handle it you might want to encode to a lossless format. That way you won't lose unnecessary quality.
[03:59:48 CEST] <c_14> jookiyaya: The fancy term dolby came up with for the algorithm that turns the "dolby surround" back into 4-channel surround
[04:00:38 CEST] <jookiyaya> so if you encode with dolby pro logic, there are 4 channels?
[04:01:41 CEST] <c_14> Dolby pro logic is the fancy algorithm that turns 4-channel input into a pseudo-stereo stream that can later be decoded back into a 4-channel stream. So if you encode with dolby pro logic there are 2 channels which can be turned into 4.
[04:03:27 CEST] <jookiyaya> what happens if you encode 2-channel audio ---> double surround then?
[04:03:35 CEST] <jookiyaya> dolby*
[04:04:27 CEST] <c_14> Depends on what you're using. Whether it upmixes the stereo to 4 channel audio first and then encodes to dolby surround or whether it creates 2 new empty audio channels.
[04:05:04 CEST] <jookiyaya> this is all too complicated, why not just  mono/stereo/3channel/4channel/5channel/6channel/etc
[04:06:20 CEST] <c_14> Because dolby surround is from the 80s
[04:09:34 CEST] <BenMcLean> I can't spend all day rendering a video, and have it take up like 20 GB
[04:10:22 CEST] <c_14> lossless algorithms are actually rather fast, they are huge though
[04:15:07 CEST] <BenMcLean> i actually end up editing in Sony Vegas to put together my commentary with the game footage
[04:15:19 CEST] <BenMcLean> and it has an export option specificaly for YouTube at 720p that I use
[04:17:30 CEST] <BenMcLean> For an unrelated project: I have a bunch of FLACs that I want to turn into video files that just show a still image
[04:17:49 CEST] <BenMcLean> I use this command: for %%i in (*.flac) do ffmpeg -loop 1 -i image.png -i "%%i" -c:a copy -c:v libx264 -shortest "%%~ni.mp4"
[04:18:20 CEST] <BenMcLean> that used to work but now it is getting me errors about "global headers" - what's that!?
[04:18:41 CEST] <BenMcLean> it say "[mp4 @ 000000000310a780] Codec for stream 1 does not use global headers but cont ainer format requires global headers"
[04:19:54 CEST] <c_14> BenMcLean: probably a regression. Afaik there's a ticket open for it already
[04:20:17 CEST] <BenMcLean> "regression"?
[04:20:50 CEST] <c_14> Something that's happening that shouldn't be happening that didn't use to happen.
[04:21:11 CEST] <BenMcLean> oh\
[04:21:20 CEST] <BenMcLean> might trying the 32 bit version of ffmpeg make a difference?
[04:21:32 CEST] <c_14> 99% no
[04:22:01 CEST] <c_14> I haven't noticed it actually do anything evil, so you can probably ignore it until it's fixed.
[04:22:08 CEST] <BenMcLean> should i grab an older version then?
[04:22:21 CEST] <BenMcLean> c_14 well its doing something evil here
[04:22:37 CEST] <c_14> Corrupting the output?
[04:22:42 CEST] <BenMcLean> the very next thing it says is [mp4 @ 000000000310a780] Could not find tag for codec flac in stream #1, codec n ot currently supported in container
[04:22:55 CEST] <c_14> Oh, that's easy.
[04:22:58 CEST] <c_14> You can't put flac in mp4
[04:23:35 CEST] <BenMcLean> what would be highest quality audio i could put in mp4?
[04:24:07 CEST] <BenMcLean> from these flacs, i mean. i can convert them to nearly any format under the sun using dbpoweramp music converter
[04:24:08 CEST] <c_14> With a little trick, ALAC. But not many devices will support that.
[04:24:25 CEST] <BenMcLean> c_14, this is also for youtube
[04:24:38 CEST] <c_14> In that case just use .mkv
[04:25:30 CEST] <BenMcLean> just change the extension, or do i also need to change the encoder from libx264 to something else
[04:25:37 CEST] <c_14> nah
[04:25:50 CEST] <BenMcLean> cool, lets see
[04:28:58 CEST] <BenMcLean> sweet. i've actually got two computers, working on these two separate projects. my other computer will just run all night doing that flac converting job leaving this one I'm typing on free to experiment with DOSBOX capture
[04:36:16 CEST] <jookiyaya> what is the deal with bluray?  i have dvds that have 100s of scratches and i can rip the dvd fine; but  bluray that maybe has one tiny scratch and i cannot rip the bluray
[04:37:33 CEST] <c_14> jookiyaya: think of it this way dvds and blurays have pretty much the same physical dimensions, right?
[04:37:48 CEST] <c_14> the most common dvds carry 4.7GiB. Blurays have 25GiB
[04:37:54 CEST] <jookiyaya> 8.5G
[04:38:07 CEST] <jookiyaya> single layer dvd/bluray are very rare
[04:38:17 CEST] <jookiyaya> for commercial dvd/bluray
[04:38:34 CEST] <c_14> Say that to my giant stack of 4.7GiB dvds, but whatever.
[04:38:42 CEST] <c_14> There's a difference in bit density
[04:40:46 CEST] <c_14> There might also be differences in redundancy and error correction, but I'm not an expert in dvd/bluray mastering.
[04:48:17 CEST] <jookiyaya> why is it so hard to find a player that supports bluray-menu
[04:48:31 CEST] <c_14> Because bluray-menu is embedded java
[04:48:40 CEST] <c_14> And that's ugly, and terrible, and a security risk.
[04:48:46 CEST] <c_14> I think vlc can do it though.
[04:59:48 CEST] <jookiyaya> vlc cannot do it
[05:00:23 CEST] <jookiyaya> if bluray menu = java  what is dvd menu?
[05:05:31 CEST] <BtbN> something custom
[05:20:30 CEST] <jookiyaya> btbn then why would it custom have better support
[05:20:48 CEST] <BtbN> Because it's less complex than Java
[05:22:32 CEST] <BtbN> And iirc it's actualy just a quite simple menu description language. Not a fully featured programming environment.
[06:57:40 CEST] <jookiyaya> what is the deal with bluray?  i have a dvd that is a big mess and  has like 40 big scraches on one dvd disc and i can rip the dvd fine; but really clean bluray that maybe has one tiny scratch and i cannot rip the bluray
[07:57:39 CEST] <plus10> Hello, Im trying to stream my mic with this command "ffmpeg -f pulse -ac 2 -i default -acodec libmp3lame -ab 96k -re -f rtp rtp://127.0.0.1:1234" but I get error like this: Error parsing options for output file rtp://127.0.0.1:1234
[07:57:53 CEST] <plus10> so can anyone tell me what am I missing?
[13:03:32 CEST] <Anoia> hi all
[13:03:50 CEST] <Anoia> does anyone know what the zeranoe build file names are based on?
[13:04:05 CEST] <Anoia> I can;t find the hashes in the git repo
[13:05:20 CEST] <Anoia> mah, the gitweb commit search doesn;t match those IDs :|
[14:56:00 CEST] <Rug> Howdy all,
[15:01:39 CEST] <Rug> I have a Tesla K80 that is being used for video encoding.  One interesting result I have discovered (using nvenc) is that it actually encodes at the same speed as a GTX780Ti (BUT you can run many more jobs through it at the same time.) So initial results indicate that I could process 8 videos at once vs just 1 video with a 780Ti.
[15:04:10 CEST] <Rug> One question that I have, (that I hope somebody here can point me to an answer) is that i am seeing the following error:  OpenEncodeSessionEx failed: 0xa - invalid license key    I thought that using the k80 would remove that limitation.
[17:20:49 CEST] <JamJams> Could anybody familiar with sws code explain to me why this might not work as intended :) > http://pastebin.com/Lhtd6dt7
[17:54:45 CEST] <ramiro> JamJams, const uint8_t *const srcSlice[]
[17:55:13 CEST] <JamJams> It's not that
[17:55:35 CEST] <ramiro> your buffer is just one plane
[17:55:46 CEST] <JamJams> It needed &buffer
[17:55:50 CEST] <JamJams> But it still wont display correctly
[17:56:08 CEST] <ramiro> you need to provide something like uint8_t *planes[4] = { buffer }
[17:56:56 CEST] <JamJams> buffer should be an exact copy of AVPicture data though, it's the same data
[17:57:03 CEST] <JamJams> Or am I missing something with that
[17:58:14 CEST] <JamJams> Using &buffer it doesn't crash but I keep getting bad src image pointers errors.
[18:00:18 CEST] <JamJams> I don't understand avpicture_layout copies AVPicture into a buffer. The data is exactly the same, so why would it have this issue.
[18:09:23 CEST] <JamJams> Oh I see ramiro... It creates an image now but the color is all wrong. I think my offsets are wrong
[18:10:22 CEST] <ramiro> there's a difference between frame stride and width
[18:10:32 CEST] <ramiro> no idea if that's your issue, but just pointing it out =)
[18:11:35 CEST] <JamJams> I just want to be able to pass the buffer and not frame->data :( to sws
[18:22:03 CEST] <JamJams> It's yuv so 3 planes, I just need the right offsets :/
[18:29:17 CEST] <flipmcf> hello.  I'm trying to send an authenticated rtmp stream to Akamai and getting 'invalid password'.  is there a special way to hash/salt the password in the challenge reply?
[18:29:46 CEST] <flipmcf> Full transcript and command being pasted shortly.  standby
[18:54:23 CEST] <flipmcf> here is the transcript of the "you're not authenticating the right way" to Akamai
[18:54:24 CEST] <flipmcf> http://pastebin.com/DitzwAvb
[18:54:30 CEST] <flipmcf> Any hints would be greatly appreciated
[20:28:53 CEST] <kyleogrg> hey
[20:29:34 CEST] <kyleogrg> I'll share a YouTube link here (if you don't mind), and if someone has the chance to glance at it, I have a technical question...
[20:29:39 CEST] <kyleogrg> https://www.youtube.com/watch?v=IO9W6FGvX5M
[20:29:53 CEST] <kyleogrg> "Cabo San Lucas Aerial Video Tour from Cabosbest.com"
[20:30:17 CEST] <kyleogrg> To me, it seems there's a strange blurring effect on some of the frames.  Do you know what this is?
[21:40:13 CEST] <ahuegyua> .
[21:40:14 CEST] <ahuegyua> did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars?
[21:40:14 CEST] <ahuegyua> did usa excute the creative mess in the middle east like they said they will, does the creative mess include explosions with uncertain responsibles to create wars?
[21:40:14 CEST] <ahuegyua> plz, send my qs to help limiting usa & israel aggression against others& may then lessen number of people killed in the middle east.
[21:40:14 CEST] <ahuegyua> .did usa intelligence supply isis with weapons like they did with al-qaeda to justify creating wars?
[23:09:44 CEST] <flipmcf> where to the librtmp people hang out?
[23:11:49 CEST] <BtbN> Isn't librtmp dead?
[23:31:39 CEST] <flipmcf> I wouldn't know.  I'm so new to this stuff.  My job is making me do it.
[23:32:07 CEST] <flipmcf> but I am building using the librtmp libraries.   when you say 'dead' what do you mean?
[23:33:47 CEST] <flipmcf> latest commit was Oct 30, 2012  - yeah, that's pretty dead.   If so, what's the new way of getting rtmp support?
[23:34:42 CEST] <__jack__> does not means it does not work
[23:39:12 CEST] <cnut> Hello, what's the best way to insert keyframes? should I use -g or the -force_key_frames? Sometimes on jw player it doesn't display the picture, but most complaints are from chrome users.
[23:41:37 CEST] <flipmcf> __jack__, lol  it works if I go back about 100 revisions :)
[23:46:48 CEST] <cnut> chaps?
[23:47:17 CEST] <c_14> cnut: only use -force_key_frames if -g doesn't cut it
[23:47:48 CEST] <cnut> So what's the real difference between the two features?
[23:48:53 CEST] <Mavrik> hmm
[23:49:47 CEST] <JEEBsv> -g is maximum GOP length
[23:49:55 CEST] <JEEBsv> what it means depends on the encoder
[23:49:59 CEST] <Mavrik> cnut, -g N tells the encoder "a keyframe must be AT LEAST every N frames, it might be sooner"
[23:50:22 CEST] <Mavrik> -force_key_frames allows you to list exact frames which should be keyframes
[23:50:25 CEST] <Mavrik> you should use "-g"
[23:50:34 CEST] <JEEBsv> less intelligent ones will only put IRAPs there, more intelligent ones put it where it makes sense with a threshold
[23:51:53 CEST] <cnut> I currently use -g anyway. It's just some people complain when the jw player doesn't display picture. I think it might be a chrome flash plugin problem, works fine in firefox
[23:53:28 CEST] <Mavrik> cnut, HLS or just plain old mp4?
[23:54:27 CEST] <cnut> I used ffmpeg to grab a stream from tvheadend.
[23:55:54 CEST] <cnut> I stream it in the flash format with the libx264 codec using rtmp protocol
[23:56:03 CEST] <JEEBsv> so FLV
[23:56:12 CEST] <cnut> aye
[23:59:30 CEST] <cnut> it's probably a shitty flash problem. It works most the times. As I said the people that complain are generally Chrome users.
[00:00:00 CEST] --- Sat May  2 2015


More information about the Ffmpeg-devel-irc mailing list