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

burek burek021 at gmail.com
Mon Oct 13 02:05:01 CEST 2014


[00:34] <delet> [mp4 @ 0x1137c40] pts has no value
[00:34] <delet>     Last message repeated 147 times
[00:34] <delet> [mp4 @ 0x1137c40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 447453 >= 447420
[00:34] <delet> av_interleaved_write_frame(): Invalid argument
[00:34] <delet> ?
[00:45] <NEO__> having some issues with mplayer on osx that uses ffmpeg for dnxhd. Can't really get it to work and sort of stuck and don't know how to get un-stuck. Anyone played with this combo?
[01:31] <forevertheuni> hi guys I'm in a pinch with something at work. I generated some mp4s with matplotlib but they are not mac compatible.
[01:31] <forevertheuni> how can I use ffmpeg with a mac compatible format?
[01:31] <forevertheuni> they have no audio.
[01:31] <c_14> What video are they?
[01:31] <c_14> eh, codec
[01:33] <forevertheuni> http://pastebin.com/yU7V8nGr
[01:33] <forevertheuni> this is mplayer output while playing
[01:37] <c_14> can you ffprobe it?
[01:37] <c_14> I find ffprobe output easier to read.
[01:49] <forevertheuni> well all I needed was -i file.mp4 newoutpu.mp4
[01:49] <forevertheuni> it worked
[01:50] <forevertheuni> 12[6~
[04:11] <Conweezy> can anyone help me with some cmd line coding for ffmpeg?
[04:12] <Conweezy> anyone here?
[10:20] <Fjorgynn> happy 4th of July
[11:49] <anshul_mahe> I have one video with its srt file I want to create hls output with vtt  subtitle  and there entry in m3u8
[12:05] <anshul_mahe> I am using this command to do the need full http://pastebin.com/DvemDTcf
[12:05] <anshul_mahe> but in subtitle m3u8 I get ts file
[12:13] <NEO__> For the love of God. Can't get this to work in ffmpeg. ANyone with any bright ideas? Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p10le, 1920x1080, 183500 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
[13:09] <timezone> how would i go about passing hundreds of ARGB32 rasters to ffmpeg in windows
[13:10] <timezone> seems like a shit idea to write them all to the FS in a format ffmpeg likes then read them after
[14:02] <ChocolateArmpits> timezone, convert them 32bit pngs with imagemagick?
[14:05] <timezone> that's not the issue
[14:05] <timezone> the issue is more i want to feed ffmpeg directly without writing to the fs first
[18:25] <boojakashaka> h
[20:25] <NEO__> how can I dump every n'th frame as quickly as possible from a file with ffmpeg? Trying something like this now: ffmpeg -y -i input.mov -r 0.1 -qscale 0 -f image2 -an -sn -threads 16 -benchmark output_01%d.jpg
[20:26] <c_14> use select ?
[20:27] <NEO__> what? I'm an ffmpeg noob, please clarify =)
[20:27] <NEO__> feels like I'm getting a much quicker conversion with mplayer atm. Efen when it uses ffmpeg for the codces, which is odd. Would like to use ffmpeg all the way. This is what I feed mplayer: mplayer -lavdopts threads=16 -framedrop -speed 100 -vf framestep=90 -nosound -nosub -noautosub -vo png input.mov
[20:28] <c_14> https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
[20:28] <c_14> Check the examples.
[20:30] <NEO__> thanks. taking a look. But 'select' is the way to go? Not '-r' as I did above?
[20:31] <c_14> It's what I'd do.
[20:31] <c_14> Not sure what's faster.
[20:31] <NEO__> cool
[20:58] <t4nk285> Hello! I am trying to cut two seconds of the end of a video. Is it possible to specify negative -to?
[20:59] <c_14> no
[20:59] <t4nk285> like ffmpeg -ss 2 file.avi -to -2 (cut two seconds)
[20:59] <t4nk285> allright so maybe I could get a oneliner that gives me the length of the video and do the math
[20:59] <t4nk285> neither -t or -to works with negatives so?
[21:00] <c_14> neither works
[21:00] <c_14> You can open a feature request on trac if you want.
[21:00] <c_14> For now you'll have to ffprobe the file and use that.
[21:00] <t4nk285> Allright, thanks a lot, I couldn't find a clear answer whether this works or not, I tried of course to use it without luck
[21:01] <c_14> Both cases should error out pretty quickly.
[21:04] <c_14> Well, the -to case will just warn in non-recent git versions, but w/e.
[21:54] <wodim> i know this is kind of a generic question, but -- as of today, what's the best audio/video codecs combo, without taking into account encoding time?
[21:55] <BtbN> h264 with aac audio is kind of normal
[21:56] <c_14> h264 + vorbis/aac/flac/ac3 will get you far
[21:56] <c_14> unless you want to be webm compliant
[21:57] <ChocolateArmpits> Isn't VP9 better than h264 ?
[21:57] <c_14> "best" is very subjective
[21:58] <llogan> it takes too long to encode
[21:58] <c_14> He could mean video quality/filesize, supportedness, etc etc
[21:58] <JEEB> ChocolateArmpits, if only the encoder wasn't slow as molasses
[21:58] <ChocolateArmpits> Opus at least from tests seems better than most codecs combined
[21:58] <JEEB> and google has no interest in making it faster
[21:58] <ChocolateArmpits> audio*
[21:58] <JEEB> opus is very good, and yes xiph generally has a good track record
[21:59] <JEEB> currently as far as video format _specifications_ go it's: HEVC > VP9 > AVC > VP8
[21:59] <wodim> i mean, well, good/very good quality at a reasonable size
[21:59] <wodim> i know h264 does wonders nowadays
[21:59] <JEEB> unfortunately implementations are kind of a separate bag of tears
[21:59] <ChocolateArmpits> JEEB, wouldn't google have to optimize it further if they want to use for their 4K support in YouTube?
[22:00] <JEEB> ChocolateArmpits, they have their own ways of "optimizing" it without actually making it faster per se
[22:00] <ChocolateArmpits> You mean they would optimize for themselves exclusively ?
[22:01] <JEEB> well, that's what they're doing. They don't care about realtime encoding so there is no multithreading for example
[22:01] <JEEB> only in the decoding, since that kind of matters
[22:01] <JEEB> (for them)
[22:01] <JEEB> so you can play their youtube videos
[22:01] <ChocolateArmpits> Could they be splitting video into parts, encode and then concat back together ?
[22:01] <JEEB> on youtube they just cut the clip into GOPs and each GOP is encoded separately, that nicely works around some of the slowness + they don't use well compressing options for any of the formats they use
[22:02] <ChocolateArmpits> oh ok that's what I thought
[22:02] <JEEB> wodim, libx264 is the most optimized encoder right now in both speed and compression
[22:02] <wodim> what about the quality
[22:02] <JEEB> so if you want something like that the answer is pretty much set for you
[22:02] <ChocolateArmpits> I ran into problems using x264 on multicpu systems so splitting the file seems like the only real choice
[22:02] <ChocolateArmpits> without coding
[22:03] <JEEB> that is exactly what I'm saying :P
[22:03] <ChocolateArmpits> They might not split into GOP exclusively because people might serve intra frame videos
[22:03] <JEEB> of course you don't actually need to cut the input file for that
[22:04] <ChocolateArmpits> I've wrote a script that picks up keyframes and cuts based on those
[22:04] <ChocolateArmpits> There are some examples on stackoverflow too
[22:04] <ChocolateArmpits> Segment Splitting is also available
[22:04] <ChocolateArmpits> But it's slower
[22:04] <ChocolateArmpits> As it has to slow seek
[22:05] <JEEB> well, they just have a counter of their own that they cut by and possibly even some frametype decision thing running there so that the encodes are all kind of starting on a good RAP picture
[22:05] <JEEB> wodim, let's just say that you won't easily find anything better on the market right now :P
[22:06] <ChocolateArmpits> And it doesn't seem like HEVC will at all be featured in YouTube
[22:08] <JEEB> we'll see about that, at the moment it just makes sense since the implementations are not clearly better than libx264 at the moment. And yes, they'd be pushing their own behind-closed-doors developed VP9 instead.
[22:09] <JEEB> (I keep bringing it up but it's just because I find it so funny that the thing they're (by now barely) trying to put out as some kind of web standard is so much less open that whatever is developed in ISO/IEC)
[22:09] <JEEB> (barely because it's pretty obvious that they only care about people having decoders by now, not actually using VP9)
[22:10] <JEEB> oh, and the whole "want a spec? feel free to write one"
[22:10] <JEEB> thing
[22:37] <Distraught> can someone please guide me install latest version of ffmpeg in centos 6.5 with whm? I m trying for 2 days and its always installing a previous version I found this http://supportlobby.com/blog/ffmpeg-installation-on-centos-6-5/ and this http://cumulusclips.org/docs/install-ffmpeg-x264-on-centos/
[22:38] <wodim> what container is recommended for just audio and video ?
[22:39] <c_14> wodim: either mp4 or matroska, I prefer matroska but mp4 has wider support
[22:39] <wodim> oook thanks
[22:40] <c_14> Distraught: if you followed that 2nd guide you pasted, ffmpeg should be in /usr/local/bin/ffmpeg
[22:40] <c_14> and besides, the trac has a compilation guide
[22:40] <Distraught> y it is but its the 0.6 version
[22:41] <c_14> in /usr/local/bin/ffmpeg ?
[22:41] <c_14> In the dir where you compiled ffmpeg, what does ./ffmpeg -version say?
[22:43] <Distraught> 0.6.5
[22:45] <c_14> What does git log -n1 output?
[22:46] <Distraught> -bash: log: command not found
[22:46] <c_14> `git log -n1'
[22:46] <wodim> i'm using the concat demuxer and the player just hangs when the first part of the joint file ends
[22:47] <wodim> nice joke
[22:47] <c_14> hmm?
[22:49] <Distraught>  git log -n1 -bash: git: command not found
[22:49] <c_14> If you don't have git, how did you clone the git repo?
[22:49] <Distraught> you mean this? wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm ?
[22:49] <Distraught> THe link does not work
[22:50] <llogan> Distraught: maybe you should just download a static build of ffmpeg.
[22:50] <wodim> http://pastie.org/pastes/9642790/text?key=ttcuptjammz4o4kaucrfmw
[22:51] <Distraught> llogan i appreciate your help and of course c_14 but i really dont know a lots of stuff in linux. I m trying to learn some things but i m not too familiar with some procedures. I would really like to guide me through this proccess as I am really confused of what is happening really
[22:52] <Distraught> THe point is that i need latest version of ffmpeg in centos 6.5 (ive got whm there if that matters)
[22:52] <c_14> wodim: does the encoding freeze or when you go to play the output?
[22:52] <wodim> c_14: it freezes the player when i'm playing the resulting video after the first part (i.e. the first of the videos i've joined) has ended
[22:53] <c_14> Have you ffprobed all the input files to make sure they have the same codec,fps,resolution,sar,dar,pix_fmt ?
[22:54] <c_14> Distraught: the easiest option is to grab a static build and put it where you need it
[22:55] <Distraught> ok c_14 how do I do that? I suppose it has to do with a proccess i did yesterday. I did it with wget in the folder i wanted to add it
[22:55] <Distraught> and unzip it there right?
[22:56] <c_14> wget, untar, and move wherever you want it
[22:56] <wodim> c_14: first and second files have their streams swapped, i.e. 1st video has audio in 0:0 where 2nd video has video in 0:0, may that be the problem?
[22:56] <c_14> wodim: shouldn't be
[22:56] <wodim> c_14: if i choose to recode the files instead of using "-c copy", will this be fixed?
[22:57] <c_14> 50/50, sometimes it helps, sometimes it doesn't
[22:57] <wodim> uh
[22:57] <Distraught> ok i ve got a folder in there with ffmpeg 2.4.2
[22:57] <Distraught> i need first to uninstall the 0.6 version right?
[22:58] <Distraught> yum remove ffmpeg and removes it
[22:58] <c_14> As long as you don't have any programs linked against it, sure.
[22:58] <Distraught> no i just installed it. Ok its removing the old version
[22:58] <Distraught> done
[22:59] <Distraught> now the folder of ffmpeg has some contents there ls gives
[22:59] <Distraught> ./   ffmpeg*        ffprobe*   presets/       readme.txt
[22:59] <Distraught> ../  ffmpeg-10bit*  manpages/  qt-faststart*
[22:59] <Distraught> that folder is in /usr/local/bin/ffmpeg
[23:00] <c_14> The binaries need to be directly in a folder in your path, not in a subdirectory
[23:01] <Distraught> so i need to move all contents of /usr/local/bin/ffmpeg in /usr/local/bin/
[23:01] <Distraught> right?
[23:02] <c_14> ye
[23:06] <Distraught> ok c_14 i did that
[23:06] <Distraught> now i have in usr/local/bin all the contents i had in fffmpeg
[23:06] <c_14> Now what does `ffmpeg -version' output?
[23:07] <Distraught> ffmpeg -version -bash: /usr/bin/ffmpeg: No such file or directory
[23:07] <Distraught> lol
[23:07] <c_14> hash -r
[23:07] <c_14> and then try again
[23:07] <Distraught> ffmpeg version 2.4.2
[23:07] <Distraught> :D
[23:07] <Distraught> now i need to do something else?
[23:08] <c_14> That depends on what you're trying to do.
[23:08] <Distraught> clip bucket still sais FFMPEG is not installed. FFmpeg is used to covert videos from different versions to FLV , MP4 and many other formats. Learn more ffmpeg is not found
[23:09] <c_14> Did you try restarting it?
[23:09] <Distraught> the machine?
[23:09] <c_14> clip bucket
[23:09] <Distraught> no
[23:09] <Distraught> one momment
[23:09] <Distraught> i ll restart httpd and varnish
[23:10] <Distraught> nothign :S
[23:11] <c_14> according to this wonderfully well-written doc post, you click 'tool box' and then 'server module check'
[23:11] <c_14> or something
[23:12] <Distraught> y there it sais that it is not installed. I have allready placed as ffmpeg folder /usr/local/bin/ffmpeg
[23:12] <c_14> does the user running clip bucket have access to /usr/local/bin/ffmpeg
[23:12] <c_14> read and execute
[23:13] <c_14> and rx on the dir as well
[23:14] <Distraught> ffmpeg is not found
[23:14] <Distraught> well i need to check that
[23:15] <Distraught> could i use a folder inside the users account to add ffmpeg?
[23:16] <c_14> You can put the binary wherever you want to, as long as the application can find it (if that's what you're asking).
[23:16] <Distraught> yeap
[23:16] <Distraught> hmm i ll give it try right now
[23:17] <DelphiWorld> 'lo guys
[23:17] <DelphiWorld> http://paste.ubuntu.com/8548499/
[23:17] <DelphiWorld> how do i put a video on the center of screen?
[23:19] <llogan> which video?
[23:20] <DelphiWorld> llogan: any of the inputed one
[23:21] <DelphiWorld> i see specifying uperleft... uperright... and so on
[23:21] <llogan> overlay=(W-w)/2:(H-h)/2
[23:22] <DelphiWorld> hold on let me try
[23:22] <llogan> or overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2
[23:22] <llogan> same thing
[23:25] <llogan> and you don't need to manually enter some numbers: "[upperright] overlay=shortest=1:x=320 [tmp2]" can be "[upperright] overlay=shortest=1:x=w [tmp2]"
[23:25] <llogan> etc
[23:26] <DelphiWorld> good
[23:29] <DelphiWorld> llogan: if i get lost i'lle tel you
[23:29] <llogan> i have to go soon, but others will probably help
[23:29] <DelphiWorld> llogan: :P
[23:33] <Distraught> i guess it has to do with permisions or something
[23:33] <Distraught> so i m trying to move ffmpeg* for instance to /home directory and it sais that its not a folder
[23:33] <c_14> What command?
[23:35] <Distraught> mv ffmpeg /home1/userfolder/public_html/ffmpeg/
[23:35] <Distraught> i guess thats wrong
[23:35] <c_14> does /home1/userfolder/public_html/ffmpeg exists?
[23:36] <Distraught> y but i m not in that folder
[23:36] <Distraught> one moment
[23:37] <Distraught> ok it moved.
[23:37] <Distraught> I need to move ffmpeg-10bit and ffmpeg-probe?
[23:38] <c_14> not really
[23:46] <vman315> I have about 600 videos I am converting to webm from avi/m4v/mkv/ect, what would be the best settings to match quality of the source?
[00:00] --- Mon Oct 13 2014


More information about the Ffmpeg-devel-irc mailing list