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

burek burek021 at gmail.com
Tue Apr 21 02:05:01 CEST 2015


[03:58:58 CEST] <Muchoz> Can someone tell me why I'm getting "[swscaler @ 0x7f8c9d038600] deprecated pixel format used, make sure you did set range correctly" here: http://hastebin.com/igiqohuzif.bash
[03:59:12 CEST] <Muchoz> Doesn't matter what I set it to, it doesn't change.
[03:59:30 CEST] <Muchoz> And it's not outputting the file.
[04:00:46 CEST] <Muchoz> I've literally searched for 2 hours now and I'm done, it's 4AM and I want to finish this before going to sleep so I can convert the videos while I sleep.
[04:28:18 CEST] <jookiyaya> which aac encoder is best?
[04:33:30 CEST] <dsl420> i use libfdk_aac
[04:34:04 CEST] <jookiyaya> better yet, which audio encoder is best
[04:36:50 CEST] <jookiyaya> and what is this?  libtwolame
[04:38:45 CEST] <dsl420> i would say it depends, but i like flac. lame might be mp3 stuff, afaik
[04:39:40 CEST] <jookiyaya> libmp3lame
[04:41:39 CEST] <dsl420> "enable MP2 encoding via libtwolame", easy to investigate though
[04:44:21 CEST] <rcombs> Opus is supposed to be the best lossy codec around these days, for pretty much anything
[04:44:43 CEST] <rcombs> as for AAC, Apple's is tops, then FDK
[04:46:04 CEST] <jookiyaya> i don't see apple's aac on ffmpeg
[04:46:50 CEST] <jookiyaya> what is lib name for apple-aac
[04:47:13 CEST] <rcombs> ffmpeg doesn't support it
[04:47:38 CEST] <rcombs> it's part of QuickTime; "qaac" is apparently what people use it via
[04:47:52 CEST] <rcombs> FDK is a close second and far less of a pain to work with, though
[04:48:09 CEST] <rcombs> (but it's nonfree so no redistributing binaries with it)
[04:48:38 CEST] <jookiyaya> how come i never saw FDK-aac  until recently
[06:13:59 CEST] <Zeranoe> ffmpeg.zeranoe.com is down right now because I added SSL and the IP changed. This should be reflected in the DNS shortly and it will be back up.
[06:47:47 CEST] <hasher> hello
[06:48:07 CEST] <hasher> anybody know what is the format of FFMPEG --vstats_file
[06:48:24 CEST] <hasher> i mean about the time format in there .
[06:53:52 CEST] <hasher> whats the format of time in the vstats_file ?
[07:10:20 CEST] <hasher> http://stackoverflow.com/q/29739674/3444930
[08:08:07 CEST] <abnegate> i'm trying to configure ffmpeg 2.6.2 to use jack as an output, but when i type "./configure --list-outdevs", jack is not listed
[08:08:25 CEST] <abnegate> i have jack installed in a non-standard location, so maybe that's why ffmpeg is getting confused
[08:08:51 CEST] <abnegate> how can i tell ffmpeg to build with jack support?  and how to tell it about my non-standard jack location?
[08:45:02 CEST] <gilbahat> Hi, has anyone here managed to compile ffmpeg with nvenc support? id love to try it, but the nvidia nvenc SDK is nothing short of broken and badly documented to boot. no obvious way to install it, no makefiles, no nothing...
[08:59:08 CEST] <Karaliov> how does ffmpeg calculate pts values for PES packets?
[09:00:45 CEST] <Karaliov> i have a stream which has avpacket->duration ==  9000, but the actual differenes between PTS values in a video file fluctuate from 8600 to 9200 or so
[10:29:32 CEST] <kevmitch> is there any way to tell ffmpeg to use dcadec by default without manuall specifying it for each input.
[10:29:55 CEST] <kevmitch> ffmpeg -c:a dcadec -i file.mkv ... will break if there are non dts audio tracks
[10:30:17 CEST] <kevmitch> so I'm forced to figure out specifically which are dts and specify them
[10:30:28 CEST] <kevmitch> ffmpeg -c:1 file.mkv ...
[10:30:54 CEST] <kevmitch> assuming that the stream 1 is dca
[10:33:57 CEST] <kevmitch> sorry, the first command is "ffmpeg  -c:a libdcadec file.mkv ..."
[10:34:08 CEST] <kevmitch> and the the seconde "ffmpeg -c:1 libdcadec file.mkv ..."
[10:40:26 CEST] <BtbN> ffmpeg should be able to figure out what codecs are in a container.
[10:40:38 CEST] <BtbN> If it fails for some file, please upload a sample and open a ticket.
[10:46:05 CEST] <kevmitch> so it's a bug that it overrides non-dts streams when I specificy -c:a libdcadec before the input file?
[10:46:35 CEST] <kevmitch> i.e., Stream #0:1[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)
[10:46:53 CEST] <kevmitch> becomes Stream #0:1[0x1100]: Audio: dts (AC-3 / 0x332D4341), 0 channels, s32p (24 bit)
[11:03:09 CEST] <kevmitch> oh, if you mean that I shouldn't have to specify the input codec, libdcadec is a special case where I do since ffmpeg uses its internal (lossy) decoder by default
[11:13:18 CEST] <__Shimo__> ffmpeg doesn't support art embedding into m4a.
[11:13:21 CEST] <__Shimo__> shame on you!
[11:13:33 CEST] <__Shimo__> sorry, wrong channel.
[12:18:18 CEST] <doda> hi folks, i have some problem that i don't know how to formulate in a google search, i'm creating divx avi files from mkv h264 videos, and the first minutes of the clip are pixelated with bad quality then at once moment it gets fixed
[12:28:03 CEST] <kevmitch> I remember the year 2000
[12:29:21 CEST] <kevmitch> doda: what command line? does the same thing happen if you increase the bitrate?
[12:41:28 CEST] <doda> kevmitch: i tried with ffmpeg -i input.mp4 -vtag DIVX -f avi -vcodec mpeg4, will try that thanks
[12:49:47 CEST] <doda> kevmitch: -qscale 0 solves the issue, thanks
[13:20:11 CEST] <Anoia> does anyone know if AVI containers allow for a text overlay track without reencoding the contents?
[15:00:49 CEST] <Baptiste_> hello there
[15:01:43 CEST] <livee> i need some help with ffmpeg, i posted a message on http://ffmpeg.gusari.org/viewtopic.php?f=11&t=2056&p=5957#p5957 but i might think it can be quicker here :)
[15:02:11 CEST] <livee> i have audio desync during a rtmp stream
[15:06:11 CEST] <livee> if someone have faced this issue before
[15:07:21 CEST] <livee> ou même si il y a des français
[15:07:30 CEST] <livee> qui aurai eu ce problème
[15:32:59 CEST] <livee> any help ?
[15:33:12 CEST] <livee> any idea ?
[15:34:38 CEST] <livee> no challenge ?
[15:51:50 CEST] <FedoraUser> hi friends
[15:52:06 CEST] <FedoraUser> i am trying to play stream for 5 seconds and then exit with ffplay
[15:52:18 CEST] <FedoraUser> but it doesn't exit, am I doing something wrong?
[15:52:37 CEST] <FedoraUser> this is the command 'ffplay -f alsa -i pulse -t 00:00:05.00 -autoexit'
[15:53:21 CEST] <FedoraUser> the playback stops (it is just input from the mic for testing purposes) but ffplay doesn't close
[17:33:59 CEST] <m3gab0y> hey all, any idea how to get icy-metadata from audio stream and draw it on the screen via drawtext?
[18:37:19 CEST] <capradmar> Hi! when deployed on a non development machine (mac mini on osx 10.9.5), my application crash: http://pastebin.com/3mjJBKH4
[18:37:55 CEST] <capradmar> it happens during the ff_me_cmp_init_static function
[18:38:07 CEST] <capradmar> any idea what could be the cause?
[18:46:09 CEST] <DusteD> Hi, sorry for asking a question I'm sure has been asked before, but my google-fu fails me: I want to convert a 60fps video to 30 fps, I'd like to know if ffmpeg will "blend" the frames together or simply discard every second frame ?
[18:48:46 CEST] <c_14> discard
[18:53:10 CEST] <DusteD> c_14, alright, thanks :)
[19:21:12 CEST] <Fyr> how to clean all the metadata during conversion?
[19:21:25 CEST] <c_14> -map_metadata -0 should do it
[19:21:32 CEST] <Fyr> thanks
[19:22:24 CEST] <Fyr> I want to convert some files into wav and make md5sums of them to compare. wav has metadata. =))
[19:22:38 CEST] <c_14> hmm, might also have to create a negative mapping for stream/chapter metadata
[19:24:46 CEST] <c_14> Might also want -flags bitexact in that case
[19:25:19 CEST] <Fyr> c_14, why the lossless files are different? if I open the files, I see in one place "01" (converted from flac) and "1" (converted from alac)?
[19:25:33 CEST] <c_14> +bitexact that is
[19:25:34 CEST] <c_14> hmm?
[19:25:55 CEST] <Fyr> ok, how do I clean all the metadata from a file?
[19:28:04 CEST] <c_14> '-map_metadata -0 -map_metadata:s -0 -flags +bitexact' should do it
[19:28:12 CEST] <Fyr> thanks
[19:38:00 CEST] <Guest28031> Hello
[20:31:17 CEST] <hroi> I have a video encoded using the ffmpeg library used by blender
[20:31:36 CEST] <hroi> is H264 in an avi container
[20:31:50 CEST] <hroi> but it runs not very smoothly on VLC and on youtube
[20:31:54 CEST] <hroi> same problem
[20:32:04 CEST] <hroi> see https://www.youtube.com/watch?v=qACY9n6ztnY#t=32
[20:32:35 CEST] <hroi> can anyone spot the problem, perhaps this is common problem with encoding/bitrate or other?
[20:33:04 CEST] <hroi> the video is 100MB large 720p, 24 fps and 50s long
[20:35:57 CEST] <spaam> hroi: why do you have h264 in .avi ? :S
[20:36:07 CEST] <spaam> hroi: put it in .mp4 or .mkv
[20:36:22 CEST] <hroi> spaam,  yeah... I know -- you think that could be it?
[20:36:36 CEST] <spaam> hroi: i dont know. maybe :)
[20:36:39 CEST] <hroi> spaam,  I read some stupid recommendation about youtube upload
[20:36:55 CEST] <spaam> i know .avi and h264 is bit meh
[20:36:59 CEST] <hroi> spaam, but I think the h264 was the main thing
[20:37:18 CEST] <hroi> spaam,  and isnt there webm also?
[20:37:43 CEST] <hroi> richard stallmann can only be stored in webm
[20:37:45 CEST] <spaam> yes. webm need vp8 video and vorbis for audio.
[20:38:27 CEST] <hroi> maybe youtube is not webm friendly yet.
[20:38:48 CEST] <hroi> ok I will try the difference, encode in h264  mkv
[20:39:53 CEST] <hroi> then I was thinking,  perhaps the background noise in the encoded images is of some type that causes the codec to work too hard or something
[20:40:16 CEST] <hroi> perhaps there are other codecs that ignore difficult noise
[20:48:24 CEST] <kyleogrg> Hey
[20:48:35 CEST] <kyleogrg> I'd like to convert some DV AVIs to MP4
[20:49:15 CEST] <kyleogrg> What settings can you recommend to have a visually lossless (or nearly so) MP4?
[20:51:25 CEST] <kepstin-laptop> kyleogrg, if you're using x264, just set a fairly low "-crf" value, maybe in the 12-18 range depending on taste.
[20:51:26 CEST] <kyleogrg> Also -- is there a way to retain all of the date and time information which is embedded in some DV AVI files?  Can this be transferred to maybe an MKV?  Or an SRT?
[20:51:42 CEST] <kyleogrg> kepstin-laptop: helpful as always
[20:52:06 CEST] <kyleogrg> As for -preset, maybe veryslow?
[20:52:52 CEST] <kepstin-laptop> set the preset as slow as you can tolerate. If you're just encoding it once for archiving, veryslow isn't a bad choice.
[20:53:22 CEST] <kyleogrg> yeah
[20:53:38 CEST] <kyleogrg> What do you think a sane, but good, deinterlace setting is?
[20:54:24 CEST] <kepstin-laptop> interlaced HD camera source, right?
[20:54:46 CEST] <kepstin-laptop> probably the most reasonable thing is to just use -vf yadif with the default settings.
[20:55:02 CEST] <kyleogrg> The source is interlaced NTSC, SD footage.
[20:55:05 CEST] <jarainf> There are different Filters to apply deinterlacing but using yadif is encouraged
[20:55:38 CEST] <kyleogrg> well, for instance, i know i can use yadif with mcdeint and multiple reference frames, and this is super slow
[20:55:48 CEST] <kepstin-laptop> hmm. I'm occasionally unhappy with some of the artifacts yadif has on certain sharp diagonal lines, particularly at SD resolutions, but there's really not much better
[20:56:07 CEST] <kepstin-laptop> imo, mcdeint doesn't provide that much benefit over yadif.
[20:57:14 CEST] <kyleogrg> maybe SOME benefit, but much slower?
[20:57:23 CEST] <FedoraUser> the command 'ffplay -f alsa -i pulse -t 00:00:05.00 -autoexit' doesn't exit after 5 seconds, can I accomplish this without killall? :)
[20:59:03 CEST] <kepstin-laptop> kyleogrg, been a while since i've tried comparing them, but I seem to recall that I couldn't tell the difference between yadif and yadif w/mcdeint.
[20:59:13 CEST] <kyleogrg> ok, thanks
[21:00:05 CEST] <kepstin-laptop> in particular, adding the mcdeint didn't clear up the artifacts on diagonal lines from yadif.
[21:00:55 CEST] <kepstin-laptop> dunno, i might have just been using it wrong too :)
[21:01:00 CEST] <kyleogrg> sure okay
[21:01:07 CEST] <kyleogrg> i think yadif is enough for my purposes
[21:01:30 CEST] <kyleogrg> do you happen to know if MKVs can have timecodes?
[21:02:07 CEST] <kepstin-laptop> well, you can store pretty much arbitrary metadata in mkv. whether ffmpeg will copy timecodes and if there's a standard for them, i don't know.
[21:02:15 CEST] <kyleogrg> Many of my source DV-AVIs have built in timecodes of when the scenes were recorded.  I want to transfer this information.  If possible it should be in a timecode stream of something, not just a subtitle file.
[21:02:39 CEST] <kyleogrg> hmm ok, but not an official timecode format?
[21:03:12 CEST] <kyleogrg> https://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html#mkvextract.description.timecodes_v2
[21:03:37 CEST] <kepstin-laptop> don't get confused, there's multiple things named "timecodes"
[21:04:05 CEST] <kepstin-laptop> the "timecodes" files used by mkvextract/mkvmerge allow specifying variable-framerate pts values alongside a raw video stream.
[21:04:21 CEST] <kepstin-laptop> nothing related to realtime.
[21:04:56 CEST] <kyleogrg> ahh
[21:05:37 CEST] <kyleogrg> ok, well i'm going to go now.  i'll investigate this later
[21:05:38 CEST] <kyleogrg> thanks
[21:05:40 CEST] <kyleogrg> see ya
[21:34:53 CEST] <kyleogrg> all right, all right, all right
[21:35:16 CEST] <kyleogrg> I found a nonfree binary of ffmpeg somewhere
[21:35:26 CEST] <kyleogrg> can i download and use it?
[21:35:33 CEST] <kyleogrg> i want to use libfdk_aac
[21:36:15 CEST] <kyleogrg> or are there legal issues
[21:37:28 CEST] <durandal_1707> That is illegal
[21:37:51 CEST] <kyleogrg> ok, but i can build it myself and that's legal, right?
[21:38:33 CEST] <durandal_1707> Yes
[21:39:03 CEST] <kyleogrg> is there a streamlined, straightforward way to build ffmpeg on windows?
[21:39:16 CEST] <kyleogrg> I remember trying it many months ago and finding many complications
[21:42:41 CEST] <kyleogrg> Is this a good method?: https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC
[22:25:41 CEST] <seasc> can one use ffplay to play videos in linux VT (or multiuser target) ?
[22:32:08 CEST] <kyleogrg> hey
[22:32:39 CEST] <kyleogrg> So I may compile my own FFmpeg.  If I want to enable 10-bit HEVC, how do I do this?
[22:33:29 CEST] <seasc> afaik, 8 or 10bit hevc is the bitrate you pass to the codec, either x264 or x265
[22:34:09 CEST] <kyleogrg> hmm really?
[22:34:25 CEST] <kyleogrg> from some searching, i got the impression that you had to build them differently
[22:34:58 CEST] <seasc> thats why there is an ^afaik^ ;) not sure
[22:35:02 CEST] <kyleogrg> haha sure
[22:35:07 CEST] <seasc> as far as i know though
[22:35:14 CEST] <kyleogrg> well how about this: https://ffmpeg.org/pipermail/ffmpeg-user/2012-July/008279.html
[22:35:16 CEST] <seasc> Might wanna dig into git://git.videolan.org/x264.git http://hg.videolan.org/x265
[22:35:24 CEST] <kyleogrg> "If you want to use High10 Profile then compile a
[22:35:24 CEST] <kyleogrg>  10-bit build of x264 and link ffmpeg to that."
[22:36:40 CEST] <seasc> there you go: <<compile a
[22:36:40 CEST] <seasc> > 10-bit build of x264>>
[22:37:24 CEST] <seasc> its not actualy building ffmpeg, but yes, i'd assume there will be a toggle for the ./configure --help to enable the 10bit compiling
[22:38:37 CEST] <kyleogrg> hmm ok
[22:39:12 CEST] <kyleogrg> well thank you
[22:39:19 CEST] <kyleogrg> later i may try this
[23:04:20 CEST] <seasc> So, is one supposed to be able to play an audio or video file using ffplay in a VT on linux?
[23:06:25 CEST] <c_14> Audio should work with -nodisp
[23:06:38 CEST] <c_14> video won't
[23:06:49 CEST] <c_14> unless you get SDL to work on the framebuffer
[23:48:32 CEST] <kyleogrg> hey
[23:48:58 CEST] <kyleogrg> for a 64-bit computer, is a 64-bit build of ffmpeg faster than 32-bit?
[23:49:23 CEST] <BtbN> yes, it has way more cpu registers to work with.
[23:50:01 CEST] <kyleogrg> will it use all cpu cores?
[23:50:19 CEST] <BtbN> Depends on what "it" is exactly.
[23:50:50 CEST] <kyleogrg> libx265
[23:55:09 CEST] <BtbN> Yes, it's multithreaded
[23:55:12 CEST] <BtbN> But still slow
[23:56:02 CEST] <kyleogrg> ok
[00:00:00 CEST] --- Tue Apr 21 2015


More information about the Ffmpeg-devel-irc mailing list