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

burek burek021 at gmail.com
Mon Jun 10 02:05:01 CEST 2013


[00:19] Action: Keshl found another bug! D:
[00:21] <Keshl> ...More like a crapton of bugs.
[00:21] <Keshl> I have no idea why, but I appearntly gave it paramaters that just cause it to completely self-destruct. <.<
[00:25] <Keshl> http://pastebin.com/3JeAKuQR
[00:25] <Keshl> Can anyone try to help me think of a title for this? (Sec, still tossing the stuff onto my server..)
[00:26] <Keshl> Kay. It's at ftp://broken@connect.archgeekit.com:21918 --- Use any password, go to the "AnotherBug" directory and hug stuff.
[00:30] <DeXa> anyone has any luck crossfading 2 video?
[00:31] <DeXa> also, what codec/format do you recommend for half transparent videos
[01:39] <Hwkiller> Is there a reason why a 3 min video (~400MB) is taking several hours to encode with no end in sight?
[01:40] <Hwkiller> It's on some ridiculous frame number, like 200,000
[01:42] <Hwkiller> or more actually, it was at 500,000 before I stopped it.
[01:42] <Hwkiller> that seems far too long
[03:23] <Keshl> Hwkiller: What was your command line, oÉo?
[05:27] <Hwkiller> Keshl: actually, I solved it in another irc. 1) I realized I was actually using avconv 2) it wasn't reading the rate from the source file correctly. once I specifieed the rate to encode to, it worked fine.
[05:28] <Hwkiller> before that... it was trying to encode something nuts like 300000 kbit/s [sic] and way too many frames...
[05:28] <Hwkiller> so anyway, all is well.
[05:28] <Keshl> oÉo; Kai..
[05:28] <Hwkiller> what does that mean?
[05:28] <Keshl> Tis' :3 rotated 90 degrees, oÉo.
[05:29] <Hwkiller> oh.
[05:30] <Hwkiller> Yeah... when used properly, ffmpeg/liba rock.
[05:30] <Hwkiller> libav*
[05:30] <Hwkiller> This was my first time using it that wasn't a frontentd.
[11:12] <symtab> running ffmpeg -i file.mp4 -b:v original_bitrate_from_file.mp4 -vf "movie=logo.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" output.mp4 will produce a file with grey shades at the beginning for like 3-4 seconds
[11:12] <symtab> any ideas why?
[11:12] <symtab> this only happens for mp4 files (flv and wmv for example work correctly)
[11:12] <symtab> also what does -strict -2 do? (i was not able find any docs for this)
[11:13] <symtab> ahh
[11:13] <symtab> its experimental
[11:13] <microchip_> it enables experimental codecs
[11:47] <phr3ak> I splitted an mpeg2 file and after that the audio is missing
[11:48] <phr3ak> I used this command: ffmpeg.exe -t 20:05 -i 00000481007dd526105228.avi -acodec copy -vcodec copy test.mpeg
[11:52] <phr3ak> i see more than 60 stream in file with vlc so i'm sure the produced file is bad
[11:52] <phr3ak> i will try the linux version too
[11:53] <burek> we are not psychics..
[11:53] <TheSchaf2> how do you know that?
[11:53] <TheSchaf2> :<
[11:53] <burek> if we were, somebody would tell me not to write it before i did :)
[12:03] <phr3ak> this version: ffmpeg.static.32bit.2013-06-09.tar.gz is good
[12:04] <phr3ak> no
[12:04] <symtab> the problem was not ffmpeg, ffmpeg is working, however if the video that was watermarked is converted to flv (with mencoder) the grey shades will appear (if the video is converted to flv with ffmpeg, it will work)
[12:13] <phr3ak> http://pastebin.com/SFNyKYMq
[12:14] <tdc> Hi, is there a way to grab multiple screen regions with x11grab and put them together into one video stream?
[12:19] <burek> phr3ak, try this instead: ./ffmpeg -i 00000481007dd526105228.mpeg -c copy -t 00:30 test.mpeg
[12:20] <burek> btw, your audio stream is present in the output: Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[12:20] <burek> tdc, I think it is
[12:21] <burek> tdc, try something like this: ffmpeg -f x11grab -i ... -f x11grab -i ... -vf "overlay=..."
[12:21] <burek> something like that
[12:21] <tdc> ok, thanks
[12:24] <LithosLaptop2> phr3ak: you can't fit AC3 audio in a MPEG container
[12:28] <phr3ak> LithosLaptop2: it's worked fine in input file
[12:28] <phr3ak> burek: i tried -c, same effect
[12:28] <LithosLaptop2> yeah .avi can hold an AC3 stream
[12:28] <LithosLaptop2> or is there a different input?
[12:29] <phr3ak> that's an mpeg with wrong filename extension
[12:29] <LithosLaptop2> try .ts or .vob  or .mkv as the output format
[12:29] <phr3ak> 00000481007dd526105228.mpeg: MPEG sequence, v2, program multiplex
[12:29] <LithosLaptop2> oh..
[12:30] <phr3ak> i'd like to split this file without re-encoding
[12:30] <LithosLaptop2> yeah you don't have to re-encode
[12:31] <LithosLaptop2> does it have to be in a mpeg container?
[12:31] <ubitux> burek: so?
[12:31] <phr3ak> maybe avi is well too
[12:32] <burek> ubitux, i wasn't that fast :) http://pastebin.com/Cwikspe6
[12:32] <ubitux> , is not escaped
[12:32] <ubitux> also simple quoting on windows doesn't work iirc
[12:33] <ubitux> so -vf "select='not(mod(n,1000))',scale=..."
[12:33] <burek> let me fix it :) thanks btw :)
[12:34] <burek> you're great ! :)
[12:34] <ubitux> i know
[12:34] <burek> single quotes were problematic :)
[12:34] <phr3ak> test.mpeg: MPEG sequence, v1 how could I make v2 output?
[12:34] <burek> and modest too ^^
[12:34] <ubitux> yup
[12:34] <burek> i'll update wiki also
[12:35] <phr3ak> so I'd like to get mpeg _v2_ container at output
[12:37] <LithosLaptop2> phr3ak: try adding -fmt mpeg2video
[12:38] <LithosLaptop2> dunno
[12:44] <phr3ak> -f mpeg2video is good but audio stream not copied
[12:44] <LithosLaptop2> oh ok
[12:44] <LithosLaptop2> personally I would just do: -i 00000481007dd526105228.avi -acodec copy -vcodec copy test.vob
[12:45] <phr3ak> yes i tried this
[12:45] <phr3ak> and -c copy
[12:45] <phr3ak> same result
[12:46] <LithosLaptop2> oh with vob?
[12:46] <phr3ak> yes
[12:46] <burek> ubitux, could tile filter be reused to achieve mosaic videos with several input videos instead of only 1? :)
[12:47] <LithosLaptop2> -i 00000481007dd526105228.avi -acodec copy -vn test.mka
[12:47] <LithosLaptop2> thats without video
[12:47] <LithosLaptop2> but check if it plays audio
[12:49] <phr3ak> it's copy only audio
[12:49] <LithosLaptop2> yes
[12:49] <LithosLaptop2> does it play?
[12:49] <phr3ak> yes
[12:51] <LithosLaptop2> then this should work: -i 00000481007dd526105228.avi -acodec copy -vcodec copy test.mkv
[12:51] <LithosLaptop2> lol I give up
[12:55] <phr3ak> what is that -vn ?
[12:55] <phr3ak> without that, 2 streams copied
[12:55] <burek> novideo
[12:55] <LithosLaptop2> -vn = no video
[12:56] <burek> phr3ak, try this: ./ffmpeg -i 00000481007dd526105228.mpeg -c copy copy.mpeg
[12:56] <burek> and see if your copy.mpeg plays correctly
[12:57] <ubitux> burek: no, you need to use overlay for that
[12:57] <phr3ak> but only one stream copied if i specify -f mpeg2video at commandline
[12:57] <ubitux> burek: maybe a mosaic mode could be added to overlay though
[12:57] <LithosLaptop2> yeah don't use mpeg2video
[12:58] <burek> ubitux ok, i'm already playing with it, but i get an error, using just an example from docs
[12:58] <phr3ak> then i got v1 container. that's not playable.
[12:58] <phr3ak> http://pastebin.com/SFNyKYMq
[12:59] <LithosLaptop2> phr3ak: show me the pastebin for: -i 00000481007dd526105228.mpeg -vcodec copy -acodec copy test.mkv
[12:59] <burek> http://pastebin.com/BRM5cuM6
[13:10] <phr3ak> this works: ffmpeg -i 00000481007dd526105228.mpeg -t 00:30 -target pal-dvd -c copy
[13:11] <LithosLaptop2> phr3ak: -i 00000481007dd526105228.mpeg -vcodec copy -acodec copy -fmt vob test.mpeg
[13:13] <phr3ak> -f vob
[13:13] <phr3ak> yes, same result. it's working, thanks
[13:16] <phr3ak> what is this vob?
[13:18] <LithosLaptop2> MPEG-2 PS (VOB)
[13:19] <LithosLaptop2> VOB file extensions are used for MPEG-2 Program Streams on DVDs
[13:20] <LithosLaptop2> MPEG-2 PS files can end with .mpg, .mpeg, .m2p, .ps, .vob
[13:22] <LithosLaptop2> ,but I think when you specified .mpg in ffmpeg it assumed you wanted to output to MPEG Video File (.mpg, .mpeg) instead of MPEG-2 PS
[13:22] <LithosLaptop2> AC3 audio can't fit in a MPEG Video File
[13:30] <phr3ak> MPEG Video File means mpeg v1?
[13:38] <LithosLaptop2> by MPEG Video File I meant MPEG-1: Part 1 Program Stream
[13:39] <LithosLaptop2> AC3 can fit in a MPEG-2: Part 1 Program Stream
[13:45] <phr3ak> unfortunatelly ffmpeg didn't show any error
[14:09] <burek> if we use the stream specifier 0:v and the 0th input has got multiple video streams, which one will be selected?
[14:09] <burek> the first one or the "best" one (according to the video stream parameters) ?
[14:17] <Hans_Henrik> any1 know what this means? [mp3 @ 0000000000326c60] max_analyze_duration 5000000 reached at 5015510
[14:25] <burek> Hans_Henrik, that's ok
[14:25] <burek> it's just an info
[19:50] <CoreISP> Heya folks, I want to convert a m4v to avi or mpeg. I tried ffmpeg -i video.m4v -ab 256 -b 6000 -s 842xsomething video.avi. Yet, no matter what I define, even if I increase resolution, or decrease it, and set bitrate lower or (much) higher... the quality keeps ending up being totally raped. Tried to search google but there the command I used is pretty much mimic'ed. Anyone got any pointers? :)
[20:04] <sacarasc> CoreISP: You're probably going from a good codec (H264) to a shit one (ASP).
[20:04] <sacarasc> Also, -b 6000 means 6kbps.
[20:05] <CoreISP> lol 6kbps for videotrack would explain a lot
[20:06] <sacarasc> And 256 is just 256bps.
[20:06] <sacarasc> If you add a k after them both, it should be somewhat normal.
[20:06] <CoreISP> Hmm, the sound still sounded great
[20:07] <CoreISP> It get's angry now
[20:07] <CoreISP> warning, clipping 1 dct coefficients to -255..255:01:13.52 bitrate=6153.6kbits/s
[20:07] <CoreISP> [mpeg1video @ 0x1085b60] warning, clipping 1 dct coefficients to -255..255
[20:07] <CoreISP>     Last message repeated 30 time
[20:07] <sacarasc> Ah, it's using mpeg1 video, it will look very bad. :D
[20:08] <CoreISP> Yeah it kinda did, what codec would you recommend?
[20:08] <sacarasc> If you have to use AVI, you could try H264 using the x264 encoder, but it won't be at its finest, otherwise maybe try the ASP encoder (mpeg4).
[20:10] <gangam_> HI, anyone knows if it is possible to use ffmpeg as an rtsp server, perhaps along with live5555?
[20:12] <CoreISP> trying mpeg4 now, size seems considerably larger than last time (reducing 2GB to 300MB or something lol), hope quality is retained :)
[20:14] <CoreISP> Thanks for the help :)
[20:33] <LithosLaptop2> CoreISP: if you don't need to change the resolution or bitrate you might just as well copy the streams into an avi container
[20:33] <sacarasc> And hope there's no B-frames. \o/
[20:35] <LithosLaptop2> true
[20:38] <CoreISP> Ah it finished converting :) It works fine except in VLC for some reason; but that's not important. The sole reason I had to change it was to watch it on the TV without having to transcode
[20:39] <sacarasc> But you just did transcode! :D
[20:40] <CoreISP> Yeah I mean on the fly :P
[20:40] <CoreISP> Terrible to do over WiFi
[20:40] <CoreISP> (At least, it never worked nice on the PS3 with anything HD quality)
[20:45] <sacarasc> HD is a resolution, not a quality.
[20:53] <zap0> i have some HD images...  they use 32x32 blocks, quanitized to 1 bit  :p
[23:36] <AKX> Good evening! I'm trying to form a ffmpeg command line to resize and concatenate several different-format and different-resolution streams into one file. I'm using a script to generate the command line, but I'm getting "No output pad can be associated to link label '1:v'." I'm generating the following filter_complex strings:
[23:36] <AKX> -filter_complex '[0:v]scale=1280x720[s0] [1:v]scale=1280x720[s1] [2:v]scale=1280x720[s2] [3:v]scale=1280x720[s3]' -filter_complex '[s0] [0:a] [s1] [1:a] [s2] [2:a] [s3] [3:a] concat=n=4:v=1:a=1 [v] [a]'
[23:37] <AKX> So if someone happens to know what's wrong with my graphs there, please let me know :D
[23:50] <AKX> Ah, got it
[23:50] <AKX> ; separates filters in the filtergraph spec. Heh, should've RTFM'd
[23:54] <durandal_1707> why filter_complex is set twice?
[23:56] <AKX> Yeah, I fixed that too
[23:56] <AKX> Thought it'd be clearer if the resizing and merging would be separate... but then they apparently create separate graphs too
[23:57] <AKX> Ended up with this, and it seems to at least be encoding something:
[23:57] <AKX> [0:v]scale=720x480,setsar=1:1[s0];[1:v]scale=720x480,setsar=1:1[s1];[2:v]scale=720x480,setsar=1:1[s2];[3:v]scale=720x480,setsar=1:1[s3];[s0] [0:a] [s1] [1:a] [s2] [2:a] [s3] [3:a] concat=n=4:v=1:a=1 [v] [a]
[00:00] --- Mon Jun 10 2013


More information about the Ffmpeg-devel-irc mailing list