[Ffmpeg-devel-irc] ffmpeg.log.20120810
burek
burek021 at gmail.com
Sat Aug 11 02:05:01 CEST 2012
[01:05] <Mista_D> @saste: will do. Thanks.
[01:27] <aro> is there a parameter for encoding files to mp4 with decent speed?
[01:35] <llogan> aro: -preset when encoding with libx26
[01:35] <llogan> *libx264
[02:01] <aro> i keep getting this error: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
[02:13] <llogan> aro: your command is wrong
[02:13] <llogan> but i can't say much else because i don't know where you went wrong
[02:14] Action: llogan gives fflogger a beer
[02:29] <powerNET> hi
[02:30] <powerNET> anyone have any idea why I cant open mp4 files I make with ffmpeg inside adobe premiere?
[02:32] <llogan> powerNET: what does premiere say?
[02:36] <EvanDotPro> hey, i'm trying to stream my screen + a webcam overlay -- i thought i had it working, but for some reason now, the overlay only works for a second or two at a time then it freezes up. not sure if it's a framerate issue or what.
[02:37] <EvanDotPro> i've got this, https://gist.github.com/b88a40146eb82aa7e317
[02:37] <powerNET> one second let me convert it
[02:37] <EvanDotPro> mostly from http://www.howtoforge.com/streaming-your-desktop-with-audio-and-webcam-overlay-in-a-browser-using-ffmpeg-crtmpserver-and-flowplayer but with some tweaks.
[02:41] <powerNET> llogan, here http://pastebin.com/i5zU2Jpp
[02:41] <EvanDotPro> i've checked google, the man pages, etc.. can't find much info on why this would be happening. it only freezes up when used in a filter -- if the webcam is the primary input for the stream it works fine.. can also view it in mplayer/vlc/cheese with no issues.
[02:44] <llogan> powerNET: your input is already H.264. why not copy it insread of re-encode? that doesn't address the premiere issue though.
[02:47] <powerNET> premiere doesnt support
[02:47] <powerNET> flv
[02:47] <powerNET> so i have to convert it right?
[02:47] <EvanDotPro> i've got a live example up on http://evan.pro/ffmpegtest/ if that helps.
[02:47] <llogan> EvanDotPro: missing consoel output
[02:47] <llogan> *console
[02:48] <Sashmo> does anyone have any luck with transport streams, ffmpeg and wowza??
[02:48] <EvanDotPro> llogan: https://gist.github.com/2802af45c5cd43a3e2ed
[02:49] <llogan> powerNET: if you look at Input #0, Stream #0:0 it shows H.264. you can use H.264 in flv or mp4 container formats.
[02:49] <EvanDotPro> llogan: you can also see my screen live at that link, which i have the terminal open on.
[02:49] <powerNET> llogan, I have done this http://pastebin.com/mGJFc8b9
[02:49] <powerNET> and i cant import to adobe premiere
[02:49] <powerNET> i can import this youtube mp4 that i made
[02:49] <powerNET> but i cant import this
[02:50] <llogan> maybe premiere doesn't like mp3 in mp4 container
[02:51] <powerNET> let me check
[02:52] <llogan> EvanDotPro: i don't have an answer for you, but note you should add "-pix_fmt yuv420p" as an output option because if you update ffmpeg it will probably autochoose something else coming from x11grab
[02:53] <EvanDotPro> llogan: i thought so too, but doing that takes the bitrate up from ~330kbits/s to like ~17500kbits/s
[02:53] <EvanDotPro> which seemed strange to me since it's picking yuv420p automatically anyway
[02:54] <llogan> EvanDotPro: can you try with ffmpeg from Git head?
[02:55] <EvanDotPro> llogan: yeah, i'll need a few to get all the dev packages and compile though
[02:55] <llogan> https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[02:56] <EvanDotPro> thanks
[02:58] <Sashmo> does anyone have any luck with transport streams, ffmpeg and wowza??
[02:58] <llogan> EvanDotPro: since you are using a complex filtergraphs (more than one input and/or output) you will have to switch from -vf to -filter_complex, AFAIK.
[02:58] <EvanDotPro> llogan: oh let me try that real quick.
[02:59] <llogan> it was probably introduced after 0.10.4
[02:59] <EvanDotPro> ah
[02:59] <llogan> and i don't think it's a simple option change, but i don't filter often
[02:59] <llogan> ffmpeg -h | grep filter_complex
[03:00] <EvanDotPro> it's just weird since it works for 20-30 frames, then it seizes up
[03:00] <EvanDotPro> yeah, no filter_complex in the fedora build from rpmfusion
[03:01] <llogan> the first step (other than any obvious solution) is to see if more recent ffmpeg works as expected.
[03:02] <EvanDotPro> yep, doing that now.
[03:09] <EvanDotPro> oops, i think i needed to compile with libavfilter, huh?
[03:09] <llogan> libavfilter is part of FFmpeg
[03:09] <EvanDotPro> oh sweet
[03:09] <EvanDotPro> nevermind then :)
[03:10] <llogan> you don't need to --enable- anything for filters except ones that depend on external libraries and ones that require --enable-gpl
[03:10] <EvanDotPro> yeah, i just did x264, lame, and gpl, i think
[03:11] <EvanDotPro> everything in the guide except --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx since i'm not using those.
[03:15] <EvanDotPro> llogan: looks like the new ffmpeg solved my primary issue -- i'll check on the yuv420p thing just out of curiosity
[03:16] <EvanDotPro> llogan: ha, yeah that still increases the bitrate by over 100x
[03:23] Action: EvanDotPro recompiles after installing alsa libs
[03:29] <EvanDotPro> llogan: well now it seems to be working creat except for the 80 million "DTS 32522212, next:32538530 st:0 invalid dropping"
[03:29] <EvanDotPro> it's intermittent though... jsut ran it again without getting any.
[03:29] <EvanDotPro> i can live with that. :)
[03:29] <llogan> at least it seems to work now
[03:30] <EvanDotPro> http://evan.pro/ffmpegtest/
[03:30] <EvanDotPro> check it out
[03:31] <EvanDotPro> camera and screen video is nicely synchronized too.
[03:31] <Sashmo> ha, I have the same chair!
[03:31] <EvanDotPro> Sashmo: LOVE this chair.
[03:31] <EvanDotPro> memory foam ftw.
[03:31] <Sashmo> what you working on there, I havnt been paying attention
[03:32] <juanmabc> one more terminal, please
[03:32] <Sashmo> LOL
[03:32] <EvanDotPro> Sashmo: just trying to get a reliable screencast / webcam feed thing going, heh.
[03:32] <Sashmo> nice looks good almost readable
[03:32] <EvanDotPro> Sashmo: actually make the window bigger -- it's 1080p
[03:32] <EvanDotPro> :)
[03:33] <juanmabc> man, that reminds me i love tabs
[03:33] <Sashmo> NICE!
[03:33] <Sashmo> good job
[03:33] <EvanDotPro> juanmabc: i know, terrible habbit of mine, not using terminal tabs.
[03:33] <EvanDotPro> Sashmo: thanks :)
[03:33] <Sashmo> what bitrate
[03:33] <EvanDotPro> now i've gotta blog how i got all of this working before i forget.
[03:34] <llogan> big monitors
[03:34] <Sashmo> how are you TX;ing it?
[03:34] <juanmabc> enough spying...
[03:34] <Sashmo> just serving it form your machine?
[03:34] <EvanDotPro> llogan: 4x 21" widescreen
[03:34] <EvanDotPro> Sashmo: naw, it goes to my server at the datacenter first, then that serves it up via rtmp
[03:35] <juanmabc> reminds me of antitrust movie ;P
[03:35] <EvanDotPro> only have 5mbps up here, have 2100mbps there ;)
[03:35] <Sashmo> ffmpeg RTMP? or ffmpeg to wowza rtmp
[03:35] <EvanDotPro> ffmpeg to crtmptserver
[03:35] <Sashmo> its clean, I like it
[03:35] <Sashmo> crtmptserver??
[03:35] <EvanDotPro> with x264 settings tweaked to minimize the latency
[03:35] <EvanDotPro> http://www.rtmpd.com/
[03:36] <Sashmo> mind to share the command line?
[03:36] <llogan> you know there is a -tune zerolatency?
[03:36] <EvanDotPro> llogan: it didn't work with the fedora binary version of x264
[03:36] <EvanDotPro> maybe with the newer compiled version i have now though :)
[03:37] <EvanDotPro> Sashmo: https://gist.github.com/9fc06aea919424a6bd80
[03:37] <llogan> typical usage is to use a -preset and then -tune (if desired) instead of dealing with x264opts
[03:37] <EvanDotPro> it's 127.0.0.1 because i run it trough an ssh tunnel
[03:37] <EvanDotPro> so i don't have to have the receiver port open on my server.
[03:37] <Sashmo> I found that threads antying else than 0 would crash ffmpeg
[03:37] <EvanDotPro> llogan: yeah, that's what i read on the wiki, i just couldn't get any of the presets working for some reason.
[03:38] <EvanDotPro> 4 works well for me, leaves 4 cores open for other stuff, but keeps up well.
[03:38] <llogan> x264EncodingGuide?
[03:38] <EvanDotPro> http://mewiki.project357.com/wiki/X264_Settings and http://mewiki.project357.com/wiki/X264_Encoding_Suggestions
[03:39] <EvanDotPro> those are what i was referencing
[03:39] <powerNET> what does -thread 0 do?
[03:39] <Sashmo> how much cpu at 10 fps?
[03:39] <Sashmo> wow
[03:39] <Sashmo> not bad
[03:39] <Sashmo> what is that i7?
[03:39] <EvanDotPro> yeah, i7
[03:40] <Sashmo> hmm, would it kill you to try 30fpr?
[03:40] <Sashmo> fps
[03:40] <EvanDotPro> i can try :)
[03:40] <Sashmo> just wana compare something
[03:40] <EvanDotPro> ah crap... i dunno what that invalid dropping thing is.
[03:40] <Sashmo> yeah
[03:40] <llogan> powerNET: with libx264, use cores*1.5 for frame threads
[03:40] <Sashmo> same problem Im getting
[03:40] <EvanDotPro> eventually it stops
[03:41] <EvanDotPro> k now we're at 30fpx
[03:41] <llogan> libvpx may also use -threads 0, but i'm not sure.
[03:41] <Sashmo> still not bad
[03:41] <Sashmo> that pretty good latency
[03:41] <Sashmo> 2 seconds from when I type
[03:41] <Sashmo> 1.5
[03:41] <Sashmo> say
[03:41] <EvanDotPro> yeah that was my primary focus
[03:42] <EvanDotPro> it's really hard to use it for collaboration if the latency sucks
[03:42] <llogan> powerNET: i don't think any other encoders use "0".
[03:42] <Sashmo> yeah so true!
[03:42] <powerNET> oh
[03:42] <Sashmo> I need to find out why Im having soo many problem with my setup
[03:42] <Sashmo> im using transport stream video as a source
[03:42] <EvanDotPro> i'm going to be blogging about this whole thing from start to finish
[03:42] <EvanDotPro> and maybe putting some little tool up on github
[03:42] <Sashmo> and my cpu hits the roof at SD! on a i7
[03:42] <llogan> so to simplify, "automatically determine appropriate number of threads"
[03:43] <EvanDotPro> wow
[03:43] <Sashmo> well 4 sd streams is 85%
[03:43] <EvanDotPro> i used to have major cpu issues with x11grab
[03:43] <powerNET> so I shouldn't use "-threads 0" parameter in ffmpeg?
[03:43] <Sashmo> on vlc, I can get 4 at %45
[03:43] <EvanDotPro> then this most recent attempt, it just started working
[03:43] <llogan> powerNET: no, because it is now a default setting when encoding with libx264
[03:44] <EvanDotPro> is that invalid dropping thing a known issue with dev-masteR?
[03:44] <EvanDotPro> or just something wacky with my setup?
[03:44] <Sashmo> mind telling me the versions of everything your using
[03:44] <EvanDotPro> i just compiled from master a few mins ago
[03:44] <powerNET> I'm curious. Why is the number of threads for libx264 1.5*cores
[03:45] <EvanDotPro> used https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[03:45] <Sashmo> hmm cent
[03:45] <llogan> powerNET: if you're using old ffmpeg, then go ahead and use it. if recent ffmpeg then it is the same as default so it doesn't matter if it is there.
[03:45] <EvanDotPro> i'm also using https://github.com/livibetter/x11grabr instead of ffmpeg's x11grab directly.
[03:45] <Sashmo> should matter that much
[03:45] <EvanDotPro> i'm not on centos, i'm on Fedora 17
[03:45] <Sashmo> shouldnt
[03:45] <EvanDotPro> close enough though
[03:45] <Sashmo> yeah it is
[03:46] <Sashmo> anyone want to get paid to make ffmpeg work with ts streams and wowza?
[03:46] <powerNET> That's gnarly. I guess there is a good reason why x264 needs those thread numbers
[03:46] <EvanDotPro> Sashmo: messing with ffmpeg is the last thing i'd want to get paid to do lol
[03:46] <Sashmo> ha O_o
[03:47] <llogan> EvanDotPro: why not use x11grab directly?
[03:47] <Sashmo> anyone have good recults using alsa inputs with ffmpeg?
[03:48] <EvanDotPro> llogan: i kinda like the mouse highlighting, heh.
[03:48] <llogan> Sashmo: did you see this: https://ffmpeg.org/trac/ffmpeg/wiki/Capturing%20audio%20with%20FFmpeg%20and%20ALSA
[03:49] <Sashmo> I did but I need to slave it with v4l2
[03:49] <llogan> EvanDotPro: ah. i guess that's a good enough reason.
[03:49] <EvanDotPro> llogan: i'm also holding out hope this guy might finish out his todo list.. which will allow having a fifo that you can send commands to the running instance for things like zooming, moving the region, etc.
[03:50] <EvanDotPro> that'd be pretty awesome for doing screencasts / presentations.
[03:50] <llogan> i wonder why he uses libav instead of ffmpeg
[03:50] <EvanDotPro> he says in his todo he wants to use ffmpeg
[03:50] <EvanDotPro> or at least that it could resolve an audio sync issue.
[03:50] <EvanDotPro> (which i don't seem to have)
[03:50] <EvanDotPro> actually, now i'm curious
[03:51] <EvanDotPro> lol there's not even enough latency for me to check
[03:52] <Sashmo> your going to post this right?
[03:52] <Sashmo> let me know where, I like what you have setup
[03:52] <EvanDotPro> within the next week or so, yeah
[03:52] <Sashmo> it looks great
[03:53] <EvanDotPro> i have 2 or 3 blog posts in my queue
[03:53] <EvanDotPro> http://blog.evan.pro/
[03:53] <Sashmo> nice!
[03:54] <EvanDotPro> audo sync is perfect :)
[03:55] <Sashmo> nice to know that my wife isnt the only woman in the world that likes to interrupt while I work!
[03:55] <EvanDotPro> haha
[03:55] <EvanDotPro> this is hardly working ;)
[03:55] <EvanDotPro> but yeah that's her hobby
[03:55] <Sashmo> WELLLLL you know what I mean
[03:55] <EvanDotPro> waiting until just the right time to come bug me
[03:55] <Sashmo> at least that what I tell her
[03:57] <EvanDotPro> i think just for fun i'm going to try to get a second cam fed onto the stream lol
[03:58] <Sashmo> you know, I didnt even see it drop when you changed the FPS
[03:58] <Sashmo> that was a suprise to me
[03:58] <EvanDotPro> yeah flowplayer is pretty good at keeping the stream going
[04:00] <EvanDotPro> weird... it's picking one cam or the other
[04:09] <EvanDotPro> haha sweet
[04:10] <Sashmo> nice
[04:10] <Sashmo> you got it
[04:10] <Sashmo> what was the problem?
[04:10] <EvanDotPro> just had bad syntax for the filter chaining
[04:11] <Sashmo> cool, anyone know what they replaced -standard with?
[04:12] <Sashmo> its ok I found it
[04:12] <Sashmo> I think I need to move to arizona!
[04:12] <Sashmo> lol
[04:12] <EvanDotPro> haha, why's that?
[04:13] <Sashmo> its always hot
[04:13] <EvanDotPro> that's not a good thing... take it from someone who lives here.
[04:13] <Sashmo> really? ah, I hate winter
[04:14] <EvanDotPro> u tiij that the other day in my car...
[04:14] <EvanDotPro> lol whoops
[04:14] <EvanDotPro> i took that the other day in my car.
[04:15] <Sashmo> can anyone tell me why this sounds so bad? http://38.113.164.108:1935/live/test3/playlist.m3u8
[04:15] <Sashmo> Evan, huh?
[04:15] <EvanDotPro> Sashmo: the picture on my stream -- note the temperature.
[04:15] <EvanDotPro> 50C == 122F
[04:16] <Sashmo> ah!
[04:16] <Sashmo> ahhhhh
[04:16] <Sashmo> got it
[04:16] <Sashmo> crazy!!!!!
[04:16] <Sashmo> can you play that link with vlc for me?
[04:16] <Sashmo> tell me why it sounds so crap
[04:17] <Sashmo> can you hear it?
[04:17] <EvanDotPro> yeah, it sounds terrible
[04:17] <EvanDotPro> lol
[04:17] <Sashmo> lol
[04:17] <Sashmo> Ithin it has something to do with audio rate
[04:17] <Sashmo> but anything I try is junk
[04:18] <Sashmo> I changed to use pulse instead, but it only made a little better
[04:18] <EvanDotPro> i'm using pule on my stream
[04:18] <EvanDotPro> i have no idea how it sounds
[04:18] <EvanDotPro> probably not great with the crappy webcam mic
[04:19] <Sashmo> I can hear your bird
[04:19] <Sashmo> so it sounds good
[04:19] <EvanDotPro> that's my dog squeeking a ball lol
[04:19] <Sashmo> ahahaha
[04:19] <Sashmo> cool
[04:20] <Sashmo> www.getnextv.com this is me
[04:21] <Sashmo> some things are down
[04:21] <EvanDotPro> nice
[04:21] <Sashmo> we are changing over
[04:21] <Sashmo> waiting for me to fix this same ts ffmpeg bs
[04:21] <Sashmo> www.ethnicchannels.com, me too
[04:22] <Sashmo> dont laugh at the site
[04:22] <Sashmo> its way old
[04:22] <Sashmo> changing it by the end of the month
[04:22] <EvanDotPro> hmmm
[04:22] <Sashmo> yeah mix of developers areound here
[04:22] <Sashmo> lol
[04:23] <EvanDotPro> lol
[04:23] <Sashmo> LOLOL
[04:23] <Sashmo> try that link again
[04:23] <Sashmo> better audio
[04:23] <Sashmo> but still shit
[04:23] <Sashmo> cant find out why
[04:24] <Sashmo> sounds like coms from star wars
[04:24] <Sashmo> go blue leader!
[04:24] <Sashmo> lol
[04:24] <EvanDotPro> what if you just try mp3/lame real quick
[04:24] <Sashmo> need aac
[04:24] <Sashmo> but sure
[04:25] <EvanDotPro> right, i just mean as a sort of control.
[04:25] <Sashmo> yea let me try
[04:28] <Sashmo> same shit
[04:28] <EvanDotPro> so sample rate, not the codec
[04:28] <Sashmo> not even
[04:28] <Sashmo> tried them all
[04:28] <Sashmo> can figure it out
[04:29] <Sashmo> cant*
[04:29] <EvanDotPro> time to see what a game looks like on the stream, heh
[04:29] <Sashmo> looks good so far
[04:29] <Sashmo> at 1- fpd
[04:29] <Sashmo> 10 fps
[04:30] <EvanDotPro> sweet
[04:31] <EvanDotPro> crap one of my cams froze though
[04:31] <Sashmo> I just logged out
[04:31] <Sashmo> closed the window
[04:31] <EvanDotPro> k
[07:27] <wiley> hello, I'm trying to reencode a FLAC file to mp3, and I can't seem to get the encoder to use a bitrate other than 128k
[07:27] <wiley> I've tried using -aq and -b:a
[07:28] <wiley> syntax looks like `ffmpeg -b:a 320k -i somefile.flac test.mp3`
[07:29] <wiley> ... and I just swapped it to `ffmpeg -i sourcefile.flac -b:a 320k test.mp3` and it started working
[07:29] <wiley> sorry, /me is apparently quite stupid
[08:09] <JEEB> wiley, before -i, settings for the decoder; after -i, settings for the encoder
[08:11] <wiley> JEEB: thanks, makes sense in hindsight
[08:13] <JEEB> although I have no idea what setting bit rate for input would actually supposedly do :D I guess it probably just gets ignored
[14:26] <KaKiLa> hi, do you give help for avconv as well?
[16:00] <k2r1> I am trying to use the auto-detect crop size as seen here http://ffmpeg.org/ffmpeg.html#cropdetect .No love. Want to automatically remove the black borders around my video. Using ffmpeg version N-38790-g633b90c
[16:00] <k2r1> Any advice
[16:16] <yano> why do people ask a question and leave after a minute?
[16:18] <benbro> can I convert sln asterisk audio files to mp3 ?
[16:18] <alyawn> k2r1, AFAIK, cropdetect simply outputs in the log a recommended crop rectangle. I don't think it actually does the crop
[16:20] <k2r1> alyawn yeah I see that now. I just tried out a script that spits out the values. It works quite nice http://pastebin.com/aWzM2csr
[16:21] <k2r1> So I got this output 978:548:2:86 .Now I just need to figure out how to actually use crop with w:h:x:y syntax
[16:22] <k2r1> lol, this is silly. I can get the crop values with the script but for some reason I cat figure out how to crop =)
[16:24] <alyawn> should be able to add: -vf crop=978:548:2:86
[16:28] <k2r1> alyawn so something like ffmpeg -i movie_in.mkv -codec:a copy -codec:v copy crop=-vf crop=978:548:2:86 output.mkv ? Looks really strange.
[16:29] <JEEB> you can't copy the video stream if you want to filter it
[16:30] <alyawn> ^^ and remove the first "crop="
[16:31] <k2r1> So I take it I have to re-compress the video stream =/ Guess I can use -codec:a copy though since that stream is not being filtered.
[16:31] <JEEB> yes, you can copy the audio
[16:53] <k2r1> JEEB How does this look? ffmpeg -i input.mkv -vf crop=978:548:2:86 -c:v libx264 -preset medium -crf 24 -c:a copy output.mkv
[16:54] <JEEB> looks good, preset medium is default and the default crf value is 23, just find the highest crf value that still looks good to you
[16:55] <k2r1> JEEB thx.
[16:56] <k2r1> ffprobe -i blah 2>&1 | awk '/Duration/ {gsub(/,/, "", $2); split($2, a, /:/); print 3600*a[1] + 60*a[2] + a[3]}'
[16:56] <k2r1> sry
[17:08] <k2r1> Why are there so many videos on the net that have a thick black border around them both on x and y? Its so annoying! How do these retards get that ??
[17:10] <k2r1> Like this video. starting at 10 sec www.youtube.com/watch?v=M2GF7KRGYTs
[17:15] <alyawn> most likely they went from 16:9 to 4:3 then back again...
[17:21] <k2r1> alyawn yeah prolly. Seems to be HD videos that have been recorded off of TVs. Good needs is JEEBs cmd works great and I will be done with a script that will auto crop black borders in about 15 min =)
[17:24] <alyawn> k2r1, good... can you do that for all the videos out there? Thanks!
[17:29] <k2r1> alyawn lol, I wish. Better yet would be to impose a mandatory death sentence for putting crap video on the net. Children and woman would of course be tortured first. Just to get the point across that cute horse videos (in crappy quality) are not loved by all.
[19:05] <malinens> http://pastebin.com/w8QFzDDV I am transcoding live stream but I my output has little freezes every few seconds. What could be the problem?
[19:12] <zap0> not enough data
[19:30] <crass> anyone tried to demux srt subs from an mkv? it looks like the output is not an srt (just the sub text, but no timecodes)
[19:30] <crass> and I not doing something? or is this a known issue?
[20:45] <saschagehlich> hey, i'm using the following command to convert 3 seconds of a mp4 to .gif frames: "ffmpeg -i source.mp4 -s 300x169 -ss 245 -t 3 -pix_fmt rgb24 frame-%03d.gif" the problem is that it takes pretty long - ffmpeg "idles" for a long time and then it takes like 1 second to really convert the frames
[20:45] <saschagehlich> so it looks like it's going through the whole video until it reaches the -ss position and then it converts the video
[20:46] <saschagehlich> if -ss is 0 it converts it directly. is there a way to avoid that it takes so lang?
[20:46] <saschagehlich> *long
[21:20] <francogrex> Hi, I'm trying to install ffmpeg on debian but apt-get install ffmpeg gives: Package ffmpeg is not available, but is referred to by another package...
[21:22] <francogrex> what is the repo for debian sqeeze
[21:22] <tdr> francogrex, search the package list, it may have a name with a version or something attached
[21:25] <francogrex> tdr: it's ffmpeg http://www.deb-multimedia.org/dists/stable/main/binary-i386/package/ffmpeg
[21:25] <francogrex> but maybe the sources.list I have is not pointing to the right direction
[21:28] <francogrex> and now this: ffmpeg : Depends: libavdevice52 (>= 5:0.7.13) but it is not going to be installed ...
[21:28] <tdr> version conflict with an existing installed lib needed by something else?
[21:29] <francogrex> maybe I don't know this sucks
[21:30] <tdr> francogrex, see if you already have libavdevice
[21:30] <tdr> if you updated your package list (apt-get update) you may need to run updates to satisfy it
[21:43] <francogrex> ok I will try. thanks tdr
[22:24] <francogrex> I finally downloaded yasm and ffmpeg src and build them locally. all went well except when I tried it: ffmpeg -i videp.flv -ab 320k output.mp3 > I got Encoder (codec none) not found for output stream #0:0
[22:24] <francogrex> my configuration was just configuration: --enable-shared
[22:30] <ubitux> try with --enable-libmp3lame
[22:30] <ubitux> --enable-gpl switch is recommended as well
[22:31] <francogrex> aha ok
[22:31] <francogrex> so reinstalling again
[22:31] <ubitux> should be relatively fast if you didn't make clean
[22:31] <francogrex> I didn't yet, I will 'make uninstall' right?
[22:32] <ubitux> shouldn't be required
[22:32] <ubitux> by the way, you don't need to install it
[22:33] <ubitux> well, with --enable-shared you might have some issues, but a simple build should allow you to run ./ffmpeg after a make
[22:33] <ubitux> so no need to trash your system setup with non packaged files
[22:33] <francogrex> ok
[22:34] <ubitux> (btw, you should use -aq 0 instead of -ab 320k)
[22:35] <ubitux> also, if the flv contains a mp3 track you can avoid the re-encode
[22:35] <ubitux> with sth like ffmpeg -i video.flv -c:a copy output.mp3
[22:35] <ubitux> (and there you don't need any libmp3lame encoder)
[22:37] <francogrex> [mp3 @ 0x9f89ac0] Invalid audio stream. Exactly one MP3 audio stream is required.
[22:37] <ubitux> ok, shouldn't be a mp3 track then
[22:38] <ubitux> check with ffprobe
[22:38] <francogrex> tream #0:1: Audio: aac, 44100 Hz, stereo, s16, 70 kb/
[22:38] <ubitux> aac, you're doomed; you'll need to reencode :)
[22:39] <francogrex> :) ok I realized I don't even have libmp3lame installed on my system
[22:40] <ubitux> look for libmp3lame-dev
[23:13] <cogdog> Often when I try to change containers like ffmpeg -i movieIn.avi -c:a copy -c:v copy movieOut.mkv I get this error:
[23:13] <cogdog> [matroska @ 0x3286ba0] Can't write packet with unknown timestamp
[23:13] <cogdog> av_interleaved_write_frame(): Invalid argument
[23:14] <cogdog> Using ffmpeg version N-38790-g633b90c compiled today. This error is nothing new though.
[23:14] <cogdog> Anybody know what I am doing wrong or how this can be fixed?
[23:18] <cogdog> Does not matter if I do -acodec copy -vcodec copy, -codec:a -codec:v or -c:a copy -c:v copy still get that " Can't write packet with unknown timestamp" on a lot of my videos
[23:26] <cogdog> What does this error mean? matroska @ 0x22f7ba0] Can't write packet with unknown timestamp
[23:26] <cogdog> av_interleaved_write_frame(): Invalid argument
[23:32] <JEEBsv> cogdog: it means that ffmpeg tried to write a packet without an invalid/unset timestamp, as it says on teh tin
[23:33] <cogdog> Hi JEEBsv I am going though some of the tickets and was wondering if this is a know problem?
[23:34] <JEEBsv> no idea
[23:34] <cogdog> http://ffmpeg.org/trac/ffmpeg/ticket/1552
[23:34] <JEEBsv> ah, packed b-frames
[23:34] <JEEBsv> an AVI hack
[23:34] <JEEBsv> which then ffmpeg fails to remux I guess
[23:35] <JEEBsv> try mkvmerge(gui) from the mkvtoolnix package?
[23:35] <JEEBsv> does that work?
[23:35] <cogdog> JEEBsv I'll look into that. Might be in the Debian repos.
[23:35] <JEEBsv> it should be
[23:36] <JEEBsv> I guess since it got reported and has a sample for it, it should get fixed at some point
[23:37] <JEEBsv> Basically "packed B-frames" is a hack to make video streams that contain B-frames to "fit" AVI, which is such an old container that it can't by itself handle such things
[23:38] <gauth> hi
[23:39] <cogdog> JEEBsv LAWD! 19MB for a program? Does it have lead in it =P
[23:39] <JEEBsv> lol
[23:40] <JEEBsv> it's the "de facto" matroska muxing/demuxing application suite tho
[23:40] <JEEBsv> mkvextract/mkvmerge/mkvinfo
[23:40] <JEEBsv> and the graphical interface for mkvmerge (and I think mkvinfo)
[23:42] <gauth> does someone knows how to record audio and stream with the smallest cpu/memory usage (even in bad quality) ? I tried ffmpeg -f oss -i /dev/dsp1 -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://192.168.28.116:1234 but it's too much for my raspberry (+-800 Mhz ARM cpu)
[23:48] <cogdog> JEEBsv Yum was wife walked in with a tub of Ben & Jerry's Cookie Dough! Hmm this program looks quite polished. Thx for letting me in on the de facto secret =D
[23:51] <cogdog> JEEBsv all this GUI stuff has me confused. Looking at mkvmerge ... now what =P Just want stuff my audio and video into a mkv container.
[23:52] <Plorkyeran> drag and drop video and audio files into the mmg window, set the output filename, click the mux button
[23:53] <JEEBsv> ^couldn't get simpler
[23:53] <Plorkyeran> almost all of the UI is for setting various optional bits of metadata
[23:54] <cogdog> you can do that in GNU/Linux ... drag and drop =)
[23:56] <cogdog> Dang this is a nice program. Thx for the heads up Jeeb
[23:56] <sacarasc> mmg is nice.
[23:57] <JEEBsv> it's probably the best graphical interface to a muxer so far
[23:57] <cogdog> For real. I am liking this.
[00:00] --- Sat Aug 11 2012
More information about the Ffmpeg-devel-irc
mailing list