[Ffmpeg-devel-irc] ffmpeg.log.20120414
burek
burek021 at gmail.com
Sun Apr 15 02:06:26 CEST 2012
[01:03] <randal`> is it possible to use a named pipe for live data to ffmpeg, and have it timestamp each frame read from the pipe with the current time, rather than just incrementally adding the file and using the framerate for timing?
[01:03] <randal`> i'm piping rawvideo rgb32 data
[01:04] <randal`> encoding with x264
[01:11] <psycorpse_> Hey guys. I am having some issues and not really sure what to search for on the internets... I am on ubuntu 12.4 right now and I have pulled down the git package and compiled
[01:12] <psycorpse_> trying to follow the tutorial from danger.com/ffmpeg and I only have 5 lines right now try to compile
[01:12] <psycorpse_> http://pastebin.com/b9jXC6tM
[01:13] <psycorpse_> really I have the main function and av_register_all() and trying to compile and I am getting a ton of output with mainly undefined reference to 'insert_function_here'
[01:14] <psycorpse_> Any ideas on what I might be doing wrong?
[01:15] <Forsaken> psycorpse_: if its not a copy-paste mistake, have a look at your first include
[01:15] <psycorpse_> sorry that is a copy paste issue
[01:16] <psycorpse_> I will include sample output
[01:16] <psycorpse_> from the errors
[01:16] <Forsaken> sometimes mistakes really are that simple ;D
[01:16] <psycorpse_> I wish in this case
[01:16] <Forsaken> hehe
[01:16] <psycorpse_> it was kinda painful to figure out what I had to do since the split between libav and ffmpeg
[01:16] <psycorpse_> and ffmpeg uses libav
[01:17] <psycorpse_> very confusing
[01:18] <psycorpse_> http://pastebin.com/xBaaFLn1
[01:19] <psycorpse_> has some of the error output too
[01:19] <Forsaken> btw. I have a question too, is it possible with ffserver/ffmpeg to stream some video-file as it is (without converting using rtps/http)?
[01:20] <Forsaken> asked to everyone ;)
[01:21] <Forsaken> for me it looks like the avcodec.h requires some other header files to be included
[01:23] <psycorpse_> I had to add /usr/local/include to my path, so I wonder if avcodec.h isn't able to find them then
[01:23] <Forsaken> whats your compile statement?
[01:24] <psycorpse_> gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz -lm | more
[01:24] <psycorpse_> forget the | more
[01:25] <Forsaken> hmm looks okay
[01:25] <psycorpse_> I was trying to contain my output byt that didnt' wok
[01:25] <psycorpse_> s/wok/work/
[01:26] <psycorpse_> it just sucks because I am running into issues right at the beginning
[01:28] <Forsaken> you should try to change the order of the libarys, the order does matter for gcc
[01:28] <Forsaken> that the only thing that comes to my mind right now
[01:29] <psycorpse_> ok. Just tried it and same issue. I will continue to scratch my head and try some other things.
[01:29] <psycorpse_> Appreciate it
[01:30] <Forsaken> good luck :<
[01:32] <Forsaken> hmm on the tutorial page (bottom of tutorial 1) the commandline for compiling looks like this:
[01:32] <Forsaken> gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz -lavutil -lm
[01:37] <psycorpse_> if I add the 2nd -lavutil I get some different output
[03:48] <tsou> I'm trying to create a movie out of some jpgs. Can I specify a different speed for each jpeg?
[04:06] <relaxed> tsou: it's possibel but you have to handle each seperately
[04:08] <relaxed> I once wrote a script to make a slideshow; I had it take the images and output a small stream of rawvideo for each image. The duration of the stream depended on how long I wanted the image to be displayed.
[04:09] <relaxed> So my script grepped a list with the images and times to process them all.
[04:11] <relaxed> Then it used cat to combined them all into one stream for use as input to ffmpeg.
[04:14] <relaxed> tl;dr anything is possbile with ffmpeg and shell scripting.
[04:16] <tsou> relaxed: won't this result in a much much larger file though?
[04:17] <tsou> i see that with imagemagick i can easily do this for an animated gif, but from what i understand, if i use ffmpeg to create a movie out of an animated gif,
[04:17] <tsou> it will just extract all images from it and still require a unique framerate for the resulting output video..
[04:17] <relaxed> How many images are you using?
[04:18] <tsou> around 40
[04:18] <tsou> i need the same 'delay' for most of them
[04:18] <relaxed> what type of output do you need?
[04:18] <relaxed> video format, etc..
[04:19] <tsou> i don't mind.. as long as it's not obscure :P
[04:19] <relaxed> how long do you want the video to be?
[04:20] <tsou> under a minute i guess.. most pics should delay around 1 sec, with some exceptions that delay around .5 secs each
[04:21] <relaxed> Your options are a really low framerate (that not all container or codecs support) or duplicating frames with a faster frame rate.
[04:22] <relaxed> say 15 fps
[04:22] <relaxed> compressed with libx264 it wouldn't be that large.
[04:22] <tsou> what i initially did, was duplicate all files that i needed to be around 1 second..
[04:23] <tsou> and set a -r of .5
[04:23] <tsou> err 2
[04:24] <tsou> didn't try compressing it afterwards with x264 though
[04:24] <tsou> thanks ;)
[04:25] <relaxed> you're welcome
[04:26] <taqattack> I finally figured out how to cross compile to windows
[04:26] <taqattack> feels great
[05:34] <psycorpse_> would someone download this file and try to compile it? http://dranger.com/ffmpeg/tutorial01.c
[05:34] <psycorpse_> gcc -o tutorial01 tutorial01.c -lavutil -lavcodec -lavformat -lz -lm
[05:34] <psycorpse_> I am getting some compile errors and I am wanting to know if this is my environment
[07:50] <sosman> I would like to extend a video to the same length as an audio track by reusing the last frame as a "still". Any tips please?
[07:54] <sosman> I have converted the original MOV to AVI raw.
[14:04] <burek> is there any way to make audio stream mono out of stereo (in which one channel was accidentally off), without reencoding the audio?
[14:04] <burek> by off I mean silent, without any audio signal
[14:14] <ubitux> -map_channel
[14:14] <ubitux> or af pan
[14:14] <burek> does it imply reencoding?
[14:18] <perrth> saste: how to use ffmpeg from https://gitorious.org/~saste/ffmpeg/sastes-ffmpeg ? the audio-filter branch
[14:19] <perrth> for example applying ladspa/sox filter
[14:45] <taqattack> Hello there
[14:46] <taqattack> I'm having some memory leak issues with ffmpeg when I'm streaming.
[14:48] <cbreak> interesting
[14:48] <cbreak> I found ffmpeg consuming an increasing amount of memory as well when live streaming/encoding
[14:48] <taqattack> Yes that's the issue
[14:48] <cbreak> but I was never able to isolate its cause or find out if it was a memory leak
[14:49] <cbreak> so we just setled for rebooting the streaming box every day :)
[14:49] <cbreak> kind of a hack, but what ever
[14:49] <taqattack> I think it might be related to the -rtbufsize
[14:50] <taqattack> SO what I think happens is, if the server doesn't accept the RTMP packets. The software keeps dumping the directshow frames into memory.
[14:51] <taqattack> Because I noticed if I stream from file to server or directshow capture devices to file, the memory leak issue isn't there
[14:52] <cbreak> I never used direct show
[14:52] <cbreak> nor rtmp
[14:54] <taqattack> I see
[14:55] <taqattack> I also noticed that if I set my bitrate very high (more than my upload speed). The frames are dropped more often and there's also increase in memory
[17:41] <taqattack> .
[18:33] <Nagy|2> how is it that avfilter_get_video_buffer is thread-safe?
[18:34] <Nagy|2> ffplay sets thread_safe_callbacks = 1
[18:34] <Nagy|2> however looking at avfilter_get_video_buffer I can't see how it can be thread-safe
[19:56] <qfr> Is GPGPU video encoding being used by any high profile software?
[19:57] <qfr> I don't even know how viable it is
[20:16] <MrElectrooo> hi, i have a question, i've heard the linux ffmpeg encode in a batter quality than windows build of ffmpeg, i would say that is a lie, but i want to hear it from you, anyone?
[20:17] <sacarasc> It should be the same.
[20:17] <MrElectrooo> yeah, thats what i though
[22:04] <obstinate> hi could someone direct me to the latest document on the installation process
[22:05] <sacarasc> Which OS?
[22:05] <obstinate> i have been trying with a couple of documents dated 2010 sep but they seem to have some version problem
[22:05] <obstinate> ubuntu
[22:05] <sacarasc> https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[22:05] <obstinate> cool thanks will try with this
[23:30] <obstinate> Hi i am trying to use pyffmpeg
[23:30] <obstinate> but i am facing some compilation issues
[23:30] <obstinate> is there anyone familiar with pyffmpeg ?
[23:31] <Mavrik_> it's obsolete as hell and unstable
[00:00] --- Sun Apr 15 2012
More information about the Ffmpeg-devel-irc
mailing list