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

burek burek021 at gmail.com
Mon Apr 13 02:05:01 CEST 2015


[00:04:33 CEST] <jookiyaya> didn't work
[00:09:05 CEST] <worried> guess i will need to dump with vlc
[00:09:12 CEST] <worried> thanks anyway
[00:18:00 CEST] <jookiyaya> anybody know how extract  subtitles .idx/.vob  from MKV file  (i know how to do it from dvd (video_ts))
[02:39:29 CEST] <chungy> When using a DVD as an input source, how do you select titles?
[06:08:30 CEST] <jookiyaya> if you had to choice of making ntsc or pal  universal, which one would you make universal?
[07:11:00 CEST] Last message repeated 1 time(s).
[09:22:01 CEST] <DiegoMax> hello everyone
[09:22:19 CEST] <DiegoMax> i have a quick question that maybe some of you would be able to answer
[09:22:42 CEST] <DiegoMax> is it ok to statically link against an LGPL build of ffmpeg on a closed source application ?
[10:25:08 CEST] <JEEBsv> DiegoMax: IANAL, but you have to provide the means for the user to replace the library. In other words, the source code for the FFmpeg, and the object files for the proprietary part if you are doing static linking
[10:25:24 CEST] <JEEBsv> which is why most people do shared linking with LGPL :P
[10:25:41 CEST] <DiegoMax> ya i guess i will just do that
[10:26:20 CEST] <DiegoMax> the source and object files must be included into the app binary or may be a link for the user to get them from a web server as an extra if he wants to ?
[10:26:32 CEST] <DiegoMax> i tried to find some specifics about that but i failed :p
[10:28:51 CEST] <JEEBsv> That's because it's really not specified (well, other details are specified regarding various things), other than you have to make sure it's available for N years (I think five?). If you want to take it the sure way you could have them be in the installer or whatever and just not install by default, otherwise just have the sources(+ object files etc needed for linking) in an archive linked somewhere
[10:29:18 CEST] <DiegoMax> thanks JEEBsv
[10:29:36 CEST] <JEEBsv> of course, IANAL and all that jazz
[10:29:43 CEST] <JEEBsv> but that's my understanding
[10:29:55 CEST] <DiegoMax> and what about h264/265 decoding ?
[10:30:02 CEST] <DiegoMax> my app does that, in between other things
[10:30:05 CEST] <DiegoMax> is that ok /
[10:30:06 CEST] <DiegoMax> ?
[10:31:51 CEST] <JEEBsv> patent licensing is a whole separate thing from software licensing (except in the case of fdk-aac f.ex. where it specifically adds requirements regarding that)
[10:33:04 CEST] <JEEBsv> (which is why fdk-aac is not compatible with certain licenses and thus the resulting binary isn't distributable at all if you link against it)
[10:33:25 CEST] <DiegoMax> im working on a really simple tool to do a movie sheet with thumbnails every x seconds
[10:34:41 CEST] <DiegoMax> but im now worried about that
[10:34:54 CEST] <DiegoMax> i guess they will not really care unless u make millions, and since its not even a paid app
[10:35:03 CEST] <DiegoMax> probably they will not care at all
[10:35:35 CEST] <DiegoMax> https://www.dropbox.com/s/7mhdf1vmj5ep043/Screenshot%202015-04-12%2005.32.54.png?dl=0 thats really it, plus several export/print options
[10:35:38 CEST] <JEEBsv> well, I am not going to be able to assess your needs or your local legislation for obvious reasons; if you really want to be sure you go and check the licensing rules for example with MPEG-LA
[10:36:05 CEST] <JEEBsv> I think MPEG-LA only starts wanting money for AVC decoder distribution after N copies, where N was either 10k or 100k :P
[10:36:12 CEST] <JEEBsv> HEVC I have no idea
[10:36:23 CEST] <JEEBsv> and that number at least with AVC reset every year
[10:36:30 CEST] <DiegoMax> thanks for all this info JEEBsv
[10:38:07 CEST] <DiegoMax> are you one of FFmpeg's devs JEEBsv, or a user only?
[10:38:55 CEST] <JEEBsv> I have at least one file with my name in the copyright field, but I'm not sure if I can call myself "dev" :V
[10:39:09 CEST] <DiegoMax> well your API/Libs rock then
[10:39:24 CEST] <DiegoMax> i never touched this library before 2 days ago
[10:39:30 CEST] <DiegoMax> and in 48 hours the app is up and running
[10:39:34 CEST] <DiegoMax> i love it
[10:39:44 CEST] <JEEBsv> it's much simpler these days with the examples etc around
[10:39:55 CEST] <DiegoMax> yeah i guess
[10:40:15 CEST] <JEEBsv> before you had to search for random examples and those generally were years old
[10:43:22 CEST] <DiegoMax> i think i have found a few memory leaks, but im not 100% positive yet that they are from libav....
[10:43:49 CEST] <DiegoMax> i would say that im 90%... if i get to be 100% after some more debugging, i will probably report it
[10:46:02 CEST] <JEEBsv> valgrind time?
[10:46:11 CEST] Action: JEEBsv adores valgrind
[10:48:20 CEST] <Rayray> hi guys
[10:49:34 CEST] <Rayray> currently running into an issue when compiling Motion, the error comes back to ffmpeg/libavutil.
[10:49:41 CEST] <Rayray> ffmpeg/libavutil/time.c:60: undefined reference to `clock_gettime'
[10:50:20 CEST] <Rayray> thats what i get when i run make
[12:15:54 CEST] <MelchiorGaspar> Anybody alive in here all the Dev's in said channel apper to be lost in a blackhole ;D
[13:03:54 CEST] <JamJams> Hi! Does anybody know an easy way to use av_seek_frame to seek to the next I frame? Are libavcodec questions ok here?
[13:30:26 CEST] <BtbN> Isn't that what it does anyway?
[13:30:32 CEST] <BtbN> "Seek to the keyframe at timestamp."
[13:30:52 CEST] <BtbN> So just seek to your current timestamp, and it should seek you to the nearest keyframe.
[13:31:49 CEST] <MelchiorGaspar> --------------------------------------------
[13:31:49 CEST] <MelchiorGaspar> I found a format that FFmpeg does not support though I thought it did
[13:31:49 CEST] <MelchiorGaspar> .pss   PLaystation 2 (Suikoden 3 and 4)
[13:31:49 CEST] <MelchiorGaspar> I extracted from my PS2 DvD discs so I convert to watch (oohh the memories) soI can upload a file if a Dev wants to test it
[13:31:49 CEST] <MelchiorGaspar> --------------------------------------------
[13:38:13 CEST] <JamJams> BtbN what if I'm at the start of the file?
[13:38:26 CEST] <JamJams> I want to just be able to hit a button and it go to the next i frame
[13:38:36 CEST] <JamJams> Over and over again if need be
[18:18:24 CEST] <obXiDeJSFQ> Question:- When making tiles[0], is it possible for it to automatically choose the amount of tiles required to capture the full video? For instance, if I give it a one hour video at one image per ten seconds, it'll throw me back a 360x10 (Or something) mosaic automatically?
[18:18:30 CEST] <obXiDeJSFQ> [0] https://trac.ffmpeg.org/wiki/How%20to%20take%20multiple%20screenshots%20to%20an%20image%20(tile,%20mosaic)
[18:29:18 CEST] <Nitori> I just got a kernel panic while encoding... it's not, per chance, possible to resume a failed encode? :<
[18:46:26 CEST] <c_14> mp4 output?
[18:48:27 CEST] <c_14> Nitori: ^
[18:48:38 CEST] <Nitori> mkv
[18:48:59 CEST] <c_14> Then it should be possible.
[18:49:55 CEST] <c_14> Find out how far the output got (ffprobe or whatever) rerun the encoding command with a new output file (and -ss [length you got earlier] as an input option). Then concatenate the 2 files with -c copy and the concat demuxer
[18:50:40 CEST] <Nitori> hm okay, thanks
[19:57:31 CEST] <flashmaster77> hello there
[19:57:57 CEST] <flashmaster77> is anyone of you useing a chromecast with castnow?
[20:00:09 CEST] <flashmaster77> i set up castnow on my laptop to cast some .avi video to my chromecast, which didn't work because chromcast can't play .avi files. so i figured out it has to be converted via ffmpeg while streaming, but i can't get it to do that. any ideas?
[20:16:06 CEST] <jxself> Hmm. I think I am missing something. I have a video containing WebVTT subtitles: http://dpaste.com/2MARHVM When playing in FFplay I press the lett 't' expecting it to "Cycle subtitle channel in the current program" and that output does show "Switch subtitle stream" in response to my pressing that letter but nothing appears on the screen. I can extract the subtitles and verfiy that they are correct. What am I missing or not doing or whatever?
[21:24:58 CEST] <smo_> hi
[21:25:04 CEST] <smo_> how can i fix errors like this Oo
[21:25:07 CEST] <smo_> Error parsing AAC extradata, unable to determine samplerate
[21:25:17 CEST] <smo_> on a twitch stream
[21:27:05 CEST] <smo_> full output here
[21:27:06 CEST] <smo_> http://paste.ubuntu.com/10810718/
[21:27:10 CEST] <smo_> thanks :p
[21:27:41 CEST] <smo_> spawn : -re,-i,pipe:0,-sn,-vf,scale=trunc(iw/2)*2:trunc(ih/2)*2,-c:v,libx264,-preset,ultrafast,-deinterlace,-c:a,copy,-threads,0,-f,matroska,pipe:1        grep stderr: ffmpeg version 2.6.1-   http://johnvansickle.com/ffmpeg/
[21:27:48 CEST] <smo_> precision...
[21:28:04 CEST] <Guest40174> hi all
[21:29:25 CEST] <Guest40174> I use ffmpeg with option -ss (seek). My system kill process ffmpeg. Little memory. what do i do?
[21:31:07 CEST] <Guest40174> my options
[21:31:10 CEST] <Guest40174> ffmpeg -y -ss 2000 -i "http:// ... etc" -vcodec mjpeg -vframes 1 -an -f image2 -s "1680x1050" "test.jpg" -benchmark
[21:31:30 CEST] <Guest40174> Very load my host
[21:31:51 CEST] <Guest40174> ok, im sorry
[21:33:02 CEST] <smo_> http://paste.ubuntu.com/10810758/
[21:36:28 CEST] <YaMoonSun> How would I convert a 5.1 surround sound AAC audio stream to 48Kbps and 2 channels, OGG?
[21:37:46 CEST] <c_14> YaMoonSun: `ffmpeg -i aac -c:a libvorbis -b:v 48k -ac 2 out.ogg'
[21:38:12 CEST] <YaMoonSun> Ily, going to give it a shot, thanks.
[21:38:12 CEST] <jxself> I think -b:a since it's audio?
[21:38:18 CEST] <c_14> eh, right
[21:38:33 CEST] <c_14> This is what happens when you don't pay attention to what you're writing.
[21:38:55 CEST] <YaMoonSun> Winrar, looks like it's going to work, chears.
[21:39:10 CEST] Action: YaMoonSun can't beleive I spelled cheers wrong
[21:39:59 CEST] <c_14> smo_: you'll probably have to reencode the audio
[21:40:10 CEST] <c_14> Also, -deinterlace is deprecated. Use the yadif (or similar) filter.
[21:40:51 CEST] <YaMoonSun> Am making a webm, but I think I should probably do it from the .mkv so I don't transcode any furter.
[21:41:08 CEST] <smo_> that s what i m trying c_14 thanks
[21:41:10 CEST] <c_14> Guest40174: Get more memory or smaller (resolution) input. Not sure what else I can tell you.
[21:42:11 CEST] <Guest40174> c_14, i use 1gb ram
[21:42:39 CEST] <c_14> You can also try killing all unnecessary background processes to free up more memory for ffmpeg.
[21:44:51 CEST] <Guest40174> dont
[21:45:10 CEST] <Guest40174> i small resolution, but killed :(
[21:49:47 CEST] <c_14> Guest40174: try adding swap space
[21:51:42 CEST] <Guest40174> c_14, how many?
[21:51:57 CEST] <c_14> At least 1 preferably 2GiB
[22:21:56 CEST] <solrize> i have several files that i want to concatenate (e.g. paste several songs into an album that i can play back as one file).  is there a simple way to do that, preferably without transcoding?
[22:22:24 CEST] <c_14> https://trac.ffmpeg.org/wiki/Concatenate
[22:22:42 CEST] <solrize> aha thanks
[22:27:06 CEST] <DragonsLord> c_14, do you know some guidelines in order to use FFmpeg to make backup copies of DVDs?
[22:27:35 CEST] <c_14> If all you need is a backup copy, just use dd?
[22:27:54 CEST] <DragonsLord> no, I mean ...
[22:28:29 CEST] <DragonsLord> ... let's suppose I have VTS_04_0.IFO + VTS_04_0.VOB + VTS_04_1.VOB
[22:29:05 CEST] <DragonsLord> FFmpeg is able to read the IFO so tu understand if there is the need to pre-load the audio
[22:29:14 CEST] <DragonsLord> or to locate some other stuffs?
[22:29:28 CEST] <DragonsLord> and can I "concatenate" at source
[22:29:47 CEST] <DragonsLord> I mean tell FFmpeg to encode VTS_04_0.VOB + VTS_04_1.VOB together?
[22:29:56 CEST] <DragonsLord> (sorry for my bad English, once more)
[22:30:19 CEST] <Mavrik> Honestly, ffmpeg is probably not the best tool for that
[22:30:32 CEST] <Mavrik> dedicated DVD conversion tools do that better
[22:31:45 CEST] <DragonsLord> they failed
[22:31:56 CEST] <DragonsLord> at least in terms of A/V syncronization
[22:32:04 CEST] <DragonsLord> I would like to give FFmpeg a try
[22:43:24 CEST] <c_14> DragonsLord: you can try concatenating the vobs, but ffmpeg doesn't have a dedicated dvd demuxer
[22:44:20 CEST] <YaMoonSun> DVDDecrypter + Handbrake = winrar
[22:50:21 CEST] <RobotsOnDrugs> mplayer does a decent job of turning dvd files into complete mpeg streams of chapters or titles
[22:51:22 CEST] <RobotsOnDrugs> there are better tools for it, but afaik, they're all gui-based and don't really do automation (or they do and they cost money)
[22:55:54 CEST] <DragonsLord> thank u
[23:10:01 CEST] <DragonsLord> Good night & sweet dream to everybody ... chat to you tomorrow :)
[23:10:28 CEST] Action: DragonsLord is away: AWAY
[00:00:00 CEST] --- Mon Apr 13 2015


More information about the Ffmpeg-devel-irc mailing list