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

burek burek021 at gmail.com
Thu Jul 12 02:05:02 CEST 2012


[00:34] <seablade> Ahha found the problem, the image sequence has to start numbered from 0, :(
[00:34] <seablade> Oh well fixed and moved on
[00:56] <Ionic`> hm
[00:56] <Ionic`> what container format do I use for non-seekable streams?
[00:56] <newl> rm ram suck enough :)
[00:56] <Ionic`> real media?!
[00:58] <Ionic`> mp4 won't accept non-seekable outputs... matroska was not recommended by some user, flv is flash crap, hmmm...
[01:00] <darkstarbyte> Is there way to convert 2+ files with ffmpeg into one file?
[01:02] <newl> darkstarbyte: try cat
[01:04] <darkstarbyte> I was wondering of a way that uses ffmpeg options without other bash commands
[01:07] <newl> what is difference from running ffmpeg or cat .... in bash shell? lol
[01:07] <darkstarbyte> I wanted to now of a better way.
[01:08] <JEEBsv> Ionic`: do you want a format that can be live streamed or do you want something that specifically makes seeking hard?
[01:19] <darkstarbyte> let me guess
[01:19] <darkstarbyte> he is using h.264?
[01:20] <JEEBsv> I have no idea, but he's just generically asking for a "container to use with non-seekable streams"
[01:20] <JEEBsv> which only leaves live streaming around I guess
[01:21] <JEEBsv> but on the other hand he might want something to be as hard as possible to seek in
[01:21] <darkstarbyte> How about a corrupt stream?
[01:22] <darkstarbyte> You can't skip around in those with vlc.
[01:22] <darkstarbyte> Only if the corruption is minor.
[01:24] <JEEBsv> I am going to react as if you didn't try to just recommend actually corrupting output
[01:25] <darkstarbyte> It was a joke to an impossible question.
[01:25] <darkstarbyte> nearly impossible*
[01:26] <darkstarbyte> Once you have eliminated the impossible, what ever your left with no matter how improbable is possible.
[01:26] <darkstarbyte> I think I typed that wrong.
[01:28] <darkstarbyte> Wow.
[01:28] <Kuukunen> yea sherlock holmes stuff
[01:28] <Kuukunen> such a bad advice...
[01:28] <darkstarbyte> Is there a russian word for Hard Ass?
[01:29] <newl> putinovsky
[01:29] <darkstarbyte> yctynk8
[01:29] <darkstarbyte> Really?
[01:30] <darkstarbyte> It looks like
[01:30] <darkstarbyte> Put in ov sky
[01:31] <darkstarbyte> Ok
[01:31] <darkstarbyte> Two can play it that way
[01:32] <darkstarbyte> Wait I only know one language.
[01:32] <darkstarbyte> Google translate
[01:33] Action: JEEBsv hits the sack
[01:33] <newl> google translate ? it can't even do british english to american english well
[01:33] <darkstarbyte> I thought JEEB was x264.
[01:34] <Kuukunen> JEEBsv != JEEB
[01:34] <darkstarbyte> And you just happened to know that russian word.
[01:34] <darkstarbyte> the sv must be a russian accent for So vwhat
[01:34] <darkstarbyte> sorry
[01:35] <darkstarbyte> that was really rude.
[01:37] <darkstarbyte> cat file1.ext file2.ext || ffmpeg -i PIPE:1 -options -o output?
[01:39] <darkstarbyte> Now to watch the timeouts, like the waves of the ocean.
[01:40] <beandog> heh
[01:40] Action: beandog throws some sand in darkstarbyte's face
[01:41] <beandog> that'll make it seem more realistic
[01:41] Action: darkstarbyte throws and back
[01:41] Action: darkstarbyte sand*
[01:42] Action: darkstarbyte Sex on the beach. The drink.
[01:53] <Ionic`> JEEBsv: well... ideally something with no seeking, suitable for live streaming and working with H264 + AAC
[01:53] <Ionic`> sorry for the lag, I've been toying with multiple containers
[01:54] <Ionic`> mpegts, ogg, webm, rm, rtp... all are... meh.
[01:54] <Ionic`> neither works correctly with VLC, which is *weird*
[01:55] <Ionic`> hmmmm...
[01:55] <Ionic`> asf looks reasonably well
[01:56] <darkstarbyte> I thought you were an advanced user?
[01:56] <Ionic`> advanced like? :p
[01:56] <darkstarbyte> bash guru
[01:56] <Ionic`> so? should I implement my own container?
[01:57] <darkstarbyte>  / ffmpeg guru
[01:57] <darkstarbyte> NOOO
[01:57] <darkstarbyte> MKV works awesome
[01:57] <Ionic`> I'd wish
[01:57] <darkstarbyte> And you can stream it with media tomb.
[01:57] <newl> why do you want it non seekable any way
[01:58] <Ionic`> mkv doesn't work at all with VLC
[01:58] <Ionic`> for some weird reason
[01:58] <newl> i have a radio station that when gotten with mplayer dumpstream is always non seekable and i have to convert it to mp3
[01:59] <Ionic`> newl: because I'm fetching a live stream via rtmpdump, stuffing that into a named pipe/fifo, letting ffmpeg fetch and recode the data (FLV/H264/AAC -> probably ASF/H264/AAC now) and pass it to VLC via pipe:
[01:59] <newl> rtsp://216.235.60.29:554/encoder/kipo6
[02:03] <Ionic`> Actually, I started out with "this freakin flash player is causing 80% CPU load and heating up my poor laptop (for no good reason)
[02:03] <Ionic`> so, let's use mplayer/vlc/whatever to play the rtmp stream directly
[02:04] <Ionic`> which as such would work fine with mplayer alone... however, I always press the arrow keys (let's say by accident) and this makes the playback crash
[02:04] <Ionic`> thus my next idea was using vlc... which doesn't support direct rtmp playback...
[02:06] <Ionic`> and yeah... VLC doesn't seem able to play anything but ASF, probably due to my messed up fifo/piping setup
[02:08] <newl> so when you start mplayer deactivate the arrow keys ;)
[02:08] <Ionic`> hmmm
[02:08] <Ionic`> what a nice and clean solution
[02:08] <Ionic`> but it sounds too good to be true
[02:08] <darkstarbyte> lotfshiv
[02:09] <darkstarbyte> laughing on the floor so hard I vomited.
[02:10] <newl> see the CONFIGURATION FILES section of man mplayer
[02:10] <newl> you can do lots of different config files
[02:15] <darkstarbyte> You can skip that, and use gmplayer
[02:16] <newl> the arrow keys still work on gmplayer ... so?
[02:17] <darkstarbyte> I thought they didn't
[02:17] <Ionic`> uhm yes they do, and gmplayer is deprecated
[02:17] <darkstarbyte> Well you could always make sure the mplayer window is not selected.
[02:17] <Ionic`> nah.
[02:17] <darkstarbyte> Wow Ionic`, your not a breeze.
[02:17] <Ionic`> why? :)
[02:18] <Ionic`> I'll stick to that for now: killall -9 rtmpdump; rtmpdump -r rtmp://193.40.133.138/live/kalakotkas -v -o - | ffmpeg -i pipe: -f asf -vcodec libx264 -acodec libfaac pipe: | ~/Downloads/vlc-2.1.0-git/VLC.app/Contents/MacOS/VLC - > /dev/null 2>&1
[02:18] <Ionic`> and once I get tired of VLC, I'll check the mplayer config and disable/bind the keys
[02:19] <darkstarbyte> I think that should take more cpu power than flash.
[02:19] <Ionic`> ironically, it doesn't
[02:19] <Ionic`> hm or well
[02:19] <darkstarbyte> What kind of cpu do you have?
[02:19] <Ionic`> hmhmhm.
[02:20] <Ionic`> some old intel c2d 3.06GHz, nothing fancy
[02:20] <darkstarbyte> Not packing an i7
[02:20] <Ionic`> hehe
[02:22] <newl> i don't get it Ionic` just mplayer -playlist rtmp://    gives a great download ???
[02:22] <newl> with the rtmp:// in the playlist file
[02:23] <Ionic`> newl: uhm yeah so? :p
[02:23] <darkstarbyte> Why can't you just store the darn thing as a file, and use vlc to play that file?
[02:23] <darkstarbyte> I believe that ffmpeg can read from rtmp.
[02:23] <Ionic`> it's a live stream
[02:24] <newl> lol you want to seek in a live stream?
[02:24] <newl> i want to see the end of it
[02:24] <Ionic`> i don't want to seek in a live stream :)
[02:24] <Ionic`> why would I? that's pointless
[02:25] <darkstarbyte> What if you miss something you want to hear?
[02:25] <darkstarbyte>  /see
[02:25] <Ionic`> I'll die! :P
[02:26] <Ionic`> no seriously
[02:26] <Ionic`> I couldn't care less
[02:26] <darkstarbyte> Then why do you want the live stream?
[02:26] <darkstarbyte> Is it porn?
[02:26] <darkstarbyte> Are you using a different link name for your porn?
[02:26] <Ionic`> it's a fish eagle live stream :)
[02:27] <darkstarbyte> Right, right, right.
[02:27] <Ionic`> with 3 offsprings
[02:27] <Ionic`> so... yeah
[02:27] <Ionic`> basically... uhm underage porn, if you want so
[02:27] <Ionic`> bestiality
[02:27] <Ionic`> *beast
[02:27] <darkstarbyte> foodiality
[02:27] <darkstarbyte> Ah ha.
[02:27] <darkstarbyte> I got you.
[02:28] <Ionic`> aah, there we go
[02:28] <Ionic`> -input nodefault-bindings:conf=/dev/null \o/
[02:38] <Jim123> Hi having some issues setting map channels, keep getting the following when running from command line: 'Unrecognised Option '
[02:38] <Jim123> map_channe'
[02:38] <Jim123> just installed via yum on a Centos installation
[02:39] <sacarasc> Jim123: Can you post the complete command line and output to a pastebin and give us the link?
[02:41] <Jim123> http://pastebin.com/TTTSTYp9
[02:49] <Jim123> I cannot find the map_channel switch in the help file, but none of the similar commands work either
[03:13] <Jim123> Does anyone if I am missing any dependancies here or why that option wouldnt be available in my version of ffpmeg?
[03:21] <newl> i don't have it - what is it you want to do
[03:22] <Jim123> take a wav file input and split the channels to mute the right channel and output an mp3, but I am getting errors on the switch to map channels
[03:24] <newl> i have some mplayer code to make it mono - why just mute the right?
[03:30] <Jim123> well i need to be able to mute left or right depending on where the audio files are to be played
[03:37] <newl> see the 1 channel in two speaker section http://www.mplayerhq.hu/DOCS/HTML/en/advaudio-channels.html
[03:51] <Jim123> ill take a look but really needed this to work in ffmpeg
[06:07] <darkstarbyte> So in order to convert two files at once, I would have to use
[06:07] <darkstarbyte> cat * || ffmpeg -i PIPE:1 -option output
[06:19] <mikatalk> hi there
[06:19] <darkstarbyte> hi
[06:19] <darkstarbyte> I can't help with ffmpeg stuff
[06:19] <darkstarbyte> I need help
[06:20] <mikatalk> i m struggling to set the buffer size in a command
[06:20] <mikatalk> could you guys help me?
[06:20] <darkstarbyte> I think that is
[06:20] <darkstarbyte> -buf
[06:20] <mikatalk>  ffmpeg -y -f image2pipe -pix_fmt argb -vcodec rawvideo -s 640x380 -i - -r 25 -qscale 9.1 -s 640x380 a.mpg
[06:20] <mikatalk> do you know where to add the buffer size?
[06:21] <darkstarbyte> After the i option, I think.
[06:21] <mikatalk> but how would you write it?
[06:22] <mikatalk> i cant find in the doc
[06:22] <darkstarbyte> ffmpeg options -i file -buf size more_options output
[06:22] <mikatalk> oh justy like that ? :)
[06:22] <mikatalk> thanks i ll try
[06:23] <heimlich> Hi Guys, anyone here deal much with apple prores quicktimes ?
[06:23] <mikatalk> i get Unrecognized option 'buf'
[06:24] <darkstarbyte> Hold on one second
[06:24] <mikatalk> i m passing
[06:24] <mikatalk> ffmpeg -y -f image2pipe -pix_fmt argb -vcodec rawvideo -s 640x380 -i - -buf 972800 -r 25 -qscale 9.1 -s 640x380 a.mpg
[06:24] <darkstarbyte> Buffer sizes are automatically set, you know?
[06:24] <darkstarbyte> Even if you dont' set them
[06:25] <mikatalk> no i don t actually :( i m kind of lost
[06:25] <mikatalk> if i don t set it i get an error
[06:25] <darkstarbyte> try -bf
[06:25] <mikatalk> Error while decoding stream #0.0 on each frame
[06:26] <darkstarbyte> Have you tried winff?
[06:26] <mikatalk> [NULL @ 0x7fe620800000] Value 972800.000000 for parameter 'bf' out of range
[06:26] <darkstarbyte> It might be easier.
[06:26] <mikatalk> buffer is the length of my byteArray correct?
[06:27] <darkstarbyte> I do not know about that.
[06:27] <mikatalk> this command is part of a pipe with tcp server socket
[06:28] <darkstarbyte> This is now out of my league.
[06:28] <darkstarbyte> How long can you wait on this?
[06:28] <mikatalk> i need to find out tonight :(
[06:29] <darkstarbyte> Have you ever used Linux questions?
[06:29] <darkstarbyte> linuxquestions.org, I believe.
[06:32] <mikatalk> i ll check it out thanks
[06:32] <darkstarbyte> My internet is going to slow tonight to load web pages, so I can't confirm.
[06:36] <mikatalk> i still get Error while decoding stream #0.0 on each frame :( anyone have an idea what could be missing?
[06:37] <heimlich> during conversion.. when you get a line like: [auto-inserted scaler 0 @ 01cd29c0] w:1920 h:1080 fmt:yuv444p10le sar:0/1 -> w:1920 h:1080 fmt:rgb555le sar:0/1 flags:0x4    does it actualy mean that ffmpeg is doing a scaling function ?
[06:42] <mikatalk> why do i need -y and not -x ?
[06:53] <mikatalk> how do you set the scale?
[06:54] <heimlich> me ?
[06:54] <mikatalk> haha no i m having the same issue
[06:54] <heimlich> ahh :)
[06:54] <mikatalk> any progress on your end?
[06:56] <heimlich> My issue is with prores encoded quicktimes really.. i am trying to convert prores encoded quicktimes (16bit) into another format.. like tga, dpx, or whatever.. and, while it works, when i study the resulting images, they almost look like they are "halfres" or of some degraded quality... you really have to look, but its visible..
[06:57] <darkstarbyte> bye
[07:03] <mikatalk> how would you deal with  VBV buffer size not set, muxing may fail  ?
[07:44] <brocatz> hey guys, should i be specifying something here to stop this
[07:45] <brocatz> i'm getting occasional hiccups on my encoding so i wonder if this is related
[07:45] <brocatz> [dshow @ 0003cca0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[07:45] <brocatz> [dshow @ 0003cca0] Stream #1: not enough frames to estimate rate; consider increasing probesize
[07:45] <brocatz> [dshow @ 0003cca0] Estimating duration from bitrate, this may be inaccurate
[08:01] <brocatz> also not sure how i specify a presets directory to use
[08:02] <brocatz> hum maybe i misread the manual
[08:03] <brocatz> i've tried both SET FFMPEG_DATADIR= and put a ffpresets directory in the same directory as the ffmpeg.exe i am using
[08:03] <brocatz> following this http://ffmpeg.org/ffmpeg.html#Preset-files-1
[09:56] <newenc> I'm trying to encode 1080p HD prores files to high quality mpeg2 program streams. my audio, however, always comes out-of sync when mixing. is there a specific option for this?
[12:07] <brocatz> Hi, I'm getting some weird effect from my web cam capture, it used to be fine, now it slows down and speeds up (in the output video) and the audio is out of sync
[12:09] <brocatz> current command i'm using is:
[12:09] <brocatz> http://dpaste.com/769380/
[12:42] <brocatz> looks like if i drop the rate down to 15 fps it's fine
[12:42] <brocatz> so it must be an audio / video rate problem with the dshow driver
[14:18] <JPeterson> how do i play ADX?
[14:18] <JPeterson> decode ADX
[15:46] <killown> is there a way to record  internal OS sound? actually I am using mic to record the sound
[15:49] <heimlich> anyone here working with prores files ?
[19:57] <Sashmo> hey everyone, ffmpeg keeps crashing on me, can anyone take a look at this and tell me why? http://pastebin.com/8dMqaWj3
[19:58] <zap0> you could try reading the errors
[20:04] <Sashmo> Im not smart enough to figure it out
[20:09] <newl> don't worry Sashmo he wasn't either
[20:10] <newl> nor am i ;)
[20:23] <iive> Sashmo: look up the line with "fifo_size" in it.
[21:06] <burek> Sashmo, "Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option"
[21:07] <burek> I just answered one similar question on the forum: http://ffmpeg.gusari.org/viewtopic.php?f=12&t=624&p=738
[21:08] <burek> anyway, try -i 'udp://localhost:26246?fifo_size=1000000&overrun_nonfatal=1'
[21:19] <Orbixx> I'm running a build of ffmpeg with libass compiled in, but the ass video filter doesn't appear to be encoded the subs into the resulting video
[21:20] <Orbixx> ffmpeg -i in.avi -vf "ass=sub.ass" out.avi
[21:20] <Orbixx> Should work, no?
[21:33] <Sashmo> interesting, thanks burek, I will try this and see if it works,  I found the crashing to happen more often while using threads 1 or more, do you think that would fix that issue also?
[22:10] <Orbixx> Anybody? The ASS is totally not getting encoded into the video at all.
[22:12] <Orbixx> It seems to properly process the cli though, as changes the name of the ass file to something that does not exist triggers it to error appropriately.
[22:18] <barjac> Hi I'm trying to build zoneminder against ffmpeg 0.11.1 and getting this (and lots more)
[22:18] <barjac> In file included from zm_ffmpeg_camera.cpp:24:0:
[22:18] <barjac> zm_ffmpeg_camera.h:41:5: error: ‘AVFormatContext’ does not name a type
[22:18] <barjac> Anyone got any clues ;)
[22:21] <barjac> ( it's fine against 0.10.4 )
[22:24] <mattisf> I am trying to replicate an encoding profile made by a program called Carboncoder. I encode the same file in carboncoder, and then in ffmpeg, and compare the output from mediainfo. One of the things I noticed is that ffmpeg outputs a menu stream. Is there a way to disable this behavior?
[22:37] <burek> Orbixx,
[22:38] <burek> just a sec :)
[22:38] <burek> !wiki
[22:38] <burek> http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20burn%20subtitles%20into%20the%20video
[22:38] <Orbixx> burek: Yes, I found that before coming here
[22:38] <Orbixx> burek: That is exactly the command I used.
[22:40] <burek> ok it works now :)
[22:46] <Orbixx> damn it
[22:46] <Orbixx> my cli buffer was too small for the output
[22:49] <Orbixx> burek: You mind if I just paste the bits between the encoding output?
[22:49] <burek> Orbixx, complete output is needed because the error might not be what you think it is
[22:49] <Orbixx> burek: understood
[22:49] <burek> so we can direct you to the correct resolution
[23:14] <Orbixx> burek: Sorry for the wait
[23:14] <Orbixx> http://pastebin.com/zG2kBSzL
[23:39] <burek> Orbixx, your paste looks ok
[23:54] <heth> Hi. is there GPU support? Converting live streaming RAW -> x264 HD is too harsh for the CPU only
[23:57] <pasteeater> heth: no
[00:00] --- Thu Jul 12 2012


More information about the Ffmpeg-devel-irc mailing list