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

burek burek021 at gmail.com
Thu Sep 10 02:05:01 CEST 2015


[00:32:41 CEST] <SteamPoweredH> hey all
[00:32:51 CEST] <SteamPoweredH> ive been getting this error: [h264 @ 0x10203d000] SEI type 5 size 5544 truncated at 5531
[00:33:40 CEST] <SteamPoweredH> also, i've been reading the "info" level output in my bash, and my bitrate is displayed as 0 and there is no size listed
[00:34:24 CEST] <SteamPoweredH> i'm outputting to /dev/null via a script that runs a two-pass encode with some subtitle options, and i am running the processes on an mkv, to convert it to an ogv
[00:34:41 CEST] <SteamPoweredH> should i be worried about any of this? happy to provide more info/logs.
[00:36:59 CEST] <c_14> iirc bitrate shenanigens aren't supported for all output protocols (maybe even formats). And pass 1 never shows bitrate (afaik). It should say N/A instead of 0 though
[00:38:44 CEST] <SteamPoweredH> hmm, good, then i probably shouldn't be worried about that
[00:39:28 CEST] <SteamPoweredH> that h264 error is weird, i'm not finding much about it anywhere on the trac or the mailing lists, that i've browsed, or at least nothing that i can quite make sense of yet
[00:39:48 CEST] <SteamPoweredH> guess i can see what the output looks like
[00:40:16 CEST] <tlhiv_laptop> i want to convert a sequence (say 3 for example) of PNG images to a MP4 each displaying for a different amount of time ... how can this be done?
[00:41:47 CEST] <c_14> either duplicate the images on your hdd so they perform a sequence and have the correct durations at a certain framerate, or use each as a separate input with -loop 1 and a -t duration, then concat filter
[00:42:11 CEST] <llogan> or use the duration option with the concat demuxer
[00:42:19 CEST] <llogan> lots of choices
[00:42:52 CEST] <tlhiv_laptop> c_14: i would prefer the latter i think, but i'm not sure about the concat filter
[00:47:50 CEST] <c_14> The concat demuxer might be easier, not sure.
[00:48:16 CEST] <tlhiv_laptop> this does not work
[00:48:20 CEST] <tlhiv_laptop> ./ffmpeg -f concat -i 001.png -loop 1 -t 1 -i 002.png -loop 1 -t 4 -i 003.png -loop 1 -t 8 -pix_fmt yuv420p -vcodec libx264 001.mp4
[00:48:35 CEST] <c_14> Because you're mixing things
[00:48:45 CEST] <c_14> The concat demuxer needs a text file as input
[00:49:03 CEST] <c_14> It then parses the textfile for a list of input files
[00:49:15 CEST] <tlhiv_laptop> can i do it from the command line without a textfile?
[00:50:26 CEST] <c_14> ffmpeg -f concat -i <(printf "file 001.png\nfile 002.png") <- if your shell supports command expansion like that
[00:50:40 CEST] <c_14> Not entirely sure how you'd specify the durations that way
[00:50:47 CEST] <tlhiv_laptop> :-/
[00:50:59 CEST] <c_14> ah, probably file 001.png\nduration x\n
[00:51:28 CEST] <tlhiv_laptop> where x is the number of seconds?
[00:51:38 CEST] <c_14> yep
[00:54:53 CEST] <tlhiv_laptop> ./ffmpeg -f concat -i <(printf "001.png\n2\n002.png\n4\n003.png\n8\n") -loop 1 -pix_fmt yuv420p -vcodec libx264 001.mp4
[00:55:00 CEST] <tlhiv_laptop> this is not working either :-/
[00:55:09 CEST] <c_14> \nduration 2\n
[00:55:22 CEST] <tlhiv_laptop> oh yeah ... you said that :-)
[01:11:02 CEST] <tlhiv_laptop> ./ffmpeg -f concat -i <(printf "001.png\nduration 2\n002.png\nduration 4\n003.png\nduration 8\n") -loop 1 -pix_fmt yuv420p -vcodec libx264 001.mp4
[01:11:08 CEST] <tlhiv_laptop> c_14: still not working :-(
[01:12:05 CEST] <c_14> printf "file 001.png\n
[01:12:45 CEST] <c_14> hmm, that doesn't work either
[01:12:47 CEST] <c_14> let me test this
[01:12:56 CEST] <tlhiv_laptop> thanks
[01:15:33 CEST] <tlhiv_laptop> file $PWD/001.png works
[01:17:05 CEST] <c_14> It doesn't seem to display the last frame for more than a fraction of a second though.
[01:17:13 CEST] <tlhiv_laptop> agreed
[01:17:53 CEST] <llogan> just repeat the last frame
[01:17:55 CEST] <tlhiv_laptop> i think the last "duration" should be total time of the file ... so in this case it should be 14
[01:18:07 CEST] <tlhiv_laptop> 2+4+8 = 14
[01:18:12 CEST] <tlhiv_laptop> so use 2, 4, and 14
[01:18:46 CEST] <tlhiv_laptop> nevermind ... that doesn't work either
[01:19:14 CEST] <c_14> You might just have to add the last frame again.
[01:19:25 CEST] <c_14> This might be that old bug again.
[01:20:27 CEST] <tlhiv_laptop> so by adding last frame again, what do you mean?
[01:20:36 CEST] <tlhiv_laptop> do i need to specify a duration 0 in that case?
[01:20:46 CEST] <c_14> just file frame\nduration x\nfile frame
[01:21:29 CEST] <Mista_D>  can't create the rav video out of 4K big bunny file, need pix_fmt "NV16". http://pastebin.ca/3156288
[01:22:20 CEST] <Mista_D> Error: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto-inserted scaler 0'
[01:23:26 CEST] <tlhiv_laptop> c_14: that's not working either :-(
[01:23:40 CEST] <c_14> tlhiv_laptop: error?
[01:23:46 CEST] <tlhiv_laptop> it's too long
[01:24:18 CEST] <tlhiv_laptop> 2 + 4 + 8 = 14 seconds ... the resulting is 18 seconds and the last frame was 10 seconds long
[01:24:28 CEST] <c_14> Mista_D: can you check if nv16 is listed as a valid output format with `ffmpeg -pix_fmts' ?
[01:25:01 CEST] <Mista_D> yes
[01:25:30 CEST] <Mista_D> ..... nv16                   3            16
[01:25:49 CEST] <Mista_D> do dots mean that its not enabled?
[01:25:52 CEST] <c_14> If it were enabled for output it would have an O there
[01:26:00 CEST] <c_14> Should at least
[01:34:30 CEST] <tlhiv_laptop> c_14: weird ... it seems that the last duration should actually be input as "last duration - previous duration" (even if that number is negative)
[01:34:53 CEST] <tlhiv_laptop> so, for example, to have durations 1,4,7, the corresponding durations should be input as 1,4,3
[01:35:13 CEST] <tlhiv_laptop> and if the durations are 1,9,2, then they should be input as 1,9,-7
[01:35:15 CEST] <tlhiv_laptop> very weird
[01:36:02 CEST] <pzich> really? that doesn't sound right
[01:36:17 CEST] <tlhiv_laptop> actually ... that doesn't work either ... this seems random :-/
[01:38:06 CEST] <llogan> are you using an old build? you never did show a complete console output AFAIK
[01:38:20 CEST] <c_14> llogan: I can reproduce with current git head
[01:38:43 CEST] <tlhiv_laptop> 2.7.2
[01:39:23 CEST] <c_14> It seems to work if I add the last frame twice though.
[01:39:39 CEST] <c_14> +-.039s
[01:42:23 CEST] <tlhiv_laptop> this produces a video consisting of three images with duration 1,9,2 seconds
[01:42:26 CEST] <tlhiv_laptop> ./ffmpeg -f concat -i <(printf "file $PWD/001.png\nduration 1\nfile $PWD/002.png\nduration 9\nfile $PWD/003.png\nduration 1\nfile $PWD/003.png\nfile $PWD/003.png\n") -loop 1 -pix_fmt yuv420p -vcodec libx264 001.mp4
[01:42:34 CEST] <tlhiv_laptop> notice that last one is 2/2 = 1
[01:42:46 CEST] <c_14> get rid of the loop
[01:42:53 CEST] <tlhiv_laptop> ah
[01:49:20 CEST] <Mista_D> c_14: How can NV16 be enabled during build?
[01:56:13 CEST] <c_14> I have no clue.
[02:47:26 CEST] <fred1807> can I direct cut a mp4 movie without re-encoding?
[03:01:05 CEST] <DHE> fred1807: you can do -codec copy and use the seek/duration commands, but your start point will be rounded to a keyframe
[03:01:30 CEST] <fred1807> okay
[05:51:27 CEST] <jasom> so, I'm running into this message converting a dvd to mkv (just copying the dvd subs as-is): Application provided invalid, non monotonically increasing dts to muxer in stream 2: 4510836 >= 4381946
[05:52:37 CEST] <jasom> this stream is dvd picture subs, the source is an mpeg2 program stream from a dvd
[08:19:47 CEST] <badkeypoints> Anyone here ever done ffmpeg sample app in android ndk?
[08:19:55 CEST] <badkeypoints> Possible with r10e version ?
[08:20:16 CEST] <badkeypoints> I need a sample example app, because I'm totally new to C++ build, make, etc stuff
[09:13:17 CEST] <mtcjayne> Can anyone explain this "unknown error" based on the debug log? http://pastebin.com/raw.php?i=yELyMhWa
[09:14:00 CEST] <mtcjayne> Oh to expand, the output of the youtube-dl program is two HTTP URLs. One is a DASH video stream, the other is a DASH audio stream.
[09:41:00 CEST] <mtcjayne> I want to have an HTTP server listen (e.g. on http://localhost:8008) for requests (e.g. http://localhost:8008/watch.php?v=foobar") and have FFmpeg concatenate two inputs, one video and one audio, and serve the result on the fly. Is this possible or does FFmpeg have to download the entire input file or files to begin concatenation?
[10:19:27 CEST] <badkeypoints> mtcjayne: Can you show sample code?
[10:22:28 CEST] <mtcjayne> Sample code for what?
[10:35:40 CEST] <mtcjayne> http://pastebin.com/raw.php?i=xJZhsD2u
[12:48:29 CEST] <d-fens_> hi, i try to use itsoffset using a *.png source, but its ignored. what am i doing wrong here? ffmpeg.exe -r 15 -loop 1 -t
[12:48:29 CEST] <d-fens_> 5 -i background.png -r 15  -t 3 -itsoffset 2 -i overlay\%04d.png -filter_complex "[0][1] overlay" -r 15 -y out.mp4 , it starts right from the beginning and stays till the end ...
[13:40:21 CEST] <MrJoestar> I'm getting the message "error: #include expects "FILENAME" or <FILENAME" when compiling ffmpeg, but the compilation continues normally. Why this happens? Is it normal? Thanks
[14:27:40 CEST] <MrJoestar> fflogger: http://pastebin.com/yPnnhjHp here is the pastebin
[15:08:31 CEST] <satiender> hi , can I save the ffmpeg output.ts in memory buffer for example  char *buffer ; as a output ,.
[15:08:36 CEST] <satiender> is it possible
[15:10:38 CEST] <satiender> ??
[15:13:51 CEST] <DHE> that's source hacking to ffmpeg. if you're doing that, you can do anything you want
[15:14:07 CEST] <DHE> but there are other options. save it to a ramdisk, save it to a named pipe, save it to a network target...
[15:14:10 CEST] <satiender> DHE : yes you right
[15:15:11 CEST] <satiender> DHE: Actually I am using ffmpeg in my android app and there namepiped implementation is not possible for real time
[15:15:23 CEST] <satiender> because of blocking
[15:16:15 CEST] <satiender> DHE : have any Idea save output in buffer and the give that buffer to your player as input for real time preview
[15:16:17 CEST] <satiender> ??
[15:31:44 CEST] <satiender> hi anyone can help ??
[16:31:44 CEST] <adv_> does ffmpeg have any problems with mkv?
[16:31:50 CEST] <klaxa|work> no
[16:32:13 CEST] <c_14> Well
[16:32:15 CEST] <c_14> Not usually.
[16:32:27 CEST] <adv_> undf codec
[16:38:04 CEST] <adv_> ah it's vp9
[16:38:34 CEST] <adv_> in a mkv
[16:38:42 CEST] <adv_> it can't read it
[16:39:03 CEST] <klaxa|work> that's weird
[16:39:55 CEST] <klaxa|work> what version are you using? and with what configuration?
[16:42:27 CEST] <adv_> ffmpeg version N-50911-g9efcfbe Copyright (c) 2000-2013 the FFmpeg developers
[16:43:10 CEST] <klaxa|work> 2013 is pretty old, try updating to a newer version
[16:51:09 CEST] <adv_> worked
[16:51:10 CEST] <adv_> thanks
[17:23:08 CEST] <satiender> hi , can I save the ffmpeg output.ts in memory buffer for example  char *buffer ; as a output
[17:31:08 CEST] <durandal_170> from app no, from api yes
[20:23:45 CEST] <foonix> btw, whats the purpose of encoding to matroska output and have start: 0.007000 ? (not 0)
[20:33:04 CEST] <Fjorgynn> :D
[23:19:53 CEST] <feliwir> hey, what do to about this error during configure: Unknown OS 'msys_nt-10.0'. ?
[23:21:18 CEST] <llogan> you should at least show the contents of config.log (or at least the first 50 and last 50 lines). use a pastebin service.
[23:22:35 CEST] <feliwir> https://gist.github.com/feliwir/a09e0c0186ae5bde2850
[23:27:30 CEST] <feliwir> can you please leave a commit on the gist? I need to go
[23:50:30 CEST] <Taoki> Hello.
[23:52:06 CEST] <Taoki> I wanted to know about something: I use a mobile phone camera which can only film at 30 FPS, but I want to produce some 60 FPS videos with it. I was wondering if by any chance, ffmpeg has any filters or other tricks that allow it to speed up video to increase frame rate. As in, to double the frame rate by generating plausible and good looking in-between frames.
[23:54:09 CEST] <iive> michaelni: users are like sharks... they can smell that you are working on mcfps :)
[23:55:32 CEST] <iive> Taoki: i think there was a patch proposal for such filter, named mcfps on the ffmpeg-dev maillist.
[23:55:58 CEST] <llogan> also see slowmovideo
[23:56:03 CEST] <iive> Taoki: you'd have to apply a patch and compile your ffmpeg at minimum.
[23:56:08 CEST] <Taoki> I see
[23:56:27 CEST] <Taoki> That might be a bit more complicated than what I'm looking to do for now. Maybe the patch will be eventually accepted?
[23:57:10 CEST] <iive> well, sure... but it could take a while.
[23:57:36 CEST] <iive> check the one llogan told you .
[23:58:07 CEST] <Taoki> I'll look into it.
[23:58:07 CEST] <iive> btw, some cameras provide 60fps in interlaced mode.
[23:58:24 CEST] <Taoki> I use a smartphone camera so :P
[00:00:00 CEST] --- Thu Sep 10 2015


More information about the Ffmpeg-devel-irc mailing list