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

burek burek021 at gmail.com
Sat Jul 8 03:05:01 EEST 2017


[00:37:54 CEST] <Samizdat> Is there some way to script rtmpdumphelper to hang onto a .swf URL longer than the yoctosecond alotted before expiration?
[00:39:53 CEST] <Samizdat> "Allotted," even.
[00:46:48 CEST] <nemosphere> Samizdat is a name i heard years ago, in France
[00:47:44 CEST] <Samizdat> Oui
[00:48:12 CEST] <nemosphere> it's off-topic, sorry
[00:48:31 CEST] <Samizdat> Je ne sais qua les specifiques, mon frere.
[00:49:06 CEST] <iive> nemosphere:  i thought that samizdat means "self - publish"
[00:49:20 CEST] <Samizdat> roger that
[00:49:30 CEST] <Samizdat> In Russkii
[00:50:02 CEST] <Samizdat> Isn't ffmpeg the more relaxed channel, topic-wise?
[00:50:08 CEST] <nemosphere> it's just an old memory, it just hit myself right now; sorry
[00:50:21 CEST] <Samizdat> nigh whirries, Mite
[02:30:06 CEST] <c3r1c3-Win> I'm starting to get the impression that the FFMPEG Audio filters aren't meant for real-time operations.
[03:11:18 CEST] <durandal_1707> c3r1c3-Win: why
[04:13:31 CEST] <llq> hello, i want to use the mediacodec by ffmpeg in android, i can use the "avcodec_find_decoder_by_name("h264_mediacodec")" success found the codec, but when i open the codec by "avcodec_open2" it return fail, who knows how to solve the problem? thanks!
[04:16:18 CEST] <llq> https://pastebin.com/SP8wUqSx  my code is like this
[04:22:06 CEST] <llq> anyone here ? hehe
[07:39:09 CEST] <llq> hello, i want to use the mediacodec by ffmpeg in android, i can use the "avcodec_find_decoder_by_name("h264_mediacodec")" success found the codec, but when i open the codec by "avcodec_open2" it return fail, who knows how to solve the problem? thanks!
[07:39:22 CEST] <llq> https://pastebin.com/SP8wUqSx  my code is like this
[07:47:55 CEST] <verb5> Hello everyone
[07:48:54 CEST] <llq> hello verb5
[07:50:03 CEST] <verb5> guys i need help not exactly ffmpeg related question but someone here could now how to do it
[07:50:30 CEST] <verb5> i am trying to visualize 10 mpeg2 streams coming from dvb-s tunner into webpage
[07:51:32 CEST] <verb5> but i haven't found any usefull info on how to do it ... i don't want to transcode because i don't have enough resource to do it
[07:52:36 CEST] <verb5> please if anyone have any idea on how to do it let me know
[07:53:00 CEST] <llq> ffmpeg using MediaCodec, avcodec_open2 says error code:-1 (0xffffffff) text: “Operation not permitted”
[07:53:20 CEST] <llq> who knows this problem ? thanks
[08:15:46 CEST] <chuckleplant> Nacht: thanks for the NAL units intro from yesterday!
[13:44:45 CEST] <_Vi> How do I concatenate two H.264 mp4 files with FFmpeg (with re-encoding)? With "ffmpeg -f concat ..." I get a lot of H.264 decoding errors after it gets to the second file (there is second "Auto-inserting h264_mp4toannexb bitstream filter" message).
[13:48:46 CEST] <squ> _Vi: try to run 2 file to see if it has error
[13:51:07 CEST] <_Vi> squ, Converting just the second file is OK. Also converting the first + third.
[13:51:19 CEST] <_Vi> But the second file has a bit incompatible bitstream.
[13:54:48 CEST] <_Vi> Found the answer: instead of "-f concat -i ...." use "-i file1 -i file2 -i file3 -filter_complex concat".
[13:55:03 CEST] <_Vi> But now sound got broken...
[13:57:42 CEST] <squ> concat=n=1:v=1:a=1
[13:57:54 CEST] <squ> need to tell it a=1 (audio)
[13:58:14 CEST] <squ> and have correct -map stuff
[14:00:14 CEST] <_Vi> squ, There are further video filters after concat.
[14:05:08 CEST] <_Vi> Finally got it right after remembering that there may be ';' inside a filter_complex string.
[14:08:40 CEST] <_Vi> Why filter that does nothing called null (anull) instead of identity (aidentity)?
[14:09:24 CEST] <_Vi> And why null can't work with both audio and video like concat?
[14:54:10 CEST] <durandal_1707> c3r1c3-Win: why?
[14:55:23 CEST] <c3r1c3-Win> durandal_1707: It's just being a bit tongue-in-cheek. It's been hard integrating 2 programs that handle audio in similar, but completely different ways.
[15:45:18 CEST] <Guest68152> Hi guys, do you know where the camera model is stored in the mp4 metadatas ?
[20:38:49 CEST] <ShaneVideo> hi guys, any tips on how to get ffmpeg to exit when it hangs.  Sometimes when I have bad input I get: Could not write header for output file #0 (incorrect codec parameters ?): Immediate exit requested. and it never exits
[20:47:46 CEST] <holgersson> ShaneVideo: Hi, as a wild guess, does maybe '-xerror' help? I just searched the manpage for 'exit' and this sounds useful.
[20:47:55 CEST] <ShaneVideo> thanks
[20:56:28 CEST] <thebombzen_> Hm, yesterday Blizzard added a feature to Overwatch to encode video.
[20:56:43 CEST] <thebombzen_> Including a software H.264 encoder
[20:57:58 CEST] <thebombzen_> Does anyone happen to know which one they use? Assuming it's not the GPLed x264, is there a way for me to try to dump metadata to figure that out?
[20:58:48 CEST] <ChocolateArmpits> thebombzen_, I would probably first look for any libraries in the install directory
[20:59:11 CEST] <thebombzen_> I meant from the H.264 bitstream
[20:59:41 CEST] <thebombzen_> it's pretty easy to tell if it's x264, because you can do that with 'strings'
[20:59:47 CEST] <ChocolateArmpits> unless it's as verbose as x264 then unlikely
[21:00:10 CEST] <ChocolateArmpits> they could be using hardware encoding capabilities
[21:00:22 CEST] <ChocolateArmpits> probably is best for gaming scenarios
[21:00:28 CEST] <thebombzen_> It's a checkbox, you can turn that on or off
[21:01:08 CEST] <ChocolateArmpits> of course they would dumb it down
[21:01:11 CEST] <thebombzen_> If it's on it's definitely NVENC on my system (seeing that my iGPU is bios disabled)
[21:01:20 CEST] <thebombzen_> But if it's off? idk
[21:02:01 CEST] <thebombzen_> What's annoying is you cannot render at 120 fps, which is what I game at, so I still need to use my OBS replay buffer
[21:02:45 CEST] <thebombzen_> They also provide a "webm" encoder but I do not know if it's libvpx-vp8 or 9, or vorbis or opus
[21:02:58 CEST] <thebombzen_> My best guess is vp8/vorbis
[21:03:36 CEST] <thebombzen_> although it should be vp8/opus for <=1080p and vp9/opus for >4k
[21:04:09 CEST] <holgersson> Is there any tool to automagically repair h264 video streams? I have some source material created by an video casette convert and if I convert this source into xvid/MPEG4 I get many (different) errors like decode_slice_header error or corrupted macroblock 0 5 (total_coeff=-1) and the created files have artefacts in the video (grey areas until something moves).
[21:05:01 CEST] <thebombzen_> holgersson: have you ever been able to decode the stream?
[21:05:27 CEST] <thebombzen_> Are you sure it's a corrupted bitstream and not a container?
[21:06:21 CEST] <thebombzen_> I ask because ffh264 is pretty good about error concealment so you might just have to fix it by decoding what you have
[21:07:08 CEST] <holgersson> thebombzen_: What do you mean exactly with decode the stream? (Sorry if I lack of proper vocabulary, Im still quite new here).
[21:07:31 CEST] <holgersson> I can play the source material with e.g. mpv and have way less artefacts - and mpv doesnt complain.
[21:08:09 CEST] <thebombzen_> Well mpv uses FFmpeg to do that, so my best guess is your FFmpeg is out of date.
[21:08:30 CEST] <thebombzen_> What command produces the errors?
[21:10:18 CEST] <holgersson> thebombzen_: Its ffmpeg 3.3.2 on Gentoo; USE flags represent more or less the configure flags, and Ill append these to the paste.
[21:11:00 CEST] <thebombzen_> That's recent, hm. Also ffmpeg outputs its configure flags to stderr
[21:11:12 CEST] <thebombzen_> You don't need to do that manually
[21:18:51 CEST] <holgersson> thembozen_, thx, I now see that :D
[21:25:44 CEST] <holgersson> thebombzen_: Sorry, my internet connection drops out here and now.
[21:25:44 CEST] <holgersson> thebombzen_: https://paste.xinu.at/LHAR52/ (~30 lines text paste)
[21:26:37 CEST] <holgersson> (ignore line 3 though..)
[21:32:33 CEST] <Fenrirthviti> thebombzen_: if you figure out what it's using let me know, I'm curious :P
[21:34:15 CEST] <eesh> Hey you guys.
[21:34:37 CEST] <eesh> I want to know something.
[21:34:44 CEST] <eesh> But I don't know how to phrase it.
[21:34:48 CEST] <eesh> it's with ffplay
[21:35:06 CEST] <nicolas17> eesh: once you figure out how to phrase it, you may find the answer too; rubber-duck debugging :)
[21:35:08 CEST] <eesh> I want the window to look really cool when giving it pure-audio files.
[21:40:42 CEST] <holgersson> Thats the outstanding best description I heard in a while :-D
[21:42:37 CEST] <nicolas17> you want audio visualizations?
[21:43:18 CEST] <nicolas17> there's probably better choices of player than ffplay if you want that
[21:56:48 CEST] <thebombzen_> holgersson: what happens if you play the input with ffplay? i.e. do this: ffplay -i source.avi
[22:00:24 CEST] <thebombzen_> Also for future reference, most external libraries are off by default, so you don't need to clutter up your configure line with them
[22:04:40 CEST] <eesh> nicolas17: I want audio visualizations to enter via bash terminal on Linux that will use an audio visualization other than the 3 default ones using the '-filter' command-line option.
[22:06:14 CEST] <holgersson> thebombzen_: The video plays in same quality as with mpv, but doesnt quit when video and audio are played: https://paste.xinu.at/5hKrq/
[22:07:15 CEST] <holgersson> thebombzen_: Thanks, good to know - maybe Ill ask the ffmpeg maintainer about this. I dont set the configure flags by hand though, our build system/package manager does this based on the USE flags.
[22:07:45 CEST] <thebombzen_> holgersson: Sounds like the biggest problem is with your encoding. Try this: ffmpeg -i input.avi -c copy output.mkv
[22:08:06 CEST] <thebombzen_> Then see what happens with output.mkv
[22:09:15 CEST] <thebombzen_> There's no real reason to convert to mpeg4, so you should probably avoid that
[22:10:08 CEST] <holgersson> thebombzen_: I need mpeg4 for a special device. Otherwise Id just use x264.
[22:10:55 CEST] <holgersson> while copying ffmpeg throws this error: https://paste.xinu.at/sDHUFZc/
[22:11:31 CEST] <thebombzen_> Why does it say x264? Paste full command and output
[22:12:19 CEST] <thebombzen_> General guideline here: Unless you know why not to, post the exact command you executed and the uncut output
[22:12:44 CEST] <thebombzen_> Because now I have to ask again, when I otherwise wouldn't have.
[22:16:27 CEST] <holgersson> Sure :) However, Ill pasted you "ffmpeg -i original-source.avi" earlier: https://paste.xinu.at/LHAR52/ (30 lines, from 21:25 UTC +2)
[22:16:27 CEST] <holgersson> Here comes the full output of "ffmpeg -i original-source.avi -map 0:0 -c:v copy new-source.mkv": https://paste.xinu.at/qPS5HN9/
[22:17:49 CEST] <thebombzen_> Okay, but what happens if you play the new mkv file?
[22:18:23 CEST] <holgersson> thebombzen_: With ffplay or mpv (if this makes as difference, as mkv *uses* ffmpeg..)?
[22:19:01 CEST] <thebombzen_> It shouldn't (although try to see if it works in either one)
[22:19:50 CEST] <thebombzen_> They use the same demuxer and decoder, but mpv is a proper player and ffplay is a primitive thing that basically just works like ffmpeg.c
[22:21:23 CEST] <eesh> I wish ffplay came with more than 3 audio visualizations kind of like how Linux Mint 17.3 comes with 89 full-sized unique wallpapers out-of-the-box.
[22:21:37 CEST] <eesh> poor me.
[22:21:46 CEST] <thebombzen_> eesh: ffplay is not a proper player
[22:21:54 CEST] Action: eesh turns up sad music
[22:22:11 CEST] <thebombzen_> If you really want visualizations then VLC might have them bundled
[22:22:39 CEST] <thebombzen_> Also could probably do that with VapourSynth but I have never used it so I have no idea how
[22:22:50 CEST] <eesh> no. I want ffplay because I can't use vlc or mplayer2 packages because they require packages that I don't want to install.
[22:22:59 CEST] <eesh> I compiled the latest ffmpeg and I am proud.
[22:23:01 CEST] <nicolas17> port the VLC visualizers to ffmpeg filters
[22:23:03 CEST] <nicolas17> have fun
[22:23:20 CEST] <thebombzen_> eesh: Good very good, now compile VLC
[22:23:56 CEST] <thebombzen_> What you want to do is use a feature of software that doesn't exist. So you need to try something else
[22:23:58 CEST] <Fenrirthviti> eesh: Check out ProjectM
[22:24:00 CEST] <eesh> but I'm 99% sure compiling VLC is not easy as ffplay is everything I want except VLC's preset audio visuals.
[22:24:08 CEST] <eesh> Fenrirthviti: k.
[22:24:22 CEST] <thebombzen_> Totem might also do that
[22:24:44 CEST] <thebombzen_> But it's gstreamer-based *shudders*
[22:28:38 CEST] <eesh> Maybe I'll just download all 48576 packages that I can see with apt-cache and program an AI-super-bot to fetch all of the latest source code for each project and do a `grep -RsHIni visuals $HOME/all-source-code/` and then when I go to the bathroom to take a shit I take that 14 minutes of time (assuming I ate 5 medium-sized prunes 7 hours earilier) to read this 10000 page grep output with 12pt Times New Roman font 1.5-spaced-lines with
[22:28:38 CEST] <eesh> .5" inch margins? Maybe after like 50 shits I'll realize that you're all assholes.
[22:28:40 CEST] <holgersson> thebombzen_: https://paste.xinu.at/m-3mu1KHw/  -- both outputs on the same webpage
[22:28:40 CEST] <holgersson> thebombzen_: Just 'ffplay new-source.mkv &> ffplay_new_source_mkv' & 'mpv new-source.mkv &> ffplay_new_source_mkv'
[22:28:40 CEST] <holgersson> thebombzen_: And I had to kill ffplay again with ctrl-c. Looks to me as some frames are now missing though, i.e. both players jump
[22:29:21 CEST] <holgersson> eesh: Wow, using commata would make your text at least readable..
[22:29:45 CEST] <thebombzen_> holgersson no I meant, when you played them, did it work?
[22:30:03 CEST] <thebombzen_> At least as much as you wanted it to?
[22:30:20 CEST] <eesh> holgersson: but I was in a hurry because I wanted to look cool :c
[22:30:46 CEST] <thebombzen_> Because if the bitstream is corrupt you can't really fix that but you can try to do better than you did before with the unusable artifacts and all
[22:31:02 CEST] <holgersson> thebombzen_: No, it doesnt. There are no more of these artefacts, but instead it looks like parts are just missing (and I think its all the broken stuff).
[22:31:13 CEST] <thebombzen_> eesh: calling random internet people assholes does not make you cool
[22:32:54 CEST] <thebombzen_> holgersson: I guess a better question for me to ask is, "You got terrible decoder errors when you tried to transcode to mpeg4 directly, even if the file played somewhat correctly. After you remuxed to matroska, does the file play as it did before? Or is it worse?"
[22:34:25 CEST] <thebombzen_> Because if it isn't worse then before, try remuxing to matroska (with the audio) using: ffmpeg -i input.avi -c copy temp.mkv
[22:34:26 CEST] <holgersson> thebombzen_: It got worse as now entire frames are missing. I dont know if frames is correct: I mean images in the lenghts of some milliseconds that are missing (and I can see them because movements of people now has jumps)
[22:34:37 CEST] <eesh> thebombzen: but I was 14% sure all of those cool facts I presented in the former run-on sentence would redeem the inflictable glory of the latter derogatory word used in the last sentence of my main primary influx of the need to tell everyone I really do not want to be on IRC right now. I just want these fucking visuals and no matter what I say in this CHANNEL, there probability I'm gonna get what I want is neglectable no matter what I
[22:34:37 CEST] <eesh> say. Therefore I conclude that the only solution is to l?…… hard. Do whatever it is you gotta do that's your job. And niggas gonna hate, but that's their problem.
[22:35:13 CEST] <thebombzen_> If the missing frames were hideously corrupted then there isn't much you can do about that
[22:36:15 CEST] <thebombzen_> a btoken file sometimes can't be saved. However, after remuxing it to matroska, you can try to encode that to an mpeg4 video file that you say is required
[22:37:47 CEST] <holgersson> I dont think that will help. Ill try it with some of the files I have though.
[22:37:56 CEST] <holgersson> thebombzen_: However, thank you!
[22:37:57 CEST] <thebombzen_>  If you want to fill in the missing frames with duplicates of correct frames, you can try adding -vsync cfr
[22:38:14 CEST] <holgersson> Ill try it
[22:38:23 CEST] <thebombzen_> But that's only if the unsaveable frames are dropped
[22:39:31 CEST] <thebombzen_> Your input is 24.84 fps, which is weird and possibly incorrect, so watch the dup= and drop= in the stats
[22:45:47 CEST] <holgersson> thebombzen_: Yes, s.o. else in this channel mentioned this (I dont recall who it was though). The video was recorded from an analog video tape camera through some magical blackbox that converted the analog input to this h264 mess + pcm audio stream.
[22:46:08 CEST] <holgersson> thebombzen_: How can I fix dup= and drop=?
[22:49:08 CEST] <holgersson> thebombzen_: Cool, -vsync cfr improved the quality much. Maybe thats enough. Again thanks!
[22:54:45 CEST] <Nicolas_> Hi! I'm trying to compile ffmpeg on Mac OSX as a static binary. It does work but it is significantly slower than the prebuilt binaries for mac offered by ffmpegmac or evermeet on ffmpeg.org. Like up to 5 times slower! Do you have an idea why that might be? Configure settings can be found here: https://pastebin.com/fGGDE53k I used the latest snapshot. Thanks.
[22:58:34 CEST] <eesh> Nicolas_: assuming your compilation of ffmpeg on MacOSX is 5.00000 times slower than the build that came with ffmpegmac, I would copy and paste the ffmpegmac build's ./configure line, add --disable-shared --enable-static, build it. Try `time ffmpeg -i from.avi to.mp4 #to do a benchmark time` and if that is as fast then you are adding a `./configure' command-line option that makes the static binary slow.
[22:59:09 CEST] <eesh> by "" I meant infinite 0's/accuracy of the number '5'.
[23:03:24 CEST] <Nicolas_> i did exactly that (time ffmpeg etc.) and got these results for example: mine: 2m31.166s | evermeet: 0m40.526s | ffmpegmac: 0m49.035s
[23:04:08 CEST] <Nicolas_> I did not replicate the configure settings exactly because I did not want to build all dependencies though.
[23:05:04 CEST] <Nicolas_> Maybe I can prebuild them with homebrew?
[23:07:15 CEST] <Nicolas_> ... or I just leave the codecs out that I did not built before.
[23:15:59 CEST] <alexpigment> hey guys, I've got an interesting one for you
[23:16:15 CEST] <alexpigment> I'm doing some transcodes into MPEG-1 for a particular project
[23:17:06 CEST] <alexpigment> and I need to do one transcode to MPEG-1 elementary stream at full resolution, one elementary stream at a small thumbnail-ish resolution, and one where the audio is converted to a vorbis elementary stream
[23:17:33 CEST] <alexpigment> In some cases on some machines, doing 3 separate simultaneous processes is faster
[23:17:49 CEST] <alexpigment> In other cases, doing all 3 encodes with one input file on a single command line is fster
[23:17:51 CEST] <alexpigment> *faster
[23:18:04 CEST] <alexpigment> Is there a way to force some sort of multithreading so that it's always faster?
[23:22:32 CEST] <thebombzen_> holgersson: dup= and drop= is the number of duplicated and dropped frames.
[23:23:16 CEST] <thebombzen_> If both numbers get very large it's likely that the forced framerate is incorrect
[23:23:32 CEST] <nicolas17> converting a video with ffmpeg, ffprobe -show_streams says r_frame_rate=30/1 avg_frame_rate=30/1
[23:23:51 CEST] <holgersson> thebombzen_: OK, Ill take a look
[23:24:09 CEST] <nicolas17> converting a video with my own little program using lavc/lavf, ffprobe -show_streams says r_frame_rate=30/1 avg_frame_rate=1000/33
[23:24:16 CEST] <nicolas17> what could cause the difference?
[23:24:22 CEST] <nicolas17> is avg_frame_rate calculated from the timestamps?
[23:25:09 CEST] <holgersson> thebombzen_: Ill take a deeper look into this tomorrow.
[23:25:16 CEST] <nicolas17> my pts seem to be all fine though
[23:25:31 CEST] <thebombzen_> nicolas17: yes. Are you using matroska?
[23:25:37 CEST] <nicolas17> mp4
[23:25:45 CEST] <thebombzen_> What is your timebase?
[23:26:22 CEST] <nicolas17> 90k, and pts increases by 3000 on each frame
[23:27:41 CEST] <thebombzen_> Try increasing the probesize and see what it says?
[23:27:53 CEST] <thebombzen_> and also the analyzeduration
[23:28:22 CEST] <thebombzen_> It's possible the average is off because it read veryblittle
[23:28:24 CEST] <nicolas17> I don't see that in the ffprobe manpage, is it just -probesize 10000?
[23:28:56 CEST] <thebombzen_> I set it as high as I can do it whines that it's too high and prints the max
[23:29:01 CEST] <thebombzen_> then I use that
[23:29:25 CEST] <thebombzen_> I can never remember the max
[23:29:39 CEST] <thebombzen_> also yea, -probesize and -analyzeduration
[23:29:39 CEST] <nicolas17> I meant syntax, if it was just -probesize <number>
[23:29:46 CEST] <thebombzen_> yes that
[23:29:55 CEST] <thebombzen_> that is correct
[23:30:22 CEST] <nicolas17> no difference after setting both ridiculously high
[23:31:08 CEST] <thebombzen_> shrug, then idk. I probably can't without seeing your simple muxer and I don't use lav* so someone else will have to help with that
[23:31:55 CEST] <thebombzen_> Nicolas_ could be optimization. What CFLAGS are used to compile the things?
[23:32:48 CEST] <thebombzen_> One way to check is to run htop (or just top) while it's compiling to see the exact compile flags used
[23:33:41 CEST] <thebombzen_> GCC's optimization is decent. Not incredible, but decent.
[23:34:37 CEST] <Nicolas_> Dunno... Just passing the "-I includes" I guess.
[23:35:12 CEST] <Nicolas_> I tried the same arguments as ffmpegmac but its still as slow as before.
[23:36:21 CEST] <nicolas17> what's the default swscaler scaling method if I just pass -s 640x480 to ffmpeg?
[23:37:30 CEST] <relaxed> man ffmpeg-scaler
[23:37:32 CEST] <Nicolas_> I don't know about htop/top.
[23:37:44 CEST] <Nicolas_> looks freaky
[23:37:46 CEST] <nicolas17> relaxed: it doesn't say
[23:38:12 CEST] <relaxed> "Default value is bicubic"
[23:38:34 CEST] <nicolas17> must have been added later, I don't have last version
[23:38:49 CEST] <Nicolas_> This compiling just for --non-free is killing me. But now I want to know why it's not working.
[23:44:19 CEST] <thebombzen> nicolas17: it does say yea, and it's said for a while
[23:47:35 CEST] <nicolas17> hmm... my program is also producing a much larger file than ffmpeg
[23:47:42 CEST] <Nicolas_> @thebombzen 'top' doesn't seem to show any CFLAGS or I just don't know how to use it
[23:48:08 CEST] <thebombzen> nicolas17: http://0x0.st/0FJ.png
[23:48:36 CEST] <thebombzen> notably though, -vf zscale uses bilinear as its default
[23:48:38 CEST] <thebombzen> not bicubic
[23:52:33 CEST] <thebombzen> Nicolas_: Try adding "-march=native -mtune=native -O3 -pipe" --optflags
[23:54:10 CEST] <Nicolas_> thebombzen: where? To the configure command?
[23:54:32 CEST] <thebombzen> yea, if you look at ./configure --help, there's an --optflags option (I think that's what it's called)
[23:54:40 CEST] <thebombzen> also ditch --arch, it's used for cross compiling. no need for a native build
[23:55:43 CEST] <Nicolas_> okay, cool. thx. will try.
[23:56:33 CEST] <CFS-MP3> I need some help... this should be trivial but it's driving me crazy
[23:56:36 CEST] <CFS-MP3> I'm running this: ffmpeg -hide_banner -i udp://239.168.100.2:5000 -deinterlace -filter_complex [0:v][0:s]overlay[overlaid];[overlaid]scale=416:-1:flags=lanczos[resized];[resized]setdar=dar=16/9[vdar];[vdar]split=2[in1][in2];[in1]fps=12[out1];[in2]fps=1/10[out2] -map [out1] -codec:v libx264 -x264opts keyint=120:min-keyint=120:no-scenecut -f segment -segment_time 10 -segment_start_number 1
[23:56:36 CEST] <CFS-MP3> -reset_timestamps 1 -segment_list_type m3u8 /mnt/tvcapturework/BBC2/_%06d.mp4 -map [out2] /mnt/tvcapturework/BBC2/_%06d.jpg
[23:56:57 CEST] <CFS-MP3> where the goal is to generate a video every 10 seconds, and a frame capture every 10 seconds
[23:56:59 CEST] <CFS-MP3> that works great
[23:57:09 CEST] <CFS-MP3> the video plays fine
[23:57:19 CEST] <CFS-MP3> but the image size is different on screen
[23:58:23 CEST] <CFS-MP3> both are 416x340, but the size in the player is different. I assume this is DAR related, but I don't know how to fix
[23:59:34 CEST] <nicolas17> another difference I see when comparing ffmpeg vs my program:
[23:59:36 CEST] <nicolas17> -is_avc=true
[23:59:37 CEST] <nicolas17> -nal_length_size=4
[23:59:39 CEST] <nicolas17> +is_avc=false
[23:59:40 CEST] <nicolas17> +nal_length_size=0
[00:00:00 CEST] --- Sat Jul  8 2017


More information about the Ffmpeg-devel-irc mailing list