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

burek burek021 at gmail.com
Wed Jun 18 02:05:02 CEST 2014


[00:00] <ninjas_> http://pastie.org/9296689
[00:00] <ninjas_> any brilliant insight into this
[00:00] <ninjas_> before I murder a village?
[00:00] <c_14> sh does not have () syntax, use bash
[00:01] <ninjas_> I hate to ask this, but can you give me an example back?  I'm about to have a heart attack
[00:01] <c_14> In line 1, replace sh with bash
[00:02] <ninjas_> I'm such an idiot
[00:03] <ninjas_> I would have never even thought to look there
[00:04] <c_14> Also, I think the < should be a $
[00:05] <c_14> unless you want the fifo
[00:05] <c_14> which you actually might, looking at it
[00:10] <ninjas_> here we go
[00:12] <ninjas_> wow
[00:33] <ninjas_> do images have to start wtih 000.jpg
[00:33] <ninjas_> or can it start with 001.jpg and be sequential
[00:33] <c_14> You can start with 001.jpg
[00:34] <ninjas_> I just renamed my youngest son to c_14
[00:37] <c_14> I'm sure he'll be very happy.
[00:40] <ninjas_> lol
[00:56] <ninjas_> so can I use bash and sh in the same file?
[00:56] <c_14> Yes, but that'll get real ugly real fast, why?
[00:56] <ninjas_> lol
[00:56] <ninjas_> well
[00:56] <ninjas_> I'm not getting my concat comoplete
[00:56] <ninjas_> and its so freaking simple
[00:56] <c_14> error output?
[00:57] <ninjas_> http://pastie.org/9297163
[00:58] <ninjas_> I don't know if its counting too high or what
[00:59] <c_14> you'll probably have to replace the printf with a for loop
[01:00] <ninjas_> can I do that with an unknown number of files?
[01:00] <c_14> <(for f in /home/video/images/$1/*.mpg; do echo "file \'$f\'"; done)
[01:00] <c_14> something along those lines should work
[01:00] <ninjas_> omg
[01:00] <ninjas_> thank you
[01:00] <ninjas_> here I go
[01:02] <c_14> those '\'es might not belong there
[01:02] <ninjas_> same herror
[01:03] <c_14> <(for file in /home/$var/$var*.png; do echo "file '$file'"; done)
[01:03] <c_14> ^that seems to produce decent output for me
[01:03] <ninjas_> thats all I'm going for brother, just decent output lol
[01:04] <ninjas_> and some sleep
[01:06] <ninjas_> http://pastie.org/9297214
[01:06] <ninjas_> telling me an output has to be specified, I just copy pasted what you gave me out of blind faith, I can add the output
[01:07] <c_14> you're missing the second half of the command
[01:07] <c_14> >-i 001.mp3 -c:v copy -shortest -strict -2 -movflags faststart output.mp4;
[01:07] <c_14> ^that part
[01:09] <ninjas_> yeah, I thought you had some super way of tleling it all of that
[01:09] <ninjas_> FYI
[01:09] <ninjas_> I "taught" myself FFMPEG since wendesday and don't do C programming at all
[01:09] <ninjas_> PHP and MySQL
[01:09] <ninjas_> and I didn't know I could do PHP FFMPEG
[01:10] <ninjas_> ok, running it from the top
[01:11] <ninjas_> you got a paypal email you want me to drop some loot in?
[01:11] <c_14> It's fine. I do this mainly for the kicks.
[01:11] <ninjas_> I'd be honored
[01:11] <ninjas_> because I may have committed a neighborhood wide genocide with you to calmly and respectfully talk me through this
[01:12] <ninjas_> its running, and its taking an awful long time, that is a good thing
[01:14] <ninjas_> omg
[01:14] <ninjas_> it claimed my audio wasn't there
[01:15] <c_14> File does not exist?
[01:15] <ninjas_> No such file or directory
[01:15] <c_14> can you paste the output?
[01:16] <ninjas_> http://snag.gy/IfroO.jpg
[01:16] <ninjas_> here is the directory
[01:16] <c_14> for most of it you're using the absolute path but for the audio you're using the relative path, maybe that's the issue?
[01:17] <ninjas_> http://pastie.org/9297272
[01:17] <ninjas_> ah
[01:17] <ninjas_> I swear man
[01:17] <ninjas_> thisi s 101 stuff
[01:17] <ninjas_> what about output?
[01:18] <ninjas_> should I use absolute as well?
[01:18] <c_14> depends where you want it, if you want it to always go in that directory, then yes
[01:18] <c_14> If you always want it in the current dir, don't.
[01:19] <ninjas_> ok
[01:19] <ninjas_> here we go
[01:22] <ninjas_> no way
[01:22] <ninjas_> it just f-ing worked
[01:23] <ninjas_> please let me send you something
[01:25] <Timmy_L|NB> Hai. I'm having some issues with an .mkv-file. It supposedly has three subtitle streams (at least according to mediafile), but -sst 0-2 does't seem to display them. Any pointers?
[01:25] <Timmy_L|NB> I can share the mediainfo output if you want.
[01:25] <ninjas_> http://pastie.org/pastes/new
[01:25] <c_14> ninjas_: It's fine. If you really want to though, pm me and we can talk about it there.
[01:25] <ninjas_> they like you to use
[01:25] <ninjas_> I don't know how to PM
[01:25] <ninjas_> I haven't used irc since the 1990s
[01:26] <Timmy_L|NB> http://pastie.org/9297313
[01:26] <c_14> Normally it's just /query nick
[01:26] <c_14> Timmy_L|NB: what are you trying to do?
[01:27] <c_14> according to ffmpeg-all -sst doesn't seem to be a valid option.
[01:27] <Timmy_L|NB> I'm trying to view the movie with the English subtitles (text-stream number three), so I thought ffplay -sst 3 (or maybe 2) would do it, but nope.
[01:27] <Timmy_L|NB> Oh? :o
[01:27] <Hello71> IRC hasn't changed since 1993 since rfc 1459 came out
[01:28] <Timmy_L|NB> man ffplay says -sst is where I pick subtitle stream number
[01:28] <c_14> ah, -sst is an ffplay option, now I see
[01:28] <c_14> I'm pretty sure you can only display one subtitle stream at a time.
[01:29] <Timmy_L|NB> Uhm, yeah? I only want one at a time. :3
[01:30] <Timmy_L|NB> Wouldn't specifying -sst 2 disable all other than stream number 2?
[01:31] <c_14> Have you tried pressing t while ffplay is playing to switch streams?
[01:32] <Timmy_L|NB> Doesn't seem to work.
[01:32] <c_14> I can't seem to get ffplay to display subtitles for me right now either...
[01:35] <Timmy_L|NB> Alright, VLC shows the subtitles and also fixed my 5.1 -> 2.1 audio issues. So at least I know the file is okay. ^^
[01:35] <Timmy_L|NB> I'll try to fix it with ffplay after I've seen the movie, but I'll stay here if you guys come up with anything. :3
[01:42] <c_14> hmm, ffplay really doesn't want to show subtitles...
[01:51] <llogan> Hello71: nerd.
[02:10] <fjen_> gerion: try libav
[03:34] <Freakshow> anyone around that has experienced an issue with -list_devices returning as an unrecognized option?
[03:35] <Freakshow> in such that
[03:35] <Freakshow> ffmpeg -list_devices true -f dshow -i dummy
[03:35] <Freakshow> ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
[03:35] <Freakshow>   built on Jun  5 2014 17:14:36 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
[03:35] <Freakshow> Unrecognized option 'list_devices'.
[03:35] <Freakshow> Error splitting the argument list: Option not found
[03:35] <Freakshow> or am I doing something completely unexpected?
[03:36] <Ross> Hello, is anyone active in this chat??
[03:38] <klaxa> not now at least
[03:40] <Ross> Should I use the mailing ilst instead??
[03:40] <Ross> list*
[03:41] <klaxa> how about you ask your question first
[03:41] <klaxa> also it's the middle of the night in most of europe
[03:42] <klaxa> not sure how the channel is geographically split though
[03:43] <Ross> I am using FFMPEG compiled from GIT version N-63716-g763e714 with --enable-gpl --enable-libx264 --enable-libmp3lame --enable-nonfree --enable-libaacplus running this command line:
[03:43] <Ross> screen -d -m -S TV3 ffmpeg -i "udp://@224.2.12.1:1234?fifo_size=10000&overrun_nonfatal=1" -vcodec mpeg2video -pix_fmt yuv420p -me_method epzs -threads 16 -r 25 -g 45 -bf 2 -trellis 2 -cmp 2 -subcmp 2 -s 720x576 -b 1500k -bt 300k -acodec mp2 -ac 2 -ab 192k -ar 44100 -async 1 -y -f mpegts udp://224.2.89.3:1234
[03:43] <Ross> works perfectly and wonderfully for like 1 week solid
[03:43] <Ross> then a frame sort of got stuck in the video. you can see it here http://103.14.142.201/ecast/wtfmoment.mpg
[03:44] <Ross> at about 1 minute 35 you can see that dog with "dont go away" frame stays throughout the transcode
[03:45] <Ross> i was wondering if anyone had experiance with something like this??
[03:46] <klaxa> well there is nothing obvious in the command line
[03:47] <Ross> I should of compiled with enable pthreads too
[03:49] <klaxa> wow that looks bad
[03:49] <klaxa> like every frame is referencing that key-frame
[03:49] <Ross> lol yeah
[03:49] <klaxa> no idea, sorry
[03:50] <klaxa> maybe make the sample smaller and ask the mailing list
[03:50] <Ross> thats ok, thanks for looking. I will ask the mailing list
[03:59] <llogan> someone tell Freakshow next time that dshow is for Windows, AFAIK
[04:21] <Mephistos> hi folks
[04:25] <Mephistos> quick question, does is anyone familiar with bayer_rggb16le.  I believe they've only just added this as part of support for MLV (Magic Lantern's version of raw).
[04:54] <Mephistos> I get errors trying to translate the files from bayer_rggb16le to yuv444 or something similar?
[04:56] <Freakshow> not sure if anyone saw my question about dshow
[04:56] <Freakshow> I know it's late in EU but I had disconnected for a bit
[04:59] <llogan> Freakshow: "<llogan> someone tell Freakshow next time that dshow is for Windows, AFAIK"
[05:00] <Mephistos> no problems
[05:00] <Mephistos> give me a sec
[05:10] <Mephistos> http://pastebin.com/zzPrYGfu
[05:10] <Mephistos> This is one that failed
[05:11] <Mephistos> And one that worked, but gets converted to rgb24
[05:12] <Mephistos> http://pastebin.com/xrcFjL3k
[05:56] <llogan> Mephistos: might want to try the ffmpeg-user mailing list for that one
[05:57] <Mephistos> sounds like a plan, it's very new.
[06:12] <_genuser_> hey guys, it appears that when I encode a 20minute video, it's completed in X amount of time. However, when I encode a 40minute video, the first 20minutes take X+Y amount of time.
[06:12] <_genuser_> using ffmpeg -i source.mpg -vcodec h264 -acodec aac -strict -2 output.mp4
[06:12] <_genuser_> has anyone else noticed this?
[09:23] <volmatrix> hello everyone, is it possible to encrypt a multicast udp live stream (with ffmpeg of course) ?
[09:31] <yusif> hi how can i put c99convert in the path
[09:33] <yusif> any one here
[11:19] <volmatrix> hello everyone, is it possible to encrypt a multicast udp live stream (with ffmpeg of course) ?
[12:14] <t4nk909> hi, can i LIVE stream four video + 4 audio to a tablet device that is in the same LAN without delay - with all in sync
[12:47] <liuqiang> should I call avpicture_free on code like this: " avpicture_alloc((AVPicture *)dst_frame, PIX_FMT_YUVA420P, iDstWidth, iDstHeight);"
[13:10] <tfirg> should i be able to do x11grab with uhd resolution w/o buffer underruns?
[13:11] <kamillo1888> is there any way to transcode video with Intel® Xeon Phi™ Coprocessor 5110P (8GB, 1.053 GHz, 60 core)?
[13:11] <tfirg> ive been using ffmpeg on full hd for a while with out problems but with this ultra hd screen i get all kinds of issues. like buffer underuns and blue flickers
[13:21] <vl4kn9> Could someone please explain how to compute 2D DCT? Do I compute DCT for each row and then for each column of the already computed DCT?
[16:19] <vl4kn0> Hi, I'm getting segfault at ff_dct32_float_avx that is automatically selected by the av_dct_init(5, DCT_II). When running the same code with DCT_III it works fine. Is that a known bug or am I missing something?
[16:40] <Freakshow> llogan: so I can't access dshow filters at all on linux?
[16:41] <Freakshow> btw, thanks for having someone mention that to me while I was disconnected, I appreciate that
[16:43] <Mavrik> that would be hard considering the fact directoshow doesn't exist on linux.
[17:05] <Freakshow> ok, that makes sense& I honestly haven't even needed to try before
[17:06] <Freakshow> I have a blackmagic card I'm trying to pull bits from and that's what I find consistently referenced for accessing it
[17:06] <Freakshow> grrr! thanks Mavrik
[17:09] <Freakshow> looks like I'm bound for bmdtools then
[17:09] <Mista-D>  anyway to boost volume with a limiter?
[17:13] <needmorespeed> Are there any buffer or queue utilities for holding decoded frames?
[18:05] <vl4kn0> Does ffmpeg have boxing filter? Often also called smoothing, averaging, mean..., one that takes kernel of for example 7x7 and averages the value into currently computed pixel.
[18:20] <saste> vl4kn0, there is a boxblur filter
[20:05] <hendry> an MP4 i created doesn't playback on an iphone or ipad. What am I missing? http://mp4.dabase.com/
[20:09] <llogan> hendry: you're missing your actual, unscripted ffmpeg command and the complete ffmpeg console output
[20:10] <llogan> and which devices are you targeting in particular?
[20:11] <llogan> you can encode just a segment with -t instead of the whole thing if the segment also has the same issues
[20:12] <hendry> llogan: doesn't take too long to run from the start
[20:14] <hendry> llogan: http://ix.io/d0I
[20:18] <llogan> hendry: which iphone and which ipad versions?
[20:21] <hendry> llogan: very latest 7.x
[20:22] <hendry> wonder what -ar is http://stackoverflow.com/a/10748735/4534 something audio related and not applicable here?
[20:24] <llogan> 7 is the iOS version. I meant the hardware
[20:24] <sfan5> hendry: -ar is the audio bitrate
[20:24] <hendry> llogan: iphone 5s and ipad air
[20:24] <sfan5> s/bitrate/sample rate/
[20:34] <llogan> hendry: try "ffmpeg -i input -c:v libx264 -vf scale=1920:-2 -movflags +faststart output.mp4" also your build may not have fix for ticket #3307
[20:42] <llogan> hendry: oh, it can handle level 4.1 and my scale was wrong: ffmpeg -i input  -vf scale=-2:1080  -level 4.2 output
[20:42] <llogan> damn it, i meant 4.2
[20:43] <llogan> you may have to add -refs 3. your console output without -refs may confirm this (or i could not be a lazy ass and look at git log)
[20:44] <llogan> to summarize, don't use the crappy old ipod preset
[20:56] <hendry> llogan: pity the preset isn't updated?
[20:57] <llogan> hendry: no, and I'm going to remove them. see https://trac.ffmpeg.org/wiki/Encode/H.264#iOS instead
[21:12] <hendry> llogan:  python -m http.server <--- i think was my problem
[21:15] <hendry> what does: -vf scale=-2:1080 mean? esp the -2?
[21:17] <llogan> hendry: it's explained here under the w and h options: http://ffmpeg.org/ffmpeg-filters.html#scale
[21:20] <Phlarp> So whats the best practice for concatenating three videos together? can I do this in a single command or will I need intermediate files?
[21:22] <Phlarp> Also I have an audio track that I need to lay over all three videos. The audio is longer than the videos combined so it will need to trim / fade out at the end. I would welcome any advice on these tasks
[21:23] <c_14> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files
[21:24] <c_14> and for the audio, just add it as a regular input file and use -shortest as an output option
[21:24] <mark_t> The build of ffmpeg I'm using on this server doesn't have any aac encoders except for the built-in. I'm not very concerned about size or quality, but is it stable and does it produce compatible output?
[21:24] <llogan> it should be fine. just give it enough bitrat so it sounds good enough
[21:24] <llogan> damned bit rats
[21:26] <mark_t> Thanks, llogan.
[21:29] <hendry> is there a "cheap" way of appending a jpeg frame to an MP4?
[21:29] <llogan> before or after or during?
[21:30] <hendry> err after?
[21:30] <llogan> i mean do you want the image to show, after, or during the main content?
[21:30] <hendry> llogan: after, like an append
[21:35] <hendry> would folks here recommend a tune parameter for a time lapse?
[21:37] <mark_t> Is there an option to tell ffmpeg to print an error instead of asking questions? E.g. File 'test.mp4' already exists. Overwrite ? [y/N]
[21:37] <mark_t> Or, failing that, to tell it to always use the default answer?
[21:38] <Phlarp> Wow, you guys are _good_
[21:38] <Phlarp> This whole thing works just like that! Thank you! Is there a built in option to fade the audio out at the end with -shortest?
[21:41] <mark_t> hendry, what do you mean by "tune parameter"? Options for your video encoder? (And if so, which encoder are you using?)
[21:41] <hendry> mark_t: yes, h264, from https://trac.ffmpeg.org/wiki/Encode/H.264#
[21:43] <llogan> mark_t: use -y or -n global options
[21:44] <mark_t> Thanks, llogan.
[21:44] <llogan> hendry: you might be able to figure out something with concat filter for your append
[21:44] <mark_t> hendry, I use CRF 20 (ffmpeg -crf 20) for my timelapse. Use lower numbers for higher quality (larger files), and higher numbers for the reverse.
[21:45] <hendry> iirc "-crf 20" is slightly better quality mark_t ?
[21:46] <llogan> Phlarp: see afade filter
[21:46] <mark_t> hendry, "-crf 20" is what I suggest starting with.
[21:47] <mark_t> But it also depends on exactly what you're encoding them for. If you want to watch them on low-bandwidth connections, CRF may cause buffering in some parts of the video (high complexity/detailed scenes), but sail smoothly through others.
[21:48] <mark_t> Other encoding options will never buffer, but the high detail/complexity scenes will just get lower quality.
[21:50] <hendry> bit annoying how many "Multiple ff_thread_finish_setup() calls" messages I get back from ffmpeg
[21:52] <llogan> webpee
[21:53] <JEEB> <mark_t> But it also depends on exactly what you're encoding them for. If you want to watch them on low-bandwidth connections, CRF may cause buffering in some parts of the video (high complexity/detailed scenes), but sail smoothly through others. <- whatever rate control you are using, if you are encoding for limited bandwidth, YOU USE VBV
[21:53] <JEEB> (maxrate and bufsize)
[21:53] <JEEB> if you don't use it, then whatever rate control mode you use, it's incorrect
[21:54] <JEEB> general rate control + VBV (maxrate and bufsize) is the only correct way to handle limited bandwidth scenarios
[21:54] <Phlarp> llogan: With afade I have to pass in a start time and duration, but since I'm going to be using -shortest to trim the audio at a variable location is there anyway to say "however long the final output ends up being, fade the last 5 seconds of audio"?
[21:54] <JEEB> and yes, you need BOTH maxrate and bufsize
[21:54] <mark_t> Thanks for the info, JEEB.
[21:55] <JEEB> maxrate is pretty self-explaining and bufsize is the amount the client will buffer, which is usually set somewhere either has seconds (which would be maxrate * seconds) or size (which you then can set as-is)
[21:55] <JEEB> if those two are set, then after buffering once you can be sure that your player will never have to buffer again
[21:56] <llogan> hendry: i don't know why those messages show up, but using -threads 1 as an input option will remvome them, or you can change your loglevel.
[21:56] <hendry> llogan: i want to use max threads in my 8cpu machines
[21:57] <llogan> i was referring to the decoding
[21:58] <llogan> Phlarp: looks like you have to explicitly define the times. you can script it though
[21:58] <llogan> https://trac.ffmpeg.org/wiki/FFprobeTips
[21:59] <llogan> mark_t: http://trac.ffmpeg.org/wiki/EncodingForStreamingSites has some VBV examples
[22:27] <maksimkaaa> hello, I generated a 10 second MP4 video using ffmpeg, it plays only 2 seconds then jumps to end, but when i take this same generated MP4 video and convert it to ogg video it plays the entire 10 seconds! any hints about what could be the reason?
[00:00] --- Wed Jun 18 2014


More information about the Ffmpeg-devel-irc mailing list