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

burek burek021 at gmail.com
Sun Jul 8 02:05:02 CEST 2012


[00:06] <burek> redcat, what exactly is your goal?
[00:09] <redcat> I just want to suck in a disk file and send it to Wowza as a stream that Wowza can deliver to iOS devices (which means H.264 and either MP3 or AAC). That's it. More tasks to be done later, but that all for this initial attempt.
[00:16] <burek> redcat, did you try ffmpeg -re -i ~/Movies/Buchanan_480x270_816Kbps.m4v -vcodec copy -acodec copy -f mp4 rtmp://live.clickstreamtv.net:8086/live/test
[00:16] <burek> or
[00:16] <burek> ffmpeg -re -i ~/Movies/Buchanan_480x270_816Kbps.m4v -vcodec copy -acodec copy rtmp://live.clickstreamtv.net:8086/live/test
[00:25] <redcat> Still no joy: http://pastebin.com/YNjSv86F. First one gives basically the same error, second one complains "[NULL @ 0x9a682e0] Unable to find a suitable output format for 'rtmp://live.clickstreamtv.net:8086/live/test'
[00:25] <redcat> rtmp://live.clickstreamtv.net:8086/live/test: Invalid argument"
[00:36] <burek> redcat, try -f flv
[00:36] <burek> before rtmp://...
[00:37] <redcat> Hot damn! I thought I had tried that but apparently not - it's working fine. Thanks!
[00:38] <burek> :beer: :)
[01:13] <gnarface> so guys, everytime i see "Seems stream 0 codec frame rate differs from container frame rate" ... the resulting video always ends up to playback uneven... the frames play in spurts..... audio stays fine though
[01:14] <gnarface> bug in ffmpeg for real or is there something i'm doing wrong?
[01:18] <gnarface> it might only happen when i'm transcoding from dvd content
[01:18] <gnarface> not happening for raw mpeg2
[01:19] <blue_misfit> hi guys, I need to rewrite the timestamps on an MPEG-PS that was concatenated from a bunch of clips
[01:19] <blue_misfit> can ffmpeg do this?
[01:33] <gnarface> :(
[02:30] <marcosmlopes> someone can help me? http://stackoverflow.com/questions/11334568/how-to-stream-an-webm-video-through-ffmpeg-using-node-js
[02:49] <burek> marcosmlopes, what exactly is the problem with ffmpeg
[02:51] <marcosmlopes> burek: no one. My problem is how i can make an streaming server with ffmpeg output.
[02:54] <burek> what do you mean "make an streaming server with ffmpeg output"
[02:55] <burek> you can stream your media simply like this: ffmpeg -i <inputfile> -f mpegts udp://remoteip:port
[02:55] <burek> that's the simplest form
[03:11] <gnarface> burek: http://paste.debian.net/178024/
[03:11] <gnarface> burek: any ideas?
[03:11] <burek> uh..
[03:11] <burek> you need to compile your ffmpeg
[03:11] <burek> if possible
[03:12] <gnarface> burek: why, that one is too old?
[03:12] <burek> no, that one is not even ffmpeg
[03:12] <burek> its avconv or something
[03:12] <burek> "*** THIS PROGRAM IS DEPRECATED ***"
[03:12] <burek> so false
[03:12] <burek> uninstall that thing
[03:12] <burek> and try ubuntu compilation guide
[03:13] <gnarface> so its a problem with my ffmpeg?
[03:13] <gnarface> same command, same input, will generate proper output with the right one?
[03:13] <burek> if I were you, I would compile it, to be sure I'm actually using ffmpeg
[03:13] <burek> because of the recent libav/ffmpeg split
[03:13] <burek> and some immoral decisions
[03:13] <burek> which you are victim of
[03:14] <gnarface> indeed
[03:18] <burek> also the order of your options is kinda mixed up
[03:18] <gnarface> ah i see
[03:18] <gnarface> avconv != ffmpeg
[03:18] <gnarface> i thought it was just being renamed
[03:18] <burek> yes, that's the problem
[03:18] <gnarface> well i feel like this is a bug
[03:18] <gnarface> do they have their own irc channel?
[03:19] <burek> it's not renamed.. it's a fork, but they didn't want it to be a fork.. anyway.. just compile it from source, to be sure
[03:19] <gnarface> didn't want it to be a fork?
[03:19] <burek> I don't know, use google
[03:19] <burek> well they tried to take the domain name and git server
[03:19] <burek> etc
[03:20] <burek> so much about fair play
[03:20] <gnarface> yikes
[03:20] <burek> anyway, also take care of the order of your options
[03:20] <burek> the order does matter
[03:21] <gnarface> what did i do wrong?
[03:21] <burek> ffmpeg (input options) -i input1 (input options) -i input2 (input options) -i input2 ... (output options) output1 (output options) output2 (output options) output3 (output options) output4 ...
[03:21] <burek> input3*
[03:21] <gnarface> i didn't do that?
[03:21] <burek> your -map options are beyond output
[03:21] <burek> so they are most probably gonna get ignored
[03:21] <gnarface> oh
[03:21] <gnarface> huh
[03:21] <burek> and such things
[03:21] <gnarface> they always worked before but i'll move them
[03:21] <burek> so check your options
[03:22] <gnarface> i thought they were output options
[03:22] <gnarface> they're audio options?
[03:22] <burek> also, when your output file name ends with .avi then you don't need to specify -f avi
[03:22] <burek> it's auto figured out
[03:22] <gnarface> noted
[03:22] <burek> -map is used to select which streams from input(s) do you want in the output
[03:23] <gnarface> so its an input option?
[03:23] <gnarface> it belongs before -f?
[03:23] <burek> so, usual way to use it would be: ffmpeg -i ... -i ... -map ... output ...
[03:23] <gnarface> oh
[03:23] <gnarface> yea so i'd put it after -i fight_club.VOB?
[03:24] <burek> if that's the only input, yes
[03:25] <burek> btw, do you have a specific reason why do you use vcodec mpeg4
[03:26] <gnarface> compatibility?
[03:27] <burek> ok
[03:28] <gnarface> what do you recommend?
[03:28] <burek> well, if you can, it's (imho) better to use libx264
[03:29] <burek> it compresses video beautifully
[03:29] <burek> you select your desired quality with -crf and desired speed with -preset
[03:29] <burek> (x264 --help for more info)
[03:29] <burek> and that's mostly it
[03:30] <burek> but if you need compatibility, then stick with mpeg4
[03:30] <gnarface> so this is the right order?
[03:30] <gnarface> ffmpeg -analyzeduration 20000000 -i fight_club.VOB -map 0:0 -map 0:1 -f avi -vcodec mpeg4 -s 320x240 -qscale 1 -aspect 16:9 -g 300 -bf 2 -acodec libmp3lame -ab 128k fight_club.avi
[03:30] <gnarface> just so i'm clear?
[03:30] <burek> no need for "-f avi"
[03:30] <gnarface> ah, yes
[03:31] <gnarface> but otherwise that's right?
[03:31] <burek> the rest is fine
[03:31] <burek> should work as you expect it
[03:31] <gnarface> i think you're correct that this copy of ffmpeg i have is actually a copy of avconv
[03:31] <gnarface> i think perhaps this command i am using used to work when it was still ffmpeg
[03:31] <burek> yes
[03:31] <gnarface> the playback looks like a failure to inverse telecine or something
[03:31] <gnarface> i think
[03:32] <gnarface> it basically has solid sounding audio
[03:32] <gnarface> but the video playback speeds up and slows down
[03:32] <gnarface> rapidly
[03:32] <burek> with latest ffmpeg?
[03:32] <gnarface> well... no we're talking about the latest one in debian squeeze here
[03:32] <burek> oh..
[03:32] <burek> that's a crap
[03:32] <gnarface> which as you've informed me i now realize is ffmpeg version 0.8.3-6:0.8.3-4, Copyright (c) 2000-2012 the Libav developers
[03:32] <gnarface>  (actually avconv)
[03:32] <burek> debian usually follows its "stable" philosophy
[03:33] <burek> which means you usually end up with software that is some times even 2 years old
[03:33] <burek> but considered stable :)
[03:33] <burek> which in multimedia world is pretty ancient
[03:33] <gnarface> *sigh*
[03:33] <gnarface> well its a big pain in the ass to build ffmpeg
[03:33] <burek> so, it is always a good idea to compile it :)
[03:33] <gnarface> i guess i'll have to do it again
[03:33] <burek> no it's not
[03:33] <burek> if you are on linux
[03:33] <burek> you can even try static builds
[03:34] <burek> just download and run
[03:34] <burek> if that works, then no need to compile anything :)
[03:40] <burek> i need to go.. good luck with that :)
[03:40] <burek> o/
[03:41] <gnarface> thanks...
[03:49] <Sashmo> can anyone tell me why these files wont play with ffplay https://www.dropbox.com/sh/caucwrx4lby340u/9UJTVefh4d
[03:50] <Sashmo> here is the error http://pastebin.com/MzwiK3x9
[04:54] <llogan> Sashmo: chunks-4.ts plays fien for me
[04:55] <llogan> Sashmo: also, you're not using ffmpeg from FFmpeg. you are using "ffmpeg" from a fork of FFmpeg.
[04:56] <llogan> chunks-278.ts is ok too
[04:57] <llogan> or i should say "ffplay"
[09:35] <Darkyen> Is there a fix for Include error in fedora ?
[09:36] <Darkyen> fedora puts all the include files into ffmpeg folder into there respective directories
[09:37] <Darkyen> when i include they are supposed to be in include/respective directories/
[09:38] <Darkyen> ?
[09:38] <Darkyen> " /usr/include/ffmpeg/libavcodec/avcodec.h:30:33: fatal error: libavutil/samplefmt.h: No such file or directory "
[10:29] <Darkyen> using symlink
[12:18] <burek> Sashmo
[12:19] <burek> man, that libav really gave you a decent headache these days :)
[14:34] <cinelli> I have some security video footage from my apartment complex that I need to give to the detective, is there a way to convert .uvm video's to .avi ir mpeg .. something more convenient?
[14:47] <ackbahr> Hi! I'm trying to encode a webm video, so I need to use the libvorbis audio codec. When I encode my video in 600x336 pixels it works, but when I change the resolution to 1000x562 it says "[libvorbis @ 0x9fa1000] oggvorbis_encode_init: init_encoder failed" and "Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height" and doesn't encode! The only difference is the video bitrate (200k and 1000k resp
[14:52] <sacarasc> ackbahr: Can you paste the complete command and output to a pastebin and give us the link?
[14:52] <sacarasc> cinelli: You should ask if they can use the original, because reencoding to a lossy format loses details.
[14:52] <ackbahr> sacarasc: Ok!
[14:52] <cinelli> sacarasc: there's already enough detail lost lol
[14:53] <cinelli> sacarasc: the software from the website is crap... guess i'm up shits creek?
[14:53] <sacarasc> I don't know if ffmpeg can take .uvm files, so *shrug*
[14:55] <ackbahr> sacarasc: http://pastebin.com/JcUF3M1h
[15:05] <ackbahr> sacarasc: Rings a bell?
[15:06] <sacarasc> You're not even using ffmpeg, but a fork called libav.
[15:06] <sacarasc> And you set your audio bitrate to 1000k which is too high for vorbis.
[15:07] <ackbahr> sacarasc: Audio bitrate is 64k, not 1000k (this is the video bitrate).
[15:09] <ackbahr> sacarasc: As for the fork stuff sorry, I assumed by the command that I was in the right place.
[15:09] <sacarasc> Use -b:a and -b:v.
[15:09] <sacarasc> For audio and video respectively.
[15:09] <sacarasc> And if you read the output, you'd see it's trying to use 1000k for the audio. :p
[15:09] <ackbahr> sacarasc: I found this : ffmpeg -i input_file.avi -codec:v libvpx -quality good -cpu-used 0  -b:v 1200k -maxrate 1200k -bufsize 2400k -qmin 10 -qmax 42 -vf  scale=-1:480 -threads 4 -codec:a vorbis -b:a 128k output_file.webm Does it seem good?
[15:10] <sacarasc> Sure.
[15:10] <ackbahr> sacarasc: But I did use -ab as opposed to -b .... Why won't it use them accordingly?
[15:12] <ackbahr> sacarasc: Well, thanks a lot, I gotta go, but I'm sure going to take the position of arguments into account (even more than before)!
[15:18] <burek> ackbahr are your width/height divisible by 4?
[15:19] <burek> oh his error comes from audio
[15:19] <burek> ignore me then :)
[15:27] <Sashmo> Hey everyone, Im using ffmpeg to encode these files, this is output files https://www.dropbox.com/sh/caucwrx4lby340u/9UJTVefh4d FFplay gives me errors playing them, and even VLC cant play it either, mediainfo ssays that the audio is encoded as ADTS and I dont know how to change it.  Here is the ffplay error, and the command line that im using http://pastebin.com/NSsNdGhD, here is the error from ffplay, http://pastebin.
[16:15] <burek> Sashmo,
[16:15] <burek> please COMPLETE pastebin output
[16:15] <burek> not just a fragment
[17:09] <nbx> hello guys, im trying to install ffmpeg to ubuntu 11.04 machine with terminal. The problem is that i cant install libfaac-dev package, it shows  Unable to locate package libfaac-dev. Any solutions?
[17:12] <burek> ubuntu doesn't have ffmpeg
[17:12] <burek> you need to compile it from source
[17:13] <nbx> i know that, im trying to do that, but im getting error
[17:13] <burek> if you need to test something quickly and have no time to compile all that, try static build
[17:13] <burek> or http://dl.dropbox.com/u/24633983/ffmpeg/index.html
[17:20] <nbx> now im getting this error "FATAL: kernel too old " then im typed ./ffmpeg
[17:21] <burek> try that other link
[17:21] <burek> the 1st link is for newer kernels 3.x+
[17:21] <burek> and the 2nd link is for 2.x+
[17:26] <nbx> i downloaded that 2nd link, extracted, and what next? this ./ffmpeg not working
[17:31] <burek> well should be the same
[17:31] <burek> what exactly do you mean "not working"
[17:33] <nbx> root at nbx:~# ./ffmpeg-linux64-20120628/ffmpeg FATAL: kernel too old Segmentation fault
[17:33] <burek> nbx, type uname -a
[17:34] <nbx> Linux nbx 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
[17:34] <burek> 2.6.18 < 2.6.26
[17:34] <burek> "These binaries will work with any system that runs 64bit (x86_64) Linux with kernel 2.6.26 or later."
[17:34] <burek> did you recently do: apt-get update
[17:34] <burek> and apt-get dist-upgrade
[17:34] <burek> ?
[17:35] <burek> because your kernel is really old
[17:35] <burek> btw, you can always compile your own ffmpeg if you like
[17:35] <nbx> i just ordered VPS server
[17:35] <nbx> im gonna do apt-get update
[17:35] <nbx> now
[17:36] <burek> ok
[17:36] <burek> update will just update your repos list
[17:36] <burek> dist-upgrade or just upgrade
[17:36] <burek> will update your installed packages
[17:36] <burek> (including the kernel)
[17:37] <burek> I need to go now, hope somebody else will continue to help you if needed
[17:37] <burek> good luck :)
[17:37] <nbx> thanks
[19:54] <iTux> Hi
[19:56] <iTux> The folder where ffmpeg is install while "sudo make install" isn't in my path (I think, because "ffmpeg" isn't found on my terminal), can you tell me where is it ?
[20:03] <sacarasc> If you didn't change it (using --prefix= when configuring) it should be /usr/local/bin/ffmpeg
[20:07] <arpu> hello is it possibe to have a automatic aspect ratio change dedection ? like mplayer do it
[20:10] <iTux> sacarasc : hum, I think I will retry whithout "--prefix=/usr/local", the binary isn't here :/
[20:11] <sacarasc> --prefix=/home/user/install and then putting /home/user/install/bin into the path is often useful, then you don't even have to use sudo to install it.
[20:11] <iTux> Ok, if that doesn(t work, I try that
[20:19] <iTux> http://pastebin.com/mCZk1q2j
[20:20] <iTux> fail :/
[20:24] <sacarasc> Did you previously compile as root?
[21:05] <iTux> whith sudo, yes, but not as root (using su, or log as root)
[21:46] <RobertNagy> how do I enable sliced_threads for libx264?
[21:54] <Jax> hello!
[21:54] <Jax> i have 6 MTS files, is there an easy way to multiplex these so they play simultaneously in a 2x3 grid?
[21:55] <Jax> no sound.
[21:55] <Jax> just need to be pointed in the right direction
[22:30] <catdudeIL> I need to use ffmpeg to transcode an MPEG2 stream that I'm bring fed over UDP. I've used nc to capture what I'm being given to identify it; the results are in the first part of http://pastebin.com/YtnMXsiD. Also in that pastebin is the results I get with a few different ffmpeg command lines. I keep getting "Error while opening encoder for output stream #0:1 - maybe incorrect parameters such...
[22:30] <catdudeIL> ...as bit_rate, rate, width, or height" (stream 0:1 is the audio stream). Also of interest is where the output streams are identified, and the video stream says "Stream #0:0: Video: h264, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=-1--1, 90k tbn, 29.97 tbc" (that q=-1--1 part intrigues me). Any clues as to what I need to do to pull this off?
[00:00] --- Sun Jul  8 2012


More information about the Ffmpeg-devel-irc mailing list