[Ffmpeg-devel-irc] ffmpeg.log.20140610
burek
burek021 at gmail.com
Wed Jun 11 02:05:01 CEST 2014
[00:06] <tyler1> if i use glob with test*.png, I'm getting the output video just have the last image
[00:08] <tyler1> c_14: http://pastie.org/private/5uipecov6tyqk9qzbpaiq
[00:08] <c_14> you need -f image2
[00:09] <c_14> At least, I think you od.
[00:09] <c_14> *do
[00:09] <tyler1> is that before the input options?
[00:09] <c_14> should be
[00:09] <c_14> And try putting the -r as an input instead of an output option as well.
[00:10] <tyler1> yea i get the same log with -f image2
[00:10] <c_14> Well the log isn't [that] interesting, does the output file change?
[00:10] <tyler1> still a tiny file of just the last frame
[00:11] <tyler1> everything works fine if i use pattern type sequence
[00:11] <c_14> try it with -loglevel debug?
[00:11] <c_14> other than that I'm kinda out of ideas
[00:12] <tyler1> :\
[00:12] <tyler1> thanks so much for your help though
[00:12] <tyler1> i know what i'm trying to do is at least possible
[00:12] <c_14> I've used pattern_type glob before, so I know it at least worked for me.
[00:16] <jgh-> What is the unit of measurement for -frag_duration and -min_frag_duration? I am having a hard time finding much in the way of documentation on either of these parameters other than they exist and take an integer value.
[00:16] <llogan> jgh-: looks to be microseconds
[00:17] <jgh-> where did you see that?
[00:17] <llogan> man ffmpeg-all
[00:17] <jgh-> ah very good, thank you. I didn't know that man page existed.
[00:18] <llogan> "man ffmpeg-formats" if you want more specifity
[00:19] <jgh-> great, thanks for your help
[00:19] <llogan> i mean if you don't want all of the other content that comes with ffmpeg-all
[00:19] <jgh-> search works well enough in it in this case anyway. Good to know these exist now!
[03:37] <|szn|1> Stream #0:0: Audio: mlp, 96000 Hz, stereo, s32
[03:37] <|szn|1> how come ffprobe is showing as s32 when it's s24
[03:37] <|szn|1> is this a bug
[03:43] <Plorkyeran> 24-bit audio is often actually 32-bit audio with 8 bits always zero
[03:45] <|szn|1> huh
[08:17] <groundnuty> hey, I'm trying to create a dummy mp3 file. I isolated ID3 tag and MPEG header from real mp3 file
[08:18] <groundnuty> both sumup to 130 bytes of data
[08:18] <groundnuty> i tried to feed this to ffmpeg
[08:20] <groundnuty> http://pastie.org/9275838
[08:20] <groundnuty> however when I copy into the dummy file not 130 but 756 bytes of orginal file all works fine
[08:21] <groundnuty> *757
[08:21] <groundnuty> http://pastie.org/9275842
[08:21] <groundnuty> 757 seems like a magc number because 756 produces the same results as 130
[08:22] <groundnuty> if anyone had any idea why this is happening please help :)
[08:23] <Musashi1> Hello, does anyone have any experience converting .movs to .oggs? I am trying to do it and the resultant video looks terrible.
[08:27] <sacarasc> Musashi1: Might I ask why you're doing it?
[08:27] <Musashi1> Sure - to create videos which can be played using html5 in firefox.
[08:28] <sacarasc> Ah, okay.
[08:28] <Musashi1> Unfortunate that it must be done..
[08:29] <sacarasc> I would go with WebM over OGG, Theora is pretty bad.
[08:31] <sacarasc> https://trac.ffmpeg.org/wiki/Encode/VP8 is a guide to do that.
[08:31] <Musashi1> Jeez. Id have to check with my coder to see if we can accept WebMs
[08:32] <Musashi1> Thank you. Is it just not possible to have it look good with theora?
[08:32] <sacarasc> It probably is, but I don't know how.
[08:33] <sacarasc> http://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide is a bit limited.
[08:39] <Musashi1> ill try that
[08:39] <Musashi1> thank you by the way
[08:51] <Musashi1> Dude.
[08:52] <Musashi1> That worked. Thank you very much.
[09:14] <ubitux> theora looking good? erm, at what bitrate cost...
[09:14] Action: sacarasc giggles at ubitux.
[09:14] <ubitux> blast from the past
[10:35] <Musashi1> ubitux: why is theora a blast from the past?
[10:36] <ubitux> well, technically& it kind of sucks
[11:51] <Musashi1> Wow these mp4s are way smaller than oggs
[16:44] <sfan5> is it normal for ffserver to complain about PTS when I run ffmpeg two times with different files to stream to it?
[16:45] <c_14> ye, that's probably normal. it's expecting new pts > end pts of previous file and is getting pts < end pts of previous file
[16:46] <sfan5> is there an easy way to prevent this?
[16:48] <c_14> you could try manually setting the pts in the second command or give both files as input to the first command
[16:48] <sfan5> I can give both
[16:49] <sfan5> that is convenient
[17:05] <sfan5> c_14: how do I give it multiple inputs? ffmpeg -i foo -i bar http://.... does not work and ffmpeg -i foo http://.... -i bar http://.... doesn't either
[17:05] <c_14> ffmpeg -i foo -i bar http://
[17:05] <c_14> should work anyway.
[17:05] <sfan5> hm
[17:06] <sfan5> oh, sure
[17:08] <sfan5> c_14: http://ix.io/cTB
[17:09] <c_14> eh, wait.
[17:09] <c_14> use the concat demuxer
[17:10] <c_14> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files
[17:10] Action: c_14 's brain went all poof
[17:11] <sfan5> seems to work
[17:12] <sfan5> thanks
[17:12] <c_14> np
[17:17] <sfan5> another one: can I tell ffserver to pass through the metadata or is the meta not even sent to the server on encoding?
[17:18] <sfan5> seems like there is no meta in music.ffm
[17:18] <c_14> try adding -map_metadata 0
[17:19] <sfan5> I'll try that later, thanks again
[17:25] <vklimkov> hello. trying to compile trunk version of ffplay.c. is it possible to do it with sdl 2.0?
[17:27] <vklimkov> from errors it looks like aold sdl api is used
[19:11] <needmorespeed1> trying to compile ffmpeg with OpenGL with QT: /Qt5.3.0/5.3/gcc/include/QtGui/qopenglext.h:6276: error: 'uint64_t' does not name a type
[19:16] <sfan5> needmorespeed1: which OS/Distro?
[19:17] <_genuser_> hello folks. I understand that .WTV files arere ow supported. However, I noticed that it work sometimes and doesn't work at other times.
[19:17] <_genuser_> sometimes, two files from the same channel behave differently. One work and the oher doesn't. But then there are channels that encode a WTV file that doesn't work ever in ffmpeg or even in handbrake. those can most likely be blamed on media center recording format.
[19:18] <_genuser_> so the question is has this been investigated/documented. Is it just a matter of getting the latest and compiling it?
[19:19] <_genuser_> cmd used: ffmpeg -i <filename.wtv> -vcodec copy -acodec copy -f mpg2video output.mpg
[19:28] <Fjorgynn> *compiling*
[19:28] <Fjorgynn> _genuser_: might be able to encode but not decode or vice versa
[19:29] <tyler1> how can i make ffmpeg not drop duplicate frames?
[19:29] <tyler1> when turning a sequence of images into a video
[19:38] <_genuser_> Fjorgynn: it sounds like microsoft isn't too strict on how they write the files. Files from certain tv channels always have audio encoded differently and in a different order in teh container. Which causes handbrake/ffmpeg to just assume the audio doesn't exist.
[19:54] <llogan> tyler1:
[19:55] <llogan> _genuser_: yes, testing a recent build is the first step. if you're lazy just get one at ffmpeg download page.
[19:57] <_genuser_> sure, I can compile the latest , no issue.
[19:58] <tyler1> llogan: sorry, I think I figured it out
[19:58] <tyler1> i put -r on the input options instead of output
[20:34] <llogan> dericed1: ping
[20:39] <dericed1> llogan: pong
[20:39] <llogan> dericed1: what FCP version did you test for imxdump?
[20:39] <dericed1> 7
[20:40] <llogan> thanks for testing...and i should have caught the imx_dump_header name difference. that wasn't the first one like that.
[20:41] <llogan> maybe I'll just remove the bsf instead. i wonder what FCP/QT versions it was for
[20:43] <dericed1> i didn't have a chance to test with fcp x, but did see that both qt 7 and qt x handled it differently
[20:43] <dericed1> but i guess that difference was because of vtag not the bsf
[20:44] <llogan> do you even use fcp x?
[20:54] <dericed1> i have access to fcp x
[21:05] <llogan> dericed1: what happens if you stream copy without -vtag mx3n (and without the bsf)?
[21:07] <dericed1> llogan: similar results as with bsf
[22:03] <DX099> hello all, I'm trying to mux some h264 vid and aac audio but the output files only gets audio : http://hastebin.com/utukuwagup.pas
[22:03] <DX099> can someone help ?
[22:04] <c_14> try it with the ffmpeg static builds
[22:05] <ss_> Hi, I am new to ffmpeg.. I have searched the web but could not find any solution..Pl help me with the following scenario.. Eg: I have an image of size x*y in a fixed frame.. I want to move the image to left keeping the frame static and introducing a blank background on the right side of shifted image.. Is it possible using ffmpeg? Usecase: Want to generate the right eye image from a left eye image to generate a stereo pair.. Also let me
[22:05] <ss_> better way
[22:05] <c_14> ss_: crop and pad?
[22:07] <ss_> for cropping: ffmpeg -i Food-L.jpg -filter:v "crop=1950:1521:50:0" x.jpg.. I get error http://pastebin.com/y2N21RNn
[22:07] <c_14> how big is the input picture?
[22:08] <ss_> 2000x1510
[22:08] <ss_> lets suppose I want to crop left rectangle of 50*height of image
[22:10] <smalltock> DX099: I don't really have any idea what I'm doing with ffmpeg, but maybe use -f on the input streams to make sure neither is overwriting the other for whatever reason.
[22:12] <c_14> ss_: try crop=iw-50:ih:50:0
[22:14] <DX099> samllstock, where do I put the -f options ?
[22:14] <c_14> smalltock: I had a similar problem with someone yesterday and switching to the static ffmpeg builds (from libav) fixed it. cc DX099
[22:14] <DX099> yeah but this is a headless server
[22:14] <c_14> so?
[22:15] <DX099> starting compiling ffmpeg just for this is too much hassle for one vid
[22:15] <c_14> That's why I linked you the static binary.
[22:15] <c_14> No need to compile.
[22:15] <c_14> Just download and use.
[22:15] <DX099> meh ? such a thing exists on Linux ?
[22:15] <c_14> yes
[22:16] <smalltock> DX099: Before the -i options. It's `-f «format»`, but nevermind my suggestion. I highly doubt that's it.
[22:16] <ss_> This works!
[22:16] <DX099> ok, so basically I just untar it and it's clear to go ?
[22:16] <c_14> ye
[22:20] <DX099> yeah ! it worked :)
[22:20] <DX099> thanks !
[22:20] <c_14> np
[22:20] <DX099> I was so down when you told me to use another build
[22:20] <DX099> so it's an old bug hmm ?
[22:21] <DX099> may I link /usr/bin/ffmpeg to that static binary ?
[22:21] <c_14> you can just copy it over if you want, if you don't mind overwriting the file
[22:22] <c_14> libav (of which avconv is a part) is actually a fork of ffmpeg [and for reasons unknown to me usually doesn't work as well]
[22:22] <DX099> hmm, I'll back up distro's exe and copy it
[22:22] <c_14> if you're interested
[22:23] <DX099> I already read a bit on that but what I fail to understand is : how do you know which one you're using ? I got the impression that even when compiling ffmpeg, it'll warn about being renamed avconv
[22:23] <DX099> how do I know when "apt-get install ffmpeg" (Debian 7) which project I'm using ?
[22:25] <c_14> ffmpeg -version, and then if you look in the first line. If it's ffmpeg it should say copyright the FFMpeg developers, libav has copyright the Libav developers
[22:25] <ss_> c_14: padding failes using: ffmpeg -i x.jpg -filter:v "pad=iw:ih:50:0:white" food-lr.jpg, I want to introduce a white pad to the right 50*h dimension of image. Error: http://pastebin.com/1dJEY4ge
[22:27] <c_14> pad=iw+50:ih:iw-50:0
[22:32] <ss_> fails: http://pastebin.com/U1eRRQad
[22:33] <c_14> pad=iw+50:ih:0:0 one should read the documentation thoroughly before handing out examples
[22:37] <c_14> DX099: I lied, ffmpeg at least only shows the copyright on commands that aren't -version. so just `ffmpeg' would give the copyright notice
[22:37] <DX099> c_14, hmm yah noticed that
[22:38] <DX099> thanks anyway
[22:38] <DX099> they could have changed exe name once and for good, it's quite misleading :/
[23:02] <vtorri> hey
[23:03] <vtorri> can ffmpeg (the library) save video with mpeg4 layer 2 without external dependency (that is, without xvid, for example) ?
[23:03] <c_14> it should be able to
[23:07] <vtorri> c_14: thank you
[23:54] <JackWinter> i get this msg "[swscaler @ 0xed8980] deprecated pixel format used, make sure you did set range correctly" when trying ton encode to prores 422 with -pix_fmt yuv422p10le, command and output on: https://gist.githubusercontent.com/anonymous/93955a11816854672fb1/raw/9d44aae6bd62b400bed07cdd730f5c73f3e25549/gistfile1.txt any thoughts?
[00:00] --- Wed Jun 11 2014
More information about the Ffmpeg-devel-irc
mailing list