[Ffmpeg-devel-irc] ffmpeg.log.20121028
burek
burek021 at gmail.com
Mon Oct 29 02:05:01 CET 2012
[00:25] <surfn> hi, really sorry to bug in here... I'm trying to stream a webcam and while I can output to temp.avi when I try to output to http://localhost:8080/webcam.ffm
[00:25] <surfn> I get "TCP connection to localhost:8080 failed: Connection refused
[00:25] <surfn> http://localhost:8080/webcam.ffm: Input/output error"
[00:26] <surfn> I'm at the point where I don't even know where to look for further information
[00:26] <surfn> ls -l /var/www gives "ls: cannot access /var/www: No such file or directory"
[00:28] <cbreak> yeah, and?
[00:29] <cbreak> you can't list the content of a directory that does not exist.
[00:29] <surfn> I was just checking if there were other servers running, or any reason I can't output to localhost
[00:29] <cbreak> what do you mean with output to localhost?
[00:29] <cbreak> you are already on localhost
[00:30] <cbreak> just store it in a file
[00:30] <cbreak> that file will be on localhost.
[00:30] <surfn> yes, but I want it to stream to other computers
[00:31] <surfn> so my output is "http://localhost:8080/webcam.ffm"
[00:31] <cbreak> you do? then why are you messing around with localhost?
[00:31] <surfn> this is the command I'm using: sudo ffmpeg -v verbose -r 30 -s 320x240 -f video4linux2 -i /dev/video0 http://localhost:8080/webcam.ffm
[00:32] <surfn> (sorry doens't need sudo - just had that in case it helped... it didn't)
[00:32] <surfn> and that returns this: [tcp @ 0x2aedda0] TCP connection to localhost:8080 failed: Connection refused
[00:32] <surfn> http://localhost:8080/webcam.ffm: Input/output error
[00:33] <cbreak> http://ffmpeg.org/trac/ffmpeg/wiki/Streaming%20media%20with%20ffserver
[00:33] <surfn> cheers, will read
[00:33] <cbreak> you need ffserver
[00:59] <surfn> cbreak: cheers, got ffserver running, :) for that - got a new prob now though
[00:59] <surfn> The v4l2 frame is 8316 bytes, but 153600 bytes are expected bitrate=3323.6kbits/s
[00:59] <surfn> /dev/video0: Invalid data found when processing input
[01:18] <surfn> "The v4l2 frame is 275 bytes, but 153600 bytes are expected" - how do I fix that?
[01:39] <surfn> there must be a switch for the bitrate, but I don't know what it is, nor how to set it
[01:40] <surfn> can it just ignore the bitrate exapected values?
[01:53] <surfn> been searching, no ideas...
[01:55] <durandal_1707> PwrSurge: use pastebin and similar do not paste directly here.....
[01:58] <PwrSurge> ok, sorry
[02:01] <surfn> Here's my pastebin - http://pastebin.com/NqGxTjtP
[02:01] <surfn> what setting do I need to avoid this: The v4l2 frame is 129276 bytes, but 153600 bytes are expected
[02:02] <edrx> (warning: ffmpeg newbie question ahead!) I am trying to use ffmpeg in a script - like this:
[02:02] <edrx> ffmpeg -loglevel quiet -f x11grab -s 512x600 -r 5 -i $DISPLAY /tmp/out.mp4
[02:03] <edrx> to create a screencast... but if I add a "&" ffmpeg gets stuck, with this message:
[02:08] <edrx> [2] + suspended (tty output) ffmpeg -loglevel quiet -f x11grab -s 512x600 -r 5 -i $DISPLAY /tmp/out.mp4
[02:08] <edrx> how do I make ffmpeg even more quiet?...
[02:13] <mark4o> edrx: >/dev/null 2>&1 &
[02:20] <edrx> mark4o: perfect, thanks! =)
[02:59] <bjrohan> I am having issues converting an ffmpeg ogv file to MPEG-4 I get the following error message (using ffWIN) http://paste.ubuntu.com/1311252/
[02:59] <bjrohan> Ultimately I want to convert from an ogv to a mov file
[03:07] <JCDenton> Does FFMPEG make use of your GPU at all?
[03:07] <JCDenton> Or is CPU power all that (natively) matters?
[03:11] <JCDenton> Nevermind, should read the wiki first
[03:11] <JCDenton> "No. libx264 doesn't use them (at least not yet). There are some proprietary encoders that utilize the GPU, but that does not mean they are well optimized, though encoding time may be faster; and they might be worse than x264 anyway, and possibly slower. Regardless, FFmpeg today doesn't support any means of gpu encoding, outside of libx264."
[03:16] <knob> Hello, I ran ffmpeg -i rtsp://root:obvious@10.0.0.64:554/mpeg4/media.amp out.mp4 in a Debian box, and it came back Illegal Instruction
[03:16] <knob> Are there log files or something I could check? Any ideas?
[04:56] <GRMrGecko> Is there a way to copy chapters in a way which is compatible with iphone/ipad/quicktime into an MP4?
[04:56] <GRMrGecko> I know the way Apple does things is they have a text track with the chapter information
[04:57] <GRMrGecko> I know how to do chapters in MKVs
[04:58] <bjrohan> Hi there. i am trying to convert an ogv file to mov using ffwin (gui for ffmpeg) and I get the following errors, how do I remedy this I am running Ubuntu 12.10: http://paste.ubuntu.com/1311394/
[04:59] <GRMrGecko> I have ffmpeg 0.11.1
[05:00] <bjrohan> I am have libx264-123 installed
[05:05] <GRMrGecko> maybe mp4box can do it
[05:09] <funyun> hi. i have a video which has audio 5 seconds too slow. how can i edit the file with ffmpeg to make the video/audio in sync?
[05:19] <funyun> anyone know?
[05:32] <funyun> anyone here us ffmpeg?
[10:50] <naxil> hello
[10:51] <naxil> i need to make this file
[10:51] <naxil> Stream #0.0: Audio: 0x0162, 48000 Hz, stereo, s16, 384 kb/s
[10:51] <naxil> Stream #0.1: Video: wmv3, yuv420p, 640x480, 1000 kb/s, 25 tbr, 1k tbn, 1k tbc
[10:51] <naxil> now i have wmv3 and i think is possible.. but what is 0x0162?
[10:51] <naxil> right command line?
[12:00] <cbsrobot> naxil: sounds like "Windows Media Professional v9"
[13:53] <francogrex> trying this: ffmpeg -i movie.hardsubs.avi -vcodec libx264 -vpre ipod640 -r 15 -q 8 -acodec libfaac -ab 64k -ac 1 -ar 44100 -s 480x320 -t 60 video.mp4 but sound sucks, a lot of skipping and sqeezing noises
[13:53] <francogrex> what can I do to improve it?
[13:59] <vlt> Hello. Im trying `ffmpeg -i source.3gp -map 0:0 -vcodec copy output.mkv` for an input file with 0.0 video and 0.1 audio but I get "Number of stream maps must match number of output streams". I only want video. How to tell that ffmpeg?
[14:11] <cbsrobot> vlt: add -an
[14:11] <brontosaurusrex> vlt: drop the map, add the -an
[14:11] <cbsrobot> brontosaurusrex: :-D
[14:12] <brontosaurusrex> :)
[14:13] <brontosaurusrex> francogrex: increase the bitrate or use some he aac encoder (if your device supports thaz)
[14:13] <brontosaurusrex> that*
[14:14] <francogrex> ok
[14:14] <brontosaurusrex> francogrex: at 64k you can get nice he-aac stereo
[14:16] <francogrex> what's a good he-acc and how can i use it, does it come embedded in ffmpeg?
[14:17] <brontosaurusrex> francogrex: what os are you on?
[14:17] <francogrex> linux debian
[14:18] <brontosaurusrex> francogrex: usage http://www.hydrogenaudio.org/forums/index.php?showtopic=95989&st=50&p=804484&#entry804484
[14:18] <brontosaurusrex> and you will have to compile it yourself with fraunhofer aac encoder
[14:19] <brontosaurusrex> at least thats what i would do
[14:20] <francogrex> ok thanks
[14:20] <brontosaurusrex> francogrex: how to compile ffmpeg on debian and scroll down for how to add fraunhofer http://crunchbanglinux.org/forums/post/248894/
[14:21] <brontosaurusrex> (thats for debian wheezy)
[14:23] <brontosaurusrex> also i can find a *.deb (slightly old by now) if motivated
[14:25] <francogrex> it's ok brontosaurusrex I can try to build it from src
[14:25] <francogrex> thanks
[14:25] <brontosaurusrex> thats manly
[14:25] <brontosaurusrex> yw
[14:35] <GRMrGecko> I need to make a motion jpeg with specific frames at specific times. As in, frame 1 at 0:00 frame 2 at 1:25.52 frame 3 at 4:23.12
[14:35] <GRMrGecko> is this possible?
[14:36] <GRMrGecko> I know how to do it with the quicktime API.
[14:49] <cbsrobot> GRMrGecko: you could encode the frames first to a intermediate file and concatenate the together afterwards
[14:49] <cbsrobot> but i'm not sur it will be frame accurate
[14:49] <cbsrobot> *sure
[14:50] <brontosaurusrex> how is that even called?
[14:50] <brontosaurusrex> its not vfr i guess
[14:51] <brontosaurusrex> last time i tried those kind of stuff is not even decoded properly with ffmpeg
[14:52] <GRMrGecko> cbsrobot: You mean like make a VOB file with the delay set to those time peroids and then concat them?
[14:52] <brontosaurusrex> vob is not motion jpeg
[14:52] <cbsrobot> well it's not really vfr
[14:52] <cbsrobot> do you need vvfr ?
[14:52] <cbsrobot> *vfr
[14:52] <GRMrGecko> My end goal is to get a MP4 with a disabled video track of chapter images which will display on the iPad
[14:53] <GRMrGecko> I don't know if this is even possible without the quicktime API.
[14:54] <cbsrobot> & disabled video track ??
[14:54] <GRMrGecko> cbsrobot: Yes
[14:54] <GRMrGecko> cbsrobot: http://p.webra.in/ec
[14:55] <smellynosery> Hi - I have a peculiar issue - my command works, but not when I try to pipe it out - http://pastebin.com/76TvMpj7
[14:55] <GRMrGecko> let me do an MP4box info
[14:55] <smellynosery> Can anybody help? Commands and result in the paste bin :)
[14:57] <GRMrGecko> cbsrobot: http://p.webra.in/e5
[15:00] <GRMrGecko> I know I can possibly use mp4box to add the track I create with the motion jpeg to the MP4 with it disabled.
[15:01] <GRMrGecko> So, all I need to know is how to make the motion jpeg video
[15:01] <cbsrobot> GRMrGecko: can you pastebin the uncut console output of ffmpeg ?
[15:01] <cbsrobot> ffmpeg -i file
[15:02] <GRMrGecko> cbsrobot: http://p.webra.in/en
[15:03] <GRMrGecko> that's just one of the apple itunes videos I have, I am using it as an example of my end result that I want.
[15:06] <GRMrGecko> I know it should be possible with the libraries that ffmpeg uses.
[15:09] <cbsrobot> GRMrGecko: well maybe, but I'm not sure how
[15:10] <GRMrGecko> cbsrobot: Do you think I should go to the quicktime APIs for this?
[15:11] <cbsrobot> GRMrGecko: maybe MP4_maniac knows if it is possible. He's the author of l-smash.
[15:11] <smellynosery> Interestingly my pipe output isn't working into a fifo (tail -f doesn't show anything) _until_ I kill ffmpeg and then there is data returned from tail -f - hmm
[15:11] <MP4_maniac>
[15:13] <GRMrGecko> maybe mencoder?
[15:14] <brontosaurusrex> smellynosery: what makes you think you can just tail this specific video format?
[15:15] <smellynosery> brontosaurusrex, why wouldn't I be able to? the output of ffmpeg (-y -f mpeg2video pipe: > /tmp/testmpg) should be tailable, no?
[15:16] <cbsrobot> Hi MP4_maniac GRMrGecko was wondering if it is possible to create a stream like stream#3 in http://p.webra.in/en - I thought you may know that.
[15:17] <brontosaurusrex> smellynosery: well, yes, but you get unpredictable start of the stream as out i imagine
[15:20] <MP4_maniac> ????
[15:20] <GRMrGecko> MP4_maniac: It's a track with a picture for each chapter at the time which the chapter starts
[15:23] <MP4_maniac> vfr?
[15:24] <GRMrGecko> MP4_maniac: Sort of, basically a picture at times such as 0:00, 2:23, 5:45
[15:25] <GRMrGecko> If you need to see an example, I can extract that track to a mp4 file for you to look at.
[15:26] <MP4_maniac> you can write timestamps for each picture by mkv timecode v2, and use tc2mp4(Mod) with it, then you could get such movie i think
[15:26] <brontosaurusrex> vfr abused to get chapter lenght + chapters + disable playback type of thingy < i imagine
[15:27] <GRMrGecko> MP4_maniac: That's a good idea
[15:46] <wm4> how do I change a ticket's resolution from invalid to closed?
[15:58] <cbsrobot> wm4: at the bottom, click on "Modify Ticket"
[15:59] <cbsrobot> not sure if you need the appropriate permissions
[16:00] <cbsrobot> wm4: hmm, invalid is a subset of closed - no ?
[16:00] <wm4> cbsrobot: yes
[16:01] <cbsrobot> I mean, when closing I can set it to "fixed" or "invalid" & etc
[16:01] <cbsrobot> so no need to change from invald to closed
[16:02] <cbsrobot> you could change it from invalid to fixed ot wontfix ...
[16:02] <cbsrobot> but all of them mean that the ticket is closed
[16:02] <wm4> I'd have to reopen it, and then close it again
[16:02] Action: wm4 doesn't bother
[16:02] <cbsrobot> hehe
[16:02] <cbsrobot> what ticket ?
[16:04] <cbsrobot> and to what resolution (fixed,wontfix,invalid, worksforme) you want to close it ?
[16:06] <GRMrGecko> Is this the correct timecode file format? http://p.webra.in/e2
[16:06] <GRMrGecko> each line is /1000 to get seconds
[16:10] <GRMrGecko> think I figured my issue
[16:11] <GRMrGecko> Warning: Quicktime/MP4 reader: MPEG4 track 1 is missing the esds atom/the decoder config. Skipping this track.
[16:12] <GRMrGecko> to make the MP4, I've done ffmpeg -i chapters-%d.jpg -vcodec mjpeg chapters.mp4
[16:16] <GRMrGecko> http://p.webra.in/ej
[16:18] <GRMrGecko> cbsrobot: Do you know?
[16:18] <cbsrobot> well the editlist is missing
[16:18] <cbsrobot> I guess
[16:18] <GRMrGecko> cbsrobot: How can I fix it?
[16:19] <cbsrobot> ah wait
[16:19] <cbsrobot> no its the Elementary Stream Description atom
[16:19] <cbsrobot> I'm not sure
[16:20] <GRMrGecko> cbsrobot: Maybe output to mkv?
[16:20] <cbsrobot> try it
[16:24] <GRMrGecko> Duration : 440ms <- doesn't look like the timecode file is being applied
[16:24] <GRMrGecko> however I can tell it's all the chapters as there is 11 and 11*40 = 440ms
[16:26] <GRMrGecko> mkvmerge chapters.mkv --timecodes 1:chapters.tc -o chapters2.mkv
[16:34] <GRMrGecko> can't seem to figure out why it's not using my timecode file
[16:35] <GRMrGecko> cbsrobot: Am I running the commannd correctly?
[16:36] <GRMrGecko> Maybe it's the decimal point?
[16:37] <GRMrGecko> nope
[17:10] <GRMrGecko> Going ahead on work for the QTKit version as I'm fairly positive I can complete it witht hat.
[17:14] <vlt> cbsrobot (and bronto): Thanks!
[17:15] <bjrohan> Hey everyone. Can I get help with codecs? I can't get video files to convert, specifically to .mov files (the only one I have tried) in the command line, and also in kdenlive, says it doesn't recognize my libx264
[17:33] <Mavrik> hmm
[17:33] <Mavrik> bjrohan, first show us your ffmpeg output and command line (like chanserv told you) and tell us what are you trying to accomplish :)
[17:35] <bjrohan> I am trying to convert a desktoprecord ogv file to a .mov file. As this is my first shot I am trying via gui not commande line. here is what I get when trying in FFWIN: http://paste.ubuntu.com/1311394/
[17:35] <bjrohan> sorry WinFF
[17:35] <Mavrik> why .mov?
[17:35] <Mavrik> that's a proprietary Apple container not really comfortable with H.264 :)
[17:36] <Mavrik> bjrohan, and of course, your avconv (which is't ffmpeg) doesn't have libx264 H.264 encoder compiled in
[17:36] <Mavrik> thus it can't encode H.264
[17:36] <bjrohan> When I try to export via KDenlive, I select h264 and it says unsupported video codec libx264
[17:37] <Mavrik> yeah, obviously your libav* libraries haven't been compiled with libx264
[17:37] <Mavrik> bjrohan, as I can see you're on ubuntu
[17:37] <Mavrik> apt-get ubuntu-restricted-extras and retry.
[17:38] <bjrohan> have the restricted extras package installed already
[17:40] <Mavrik> hmf
[17:40] <Mavrik> bjrohan, something is broken with your system installation of avconv then
[17:41] <Mavrik> grab a static build from http://dl.dropbox.com/u/24633983/ffmpeg/index.html and convert with that
[17:41] <bjrohan> Is there a way to uninstall and reinstall what I need?
[17:42] <bjrohan> Do you by chance have a link to a 32bit one?
[17:43] <bjrohan> Will this work: http://ffmpeg.gusari.org/static/
[17:44] <bjrohan> What if anything do I need to uninstall to get it to work properly
[17:47] <Mavrik> point of it being a static build is that you don't need to re/uninstall anything, it's completely standalone
[17:47] <Mavrik> and sadly I can't really help you about fixing your Ubuntu... ubuntu ships "avconv" under name ffmpeg and is integrated into system, talk to them about fixing their OS
[17:48] <Mavrik> gusari should have 32-bit static builds yea
[17:48] <bjrohan> Okay. Thank you :_)
[17:48] <bjrohan> :-)
[17:59] <dv_> what is the difference between ffv1 and ffvhuff? are they the same? google doesnt help here :|
[18:10] <JEEB> dv_, ffvhuff is a fast huffman-based lossless format
[18:10] <JEEB> ffv1 is a more sophisticated format that compresses better, but is often slower
[18:13] <dv_> ok, thanks
[18:33] <bjrohan> I followed the install instructions on the ffmpeg page. It erased my Kdenlive, and WinFF. I reinstalled, and still have the same problems as far as not finding the codecs. Is it possible this is because it isn't looking in my home directory forffmpeg?
[18:37] <bjrohan> I need serious help. I installed ffmepg via the instructions here: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide which seems to install ffmpeg to my home directory, now my programs can not find it (even command line bash: /usr/bin/ffmpeg: No such file or directory). How do I install to /usr/bin??
[18:41] <bjrohan> I assume I make a symlink? if so how exactly please
[18:42] <foonix> any reason why writing library is different http://pastebin.com/BkGU11Qm ?
[18:43] <foonix> should be same, since its scripted wmv->mkv (libx264, libmp3lame)
[18:45] <foonix> NB: -map_metadata -1 is used
[18:52] <GRMrGecko> ok& I got code written in QTKit, now I just need to find out how to merge with the MP4
[18:52] <GRMrGecko> maybe I'll just do this in QTKit as well
[18:55] <foonix> added some source info, updated: http://pastebin.com/CfWB4StP
[18:55] <bjrohan> I finally got ffmpeg to work by running the ubuntu install guide on ffmpeg.org, and creating a symlink from /usr/bin to my home dir where ffmpeg installed. I tried to convert an ogv to mov file and here is what I received: http://paste.ubuntu.com/1312997/ Since I just installed what may havve happened?
[20:08] <bjrohan> My sound was playing just fine on my Ubuntu 12.10 laptop. I was having issues with the installed ffmpeg from repo, so I uninstalled them, then reinstalled via commandline here:https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide Now my audio playback is garbled, any ideas why?
[20:08] <bjrohan> also, I still can not get files to convert :-(
[20:09] <bjrohan> I am new to linux and very new to video/audio, any help is appreciated
[20:10] <bjrohan> Ironically, web video audio (youtube) plays just fine. Files I record via RecordMyDesktop on my machine are garbled, sent to my wifes windoze machine and it plays fine
[20:25] <retard> that's not really ironic
[20:28] <bjrohan> retard: I wsa using dragon to play the video, I installed VLC, it plays just fine
[20:29] <retard> i don't know what dragon is
[20:29] <retard> well, i know what a dragon is
[20:30] <bjrohan> hehe, a player installed by default on my fresh kubuntu 12.10 install
[20:31] <bjrohan> I am now trying to convert to mov in vlc, seems to work fine
[20:32] <bjrohan> well convert ogv to something using mpeg-4 and mp3, I assume mov
[20:32] <bjrohan> I am from windoze that doesn't have all these options, just convert to avi or mov really
[20:34] <retard> what
[20:34] <retard> there are a million gazillion tools for doing this on windows
[20:35] <retard> ogv and mov are container formats
[20:35] <retard> as is avi
[20:35] <GRMrGecko> looks like it's more than I thought as using QTKit to add a chapter track and then a disabled motion jpeg track didn't add images to the iPad
[20:36] <retard> what format is the actual audio and video stream in
[20:37] <bjrohan> exaclty, on windows I would open, say convert and it would just give other me a few options like avi, mov, not all of the codec details
[20:37] <retard> if all you want to do is remux you can use ffmpeg -i whatever.avi -codec copy whatever.mp4
[20:38] <bjrohan> So like this:
[20:38] <bjrohan> ffmpeg -i VideoTute#1.ogv -codec copy VideoTute#1.mp4
[20:38] <retard> yeah
[20:38] <retard> all it does is remux though
[20:38] <bjrohan> exactly
[20:39] <retard> i have no idea what codec the video and audio is in
[20:39] <bjrohan> ogv
[20:39] <bjrohan> from RecordMyDesktop
[20:39] <retard> i've never used RecordMyDesktop
[20:39] <bjrohan> Here is the error I get http://paste.ubuntu.com/1313291/
[20:40] <bjrohan> I just installed ffmpeg from their website an hour ago or so
[20:44] <GRMrGecko> can't seem to find a way to do this
[20:53] <cbsrobot> GRMrGecko: still on the issue ?
[20:53] <GRMrGecko> cbsrobot: Yeah, I've tried using QTKit to add a video track with the frames
[20:53] <GRMrGecko> it worked
[20:53] <GRMrGecko> However, it didn't work
[20:53] <cbsrobot> what tool said: "Warning: Quicktime/MP4 reader: MPEG4 track 1 is missing the esds atom/the decoder config. Skipping this track."
[20:54] <cbsrobot> well sounds like a paradoxon to me
[20:54] <GRMrGecko> What I mean by didn't work is once I had the track there with the chapter track and placed it on my ipad
[20:54] <GRMrGecko> it only had one chapter
[20:54] <GRMrGecko> and it didn't have an image:P
[20:54] <GRMrGecko> where as where it worked
[20:55] <GRMrGecko> I had the tracks on the video:P
[20:55] <GRMrGecko> let me find out what tool that was
[20:55] <GRMrGecko> that was mp4box, but I got around that
[20:56] <GRMrGecko> because I ended up using QTKit
[20:56] <cbsrobot> ok
[20:57] <GRMrGecko> so yeah& I think I'm about ready to give up:P
[20:57] <GRMrGecko> seems that unless I wanted to go and view the mp4 hex values
[20:57] <GRMrGecko> and write my own tool
[20:57] <GRMrGecko> I wouldn't be able to do so
[20:59] <cbsrobot> what os do you use ?
[21:00] <GRMrGecko> Mac OS
[21:00] <GRMrGecko> but I have linux and windows installed
[21:01] <cbsrobot> try "atom inspector"
[21:01] <cbsrobot> you may find it handy
[21:02] <JEEB> also if you want to inspect stuff I recommend L-SMASH's boxdumper, even if L-SMASH itself doesn't support some things, boxdumper will output you a nice text output of the file's insides
[21:04] <JEEB> (it's usually used "boxdumper derp.mp4|mov|3gp > output.txt" because the output can get long /very/ easily
[21:52] <GRMrGecko> I'll just give up on it:P
[22:02] <chrisballinger> howdy
[22:19] <vandenoever> i'm reading data with avcodec_decode_audio4 and i'm wondering how to get only a single channel out of theAV_SAMPLE_FMT_S16 stream
[22:19] <vandenoever> should i take very other int16_t?
[00:00] --- Mon Oct 29 2012
More information about the Ffmpeg-devel-irc
mailing list