[Ffmpeg-devel-irc] ffmpeg.log.20131111
burek
burek021 at gmail.com
Tue Nov 12 02:05:01 CET 2013
[08:42] <znf> Hello.
[08:43] <znf> How would I merge 2 or more files, while only using 1:00:00 of each video? I tried -i with -ss / -t for every file, but that didn't produce the desired results
[08:57] <spaam> merge?
[08:57] <spaam> maybe you mean concat
[08:57] <spaam> ?
[08:59] <viric> znf: -ss is per input, but not -t.
[08:59] <znf> spaam, yes
[08:59] <znf> viric, oh - so... what can I do about it?
[08:59] <viric> I think it's that way. No idea how to limit the length of one stream...
[09:01] <znf> oh :-/
[09:02] <viric> I don't know much of ffmpeg though :)
[09:05] <znf> thanks for the info
[11:04] <chandra_> Hi, I am trying a run some sample code with ubuntu ffmpeg dev packages , "gcc sample1.c -lavformat -lavutil -lavcodec -lz -lm ". I am ending up with libavformat/avformat.h: no such file or directory. I have installed libavformat-dev package though I am missing something in installation . I could not find includes in /usr/include/libavformat
[11:05] <chandra_> sorry for lengthy text
[11:06] <JEEB> hmm
[11:07] <JEEB> of course, you are actually using libav in that case, not ffmpeg. Since that is the project that debian has chosen for itself
[11:07] <JEEB> but unrelated to that...
[11:08] <JEEB> chandra_, which ubuntu btw?
[11:08] <chandra_> jeeb: 12.04
[11:09] <JEEB> both i386 and x86_64 libavformat-dev packages seem to include avformat.h
[11:09] <JEEB> http://packages.ubuntu.com/precise/i386/libavformat-dev/filelist http://packages.ubuntu.com/precise/amd64/libavformat-dev/filelist
[11:11] <chandra_> ok
[11:12] <chandra_> i think i messed up somthing installation
[11:12] <JEEB> how can you mess something up o_O
[11:13] <chandra_> Let me try again
[11:13] <JEEB> also are you sure you're using #include <derp/file.h>
[11:13] <chandra_> ok
[11:13] <JEEB> and not #include "derp/file.h"
[11:13] <tinyhippo> Contaminants from other vehicles these can include:
[11:13] <tinyhippo> Unburnt fuel
[11:13] <tinyhippo> Fuel Additives
[11:13] <tinyhippo> Vanadium
[11:13] <tinyhippo> Iron
[11:13] <tinyhippo> Sulphur
[11:14] <tinyhippo> Soot & Coke
[11:22] <chandra_> JEEB: thanks, its working now. I could be some apt-get install problem
[11:22] <JEEB> chandra_, also just for the future, if you have problems with the libav* stuff that comes with ubuntu (other than possible ubuntu-related problems which should of course go to #ubuntu or so), then #libav is the correct place to poke :)
[11:23] <JEEB> since debian and ubuntu use libav to provide those headers and libraries
[12:09] <brontosaurusrex> any clues about this; http://paste.debian.net/plain/65140 ? (Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted)
[12:10] <brontosaurusrex> older versions of ffmpeg will convert this with the same command line btw.
[12:12] <JEEB> [mov @ 0x7fb293026c00] Drop frame is only allowed with 30000/1001 or 60000/1001 FPS
[12:13] <JEEB> I guess this is what causes it to fail
[12:13] <brontosaurusrex> JEEB, is that something in the input?
[12:15] <JEEB> there's also [mpeg2video @ 0x7fb293027200] Invalid frame dimensions 0x0., but as libav* finds the actual w/h...
[12:15] <JEEB> so that's prolly not it
[12:16] <JEEB> it's how libav* handles it. Not sure why it brought up drop frames unless it was in the avi
[12:16] <JEEB> what's the profile 3 btw?
[12:17] <brontosaurusrex> profile 3 should be highest-quality prores 422 version
[12:18] <JEEB> unknown profile %d, use [0 - apco, 1 - apcs, 2 - apcn (default), 3 - apch]
[12:21] <brontosaurusrex> any ideas on whats worth trying?
[12:22] <brontosaurusrex> profile 2 not working, adding -vf scale x:y not working ...
[12:22] <JEEB> that's not it as I think the drop frame part is what makes it fail :P
[12:22] <JEEB> I have no idea what your source looks like or if you have drop frames there somewhere
[12:23] <brontosaurusrex> -r 25 didnt work either
[12:23] <JEEB> try current git HEAD, if it still fails then create a small sample that can replicate it, and report on the trac
[12:23] <brontosaurusrex> is there a filter to force constant fps or something like that
[12:23] <JEEB> in the worst case you will get the real reason in that case :P
[12:23] <JEEB> (and get told that it's an invalid ticket)
[12:23] <JEEB> in the best case it will get fixed
[12:23] <fkochem> hi there. i'm trying to convert a wav file to ogg and was wondering, which is the correct codec to use? vorbis or libvorbis? and what's the difference between those two?
[12:23] <brontosaurusrex> right, but my samples are all like 100 gigs
[12:23] <brontosaurusrex> not sure how to cut that properly
[12:24] <JEEB> if it's an avi just use virtualdub or something
[12:24] <brontosaurusrex> right
[12:24] <JEEB> in wine if needed
[12:24] <brontosaurusrex> yeah
[12:25] <JEEB> fkochem, libvorbis since the vorbis encoder is a horrible reminder why the wheel should not be remade unless you can think you can do at least as good of a job
[12:25] <JEEB> (and actually do it to a level)
[12:26] <fkochem> JEEB: so "vorbis" is a bad implementation of the same thing?
[12:26] <iive> brontosaurusrex: try without pixfmt, too.
[12:26] <JEEB> vorbis is the libavcodec internal implementation, which just happens to be godawful (at encoding)
[12:28] <fkochem> ok thanks
[12:32] <hay> hi all... can I use shoutcast audio as an input in ffmpeg?
[12:35] <brontosaurusrex> well, for now i'll use version from 2012 ...
[12:35] <iive> brontosaurusrex: btw, it would be helpful if you could locate the last release that worked with your samples.
[12:36] <brontosaurusrex> iive, i'am just not such a compiling expert
[12:36] <JEEB> then please provide a sample and report it :)
[12:36] <JEEB> then someone else can possibly do the rest for you
[12:36] <brontosaurusrex> JEEB, i will
[12:36] <JEEB> thanks
[12:36] <iive> brontosaurusrex: i just assumed you compiled it yourself. :)
[12:52] <brontosaurusrex> iive, i did actually, but it wasn't fun :)
[12:53] <iive> oh.. :(
[13:21] <brontosaurusrex> how is 500 megs sample? too big?
[13:27] <durandal_1707> brontosaurusrex: just upload it somewhere and provide link to it
[13:32] <brontosaurusrex> a sample 3.6 megs https://dl.dropboxusercontent.com/u/79532365/ffmpeg-problem/file_copy.avi (md5: 4dd4f95c0a432809f60fd44f9629d34f)
[13:33] <brontosaurusrex> i used vcodec copy, acodec copy to make it
[13:33] <brontosaurusrex> and the error is the same
[13:50] <iive> brontosaurusrex: try -t 10 with the copy and see if this gets it smaller. btw, does the sample matter? i mean, are there files where this command works?
[13:53] <brontosaurusrex> iive, yes
[13:54] <iive> same resolution?
[13:54] <iive> or fps ?
[13:54] <brontosaurusrex> works all the time, resolution is always 1920x1080
[13:54] <brontosaurusrex> and same fps
[13:54] <brontosaurusrex> fps is always 25
[13:55] <brontosaurusrex> it works with the same sample if i use got from feb. 2012
[13:55] <brontosaurusrex> git*
[14:02] <hay> are the input devices the only input I could use to get the data in to the ffmpeg? I have a dshow UScreenCapture video input and would like to add shoutcast radio to it.. is this possible?
[18:02] <DrSlony> Hi, when I record a screencast using ffmpeg it ends up running faster than i recorded it at. Why, and how do I fix it? Here is the code: https://pastee.org/waqc
[18:03] <sacarasc> Even. :D
[18:03] <DrSlony> eh?
[18:03] <DrSlony> i did use a pastebin site
[18:03] <sacarasc> Did you read the whole line?
[18:03] <sacarasc> Use a site like that for a command (not a script) and the output.
[18:03] <DrSlony> ah, output, one sec
[18:07] <DrSlony> here you go http://pastebin.com/3Mar0X9Z
[18:15] <DrSlony> any idea?
[18:16] <DrSlony> tbc is 48
[20:03] <Elijah__> When I run ./configure on ffmpeg 2.1, it says ERROR: libx264 not found. But I can see libx264.a in /usr/lib
[20:03] <Elijah__> any ideas?
[20:05] <klaxa> pastebin config.log
[20:10] <Elijah__> http://pastebin.com/iwKidwR5
[20:14] <klaxa> can you try to add --extra-cflags=-I/usr/lib ?
[20:14] <Elijah__> ok, one sec
[20:14] <klaxa> hmm... wait i don't think that'll help...
[20:15] <Elijah__> I was kidn of thinking that was the default include dir anyways, but I threw it in there just in case
[20:15] <klaxa> yeah weird
[20:16] <Elijah__> I did this on another computer with ffmpeg 1.2.1 no issues, so not sure what's up
[20:20] <Elijah__> back in a few
[20:23] <chr1stopher> good evening, i am absolutely new to ffmpeg and i got a question/problem: is it possible to grep images of a rtp stream?
[21:27] <bparker> I have a video file that has a over/under 3D layout and I need to convert it to a left/right layout. Is this possible in one command with ffmpeg filters?
[21:28] <bparker> e.g. left eye of the video is at 0,0 1920x540, right eye is at 0,540 1920x540, and the output should be: left eye 0,0 960x1080, right eye 960,0 960x1080
[21:30] <JEEB> I would guess libavfilter's stuff would make that possible
[21:31] <JEEB> but that is unfortunately something I've never looked too much into because I dislike the syntax :s
[21:31] <JEEB> something useful might pop up @ the video filtering docs for ffmpeg
[21:44] <bparker> oh hi JEEB
[21:45] <bparker> yea I looked over there, I know I can use the scale filter to get the right dimensions per eye, but then on how to physically move the right from the bottom to the right side, I don't know which filter would do that
[21:45] <bparker> move the right eye*
[21:55] <JEEB> bparker, I would guess overlaying filters and such would make it possible
[21:56] <JEEB> as in, crop one part and the other part, make two clips out of them
[21:56] <JEEB> and then overlay them next to each other
[21:56] <JEEB> I know it's in theory possible
[21:56] <JEEB> but > me > libavfilter syntax
[21:56] <llogan> what was the question?
[21:57] <JEEB> top/bottom 3d conversion to left/right 3d
[21:57] <JEEB> cropping and resizing, and then putting them next to each other
[21:58] <llogan> ah. thanks.
[21:58] <llogan> i've done someting like that before...
[21:58] Action: llogan scrounges
[22:08] <llogan> bparker: -filter_complex "[0:v]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0[top];[0:v]crop=iw:ih/2:0:ih[bot];[top][bot]overlay=W/2"
[22:08] <llogan> or something like that
[22:08] <fp> Hi, Can't get ffprobe to work with hevc. Please see http://pastebin.com/vTK8T1bD The pict_type doesn't seem to be reported correctly. Any ideas? I'm using raw hevc format.
[22:09] <DrSlony> Help, when I record a screencast using ffmpeg it ends up running faster than i recorded it at. Over twice as fast. Why, and how do I fix it? Here is the code: http://pastebin.com/3Mar0X9Z
[22:09] <bparker> llogan: almost! it's 3840x540
[22:09] <bparker> but the eyes are in the right place
[22:10] <bparker> so the height needs to be scaled by 2x instead of the width
[22:12] <bparker> llogan: ideas?
[22:13] <llogan> i'm having trouble visualizing
[22:13] <bparker> ok
[22:15] <llogan> DrSlony: in what player?
[22:15] <DrSlony> llogan mplayer
[22:15] <DrSlony> and ffplay
[22:16] <bparker> llogan: http://dpaste.com/1456393/
[22:16] <DrSlony> ffplay plays it twice as fast as mplayer!
[22:16] <DrSlony> whats going on?
[22:17] <DrSlony> luckily the system clock was visible in the screencast, so i can exactly see how the seconds zoom by
[22:17] <llogan> bparker: i'm feeling lazy. can you provide the input or a small part of it, or even a simple image? ffmpeg -i input -vframes 1 out.png
[22:17] <JEEB> fp, I can't see the HEVC decoder setting pict_type
[22:17] <JEEB> just slice_type
[22:19] <bparker> llogan: sure
[22:20] <fp> JEEB: true! And i guess slize_type isn't supprted by ffprobe?
[22:21] <llogan> DrSlony: i don't know. does the lossless file also play too fast? did you try ffmpeg from git head?
[22:21] <bparker> llogan: http://imgur.com/a/JVZuu
[22:22] <JEEB> fp, unfortunately I have no idea about ffprobe :) I just code inside libavcodec ;)
[22:23] <llogan> bparker: eww.
[22:23] <bparker> yummy
[22:23] <bparker> you asked for a sample :p
[22:23] <llogan> what is that?
[22:24] <bparker> a prostate
[22:24] <bparker> through the eyes of a 3D surgical robot
[22:24] <llogan> looking forward to it
[22:24] <bparker> haha
[22:24] <fp> JEEB: thanks anyway :-) You lead me into the correct path for further investigations
[22:24] <llogan> at least the demerol will be fun
[22:25] <bparker> :p
[22:25] <bparker> when I had back surgery they gave me a button I could press to inject pain meds whenever I wanted more
[22:30] <llogan> bparker: you want the output to be squished like the middle example?
[22:31] <bparker> yep
[22:31] <bparker> same resolution in and out
[22:31] <DrSlony> llogan yes the "preset ultrafast" one plays faster in ffplay than in mplayer
[22:31] <bparker> no regard to aspect ratio
[22:31] <DrSlony> llogan no, using 1.2.4
[22:44] <llogan> bparker: you can just add ',scale=iw/2:ih*2' to the end of the filterchain
[22:45] <bparker> llogan: ok
[22:46] <bparker> works :)
[22:47] <bparker> thanks a lot
[22:48] <llogan> you could probably clean up the filterchain if you like. i didn't really get to mess with it much
[22:48] <bparker> well I'd like to understand it more before I do that, but yea :)
[22:49] <llogan> a good start http://ffmpeg.org/ffmpeg-filters.html#Description
[23:23] <pyBlob> for testing it would be useful if I could disable the output of ffmpeg > no files are written, is there an option to achieve that?
[23:38] <llogan> pyBlob: ffmpeg -i input ... -f null -
[23:38] <pyBlob> ah yes ... thanks =)
[23:38] <llogan> http://ffmpeg.org/ffmpeg-formats.html#null
[23:51] <pyBlob> is there an alternative to the ocv=smooth:gaussian filter?
[00:00] --- Tue Nov 12 2013
More information about the Ffmpeg-devel-irc
mailing list