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

burek burek021 at gmail.com
Thu Aug 16 02:05:01 CEST 2012


[00:02] <rud> boudiccas: maybe your ffmpeg is outdated compared to your other app ? or the other way around &?
[01:20] <t355u5> since version 0.11.x there seems to be a problem with mp4 to mkv conversion (0.10.2 is still ok): after converting it, I get the following message, when I try to play the file: MKV/Ebml Parser: m_el[mi_level] == NULL
[01:21] <t355u5> it seems that there is a problem with the mkv container creation
[01:21] <t355u5> any ideas?
[01:42] <TroubledTechnici> so I totally forgot to come back when everybody was awake
[04:12] <jfroebe> http://pastebin.com/ygQ8FYRd - trying to mux two files, a wav file and the video stream that is converted from a wmv file.  I can't get the audio stream in the wmv file to be ignored.  tried different maps but it always gets picked up.  any clues?
[05:03] <TroubledTechnici> At this time jfroebe, it is probably better to use the forums as most of these people are asleep.
[05:03] <TroubledTechnici> europe
[07:00] <Xgates> hey guys
[07:01] <Xgates> is avconv a part of ffmpeg 0.11?
[07:01] <Xgates> I just compiled 0.11 and when I run a ffmpeg gui application it's saying it can't find avconv and I'm not familar with this
[07:04] <TroubledTechnici> its a branch out of ffmpeg
[07:05] <Xgates> was it included in older versions?
[07:06] <TroubledTechnici> i'm not too sure on the details
[07:06] <TroubledTechnici> are you running ubuntu?
[07:07] <Xgates> Slack
[07:07] <TroubledTechnici> "Libav is friendly and community driven effort to provide its users with a set of portable, functional and performant libraries for dealing with multimedia formats of all sorts. It originates from the FFmpeg codebase, but goes its own way these days, providing its users with reliable releases and a clear vision how to go forward."
[07:09] <Xgates> this is what I'm trying to figure out, in the past I ran a ffmpeg front end called tragtor and it never said anything about avconv, now with a new version of ffmpeg and a new version of tragtor I'm getting this, so I'm just trying to figure if it use to be included in ffmpeg, now branched out or tragtor is asking for something it never did before
[07:10] <Xgates> so do you know if it was ever included in older versions of ffmpeg?
[07:12] <grepper> its not a branch its a fork
[07:13] <TroubledTechnici> I have no idea
[07:13] <grepper> FFmpeg does not have 'avconv' (ffmpeg.org).  That is from the fork, libav.org
[07:13] <Xgates> ok thanks
[07:13] <grepper> no worries
[07:46] <Xgates> anyone know any nice ffmpeg front ends besides, WinFF, handbrake and tragtor?
[08:42] <Xgates> hey guys
[08:43] <Xgates> bare with me, I'm not a real pro on all this stuff, can Libav 0.8.3 and ffmpeg 0.11 coexist on the same box? I mean it seems like both have libavcodec and a few of the same that might conflict, write over another when installing into the system?
[09:09] <Xgates> in ffmpeg 0.11 does it build avconv?
[09:13] <grepper> Xgates: did you not read what I wrote about avconv not being part of the ffmpeg project ?
[09:13] <grepper> you said 'ok thanks' so I thought you got that
[09:14] <Xgates> my bad ok...
[09:14] <Xgates> any info on how to compile libav to install side by side with ffmpeg 0.11, what I should disable in libav?
[09:15] <grepper> I would think it would be difficult to have them live together, though I'm sure if you knew what you were doing it could be done
[09:16] <Xgates> well I do see some of it, just didn't pay real close attention, but I can compare the contents
[09:16] <grepper> installing both on ubuntu or debian can be a recipe for disaster
[09:17] <Xgates> not sure why the developer for tragtor has it so it wants avconv when most people are going to just install ffmpeg
[09:36] <Xgates> thanks grepper
[09:37] <grepper> no worries
[10:47] <TheFridgeMaster> is it daytime in europe yet?
[10:47] <TheFridgeMaster> well IEM is on so it must be
[11:19] <TheFridgeMaster> http://ffmpeg.gusari.org/viewtopic.php?f=12&t=646&p=834#p834
[11:28] <fzappa> is ffmpeg used by encoding.com?
[12:03] <JPeterson> when streaming to rtsp how do i specify the output ip:port rather than the sdp file location?
[12:22] <d4> from or to?
[12:22] <JPeterson> d4, to
[12:22] <JPeterson> regarding http://www.wowza.com/forums/content.php?213-FFmpeg-with-Wowza-Server-(MPEG-TS) how do i stream to rtmp instead? if i change udp://127.0.0.1:10000?pkt_size=1316 to rtmp://photo/live/myStream (which works from FFsplit) the video can't be played.
[12:25] <Mavrik> you're probably streaming with wrong container.
[12:30] <JPeterson> Mavrik: thx http://pastebin.com/u/JPeterson
[12:30] <JPeterson> ya maybe it isnt flv
[12:31] <Mavrik> JPeterson, yeah, "-f mpegts"
[12:31] <Mavrik> this sets MPEG2-TS as container, not flv
[12:31] <JPeterson> whats the flv one?
[12:31] <Mavrik> change that to "-f flv" :)
[12:31] <JPeterson> thx
[12:35] <JPeterson> Mavrik: is -loop_input the loop command in this context? "Currently it works only for image streams." http://ffmpeg.org/ffmpeg.html#Advanced-options
[12:35] <JPeterson> so ill do a bash loop instead
[12:35] <Mavrik> hmm
[12:35] <Mavrik> haven't used that, so I don't know. I think there's a "-loop" command as well
[12:36] <JPeterson> ok. no loop in this case it seems "Option loop not found."
[12:37] <JPeterson> i tried "ffmpeg -re -i $v -loop 0 -vcodec ..."
[12:38] <JPeterson> in the next sentence the document say "This option is deprecated, use -loop 1."
[12:40] <Mavrik> well you are using several releases old ffmpeg
[12:40] <Mavrik> also parameter order is important
[12:40] <Mavrik> you might have to put the loop before -i
[12:40] <JPeterson> tried that too
[12:41] <JPeterson> what's the best ppa with a recent libav or ffmpeg?
[12:43] <JPeterson> or rather, what's the best add-apt-repository for a recent version
[12:44] <Mavrik> huh, no idea, most people are using custom builds
[12:44] <burek> or static builds
[12:45] <JPeterson> ya ok, i'll find one
[12:46] <JPeterson> a top result is sudo add-apt-repository ppa:jon-severinsson/ffmpeg
[12:49] <JPeterson> burek: there's no -latest.tar.gz file though, so i can't use a fixed command to uupdate
[12:49] <burek> I'm afraid not
[12:49] <burek> but you can use `date` to format the url
[12:49] <burek> to the latest
[13:23] <TheFridgeMaster> hey its burek!
[13:23] <burek> :beer: :)
[13:24] <TheFridgeMaster> I just ran out unfortuneately
[13:24] <TheFridgeMaster> and responding to your reply in my thread
[13:29] <burek> let me see :)
[13:33] <burek> TheFridgeMaster, to compile using latest git version, read this for example: https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20quickly%20compile%20FFmpeg%20with%20libx264%20(x264%2C%20H.264)
[13:33] <burek> it's pretty simple actually
[13:33] <burek> and the benefit is that you can later just use "git pull" to update the source code tree
[13:33] <burek> when you decide to recompile/update your ffmpeg
[13:37] <TheFridgeMaster> ideally that is the method I would like to use but I am behind a proxy with auth and I can't get git configured to work with the proxy.
[13:38] <burek> ok
[13:41] <burek> TheFridgeMaster, also for ffplay, did you note you have 2 audio streams
[13:41] <burek> so ffplay actually might have played the one it recognized
[13:42] <TheFridgeMaster> ahhhh. I did not notice that.
[13:43] <TheFridgeMaster> well thanks for everything. you have helped heaps. for now i'm oging to turn in and get it out of my head before my brain implodes. I will be trying a couple more things tomorrow morning and if I still can't get it fired up then I will be working on getting tvheadend to operate also. until then.,.... PEACE!
[13:45] <burek> o/ :)
[13:54] <zloy> hello guys
[13:55] <zloy> how can I crop the image 10px from top and 56 px from the right?
[14:03] <ubitux> http://ffmpeg.org/ffmpeg.html#crop
[14:17] <TrixIsOwned> is there a argument to make the stream not unpublish
[14:17] <zloy> ubitux: I saw it. But I don't undestand how to crop from top and right only
[14:18] <ubitux> ow-56:oh-10:0:10
[14:18] <ubitux> does that work?
[14:19] <zloy> ubitux: just a moment
[14:22] <zloy> ubitux: w:1920 h:1080 pixfmt:yuv420p tb:1/1001 sar:1/1 sws_param:flags=2
[14:22] <zloy> [buffersink @ 0x1b2c380] No opaque field provided
[14:22] <zloy> Error when evaluating the expression 'out_w-56'
[14:24] <ubitux> sorry, iw and ih instead of ow and oh
[14:26] <zloy> ubitux: I received VIDEO:  [MP4V]  1864x1070 but I need 1280x1024
[14:27] <zloy> from 1920x180, but croped from top 10 px and from right 56 px
[14:28] <ubitux> 1920-56=1864, 1080-10=1070
[14:28] <ubitux> so what's the problem?
[14:28] <zloy> oh, I understood
[14:30] <zloy> ubitux: thank you
[14:30] <ubitux> np
[14:42] <burek> TrixIsOwned, what exactly are you talking about
[14:57] <d4> if I want the size of an AVPacket should I do sizeof(AVPacket)
[14:59] <Mavrik_> you'll only get the size of the structure
[16:15] <epettrey> I'm getting the following error when trying to configure ffmpeg: "ERROR: libvpx decoder must be installed and version must be >=0.9.1
[16:15] <epettrey> however, libvpx is on the newest version as well is git
[16:16] <epettrey> can anybody assist?
[18:06] <E3D3> Beside FFmpeg do I need 'libav-tool' (to see an 'tile example') that gives installation problems.
[18:06] <E3D3> Can anyone give advice about my error-message:
[18:06] <E3D3> E: /var/cache/apt/archives/libav-tools_6%3a0.8.3-1~bpo60+1_amd64.deb: trying to overwrite '/usr/bin/qt-faststart', which is also in package ffmpeg 5
[18:06] <Mavrik_> libav-tools are part of libav, not ffmpeg
[18:06] <Mavrik_> you should not need them
[18:09] <E3D3> ?
[18:10] <E3D3> I want to try the (only) example give on: http://ffmpeg.org/trac/ffmpeg/wiki/How to take multiple screenshots to an image (tile, mosaic)#no1
[18:11] <E3D3> ffmpeg -ss 00:00:10 -i movie.avi -vf 'select=not(mod(n\,1000)),scale=320:240,tile=2x3' out.png
[18:11] <E3D3> That gives an error about that is doesn't know tile
[18:11] <E3D3> No such filter: 'tile'
[18:12] <E3D3> Is it  syntax error ?
[18:12] <ubitux> you need to upgrade your ffmpeg then
[18:12] <ubitux> no, it means it doesn't find the tile filter, which has been added a long time ago
[18:12] <ubitux> your ffmpeg is most likely ancient
[18:13] <E3D3> ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers
[18:13] <E3D3>   built on Jan 28 2012 01:15:07 with gcc 4.4.5
[18:13] <ubitux> yes, but we are in mid 2012
[18:13] <ubitux> and the latest stable is 0.11.x
[18:13] <ubitux> ’ https://ffmpeg.org/download.html
[18:13] <E3D3> He, I have Linux,  prehistoric OS
[18:14] <ubitux> tile filter was added in feb 2012
[18:15] <ubitux> you should blame your distro or yourself, not the OS
[18:16] <E3D3> Most of Linux consist of fosiles, I try upgrading ffmpeg.
[18:16] <E3D3> Thank you all
[18:16] <ubitux> then don't use it
[18:16] <Mavrik_> *sigh*
[18:17] <E3D3> It needs some time before I understand what is under the hood
[18:17] <E3D3> Alternatives have different problems
[18:17] <Mavrik_> I wonder just where did you find such an old distro that packages 0.7
[18:17] <ubitux> you hit a problem very specific to the packaging policy of your distro
[18:18] <E3D3> I have Crunchbang Statler, based on Debian Squeeze
[18:18] <E3D3> with  old kernel
[18:19] <ubitux> wtf is this distro :D
[18:20] <E3D3> You suggest Ubuntu, or LFS ?
[18:20] <ubitux> i suggest nothing
[18:20] <ubitux> except upgrading your ffmpeg
[18:21] <E3D3> Good, cool, fine, okay and thanks again. Have a good day & bye.
[18:49] <burek> epettrey, did you solve your problem
[18:49] <epettrey> sorta
[18:49] <epettrey> I tried to just compile with libvpx disabled
[18:50] <epettrey> but now webm doesn't work so the videos can't be viewed on android devices
[18:50] <epettrey> burek: any ideas?
[18:50] <burek> well
[18:51] <burek> the problem is that you have 2 libvpxes installed on your machine
[18:51] <burek> and one of them through the package manager
[18:51] <burek> which always takes precedence
[18:51] <epettrey> so just do a yum remove libvpx?
[18:51] <burek> can you uninstall it without any consequences? :)
[18:51] <burek> yes
[18:51] <epettrey> let's see what that does
[18:53] <epettrey> it wasn't that...I removed libvpx earlier to compile ffmpeg from source because it wasn't working from the yum repo I tried
[18:53] <burek> first
[18:53] <burek> uninstall it completely
[18:54] <burek> then try to reconfigure ffmpeg again
[18:54] <burek> so it does get the compiled one
[18:54] <epettrey> when I first started the compiling process I ran "yum remove libvpx libogg libvorbis libtheora libx264 x264 ffmpeg"
[18:55] <epettrey> basically I went through what is written here: http://cumulusclips.org/docs/install-ffmpeg-x264-on-centos/
[18:55] <burek> does yum have some list/search option so you can check there is no libvpx any more (any other versions)
[18:56] <epettrey> yum list *libvpx
[18:56] <burek> http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[18:57] <epettrey> bah
[18:57] <burek> also, don't forget, after compiling of each lib
[18:57] <epettrey> guess I'll remove everything and start all over again
[18:57] <burek> to do a simple ldconfig
[18:57] <burek> just in case it is needed
[18:57] <burek> that is advised :)
[18:57] <epettrey> k, will report back with results
[18:58] <burek> ok
[18:58] <burek> good luck :)
[19:00] <epettrey> thanks for your help
[19:02] <burek> :beer: :)
[20:08] <epettrey> burek: it appears that did work so thank you for that
[20:08] <burek> :beer: :)
[20:08] <epettrey> not sure what happened the first time around that it didn't work but it is now
[20:08] <burek> well
[20:08] <burek> the library lookup went wrong
[20:08] <burek> because system libs installed through the package manager
[20:08] <burek> have higher priority in that lookup
[20:08] <burek> so, your compiled lib didn't get a chance beside a system installed one
[20:09] <epettrey> makes sense
[20:09] <epettrey> my linux isn't the strongest so this was an adventure for me but I learned a good bit
[20:10] <burek> well, that's a good thing, since ffmpeg is best used compiled from source
[20:10] <burek> it optimizes for your machine the best
[20:12] <epettrey> seems to be a very useful tool now that it is setup
[20:12] <epettrey> I'm a sys admin and not a developer so I don't have much use for it but at least I know how to compile it and operate it at a basic level now
[20:15] <burek> :)
[20:15] <burek> I hope it wasn't that hard
[20:58] <Olson> Im getting a strange error here  "Unknown input format: 'alsa'" on a fresh install of suse 12.1 using FFMPEG I wonder if you might look at this paste link and consider what I might do to "fix" this  http://www.pasteall.org/34507
[21:21] <Megapixar> Can I ensure key-frame every 10 sec without -force_key_frame? scene detection frames are ok.
[21:24] <saste> Megapixar: no
[21:26] <Josh__> Hello! :)
[21:54] <NonaSuomy> Hi trying to get some cameras streaming from a 4 port capture card
[21:54] <NonaSuomy> http://pastebin.com/1E2aZeut
[21:55] <NonaSuomy> error at the bottom
[21:56] <burek> Olson, can you type: ffmpeg -formats
[21:57] <burek> does it show alsa there?
[21:57] <burek> Megapixar, did you try to use -g
[21:57] <burek> to set the gop size
[21:58] <NonaSuomy> got an answer for me burek ;)
[21:58] <burek> wait until I examine it :)
[21:58] <NonaSuomy> thank you
[21:58] <Olson> burek, sure.. it say http://pastebin.com/kYSVna8C
[21:59] <burek> NonaSuomy, it's simple :)
[21:59] <burek> your 4th feed is missing </Feed>
[22:00] <burek> Olson, your ffmpeg was not compiled with alsa support
[22:00] <burek> how did you install it?
[22:00] <NonaSuomy> You're golden burek thank you
[22:01] <burek> :beer: :)
[22:01] <Olson> burek, ah thanks you. It came just with the default suse 12.1 install.. i've not used suse before
[22:02] <burek> Olson, it might be a good idea to compile your ffmpeg from source, since you'll have all the latest bug fixes and improvements that distribution binaries don't have, due to their "stability" policy
[22:02] <burek> it's not that difficult actually
[22:02] <burek> take a quick look at https://ffmpeg.org/trac/ffmpeg/wiki#Compilation
[22:02] <Olson> :P ye.. I used to do that on linux Mint, but i switch just today because I was having a problem
[22:02] <burek> but first uninstall the distro's ffmpeg binary first :)
[22:03] <Olson> sure.. I will try that thank you kindly sir
[22:03] <burek> np :) :beer: :)
[22:03] <Olson> \o/
[22:03] <NonaSuomy> burek do you know where I set this: Starting video streaming server: ffserverstart-stop-daemon: unable to stat /usr/bin/ffserver (No such file or directory)
[22:04] <burek> I see, you would like ffserver to start automatically on reboot?
[22:04] <NonaSuomy> /etc/init.d/ffserver start
[22:05] <NonaSuomy> yes
[22:05] <burek> as root or as ordinary user
[22:05] <NonaSuomy> root
[22:05] <burek> there are many ways, but I usually do it like this, since its portable
[22:05] <burek> login to shell as root
[22:05] <burek> and type: crontab -e
[22:05] <burek> after that, add a line at the end of the text file like this
[22:06] <burek> @reboot /usr/local/bin/ffserver -d
[22:06] <burek> wait, I'm not sure if it's -d
[22:06] <burek> for daemon mode
[22:06] <burek> oh it runs in daemon mode by default, nice :)
[22:06] <burek> so
[22:07] <burek> @reboot /usr/local/bin/ffserver 1>/dev/null 2>&1
[22:07] <burek> that's it, save the file and try the reboot
[22:08] <NonaSuomy> thank you will give that a go
[22:08] <burek> ok :)
[22:08] <NonaSuomy> last question I was trying to change my flv to h264 as you can see by cam3.mp4 do you happen to know what im doing wrong same conf
[22:09] <NonaSuomy> when I run the stream it just keeps reconnecting
[22:09] <NonaSuomy> to infinity
[22:09] <burek> you tried remuxing flv format to h264 format or you tried re-encoding flv video codec to h264 codec?
[22:10] <burek> do you have any pastebin of log that shows that reconnecting attempts?
[22:12] <NonaSuomy> the cameras are sd and is a 4 port capture card with bnc connectors on it the cameras are sd old cameras I just want to rip them straight from the source to h264
[22:13] <NonaSuomy> instead of the current flv
[22:13] <NonaSuomy> was hoping for a less grainy picture
[22:13] <burek> ok, can you provide a log of what errors are, so we can troubleshoot them
[22:14] <NonaSuomy> does it barf the logs to /var/log?
[22:16] <burek> what? ffserver or ffmpeg?
[22:16] <burek> at stderr usually
[22:16] <burek> if you don't redirect them
[22:48] <Josh__> Hello!
[22:48] <Josh__> I had just a quick question regarding FFMPEG on Android.
[22:51] <NonaSuomy> so it says unknown decoder burek
[22:52] <NonaSuomy> running debian tried apt-get install libavcodec-extra-53
[22:52] <NonaSuomy> E: Unable to locate package libavcodec-extra-53
[22:52] <NonaSuomy> so trying to find that
[22:53] <NonaSuomy> cat /etc/issue
[22:53] <NonaSuomy> 6.0
[23:43] <NonaSuomy> burk so I found it in deb http://backports.debian.org/debian-backports squeeze-backports main
[23:43] <NonaSuomy> and got the codec installed
[23:43] <NonaSuomy> but still get this:
[23:43] <NonaSuomy> Unknown decoder 'libx264'
[23:44] <NonaSuomy> ffmpeg -vcodec libx264 -s 480x360 -level 30 -f mpegts -i /dev/video2 http://localhost:8090/cam3.ffm
[23:44] <NonaSuomy> ffmpeg version git-2012-08-13-ed8d827 Copyright (c) 2000-2012 the FFmpeg developers
[23:44] <NonaSuomy>   built on Aug 12 2012 23:13:28 with gcc 4.4.5 (Debian 4.4.5-8)
[23:44] <NonaSuomy>   configuration: --enable-gpl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
[00:00] --- Thu Aug 16 2012


More information about the Ffmpeg-devel-irc mailing list