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

burek burek021 at gmail.com
Tue Jan 28 02:05:01 CET 2014


[00:00] <lkiesow> Hello71: If you have a look at the aacenc_lib.h in the master branch of libfdk-aac you will find
[00:00] <Hello71> I figured that out.
[00:00] <lkiesow> AACENCODER_LIB_VL0 3, AACENCODER_LIB_VL1 4 and AACENCODER_LIB_VL2 12
[00:01] <Hello71> https://bugs.gentoo.org/show_bug.cgi?id=499402
[00:07] <lkiesow> So basically, the Error message is a bit confusion but there should be no problem if you have installed fdk-aac v0.1.3 as it already has the internal version number
[00:07] <lkiesow> &which means that I sould update it for my systems as well :)
[00:08] <Hello71> wait, what
[00:08] <Hello71> 0.1.3 is 3.4.12
[00:08] <Hello71> seems legit
[00:10] <lkiesow> checkout v0.1.3 and have a look into include/fdk-aac/aacenc_lib.h :)
[00:10] <Hello71> ah.
[00:10] <Hello71> I don't have it cloned
[00:10] <Hello71> sourceforge git ui is !@#$
[00:11] <lkiesow> git clone git://git.code.sf.net/p/opencore-amr/fdk-aac
[00:11] <Hello71> too much work
[00:13] <lkiesow> Then use ffmpeg 2.1.3. That works
[00:20] <Hello71> emerge =fdk-aac-0.1.3
[00:21] <NoZero> any help on this?...
[00:21] <NoZero> 1>ffmpegDecode.obj : error LNK2028: unresolved token (0A000018) "extern "C" void __cdecl avcodec_free_frame(struct AVFrame * *)" (?avcodec_free_frame@@$$J0YAXPAPAUAVFrame@@@Z) referenced in function "private: int __thiscall FFmpegDecoder::DecodeAudio(int,struct AVPacket *,unsigned char *,unsigned int)" (?DecodeAudio at FFmpegDecoder@@$$FAAEHHPAUAVPacket@@PAEI at Z)
[00:21] <Hello71> solution: use linux
[00:21] <NoZero> I need to write a Windows software
[00:22] <NoZero> 1>Linking...
[00:22] <NoZero> 1>ffmpegDecode.obj : warning LNK4248: unresolved typeref token (01000013) for 'SwsContext'; image may not run
[02:29] <NoZero> ok fflogger
[02:29] <NoZero> ty
[02:53] <Kronusdark> does anyone know if there is a way to select an embedded SSA subtitle and burn in one line?
[02:54] <Kronusdark> google hasnt been helpful this evening
[02:55] <DeadSix27> i just extract it and burn it using the ass filter.
[02:55] <DeadSix27> to handle specific types of actorlines/functions/signs etc. i made a few simple python parse&process scripts
[02:57] <Kronusdark> I have about 20 mkvs to convert and i really dont look forward to doing it by hand, would you happen to have one of those scripts handy to share?
[03:01] <DeadSix27> Kronusdark: http://files.dead6.eu/ASS_MKV_Tools_python/
[03:01] <DeadSix27> i dont have a handy lineprocess script right now, its a mix of weird stuff i use
[03:01] <DeadSix27> but those 3 scripts come in very handy in automated batch processing
[03:03] <DeadSix27> note that they're very vague.. and undocumented.
[03:03] <Kronusdark> awesome, thanks. this should speed things up a bit. and don't worry about the documentation, i've dealt with much worse.
[03:04] <DeadSix27> also, the audio one requires binarys to be installed
[03:04] <DeadSix27> i didnt put any check in there yet
[03:04] <DeadSix27> and its windows, so for unix pretty much just remove the .exe
[03:05] <DeadSix27> (if those tools even exist in linux, not sure)
[03:05] <Kronusdark> if i can make use of these, I will let you know.
[03:06] <DeadSix27> also nvm, those tools exist in unix
[03:56] <Ris> hey all im looking for some help
[03:59] <Ris> been useing this what im trying to stream off my rpd useing ffmpeg screen cap and sound
[03:59] <Ris> my rdp has no sound card
[03:59] <Ris> been useing this command ffmpeg -f dshow -i audio="virtual-audio-capturer":video="screen-capture-recorder" yo.mp4 -f flv "rtmp://xxx.cast7.eu/onlive?key=THC87G/cast101"
[03:59] <Ris> could someone help me skype cpilecki06
[05:06] <jangle> greetings all. just a sanity check, can ffmpeg accept h264 annex b as input? or does it have to be the version where the startcodes of each nal indicate the nal length?
[05:07] <jangle> (if that has a name I don't know if, or if it isn't a real format and I just made it up, I wouldn't be surprised)
[05:40] <Ris> no1 is around
[05:40] <Ris> to help
[05:47] <Orbixx> https://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video
[05:47] <Orbixx> In the second example in this video, how am I supposed to escape a directory and filename after the "ass=" bit?
[05:54] <llogan> Orbixx: what is the path you are trying to use?
[05:54] <Orbixx> llogan: It contains spaces in both directories and filenames
[05:54] <Orbixx> It's a Windows path
[05:54] <Orbixx> Or rather, a path on Windows
[05:56] <llogan> oh. windows. works fine on linux: "ass=path to/file name.ass"
[05:57] <llogan> Ris: what is rpd?
[06:15] <Ris> baseially a vps
[06:33] <llogan> Ris: so what is the problem with ffmpeg, exactly?
[06:33] <DeadSix27> Orbixx: try ''
[06:33] <Ris> ok '
[06:33] <Orbixx> DeadSix27: ?
[06:34] <DeadSix27> -vf "ass='c:/blabla spaces/'"
[06:34] <Orbixx> oh
[06:34] <Ris> i will do that now '
[06:36] <Ris> http://pastebin.com/mXgFdBLn
[06:36] <Orbixx> DeadSix27: No good
[06:37] <DeadSix27> Orbixx: -vf "ass=\"c:/blabla spaces\""
[06:37] <DeadSix27> not sure bout that though
[06:38] <llogan> Ris: so you want to create a local file output and an output stream?
[06:38] <Ris> yea
[06:38] <Ris> more of screen capture
[06:38] <DeadSix27> Orbixx: nvm
[06:39] <Ris> then a file
[06:39] <DeadSix27> Orbixx: forgot to escape ":"
[06:39] <llogan> Ris: does it work as expected if you omit the local file?
[06:39] <DeadSix27> Orbixx: -> -vf "ass='C\:\Test.ass'"
[06:39] <Ris> havent try it yet
[06:40] <llogan> Ris: also, the tee muxer is a better choice if you want two outputs (without having to encode both)
[06:40] <llogan> http://ffmpeg.org/ffmpeg-formats.html#tee
[06:40] <llogan> http://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
[06:42] <Ris> thanks i will try it
[06:45] <Ris> what is causeing this
[06:45] <Ris> real-time buffer 545% full! frame dropped!
[06:50] <llogan> Ris: try a faster encoder (-vcodec libx264 -preset fast), try a smaller frame size. i'm just guessing here. i know nothing of dshow.
[07:03] <Ris> sorry i got dced
[07:07] <Ris> i found somthing
[07:07] <Ris> http://nerdlogger.com/2011/11/03/stream-your-windows-desktop-using-ffmpeg/
[07:09] <Ris> im taking a break
[07:18] <BtbN> Why don't you use a software which is more better designed for that purpose?
[08:32] <llogan> Keestu: this is the correct channel. are you following the compile guide at the ffmpeg wiki?
[08:38] <Keestu> llogan,  yup. i foloow the wiki only. :)
[08:39] <JEEB> then you either did not follow them or they suck
[08:39] <JEEB> (the instructions)
[08:42] <Keestu> :) :(
[14:08] <pron> any tips for buying a hardware for h264 encoding/decoding with ffmpeg?
[14:23] <relaxed> pron: fastest intel cpu with the most threads you can afford.
[14:24] <pron> how about vaapi and amd apu ?
[14:24] <relaxed> intel is king
[14:26] <relaxed> hevc is around the corner
[14:27] <pron> the stuff im encoding is mostly for web
[14:27] <pron> was wondering how abotu ahrdware decoding/encoding etc
[14:29] <pron> to squeeze out some speed :P
[14:35] <JEEB> pron, not supported out-of-box with cli ffmpeg and in general not worth it at all
[14:35] <pron> ahaa i see
[14:35] <JEEB> decoding /could/ be worth it with the newest intel, since it can push ~300fps
[14:35] <JEEB> but that isn't supported
[14:36] <pron> so basicly even grabbing nvidia card for de/en coding isnt worth , and doesnt give any performance gains
[14:36] <JEEB> and at that level of hardware I wouldn't be surprised if you got as much if not more out of software decoder
[14:36] <JEEB> let me guess
[14:36] <JEEB> you read some telestream kool aid?
[14:36] <pron> im trying to read tru forumms/google rite now
[14:36] <JEEB> anyways, the point is that everything else you could get regarding hw encoding is complete and utter crap, other than the newest intels
[14:37] <JEEB> but even those will not help you if you need to limit bandwidth and get quality with that while being fast as well
[14:37] <pron> okay i see
[14:37] <JEEB> (and not supported by cli ffmpeg)
[14:37] <pron> i just want to experiment  :D
[14:37] <JEEB> and when you get to those newest intels, you usually get a capable CPU on that die too
[14:37] <pron> and buy tons of hardware and spend time on thinfgs others have done alrdy
[14:37] <pron> :}
[14:37] <JEEB> but yeah, "GPGPU" is not worth it
[14:38] <pron> cool
[14:38] <pron> si i5 i guess it is
[14:38] <pron> so* i5
[14:38] <JEEB> if you need fast hw decoding or encoding, the intel blackbox stuff is the best right now. And the decoder could be useful with some encoding scenarios, I guess? You'd just have to plug it in
[14:39] <pron> JEEB intel black box?
[14:40] <JEEB> ASICs
[14:40] <JEEB> the stuff they have on their higher-end haswell+ stuff
[14:40] <JEEB> used via the quicksync interface
[14:50] <pron> JEEB thx
[15:57] <theos> hi
[15:57] <theos> does ffmpeg support gpu yet?
[16:31] <clever> theos: which gpu?
[16:32] <theos> ATI radeon HD
[16:32] <clever> dont know
[16:32] <theos> :/
[16:33] <JEEB> FFmpeg supports a couple of hwaccels, but ffmpeg (cli app) does not
[16:33] <JEEB> that said, their usefulness can be of dubious quantity
[16:34] <theos> i see
[16:35] <clever> i'm trying to get omx hwaccel, but its causing issues with b frames, and if i try to fix that, it just doesnt output frames at all
[16:36] <clever> the hw api isnt designed to fit into the ffmpeg api style
[18:17] <canci> I want to extract a specific time section from a dv stream, prepend a logo to that and output it reencoded as h264/aac. for that purpose I use the following call to ffmpeg: https://paste.as5580.net/p/7pvvrmw2qvbxjl3a
[18:17] <canci> This works more or less, the video ends in the position where it should, however for the last few seconds, the audio is missing, there is just silence in the output file
[18:18] <canci> any idea what I am doing wrong there?
[18:30] <Guest66753> Hello, is it possible to use ff* tools to dump epg from ts streams?
[19:46] <canci> llogan: I pasted the exact command line?
[19:46] <llogan> ...and the COMPLETE console output
[19:48] <canci> ah, I overread that part, my bad. I will keep that in mind for the next time - for now it seems that the issue was caused by audio and video loosing synchronization when seeking the input file
[20:05] <llogan> canci: check that your output is not yuv422p since you're using dv as input if you want the output to be compatible with non-FFmpeg based players (QuickTime, etc).
[20:06] <llogan> the console output would have shown this
[20:18] <canci> llogan: these are the two calls to ffmpeg with their respective output https://paste.as5580.net/p/6yofpi0di360fzz - it seems to end up as yuv420p
[20:23] <llogan> canci: oh, PAL DV...
[20:23] <llogan> anyway, you can add format=yuv420p to the endo of your filterchain if you did need to change it
[20:25] <canci> looking at the common h264 profile, yuv420p seems to me as a reasonable colorspace for distributing the video - or should I use something else there?
[20:25] <llogan> no
[20:25] <llogan> unless you're only going to use ffmpeg 'n friends
[20:25] <llogan> then it doesn't matter
[20:26] <canci> heh. The overall intention of that conversion is to have a video that should hopefully play on most systems.
[20:27] <canci> that was also my reason to do deinterlacing and converting it to something with SAR 1:1
[20:29] <llogan> canci: note that the profile and level are something to consider depending on what devices you want to support
[20:33] <relaxed> consider a more recent version too
[20:37] <canci> relaxed: yea, that's also a good point
[20:38] <canci> llogan, relaxed: thank you for the pointers
[22:41] <Mista-D> Can't vcodec copy mpeg2 from PS file. "pts (0) < dts (1)" error. I can decode it, can transcode code just cant copy it... any ideas?
[23:01] <Mista-D> sample and console printout in last entry there : https://trac.ffmpeg.org/ticket/2058
[00:00] --- Tue Jan 28 2014


More information about the Ffmpeg-devel-irc mailing list