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

burek burek021 at gmail.com
Sat Jun 2 02:05:02 CEST 2012


[00:02] <DelphiWorld> so burek ?
[00:22] <DelphiWorld> Good night.
[02:33] <smjms> the reason for all this misery was binutils-gold
[02:33] <smjms> after removing that it started finding x264
[12:11] <Diogo> hi this is possible to insert label text on the fly during streaming to rtmp server..
[12:13] <Diogo> ?
[13:12] <undercash> hi
[13:13] <undercash> yesterday i asked about how including a logo in a video corner , somebody sent me link of filter option overlay
[13:13] <undercash> but when i use -filter_complex option, it say unrecognized option
[13:16] <saste> undercash: you're using an old version then
[13:16] <undercash> hm
[13:16] <undercash> not really
[13:17] <undercash> 4month old
[13:17] <saste> but no need to use -filter_complex, people was using overlay since ages before that option was introduced
[13:17] <undercash> i see
[13:19] <undercash> compiled ffmpeg on 26 january
[13:19] <undercash> too old then?
[13:19] <saste> ffmpeg -i INPUT -vf "movie=logo [logo]; [in][logo] overlay=..."
[13:20] <saste> yes, use the old syntax (which is still valid) or update your ffmpeg
[13:20] <undercash> i saw this too, so it s a valid alternative for complex filter
[13:20] <undercash> oki
[13:20] <undercash> thx
[13:21] <undercash> http://stackoverflow.com/questions/10438713/overlay-animated-images-with-transparency-over-a-static-background-image-using-f
[13:21] <undercash> great post about it (bottom)
[13:33] <undercash> what means the  over in over options?
[13:47] <saste> undercash: it's not an option, is a "label", used to connect together different filter chains
[16:48] <burek> how to tell ffmpeg that I want it to grab the input from usb camera as h264 stream (camera supports raw, mjpeg and h264 input, through usb connector)
[16:48] <burek> I've tried so far using "ffmpeg -f v4l2 -vcodec mjpeg -i /dev/video0" and it worked
[16:49] <burek> but if I specify h264 instead of mjpeg, I get "[video4linux2,v4l2 @ 0x84184a0] Cannot find a proper format for codec_id 28, pix_fmt -1."
[16:49] <burek> here is the output of v4l2-ctl: http://pastebin.com/2tmuPFYp
[16:50] <burek> so, how can I tell ffmpeg to grab the input from usb cam using h264 encoding?
[17:21] <iam8up> i'm trying to convert jpeg images to an mp4 video with -f image2 like the man page says but i'm getting error: Error while opening encoder for output stream
[17:23] <burek> http://ffmpeg.gusari.org/viewtopic.php?f=25&t=39
[17:25] <iam8up> first two give me the same error, the third command says Invalid value '1' for option 'loop'
[17:26] <burek> update your ffmpeg, it's old
[17:27] <iam8up> latest on the repo is 0.6.5 - should i use that or get the build 0.11 from the website?
[17:29] <burek> that is like from 1389
[17:29] <burek> BC
[17:30] <iam8up> lol ok
[17:32] <iam8up> http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide <--- WOW!!!  that's awesome
[19:07] <LittleFoot> hi
[19:07] <LittleFoot> how do i record a window
[19:07] <LittleFoot> is there a way to set a target window for recording
[19:08] <iam8up> LittleFoot, that doesn't sound like a job for ffmpeg; are you on windows?
[19:08] <LittleFoot> linux
[19:09] <iam8up> https://www.google.com/search?q=screen+record+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
[19:09] <iam8up> gtk record is pretty popular
[19:09] <LittleFoot> bro google that shit urself
[19:09] <LittleFoot> i know this homie
[19:10] <iam8up> so why are you in #ffmpeg?
[19:10] <LittleFoot> plz stop helping me
[19:10] <iam8up> well you're the ignorant immature moron that joined this channel asking for help
[19:11] <LittleFoot> a non noob will help me
[19:11] <mantas322> Hi ffmpeg people
[19:11] <mantas322> I have a question
[19:12] <mantas322> Is there a comprehensive list of all possible VIDEO MIMETYPES?
[19:12] <mantas322> somewhere out there?
[19:12] <iam8up> http://en.wikipedia.org/wiki/Internet_media_type
[19:12] <mantas322> Thanks Bro
[19:13] <mantas322> i figured there'd be more
[19:13] <iam8up> well for more... https://www.google.com/search?q=video+mimetypes&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
[19:13] <iam8up> there are always the stupid proprietary ones, going to be hard to fin da complete list though
[19:14] <mantas322> thanks anyways Bronado
[19:14] <iam8up> lol np
[19:14] <LittleFoot> bronado lol
[19:14] <LittleFoot> i was gona say wiki it too
[19:15] <LittleFoot> mantas have you heard of googles new video format .webm
[19:15] <mantas322> no i havent
[19:15] <LittleFoot> mess w it its prety cool
[19:15] <mantas322> not untill i need to for work
[19:15] <LittleFoot> lol
[19:15] <mantas322> I got 99 problems and google video format aint 1
[19:16] <LittleFoot> omg
[19:16] <LittleFoot> well LERN
[19:16] <LittleFoot> jk
[19:16] <mantas322> i will.
[19:16] <mantas322> so tell me whats so great about it?
[19:16] <LittleFoot> not sure the details
[19:16] <mantas322> its works with every codec and can convert to any type flawlessly?
[19:16] <LittleFoot> but its better than x264
[19:16] <LittleFoot> and its the recomended new format for youtube
[19:26] <mantas322> so do the majority of you who use ffmpeg programmatically, do you also use the CCCP codec?
[19:26] <mantas322> or is there another super free super supported codec outthere that im not aware of
[19:28] <LittleFoot> never used cccp codec
[19:29] <LittleFoot> never heard of it either
[19:29] <mantas322> really?
[19:29] <mantas322> I figured everyone here uses it
[19:29] <LittleFoot> i record lossless mkv
[19:29] <LittleFoot> then i encode to webm
[19:30] <LittleFoot> it took me forever to figure all this out
[19:30] <LittleFoot> i could always encode files
[19:30] <LittleFoot> but could never figure out how to record desktop
[19:30] <mantas322> you can do that with ffmpeg>?
[19:30] <LittleFoot> and keep the files small
[19:30] <LittleFoot> yep
[19:30] <mantas322> didnt know
[19:31] <mantas322> interesting...
[19:31] <LittleFoot> i used ffmpeg thru ssh
[19:31] <LittleFoot> when worked for wicked.com
[19:31] <mantas322> is that the broadway play?
[19:31] <LittleFoot> encoding all their porn dynamicly
[19:31] <mantas322> oh i see.
[19:31] <LittleFoot> as new movies get uploaded
[19:32] <LittleFoot> they had a prety cool cms for all this
[19:32] <mantas322> is this something you're proud of?
[19:32] <LittleFoot> most genious database and coding ive ever seen
[19:32] <LittleFoot> the database was 1 table
[19:32] <LittleFoot> its insanity
[19:32] <mantas322> lol
[19:33] <LittleFoot> usually i dont need to figure shit oout
[19:33] <LittleFoot> but this was a crazy lab rat maze
[19:35] <LittleFoot> i wish i could engineer a cms system like that
[19:35] <LittleFoot> mantas322, what do u use ffmpeg for
[19:35] <sacarasc> mantas322: I would say most people here don't use Windows, so CCCP would be stupid.
[19:36] <LittleFoot> omg ur on windowZ!???
[19:36] <LittleFoot> :O
[19:36] <LittleFoot> gtfo nau!
[19:36] <LittleFoot> how the hell does ffmpeg work on windowz
[19:41] <LittleFoot> i was gona paste u my comands
[19:41] <LittleFoot> but im not sure they will work on windows
[19:42] <LittleFoot> awesome i jus uploaded my first 720 hd to utube
[19:42] <LittleFoot> http://www.youtube.com/watch?v=41sht008sIU
[19:42] <mantas322> I use ffmpeg to convert a multitude of different video types into a web ready format, and do other stuff like create thumbnails etc...
[19:43] <LittleFoot> u srsly use windowz?
[19:43] <mantas322> me?
[19:43] <LittleFoot> ya
[19:43] <mantas322> ofcourse
[19:43] <mantas322> why wouldnt I
[19:43] <mantas322> windows #1!
[19:43] <LittleFoot> because windows is a home envoronment
[19:43] <LittleFoot> not production
[19:45] <sacarasc> If you're doing production work, you generally wouldn't be using ffmpeg. :p
[19:45] <LittleFoot> :(
[19:45] <mantas322> define production work
[19:46] <LittleFoot> why are my colors messed up ???
[19:46] <LittleFoot> http://www.youtube.com/watch?v=41sht008sIU
[19:46] <sacarasc> Was it okay at your end?
[19:47] <LittleFoot> bbl
[19:50] <IchGuckLive> Hi all as every one asks i got a problem to convert into a Aiptek movi format the demo file has this mplayer http://pastebin.com/UEWkSJugidentyfi output
[19:51] <burek> unknown paste id
[19:51] <burek> plus, this is not mplayer support channel (afaik)
[19:52] <IchGuckLive> ffmpeg -i VIDEO.avi -vcodec mpeg4 -b 4000k -s 640x480 -r 25 -acodec aac -ab 128k VIDEO.asf
[19:52] <IchGuckLive> http://pastebin.com/7CUvktQs here another past
[19:52] <IchGuckLive> this works
[19:54] <IchGuckLive> with this ffmpeg line the movie showes but in a striped version
[19:54] <IchGuckLive> the demo  movie as downloaded from the led projektor showes fine
[19:55] <burek> you need to provide ffmpeg cmd line + complete output
[19:56] <IchGuckLive> what does compleade output mean the command line is above
[20:04] <burek> output of the command = the text that shows when you type your command and hit <enter>
[20:05] <IchGuckLive> ffmpeg -i 946_1266.MOV -vcodec mpeg4 -b 4000k -s 640x480 -r 25 -acodec pcm_s16le -ab 128k -ar 24000 -ac 2 Fuchs_Felsen_2.asf
[20:06] <burek> can you please use pastebin.com, to show your command line and its output?
[20:07] <IchGuckLive> now i know what you want  1 sec
[20:08] <IchGuckLive> burek: http://pastebin.com/fWyyYAXZ
[20:10] <IchGuckLive> burek:  sorry it starts on line 15
[20:10] <burek> well, there are no errors in that paste
[20:10] <burek> yes, I figured
[20:11] <burek> although, you might update your ffmpeg
[20:11] <burek> to the latest git
[20:11] <burek> since many bugs are constantly fixed
[20:11] <IchGuckLive> ok
[20:11] <IchGuckLive> im trying around
[20:11] <IchGuckLive> im on ubuntu
[20:12] <IchGuckLive> so the sftware that comes with the projektor is not running
[20:13] <iam8up> burek, i have the latest release of ffmpeg, and when i create the video it always comes out ~23kb and black (using the commands you suggested earlier)
[20:14] <iam8up> this one http://ffmpeg.gusari.org/viewtopic.php?f=25&t=39
[20:17] <burek> iam8up,
[20:17] <burek> can you please use pastebin.com, to show your command line and its output?
[20:17] <iam8up> let me do it once more to be clean brb
[20:18] <iam8up> it scrolls off the screen, is there any kind of output to log to?
[20:20] <burek> ffmpeg ... 2>output.txt
[20:22] <iam8up> burek, http://pastebin.com/6vziZ8Q3
[20:24] <burek> iam8up, image*.jpg is not a valid input name
[20:25] <burek> try reading that tutorial I gave you more carefully
[20:25] <iam8up> what's img%03d.png  supposed to be?
[20:25] <burek> you most probably have overwritten your original images
[20:25] <burek> because you specified them as outputs
[20:26] <burek> so, whatever you've had in that folder as a jpg image
[20:26] <burek> is most probably overwritten now
[20:26] <iam8up> let me check
[20:26] <iam8up> i checked a couple...look fine to me
[20:26] <burek> img%03d.png means "img" followed by a "3 digit number, prefixed with zeros if needed" followed by ".png"
[20:27] <burek> i.e. img001.png, img002.png, img003.png, ...
[20:27] <iam8up> mine are all image1338485168.jpg, so do i use image%10d.jpg ?
[20:28] <iam8up> (unix time if you didn't recognize)
[20:29] <burek> well, if they are not ordered, you need a tool to order your images
[20:29] <burek> to be numbered in a series
[20:29] <burek> not just randomly numbered
[20:29] <iam8up> well they are ordered by time
[20:29] <burek> they need to be sequential
[20:29] <burek> 1,2,3,...
[20:29] <iam8up> oh balls
[20:30] <iam8up> is that the only input method, sequential file names?
[20:30] <burek> yup
[20:30] <burek> or you can wait until a feature is implemented
[20:31] <iam8up> so the only solution would probably to just rename the files 1, 2, 3, 4, 5 etc
[20:31] <burek> that will allow users to specify a "playlist" of files
[20:31] <burek> yes, that's the quickest way to solve your problem
[20:31] <sacarasc> You can cat them in... cat *.jpg | ffmpeg -r 10 -f image2 - etc.
[20:31] <iam8up> well for future readers, this looks like the solution: http://stackoverflow.com/questions/3211595/renaming-files-in-a-folder-to-sequential-numbers
[20:32] <iam8up> i'll try cat
[20:33] <burek> sacarasc, cool :) didn't know about that :)
[20:34] <iam8up> sacarasc, cat *.jpg|ffmpeg -f image2 -r 10 -vcodec libx264 output.mp4 2>output.txt <--same result, black video
[20:34] <iam8up> At least one input file must be specified <-- in the log
[20:34] <burek> iam8up, you didn't copy it correctly
[20:35] <burek> after image 2 there is a single minus sign
[20:35] <burek> .. image2 -r 10 - -vcodec ...
[20:35] <iam8up> OH is that like stdin?
[20:35] <burek> yes
[20:36] <iam8up> cat *.jpg|ffmpeg -f image2 -r 10 -i - -vcodec libx264 output.mp4 2>output.txt or cat *.jpg|ffmpeg -f image2 -r 10 - -vcodec libx264 output.mp4 2>output.txt do not work =(
[20:37] <iam8up> pipe:: no such file or dir or the same no input specified error respectively
[20:37] <burek> iam8up, try changing image2 with image2pipe
[20:38] <iam8up> [image2pipe @ 0x9f144a0] Could not find codec parameters (Video: none)
[20:39] <iam8up> pipe:: could not find codec parameters
[20:39] <iam8up> i could post the entire output on pastebin if you want, too
[20:39] <burek> hm, it doesn't work for me either.. :(
[20:39] <burek> I get At least one input file must be specified
[20:40] <iam8up> sacarasc, are you sure that works or was that just a suggestion?
[20:40] <burek> oh
[20:41] <burek> :)
[20:41] <burek> it's not just "-"
[20:41] <burek> it's "-i -"
[20:41] <burek> or not..
[20:41] <burek> "pipe:: No such file or directory"
[20:41] <sacarasc> It has worked for me in the past.
[20:42] <burek> sacarasc, with "-i -" or just "-"
[20:42] <sacarasc> -i -
[20:42] <sacarasc> Heh, I missed it. :|
[20:43] <burek> it's ok :)
[20:43] <burek> iam8up, try this: cat *.jpg|ffmpeg -f image2pipe -r 10 -vcodec mjpeg -i - -vcodec libx264 output.mp4
[20:44] <sacarasc> Ah, that's the one.
[20:44] <sacarasc> My memory isn't what it used to be.
[20:47] <burek> you lack some :beer: :)
[20:50] <jegade> what's the different to ffmpeg -i %03d.jpg output.mp4, why did you "cat" the files? I like to understand the difference between both
[20:51] <diegoviola> how can i tell ffmpeg to grab a single window instead of the whole desktop when recording via x11grab?
[20:52] <burek> jegade, that cmd assumes that the input format (-f param) is image2
[20:52] <burek> and it requires all images to be numbered correctly
[20:52] <burek> in your case 001.png, 002.png, 003.png, ...
[20:53] <burek> with cat example above, your images can have random names
[20:54] <jegade> burek: ok, thank you for the explanation
[20:54] <burek> diegoviola, http://ffmpeg.org/ffmpeg.html#x11grab
[20:54] <burek> there is no notion of a "window" there
[20:55] <burek> so, you'll have to deal with just X,Y,width,height and screens, I'm afraid
[21:00] <diegoviola> ty
[21:00] <diegoviola> that's fine too, thanks
[21:00] <diegoviola> :)
[21:01] <burek> :)
[21:03] <iam8up> burek, that worked perfectly!  Thanks a ton!!!
[21:03] <iam8up> sorry it took me a while, couple power outages at towers
[21:03] <burek> :beer: :)
[21:04] <iam8up> where do you live?
[21:04] <burek> still on earth, sadly :)
[21:04] <iam8up> in the US?
[21:04] <diegoviola> so this works: ffmpeg -f x11grab -s 1680x1050 -i :0.0 out.webm -- but the quality is kinda low, if i wanted to increase the image quality i'd have to use -b:v ?
[21:04] <burek> no, EU :)
[21:04] <iam8up> ok sorry..i won't ship beer to EU
[21:04] <burek> :)
[21:04] <burek> thx anyway :)
[21:05] <burek> diegoviola, it's not wonder, because you didn't specify any encoding parameters, like bitrate and such
[21:05] <burek> try adding for example -b 800k before out.webm
[21:05] <diegoviola> burek: thanks!
[21:05] <cbsrobot> burek: whet do you think of creating a site called thebeerbay.org - just for shipping beer around the world ?
[21:05] <burek> or -b:v to be more precise
[21:06] <burek> :D
[21:06] <burek> cbsrobot, I'm thinking more of participating in an Open Beer Project :)
[21:06] <burek> to share recipes :)
[21:06] <burek> that way we can all make a decent beer ourselves :)
[21:06] <diegoviola> burek: thanks
[21:06] <diegoviola> that works
[21:06] <burek> :beer: :)
[21:07] <cbsrobot> why not - but I've heard it's not that easy to make good beer
[21:08] <burek> I meant this: http://en.wikipedia.org/wiki/Free_Beer
[21:08] <iam8up> cbsrobot, i've done it many times, you can buy kits with certain ingredients
[21:08] <cbsrobot> burek: that is quite interesting: http://en.wikipedia.org/wiki/Beer#Production_.26_Trade
[21:08] <iam8up> you just need ~200 in materials and then some water/heat source
[21:08] <iam8up> though this is USA, not sure what the rules are in EU
[21:09] <cbsrobot> sure - but you need to get the right ingredients ....
[21:09] <cbsrobot> I mean the monks did it for a few thousand years aswell
[21:09] <cbsrobot> so It's not impossible ....
[21:09] <IchGuckLive> burek:  i updatet FFmpeg from git now im running into an error http://pastebin.com/AztjCHPi
[21:10] <iam8up> cbsrobot, like this - http://www.homebrewers.com/c=sP2ULR9MNG1MzR4MucvzN95LD/category/alpinebrewkits.beerkits_1/
[21:10] <iam8up> you just order them bags and follow the instructions
[21:10] <burek> mh.. I'm thirsty now :)
[21:11] <ubitux> apple juice *_*
[21:11] <burek> IchGuckLive, The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[21:11] <iam8up> well here it's budweiser..not what the EU counterpart is...but if that's good beer to you, stop the idea of making it
[21:11] <burek> -ab 64 should be -ab 64k
[21:12] <iam8up> if you like guiness, imperial ales, blonde ales, etc...it's fun and very good
[21:12] <cbsrobot> nah nah
[21:12] <burek> IchGuckLive, also, this: Tag divx/0x78766964 incompatible with output codec id '13'
[21:12] <IchGuckLive> burek:  changed that still the same
[21:12] <burek> you might try -vtag xvid
[21:13] <IchGuckLive> [mp4 @ 0xa04c5c0] Tag xvid/0x64697678 incompatible with output codec id '13' ( [0][0][0])
[21:13] <IchGuckLive> burek:  no
[21:13] <burek> honey beer? o.O
[21:13] Action: cbsrobot dont like beer from big breweries 
[21:14] <IchGuckLive> ffmpeg -i 946_1265.MOV -s 640x480 -b 800k -acodec libfaac -ab 64k -vcodec mpeg4 -vtag xvid test.mp4
[21:14] <iam8up> honey beer can be good, not my preference though
[21:14] <burek> IchGuckLive,
[21:14] <burek> can you please use pastebin.com, to show your command line and its output?
[21:14] <iam8up> thanks again for your help guys, can't wait to finish the video on monday =)
[21:15] <burek> :beer: :)
[21:15] <IchGuckLive> burek: http://pastebin.com/v7KTVgMW
[21:17] <burek> IchGuckLive, try this, for a test: ffmpeg -i 946_1265.MOV out.avi
[21:18] <IchGuckLive> works
[21:18] <burek> then your input is ok
[21:18] <burek> i.e. not damaged
[21:18] <IchGuckLive> as i compiled the same file now for 4hr
[21:18] <burek> then, I guess there are some problems muxing mpeg4 video + aac audio into mp4 format
[21:19] <burek> did you try avi or mkv
[21:19] <IchGuckLive> as the test.avi ?
[21:20] <burek> ffmpeg -i 946_1265.MOV -s 640x480 -b:v 800k -c:a libfaac -b:a 64k -c:v mpeg4 -vtag divx test.avi
[21:20] <burek> something like that
[21:21] <IchGuckLive> this works also let me put the files into the beamer and show what i got
[21:22] <burek> ok
[21:26] <IchGuckLive> NO no file is playing
[21:26] <burek> can you use libx264 instead of mpeg4?
[21:27] <IchGuckLive> il try what about the container asf
[21:27] <burek> hm, I'm not familiar with it :/
[21:27] <burek> what exactly is your goal?
[21:28] <IchGuckLive> playinf a movie in Aiptek V10
[21:34] <burek> hm
[21:34] <burek> do you upload files to that projector
[21:34] <burek> or you are feeding it over usb
[21:34] <burek> or what
[21:36] <cbsrobot> IchGuckLive: do you have a specification what it can play
[21:36] <cbsrobot> in my expereience with this cheap chinese stuff is:
[21:36] <cbsrobot> it can only play divx/xvid and mp3 in an avi
[21:37] <cbsrobot> and make sure there are no files on the usb stick starting with a dot
[21:37] <cbsrobot> osx f.ex. creates them all the time ....
[21:38] <IchGuckLive> no video is played
[21:39] <IchGuckLive> there is a demo video in
[21:39] <IchGuckLive> it has dot mp4
[21:40] <burek> can you copy that video over to your computer
[21:40] <burek> and type: ffmpeg -i demo.mp4
[21:40] <burek> and paste the log to pastbein
[21:40] <IchGuckLive> is there a ffmgeg codeliine to identify its codecs
[21:40] <pasteeater>  burek | and type: ffmpeg -i demo.mp4
[21:40] <cbsrobot> burek - you need to add that line to the logger !
[21:40] <burek> :)))
[21:41] <pasteeater> that's many chins
[21:41] <IchGuckLive> http://pastebin.com/cyQRgbGh
[21:42] <LittleFoot> hay pasteeater
[21:42] <cbsrobot> ha so its h264
[21:42] <cbsrobot> no xvid !
[21:43] <pasteeater> LittleFoot: hey
[21:43] <IchGuckLive> ffmpeg -i 946_1266.MOV -vcodec mpeg4 -b 800k -s 640x480 -r 25 -acodec pcm_s16le -ab 64k -ar 24000 -ac 2 test_Felsen.mp4
[21:43] <IchGuckLive> cbsrobot:  how to modyfy
[21:44] <cbsrobot> IchGuckLive: try: ffmpeg -i 946_1265.MOV -s 640x480 -c:v libx264 -pix_fmt yuv420p -b:v 800k -c:a libfaac -b:a 64k  test.mp4
[21:45] <pasteeater> might need to add '-profile main'
[21:45] <cbsrobot> or even: ffmpeg -i 946_1265.MOV -s 640x480 -c:v libx264 -vprofile main -pix_fmt yuv420p -b:v 800k -c:a libfaac -b:a 64k  test.mp4
[21:46] <cbsrobot> hehe
[21:46] Action: pasteeater keeps forgetting the v in profile
[21:46] <pasteeater> annoying.
[21:46] Action: cbsrobot never knows is -profile:v works ....
[21:46] <cbsrobot> *if
[21:47] <IchGuckLive> both are compiling now into the beamer
[21:47] <cbsrobot> compiling to the beamer wow
[21:47] <cbsrobot> cross compiling ?
[21:47] <cbsrobot> lol
[21:48] <burek> why -vprofile and not -profile ?
[21:48] <cbsrobot> aac also uses profile
[21:48] <burek> I see, ok :)
[21:48] <pasteeater> otherwise it will bitch about not being able to find "main" or something like that
[21:48] <cbsrobot> yeah
[21:50] <cbsrobot> and you never know what went wrong ....
[21:52] <IchGuckLive> cbsrobot:  no only fancy stripes and pixels
[21:52] <IchGuckLive> mplayer and vlc are playing well
[21:52] <cbsrobot> IchGuckLive: can you pastebin a ffmpeg -i newfile.mp4 ?
[21:53] <cbsrobot> maybe it needs a level 3.1
[21:53] <cbsrobot> or something similar
[21:53] <cbsrobot> ah -level 3.1
[21:53] <IchGuckLive> ok
[21:54] <cbsrobot> hmmm not so sure
[21:54] <IchGuckLive> http://pastebin.com/RXUQArkj
[22:02] <cbsrobot> weird ...
[22:02] <IchGuckLive> thats why im here
[22:03] <IchGuckLive> i can play via kodak Zi8 but the beamer has iternal mem and for presentation its god to have it
[22:03] <cbsrobot> the manual says it plays h264 and mpeg4 created with their software
[22:03] <IchGuckLive> i think i need a windows cd
[22:04] <IchGuckLive> im off microsoft for 5years now
[22:05] <cbsrobot> noooooooo
[22:05] <cbsrobot> hehe
[22:05] <cbsrobot> add:  -r 30
[22:05] <cbsrobot> ffmpeg -i 946_1265.MOV -r 30 -s 640x480 -c:v libx264 -vprofile main -pix_fmt yuv420p -b:v 800k -c:a libfaac -b:a 64k  test.mp4
[22:06] <IchGuckLive> done
[22:07] <cbsrobot> maybe it cannot hanlde 29.97 fps ....
[22:07] <cbsrobot> can you hear the sound ?
[22:09] <IchGuckLive> no video  i need to close down battery is empty
[22:10] <IchGuckLive> what about the ratio  4:3
[22:11] <IchGuckLive> the movies show all in the filefolder as they where 16:9
[22:12] <IchGuckLive> tomorrow next try
[22:13] <IchGuckLive> i will get a winXP pc from my naibour he loves if i cant manage it with linux
[22:13] <IchGuckLive> BY and many Thanks
[22:26] <silverrocker> how is half pixel interpolation perfomed when H.264 is processed at the border of the frames?
[23:06] <iive> silverrocker: without checking the documentation, I would think that it is similar to mpeg4-2, aka the last edge pixels are repeated outside the image.
[23:21] <silverrocker> live: I've checked the H.264 spec, but it doesn't say.
[23:21] <silverrocker> I have to be completly sure
[23:22] <DelphiWorld> burek: DUDE, you sleepy ?
[23:30] <Xix19> hi. I just installed ffmpeg following this guide - https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[23:30] <Xix19> what should I now run to convert an .mp4 video into a .webm video?
[23:30] <burek> do you want to convert it or to remux it?
[23:31] <Xix19> burek: sorry, not sure what remuxing is
[23:32] <burek> well, container (muxer) like for example AVI, can contain multiple video/audio streams
[23:32] <burek> which are encoded using various encoders
[23:32] <Xix19> burek: I have a video with an .mp4 extension that won't play in chrome nor firefox. I want to convert it into a format that does.
[23:33] <burek> how exactly do you want it to "play in chrome or firefox"
[23:33] <Xix19> I know that chrome and firefox have support for video files in the .webm format (not sure if that's the container, video encoder or maybe both)
[23:33] <Xix19> burek: like on this website - http://www.webmfiles.org/demo-files/
[23:34] <Xix19> if you click the webm link it plays the video straight in the browser
[23:34] <burek> file extension usually tells about container, which contains multiple streams
[23:34] <Xix19> the mp4 one starts a file download
[23:34] <burek> I see
[23:34] <Xix19> ok, so then I guess I want to convert it into a webm container
[23:34] <burek> well mp4 is not meant for streaming when it was created
[23:34] <burek> it was meant to be a file storage format
[23:35] <burek> well, lets try the fastest way
[23:35] <burek> ffmpeg -i input.mp4 -c copy out.webm
[23:35] <Xix19> ok trying now
[23:36] <Xix19> I ran this: ffmpeg -i trailer_480p.mov -c copy out.webm
[23:37] <burek> ok
[23:37] <burek> then, it's mov and not mp4 :)
[23:37] <Xix19> got this error (after about 10 white lines): Only VP8 video and Vorbis audio are supported for WebM
[23:38] <burek> so, you need to re-encode your streams inside mov container
[23:38] <Xix19> then more white info lines then another error: could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[23:38] <burek> can you please use pastebin.com, to show your command line and its output?
[23:38] <Xix19> ok sure
[23:39] <Xix19> sorry if I'm a bit slow, I'm n windows and the Ubuntu server is running inside a VM, and I can't copy-paste directly
[23:40] <burek> you can use redirection to a file
[23:40] <burek> ffmpeg -i input.mp4 -c copy out.webm 2>out.txt
[23:41] <Xix19> http://pastebin.com/ZCy2kJ8c
[23:41] <Xix19> ok thanks, I'll keep it in mind
[23:44] <burek> ffmpeg -i trailer_480p.mov -c:v libvpx -b:v 2500k -c:a libvorbis -ar 48000 -ac 2 -b:a 512k out.webm 2>out.txt
[23:45] <Xix19> running now i think
[23:46] <Xix19> its doing something... but doesn't print anything. does it have a --verbose option or something i could run next time?
[23:48] <Xix19> oh nvm it was asking whether to override the already existing out.webm file but the question wasn't printed in the terminal
[23:49] <Xix19> http://pastebin.com/cSnGv0Du
[23:51] <Xix19> burek: any idea why it's not working?
[23:52] <Xix19> it says "encoder setup failed", but I can't understand why
[23:54] <burek> hmh
[23:54] <burek> try changing -b:a 512k to -b:a 96k
[23:55] <Xix19> oh ok it's working now
[23:56] <Xix19> hmm
[23:56] <Xix19> i think it worked but is eem to have a problem with codecs
[23:56] <burek> what kind of
[23:57] <Xix19> if i play the original mov video it's all black
[23:57] <Xix19> but i know the video is good as it plays ok on windows
[23:57] <Xix19> tried on ubuntu with both the native Media Player and with VLC
[23:58] <Xix19> restarting ubuntu maybe that will fix it
[23:59] <burek> well
[23:59] <burek> the thing is
[23:59] <burek> directly embedding a video in the browser
[23:59] <burek> makes it depend on your "player"
[23:59] <burek> in this case, your browser
[00:00] --- Sat Jun  2 2012


More information about the Ffmpeg-devel-irc mailing list