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

burek burek021 at gmail.com
Fri Oct 18 02:05:01 CEST 2013


[01:24] <MorehouseJ09> hmmm ... just curious. I've been playing around with the libavformat / libavcodec libraries a lot and have figured out most issues
[01:25] <MorehouseJ09> but in terms of pushing to a production system, do most people work with the libraries or just wrap ffmpeg? I saw a stack overflow stating you could call the compiler with -Dmain=ffmpeg
[02:02] <BlkPoohba> I'm trying to rotate a video and getting an error.  ffmpeg -i VID_20110108_085632.3gp -vf transpose=1 VID_20110108_085632-2.3gp  Error: Encoder (codec none) not found for output stream #0:1
[02:02] <BlkPoohba> http://pastebin.com/iPrQkEAT
[02:03] <sacarasc> Define an encoder.
[02:05] <BlkPoohba> I have to rebuild it and define one?  I installed this using yum.
[03:40] <AisIceEyes> Hi! I'm trying to join together two videos on top of each other. I already did these two ffmpeg commands - http://pastebin.com/YgLtFC0C
[03:41] <AisIceEyes> I'm currently stuck on making the "clear" version on top of the "blurred" version
[03:41] <AisIceEyes> I'm not sure how to do that
[03:41] <AisIceEyes> Can anybody help please? Been googling for around 2 days already
[03:41] <AisIceEyes> Only achieved it by using OpenShot but yeah, would prefer if there is an ffmpeg command to merge the two videos on top of each other
[04:47] <AisIceEyes> Do you guys think the blend video filter - http://ffmpeg.org/ffmpeg-filters.html#blend - can achieve what I have to do to put a video on top of another video (top video with resolution 1080x720, bottom video 1280x720)?
[05:00] <relaxed> AisIceEyes: you need -filter_complex, pad filter, and the overlay filter
[05:01] <relaxed> pad to create the blank canvas of the second video and overlay to place it there.
[05:02] <AisIceEyes> relaxed: Thanks for the response. Will google what you mean and study. Thanks for the tip!
[05:04] <relaxed> AisIceEyes: http://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
[05:04] <AisIceEyes> relaxed: Thanks for the link. Reading it now and will study and test. Thanks again!
[05:05] <relaxed> in that example they use nullsrc instead of pad to create the "canvas", which is probably easier. good luck
[06:21] <sim590> hi! I'm trying to screencast using ffmpeg. For now I have this `ffmpeg -f x11grab -y -r $FRAMERATE -s $SIZE -i :0.0 -f alsa -i hw:0,0 -acodec mp3 -vcodec ffvhuff -qscale 0 ./out.mkv`. But the audio recording just stops and goes on randomly. How can I improve the audio recording? I have an ATI atom CPU, so the problem may be about performence.
[06:36] <relaxed> sim590: ffvhuff is lossless so you can omit -qscale 0
[06:36] <relaxed> use -acodec libmp3lame
[06:38] <relaxed> how can it stop AND go on randomly?
[06:57] <sim590> relaxed: I meant that the audio recording just has some holes
[06:58] <sim590> when I watch the output, audio just stops sometimes and begins again
[07:01] <sim590> it "cuts"
[09:22] <Apic> Morn (UGT).
[11:19] <olspookishmagus> hello, I've just processed a video with ffmpeg, as such:
[11:20] <olspookishmagus> $ ffmpeg -i in.mp4 -vf "transpose=1" out.mp4
[11:20] <durandal_1707> and?
[11:20] <olspookishmagus> and the resulting file is 5MB smaller than the original, why?
[11:20] <durandal_1707> because you are transcoding
[11:21] <olspookishmagus> transcoding is the same as: re-encoding?
[11:21] <durandal_1707> if you just wanted to change some flag that says that file should be played rotated/flipped/whatever than filter is not for that
[11:21] <Mavrik> yep
[11:21] <olspookishmagus> enlighten me
[11:21] <Mavrik> olspookishmagus, you're re-encoding the file and you didn't tell ffmpeg about what quality you want
[11:22] <Mavrik> so it just chooses some default
[11:28] <olspookishmagus> from a quick look, -sameq WON'T do what I want
[11:29] <olspookishmagus> the same aricle mentions some tutorials, any tips as to where are those?
[11:29] <durandal_1707> -sameq is long gone
[11:29] <Mavrik> lucky.
[11:29] <zap0> -sameq rarely worked rght
[11:29] <zap0> right/
[11:31] <olspookishmagus> durandal_1707: this is what I've read
[11:31] Action: olspookishmagus quotes: "You can check out the tutorials in this wiki to see if there are any articles describing the best practices in video encoding, that might help you with your specific case"
[11:32] <olspookishmagus> I guess I should have a look at: https://trac.ffmpeg.org/wiki/How%20to%20encode%20Xvid%20/%20DivX%20video%20with%20ffmpeg
[11:34] <olspookishmagus> http://pastie.org/private/bwnuajimr0uy7zr5nxxqsq
[11:47] <olspookishmagus> any guidelines how to capture ffmpeg output? tee?
[11:51] <olspookishmagus> well... durandal_1707, Mavrik, zap0 thanks!
[11:51] <zap0> ;)
[13:33] <ffm> Hello everyone, can somebody explain how to filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" and "scale=320:200" ?
[13:34] <durandal_1707> concat .... [v][a],[v]scale=...[v2],....
[13:40] <ffm> What is [v2] ??? and what command will be? This doesn't work =)))) ffmpeg -i d:\1.mp4 -i d:\1.mp4  -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a],scale=320:200"  -map "[v]" -map "[a]"   d:\3.mp4 Error: Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_scale_1
[13:40] <ffm> Sorry: ffmpeg -i d:\1.mp4 -i d:\1.mp4  -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a],[v]scale=320:200"  -map "[v]" -map "[a]"   d:\3.mp4 Output with label 'v' does not exist in any defined filter graph, or was alread used elsewhere.
[13:41] <ffm> This is not working too =)))))))
[13:43] <durandal_1707> well i told you what to use, but it looks like you do not need my help
[13:44] <durandal_1707> v2 is output of scale
[13:44] <ffm> really thanks, i don't know that i should use concat and scale (plz see my very first question) =)
[13:44] <durandal_1707> i don't have time
[13:44] <ffm> go work then =)
[13:54] <x-s4nd3r> I recently downloaded a .flv video, and it's audio is out of sync, how can I fix this?
[13:56] <ffm> x-s4nd3r, this is a really good question. Do you see how many people are in this irc? They all have ffmpeg problems =) Thanks for asking =)
[13:57] <x-s4nd3r> fuck you, ffm.
[13:59] <file> O.o
[14:04] <ffm> x-s4nd3r, If you used Windows, I can play video and sync a/v with just ctrl + '+' button with KMPlayer =), may be windows media player also can sync, let me google it for you.... and yes, it can.
[14:04] <durandal_1707> x-s4nd3r: perhaps you could try asyncts filter
[14:05] <x-s4nd3r> what is that, drundal?
[14:05] <durandal_1707> an audio filter
[14:05] <durandal_1707> if async is constant you could play with asetpts filter too
[14:06] <x-s4nd3r> what the fuck are you saying, man
[14:06] <x-s4nd3r> I didn't get a word you just threw outta your mouth.
[14:06] <x-s4nd3r> I am a fuckin' newbie, alright?
[14:06] <x-s4nd3r> don't go all dennis ritchie on me
[14:06] <durandal_1707> you could also try aresample filter
[14:06] <x-s4nd3r> how can I use these fuckin' things?
[14:07] <x-s4nd3r> whats the command
[14:07] <durandal_1707> but what you actually want to archieve?
[14:07] <durandal_1707> also note that i'm not paid to listen your nice speak
[14:08] <x-s4nd3r> drundal_1707: this is a fuckin' support channel, you gotta suck my cock when I ask for help.
[14:08] <x-s4nd3r> now fucking suck it.
[14:08] <saste> x-s4nd3r, keep calm or i'll kick you off
[14:08] <x-s4nd3r> sorry saste
[14:08] <ffm> deal with it is the best way.
[14:09] <ffm> your video is corrupted, don't you understand it?
[14:09] <durandal_1707> ffm: ffmpeg -i d:\1.mp4 -i d:\1.mp4  -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a],[v]scale=320:200[v2]"  -map "[v2]" -map "[a]"   d:\3.mp4
[14:10] <ffm> durandal_1707: thanks, man
[14:11] <ffm> x-s4nd3r, is you want just play this video, you should say to us what video player you are using, may be it can just sync audio/video with hotkeys, for example kmplayer for windows - can
[14:12] <x-s4nd3r> vlc.
[14:12] <x-s4nd3r> how can I do this with vlc, ffm?
[14:12] <ffm> x-s4nd3r, try K, J keys http://lifehacker.com/5910943/fix-out+of+sync-audio-in-vlc-with-a-keyboard-shortcut
[14:14] <x-s4nd3r> I don't know which audio delay I should use, ffm.
[14:14] <x-s4nd3r> can you check out the videofile?
[14:14] <ffm> x-s4nd3r,yes, i have vlc too, give video url
[14:15] <x-s4nd3r> you can just view the video online
[14:15] <x-s4nd3r> just check out the 3 minutes
[14:15] <x-s4nd3r> http://sharesix.com/8b7mo27x3xc9
[14:15] <x-s4nd3r> ffm: http://sharesix.com/8b7mo27x3xc9
[14:15] <x-s4nd3r> ffm: just see from 02:00
[14:15] <EchoDev> Guys I'm trying to compile ffmpeg on windows but I seem to fail to make msys use mingw64
[14:16] <EchoDev> I copied the mingw64 build into the home folder and tried the export path command but I just can't make it pick up
[14:17] <relaxed> EchoDev: there's http://ffmpeg.zeranoe.com/builds/ if you haven't seen it.
[14:18] <EchoDev> relaxed yeah I have seen it but I want to compile it for LAV and there is a patched ffmpeg for that it seems
[14:18] <ffm> x-s4nd3r, really sorry, but this is too long video, i will be download this for tomorrow, but try K or J key for few times, you should see that video and audio is in sync from some point (some video gets 200ms), you feel it
[14:18] <x-s4nd3r> ffm, you don't  need to download it.
[14:18] <JEEB> EchoDev, the usual way I switch mingw toolchains on msys is by modifying the etc/fstab file in msys's root
[14:18] <x-s4nd3r> ffm, click "free"
[14:18] <x-s4nd3r> and then click the play button
[14:18] <x-s4nd3r> just see 02:00 to 03:00
[14:18] <JEEB> and then relaunching the msys shell
[14:19] <x-s4nd3r> thats it
[14:19] <EchoDev> ok thanks JEEB let me try that out
[14:19] <JEEB> because msys auto-adds whatever is "mounted" as /mingw's bin into PATH
[14:20] <ffm> x-s4nd3r, audio delay is about 3 sec
[14:20] <x-s4nd3r> how many times I should press the K or J button, ffm?
[14:20] <x-s4nd3r> audio delay 3?
[14:22] <ffm> x-s4nd3r, every press is + or - 50ms, so 2 press = 100ms, 20press (hold it, just hold) - 1s
[14:23] <x-s4nd3r> should I stop when "audio delay 50ms" comes up?
[14:23] <ffm> x-s4nd3r, no, it just says that now delay is 50ms, you should keep press or hold it
[14:23] <x-s4nd3r> press what
[14:24] <x-s4nd3r> I am very confused
[14:24] <ffm> x-s4nd3r, press K or J key (K K K K K K K K K K K or J J J J J J J J J J J J J J)
[14:24] <x-s4nd3r> how many times should I press K?
[14:27] <ffm> x-s4nd3r, to say how many times you should press K I need to download video, what I said earlier is not possible, just press till you feel that a/v is in sync (if K doesn't not help you, press J)
[14:27] <x-s4nd3r> K is +?
[14:27] <x-s4nd3r> and J is -?
[14:30] <ffm> x-s4nd3r, K and J for increase/decrease delay
[14:33] <durandal_1707> for vlc help go to #videolan
[14:34] <durandal_1707> but if you want to fix async with ffmpeg than this is right place
[14:46] <ffm> durandal_1707, can you tell me, can ffmpeg concatenate image and video, or i should convert image to video and only then concatenate all?
[14:47] <durandal_1707> ffm: you mean images as files?
[14:48] <durandal_1707> you can with concat filter
[14:48] <durandal_1707> not sure about concat demuxer
[14:48] <ffm> durandal_1707, thank you
[14:50] <ffm> durandal_1707, sorry for my last time
[15:17] <smjd> -vsync and -af aresample=async=1 don't do any syncing while streaming
[16:51] <buu> Is there any particularly clever way to split a 'm4b' file into multiple tracks based on chapter metadata?
[16:56] <Mista_D> Anyway to see mediainfo's "Delay_Original_Settings" via FFprobe? it has "drop_frame_flag=0 / closed_gop=1 / broken_link=0"
[17:44] <lakmuz> hi, i need to combine 2 video viles in one, it should play same time, first video should be at the left of video, second video at the right, any suggestions?
[17:46] <durandal_1707> use overlay filter
[17:48] <lakmuz> thanks
[19:27] <starfox21> hey guys I have an mp4 with a major brand isom and I want to convert it to mp42, how do I go about that?
[20:37] <Slackyman> hi
[20:40] <humanvitr> Can anyone give me a direction... I'm implementing a new protocol, based in sockets for video transmission, I see they are listed in ./libavformat, as I want to implement one from scratch, where should I reference my files so ffmpeg can read from there?!
[20:43] <ac_slater> hey guys, does anyone know a way (not through libav*) to discover the h.264 profile of a file?
[20:43] <ac_slater> ie - baseline, main, etc
[20:45] <ac_slater> My container is an mp4 bte
[20:45] <ac_slater> btw*
[20:45] <llogan> why not via libav*?
[20:49] <ac_slater> llogan: Cause I'm not trying to do it programatically right now. Just looking for a utility.
[20:49] <ac_slater> llogan: ah mp4info did the trick
[20:51] <kriskropd> I'm having no luck concatenating files like this http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20concatenate%20(join%2C%20merge)%20media%20files
[20:52] <kriskropd> I either get "mylist.txt: Invalid data found when processing input" when I try using a txt file
[20:52] <kriskropd> or I get "Unrecognized option 'c'"
[20:53] <kriskropd> I've tried this with ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, ffmpeg version N-55937-g93cf7b0 and avconv version 0.8.6-6:0.8.6-1ubuntu2
[20:54] <kriskropd> im not going to paste bin the command because it is identical to the wiki example - the only thing is I'm merging flv files
[20:54] <llogan> for avconv and libav's so-called ffmpeg go to #libav. obviously we only support ffmpeg from FFmpeg here
[20:54] <llogan> the console output is still needed
[21:04] <kriskropd> okay, I got it to finally parse, however it only merges the first video to output.flv and then spits out "[flv @ 0x33def00] Unsupported video codec (c)" and stops
[21:06] <kriskropd> and here is a pastebin for output http://sprunge.us/dEQJ
[21:06] <kriskropd> its identical to the example from the wikipage
[21:09] <kriskropd> if I send the flv files to mp4, I don't get the codec error,b ut it still stops at merging only the first video file to the output
[21:09] <kriskropd> mp4 versions of the videos did give me this error instead [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2bdef00] Found duplicated MOOV Atom. Skipped it
[21:17] <llogan> does ffmpeg have issues with one of the inputs? ffmpeg -i 00.flv -i 01.fl -i 02.flv ...
[21:17] <kriskropd> llogan: do you mean, does ffmpeg complain when i "ffmpeg -i 01.flv 01.mp4", for instance?
[21:18] <kriskropd> if so, no, it converts to mp4 just fine with no complaints
[21:18] <kriskropd> but i still can't merge the mp4 fiels it outputs in that process using concat
[21:19] <Slackyman> anyone here is an owner of FFMPEG copyright?
[21:19] <kriskropd> Slackyman: ffmpeg is open source
[21:19] <Slackyman> I'd like to know what's the matter with ANVSOFT
[21:19] <Slackyman> yes, I know
[21:20] <Slackyman> and Any DVD Converter is violating it since years
[21:20] <kriskropd> llogan: also if I do 'ffmpeg -i 00.flv -i 01.flv output.mp4' (which might eb wrong, idk waht I'm doing, lol) it still only outputs the first video to the output file
[21:20] <Slackyman> so do ANY VIDEO CONVERTER
[21:20] <Slackyman> and any anvsoft software
[21:20] <llogan> Slackyman: same old shit, different names, from the same Chinese guys.
[21:21] <Slackyman> si Chinese are really the real stealers nowaday
[21:21] <llogan> kriskropd: if you provide your inputs i can try to duplicate
[21:21] <Slackyman> and we can't do nothing?
[21:23] <llogan> you can add a "license violation" type ticket on the bug tracker
[21:23] <llogan> like: https://trac.ffmpeg.org/query?status=closed&status=new&status=open&status=reopened&type=license+violation&col=id&col=summary&col=status&col=type&col=priority&col=component&col=version&order=priority
[21:23] <kriskropd> llogan: I pasted the output with flv here http://sprunge.us/dEQJ and my attempt with mp4 is found here http://sprunge.us/SdWQ
[21:25] <Slackyman> the thing boring and getting me mad is that is difficult to say to someone that that software is someway "illegal"
[21:25] <Slackyman> and I know of some italian universities adopting that software for transcoding
[21:27] <llogan> Most violators don't care. Others just don't know or understand since legal stuff is complicated.
[21:28] <durandal_1707> Slackyman: what software?
[21:28] <Slackyman> durandal_1707: any dvd converter violates ffmpeg, libav and much more
[21:28] <llogan> kriskropd: can you provide the input files?
[21:28] <Slackyman> more!
[21:28] <Slackyman> not now
[21:28] <Slackyman> they're distribuiting a non-free ffmpeg.exe executable
[21:29] <Slackyman> with enable-nonfree option
[21:30] <durandal_1707> report them on trac and sue them!
[21:30] <GoaLitiuM> where do you even need nonfree version of ffmpeg?
[21:31] <Slackyman> I'm not an owner
[21:31] <kriskropd> llogan: afraid I can't provide them, sorry :/
[21:31] <GoaLitiuM> or where people need it in general
[21:31] <kriskropd> llogan: matter of privacy
[21:31] <JEEB> <GoaLitiuM> where do you even need nonfree version of ffmpeg? <- right now the biggest reason to compile with --enable-nonfree is fdk-aac
[21:31] <JEEB> which is the best aac encoder right now
[21:31] <kriskropd> llogan: I didn't generate the original files either so I can't rereate the format
[21:31] <kriskropd> recreate*
[21:31] <GoaLitiuM> JEEB: that's what i thought, and isn't the ffmpeg's own AAC encoder good enough on most cases?
[21:32] <JEEB> well, yes and no
[21:32] <Slackyman> Any Video Converter is a freeware toolk using ffmpeg and libav to convert anything to anything
[21:32] <llogan> GoaLitiuM: it's experimental, although it's being worked on now
[21:32] <Slackyman> there's also a AAC+
[21:32] <Slackyman> it's non free
[21:32] <Slackyman> I think
[21:32] <JEEB> yes, but fdk does the job of both HE and LC AAC
[21:32] <GoaLitiuM> yeah, HE-AAC
[21:32] <JEEB> so you really don't need any other AAC encoder any more
[21:33] <Slackyman> hey, guys
[21:33] <Slackyman> my idea is to make a better ffmpeg gui
[21:33] <JEEB> the AAC encoder is "OK" for quick jobs, but if you're trying to do the best job possible you just compile your own binary with fdk
[21:33] <Slackyman> better than the one of anvsoft
[21:33] <Slackyman> and release it gpl 3
[21:35] <Slackyman> Is there a real difference in using native rtmp support or librtmp?
[21:35] <Slackyman> anyone see any difference?
[21:35] <JEEB> the native rtmp support is good
[21:35] <JEEB> you generally shouldn't need librtmp
[21:36] <Slackyman> and so why to use it?
[21:36] <Slackyman> :)
[21:36] <Slackyman> does native rtmp accept ssl?
[21:37] <JEEB> yes
[21:38] <kriskropd> llogan: this might help http://sprunge.us/NNDY mediainfo on the flv file indicates it is sorensor spark video codec
[21:39] <durandal_1707> kriskropd: it doesn't work with ffmpeg?
[21:40] <Slackyman> sorenson is h.263
[21:41] <Slackyman> it should work with ffmpeg
[21:42] <Slackyman> bye
[21:42] <Slackyman> see ya
[21:42] <llogan> bye
[21:43] <kriskropd> durandal_1707: llogan: I pasted the output with flv here http://sprunge.us/dEQJ and my attempt with mp4 is found here http://sprunge.us/SdWQ
[21:43] <kriskropd> durandal_1707: oh sorry, i didn't notice you just got here
[21:44] <kriskropd> durandal_1707: I'm trying to concat some private flv files, but it seems the video codec is causign trouble
[21:44] <kriskropd> causing*
[21:46] <durandal_1707> kriskropd: error message says it all
[21:46] <durandal_1707> it have unsuppoted codec 0xC
[21:47] <durandal_1707> only 0x0 - 0x9 are supported in flv demuxer
[21:47] <durandal_1707> without sample it is impossible to add support
[21:49] <kriskropd> durandal_1707: what about when i copied the video to an mp4 container? This is the mediainfo for a file made with 'ffmpeg -i 01.flv 01.mp4' http://sprunge.us/WVYI
[21:50] <kriskropd> durandal_1707: woudl the codec issue persist even after converting the file?
[21:50] <kriskropd> would*
[21:50] <durandal_1707> kriskropd: copy can not work as 0xC is unknown codec
[21:50] <kriskropd> i see, so there really isn
[21:51] <kriskropd> isn't much I can do withoutt digging up mroe info on this codec
[21:51] <durandal_1707> perhaps there is flv spec that says what is 0xC...
[21:58] <durandal_1707> hmm i just looked at spec and 0xC is nowhere there
[22:01] <ubitux> isn't it some speex with particular profile or something?
[22:01] <ubitux> maybe check in the swf specs
[22:06] <ubitux> where is the flv?
[22:06] <durandal_1707> codec is is UB[4]
[22:06] <ubitux> is it audio or video codec?
[22:07] <durandal_1707> video
[22:07] <durandal_1707> and log says: Unsupported video codec (c)
[22:07] <llogan> kriskropd: ...not even one sample?
[22:08] <durandal_1707> i guess its just false positive
[22:08] <durandal_1707> as codec is reported midstream
[22:08] <durandal_1707> s/codec/stream
[22:09] <durandal_1707> http://sprunge.us/dEQJ
[22:10] <btree> Coelia Cezanne?
[22:10] <btree> :)
[22:10] <btree> nvm
[22:10] <kriskropd> llogan: i'd be voiding copyrights if i shared it :x the video files are from an old CISSPA training dvd from Logical Security
[22:11] <durandal_1707> perhaps it dvd got corrupted....
[22:11] <kriskropd> maybe :( but all the files playback just fine
[00:00] --- Fri Oct 18 2013


More information about the Ffmpeg-devel-irc mailing list