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

burek burek021 at gmail.com
Mon Sep 14 02:05:01 CEST 2015


[02:17:52 CEST] <ug> I rotated a mp4 video 90 degrees CCW with ffmpeg and passed no arguments regarding video quality, yet it lists a much lower bitrate when checking file info with exiftool. resolution is the same. is this normal? i know little about video files, so please forgive any ignorance.
[03:56:54 CEST] <Chagall> Hi, I'm using ffmpeg/libav in my application and trying to get the duration of a video stream. Can someone tell me how? I tried following the method shown here: http://unick-soft.ru/article.php?id=14 but it is not working.
[03:57:48 CEST] <Chagall> I tried: (unsigned long) currentStream->duration * (av_q2d(currentStream->r_frame_rate) * av_q2d(currentStream->time_base)); but this returns 0, and casting the whole operation to an unsigned it returns 3046380384 for ~32 minutes of video (29.970fps/0.001 time base)
[04:10:55 CEST] <Chagall> currentStream->codec->bit_rate and sample_rate also seem to return 0 for some reason, tried with a few h264 streams
[04:24:19 CEST] <Chagall> av_dump_format seems to get all the information correctly, just need a way to get that data separately. stream name, language, etc. would be nice too. Just can't find anything via the AVStream structure.
[04:40:09 CEST] <klaxa> have you tried just copying the code from av_dump_format?
[04:40:44 CEST] <klaxa> also not sure usigned long is int64_t?
[04:41:24 CEST] <klaxa> ah wait, it's casted, bleh
[04:47:02 CEST] <Chagall> I didn't even think about that actually... going to look into it, thanks
[05:16:25 CEST] <Chagall> I got it with pFormatCtx->duration / AV_TIME_BASE; but that's in the AVFormatContext, not an individual stream...
[05:17:13 CEST] <Chagall> gonna check later if there's a way for individual streams i guess
[05:46:33 CEST] <hendry> I'm converting mpg mkv videos and they are becoming three times the size as mp4s. 2.1M mkv to 6M MP4. What am I missing?
[06:47:18 CEST] <oreWizard> av_set_parameters
[06:47:32 CEST] <oreWizard> av_set_parameters deprecated
[06:47:38 CEST] <oreWizard> someone can helpme?
[09:03:12 CEST] <satinder> hi
[09:46:36 CEST] <bahador> hi every body..
[09:47:12 CEST] <bahador> i have question form masters guys ...
[09:47:37 CEST] <bahador> is there any transition effect in ffmpeg .. for between two image ..
[09:48:06 CEST] <bahador> i use of fade .. but i want to know is there more effect ?
[09:48:31 CEST] <bahador> i have searched in google. but i coudn;t success to some thing else
[09:48:49 CEST] <bahador> [0:v]trim=duration=10,ease=t=out:st=14.5:d=0.5[v0]
[09:49:49 CEST] <bahador> Helloooooo
[10:17:47 CEST] <durandal_1707> bahador: see blend filter documentation
[10:18:02 CEST] <durandal_1707> And zoompan
[10:34:03 CEST] <bahador> How can repeat audio file .?
[10:38:52 CEST] <durandal_1707> only ugly way with amovie and loop option
[10:39:37 CEST] <bahador> loop option doest work on the audio file ..
[10:40:20 CEST] <bahador> i have a bunch of image .. but when my images duration going more that audio file .. my vdieo file going to end.
[10:40:30 CEST] <bahador> i mean it stop by audio time
[10:40:46 CEST] <bahador> i have searched alot ..but nothing
[10:41:36 CEST] <durandal_1707> it does, amovie filter with loop option
[10:54:48 CEST] <feliwir> hey rcombs didn't you fix the error "Unknown OS 'msys_nt-6.3'." ?
[10:54:58 CEST] <feliwir> i just used the current master and the problem still exist
[11:24:11 CEST] <t4nk979> Hey guys, anyone here got any experience in getting QSV encoding working in FFMPEG?
[15:41:37 CEST] <luc4> Hello! Any idea what the reason for this compiler output may be? http://pastebin.com/uYkYiLb7 This results when building my project with 2.8. 2.7.2 seemed to work properly.
[15:42:43 CEST] <ln-> that's linker output
[15:44:34 CEST] <JEEB> you probably want to clean your build completely
[15:44:37 CEST] <JEEB> and retry
[15:45:01 CEST] <luc4> JEEB: yes, done that with a rm -rf *.
[15:45:12 CEST] <JEEB> yeah, but was that the right stuff
[15:45:29 CEST] <luc4> ln-: yes, sorry
[15:45:42 CEST] <JEEB> because it seems like you are trying to build ffmpeg itself somewhere internally
[15:46:06 CEST] <JEEB> and that really looks like you've left things lingering around
[15:46:41 CEST] <luc4> JEEB: mmh& yes, that why I asked. No, I built ffmpeg with a script I typically use. Seemed to succeed. Then rm -rf my object files and rebuilt. Ok, trying again then.
[15:47:00 CEST] <luc4> I can always do something wrong, would not be the first time :-)
[15:47:08 CEST] <JEEB> well it's quite obviously trying to build some internal ffmpeg :P
[15:47:16 CEST] <JEEB> 3rdparty/ffmpeg/ffmpeg_pi2/
[15:47:27 CEST] <JEEB> and it's trying to link libavcodec, which is a part of ffmpeg/libav
[15:47:51 CEST] <JEEB> and it's saying that something internal is not found, which would note that something in there is mismatched within that build dir
[15:48:41 CEST] <luc4> 3rdparty/ffmpeg/ffmpeg_pi2 is where the ffmpeg build is placed
[15:49:12 CEST] <luc4> linking libavcodec is correct, my project uses that
[15:49:17 CEST] <JEEB> no
[15:49:37 CEST] <JEEB> at least it seems like it's linking it itself?
[15:49:45 CEST] <JEEB> that or you are using shit you are not supposed to
[15:49:54 CEST] <JEEB> like the internal h263 shit
[15:50:03 CEST] <JEEB> but most probably that is just due to some leftover crap
[15:51:18 CEST] <luc4> ok, Ill try again, thanks
[18:31:36 CEST] <feliwir> rcombs, are you here by now?
[18:31:46 CEST] <feliwir> the Unknown OS bug still seems to exist
[18:31:51 CEST] <feliwir> during configure
[18:35:05 CEST] <feliwir> Unknown OS 'msys_nt-6.3'.
[18:48:09 CEST] <feliwir> seems like this irc is in eternal sleep again^^
[19:26:44 CEST] <feliwir> anyone?
[19:34:56 CEST] <Chagall> Why does av_dump_format() add 5000 to the duration? https://0x0.st/zjV.png
[19:35:50 CEST] <Chagall> alternatively why does the duration return 5000µs less than it should?
[19:37:44 CEST] <rcombs> Chagall: I'd imagine it's for rounding
[19:38:51 CEST] <Chagall> ah, right
[20:36:18 CEST] <feliwir> rcombs? :(
[21:42:03 CEST] <Chagall> Does crop (w,h,x,y) have to be mod2?
[21:43:04 CEST] <JEEB> it depends on your chroma subsampling I'd bet
[21:46:59 CEST] <Chagall> don't know the input in advance
[21:51:02 CEST] <JEEB> if you're doing it programmatically just use ffprobe with JSON output :P
[21:52:20 CEST] <Chagall> i wish i knew about that before i started integrating the libraries
[21:52:36 CEST] <pzich> you could also using something like trunc(iw/2)*2 to ensure it's a multiple of 2
[21:54:03 CEST] <Chagall> yeah just going to force even values for now
[21:58:42 CEST] <JEEB> Chagall: uhh if you are dealing with the libraries then you have that information in the avframe
[21:58:48 CEST] <JEEB> you have the colorspace
[21:58:49 CEST] <JEEB> etc
[21:59:39 CEST] <JEEB> http://ffmpeg.org/doxygen/trunk/structAVFrame.html
[22:00:20 CEST] <Chagall> yeah, i figured, would have probably been simpler just using ffprobe though
[22:01:06 CEST] <JEEB> dunno, if you're already using the libraries then it's already in your reach :P
[22:01:19 CEST] <JEEB> ffprobe is mostly useful for people using the command line
[22:02:00 CEST] <JEEB> as the exact same information is available to you in avformat and avcodec... because (wait for it!) ffprobe uses that same information itself :P
[22:02:03 CEST] <Chagall> well i figured out how to parse the metadata now so it's not so bad, but it doesn't have a very friendly or consistent api
[22:02:05 CEST] <ubitux> [vh]sub are part of the eval of crop
[22:02:10 CEST] <ubitux> so you can use them in the expression
[22:04:12 CEST] <ubitux> (subsampling variables)
[22:41:19 CEST] <t4nk029> Hey guys, has anyone here got qsv working under FFMPEG?
[23:19:09 CEST] <luc4> Hello! Any idea what the reason for this compiler output may be? http://pastebin.com/uYkYiLb7 This results when building my project with 2.8. 2.7.2 seemed to work properly.
[00:00:00 CEST] --- Mon Sep 14 2015


More information about the Ffmpeg-devel-irc mailing list