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

burek burek021 at gmail.com
Thu May 16 03:05:03 EEST 2019


[01:30:00 CEST] <another> hmmm.. i'm trying to cut a video and deinterlace it with send_fields. are the milliseconds in the time code relative to the interlaced or deinterlaced frames?
[01:30:50 CEST] <furq> depends whether it's before or after filtering
[01:31:49 CEST] <furq> -ss is always before, -t as an input option is before, -t as an output option is after
[01:32:08 CEST] <another> ... great
[01:38:17 CEST] <another> think i'll deinterlace first
[06:20:51 CEST] <another> hmm.. libvpx: in the manpage it says -deadline best should be avoided; in the wiki it says best is recommended if time is not an issue
[06:21:20 CEST] <another> what is the current status here?
[07:38:42 CEST] <grosso> how can I send timed metadata in a live streaming?
[10:19:36 CEST] <squ> how to limit image_%03d.jpg output to 999 images
[10:22:31 CEST] <another> -frames:v 999 ?
[10:22:35 CEST] <squ> thanks
[10:22:45 CEST] <squ> I googled it :)
[10:22:54 CEST] <another> .)
[12:06:18 CEST] <aruns> Hi, I am looking to reduce the file size of an MP4 video for use as a HTML5 video.
[12:06:30 CEST] <aruns> I will attach the video information from FFMPEG.
[12:15:46 CEST] <druzhba> dear developers
[12:16:06 CEST] <druzhba> I'm trying to compile with  --enable-libtensorflow
[12:16:22 CEST] <druzhba> but it's not found: "ERROR: libtensorflow not found"
[12:16:56 CEST] <druzhba> despite I've installed ArchLinux's default tensorflow package containing pkg-config for libtensorflow
[13:18:28 CEST] <druzhba> michaelni: may you please take a look on my question?
[14:06:29 CEST] <Fauve> Hello people o/
[14:06:53 CEST] <Fauve> I take a video with a Nikon and then I try to read it with android, but It failed.
[14:07:21 CEST] <Fauve> So, I try all the parameters described in this tread but it still failed https://stackoverflow.com/questions/14171826/converting-video-for-android-using-ffmpeg
[14:07:39 CEST] <Fauve> Android only can read the sound, not the video.
[14:08:09 CEST] <Fauve> So, witch path can I follow to find a solution to this? :/
[14:12:10 CEST] <Fauve> Here is it https://pastebin.com/TUsD7UWq
[14:20:01 CEST] <druzhba> fflogger: Isn't Fauve's question more out of scope than mine?
[14:21:22 CEST] <durandal_1707> druzhba: ffloger is friendly bot
[14:21:22 CEST] <Fauve> But, why is it out of scope ? O.ô
[14:21:24 CEST] <another> Fauve: -pix_fmt yuv420p
[14:21:58 CEST] <Fauve> II try ith another
[14:22:22 CEST] <durandal_1707> druzhba: did you posted config.log of failure?
[14:22:44 CEST] <druzhba> durandal_1707: I think the bot owned me ;)
[14:23:53 CEST] <Fauve> Thank you another is this ! :D
[14:24:04 CEST] <Fauve> How can I hug you over IRC? :)
[14:25:25 CEST] <another> please don't. i gotta shower first :)
[14:25:42 CEST] <another> you might want to adjust some of the other options
[14:26:19 CEST] <another> e.g. -ab 44100  i think you meant -ar 44100
[14:26:32 CEST] <Fauve> Ow, for the moment its anough, its just for send it on dumb shitposting.
[14:26:45 CEST] <Fauve> When Ill have to do more important stuff, I will adjust :)
[14:27:07 CEST] <another> alright
[14:31:38 CEST] <another> toying around with preset files. is there a way to overwrite some options on cli?
[14:58:25 CEST] <druzhba> here is config.log: https://pastebin.com/xQnzFTZm
[15:02:40 CEST] <durandal_1707> druzhba: this one is not set via pkgconfig
[15:04:53 CEST] <druzhba> durandal_1707: what does this mean? im not the brightest bulb ;)
[15:09:04 CEST] <durandal_1707> druzhba: not much, it expects it in one location while it is in another, where is tensorflow installed?
[15:15:30 CEST] <druzhba> durandal_1707: at /usr
[15:15:41 CEST] <druzhba> prefix=/usr
[15:15:41 CEST] <druzhba> exec_prefix=${prefix}
[15:15:41 CEST] <druzhba> libdir=${exec_prefix}/lib
[15:15:41 CEST] <druzhba> includedir=${prefix}/include/tensorflow
[15:40:47 CEST] <durandal_1707> druzhba: hmm, can you find c directory in /usr/include/tensorflow/?
[15:42:51 CEST] <druzhba> there is absl, Eigen, external, google, tensorflow, third_party and unsupported
[16:17:37 CEST] <durandal_1707> druzhba: perhaps you havent enabled/installed dev version, or something. there must be c directory as ffmpeg expect it
[16:28:21 CEST] <druzhba> durandal_1707: weird, I'm using the default package https://www.archlinux.org/packages/community/x86_64/tensorflow/
[16:29:40 CEST] <durandal_1707> is there tensorflow-c/dev or something? i'm not on archlinux
[16:32:08 CEST] <druzhba> ArchLinux generally has no -dev packages like Debian
[16:32:20 CEST] <druzhba> headers are always included in the standard packages
[16:37:17 CEST] <durandal_1707> druzhba: perhaps c is under /usr/include/tensorflow/tensorflow ?
[16:39:29 CEST] <druzhba> yes, there is c_api_experimental.h  c_api.h  c_api_internal.h  checkpoint_reader.h  eager  tf_status_helper.h
[16:41:48 CEST] <durandal_1707> druzhba: you could report bug to FFmpeg, tensorflow in configure should use pkg_config for configuration
[16:47:26 CEST] <SomeGuy124> hi
[16:49:01 CEST] <SomeGuy124> im now testing with a more recent version of ffmpeg, going off of https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_audio.c, is the av_parser_parse2 stuff really necessary? it's not documented well and I have no idea what it's doing
[16:50:48 CEST] <JEEB> I recommend you take a look at the transcoding example
[16:50:56 CEST] <JEEB> and take those bits and pieces that you need from it
[16:51:14 CEST] <JEEB> the separate "decoding" examples are rather specialized sometims
[16:51:53 CEST] <SomeGuy124> this one? https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/transcoding.c
[16:52:39 CEST] <SomeGuy124> all i want to do specifically is decode audio
[16:52:43 CEST] <SomeGuy124> i dont want to do anything other than that
[16:54:29 CEST] <SomeGuy124> that example appears only to encode
[16:57:55 CEST] <SomeGuy124> hmm, or maybe it does decode, but it seems to use avcodec_decode_audio4 which is now deprecated
[16:59:11 CEST] <SomeGuy124> i'm trying to use avcodec_send_packet and avcodec_receive_frame but i get "End of file" error from avcodec_send_packet even though I'm def not at the end of the file...
[16:59:58 CEST] <SomeGuy124> this only happens on some files though
[17:07:09 CEST] <JEEB> ugh, yes. the transcoding example seems to still utilize the old functions :P
[17:08:42 CEST] <JEEB> SomeGuy124: transcode_aac.c seems to have gotten updated
[17:09:02 CEST] <JEEB> it has audio decoding, filtering, encoding. you might only need one but it's still better than something that might be doing weird stuff with reading or so
[17:35:25 CEST] <SomeGuy124> okay looks like the new functions aren't making a difference
[17:36:34 CEST] <SomeGuy124> JEEB: my issue is this, when I seek to a frame, I get a click sound when playing that initial frame (but all subsequent frames are fine), however if I seek to the frame before, decode that and then discard it, then playback from the subsequent frames, it sounds fine
[17:36:39 CEST] <SomeGuy124> any idea what could cause that?
[18:18:40 CEST] <JEEB> SomeGuy124: did you properly flush your buffers when doing it?
[18:21:53 CEST] <SomeGuy124> JEEB: i thought so but maybe not
[18:22:07 CEST] <SomeGuy124> i'll be back in a bit
[19:36:57 CEST] <TheWild> hello
[19:37:39 CEST] <TheWild> Youtube: "The file you uploaded contains only audio and no video." - is there a quick and dirty way to lie to Youtube that this is a video? Black canvas is enough.
[19:57:57 CEST] <DHE> TheWild: you have to make a video of some kind. there's a nullsrc video filter that produces just a blank image
[19:58:17 CEST] <DHE> or you can just provide a png/jpeg as a still image
[20:00:54 CEST] <TheWild> well, it's only testing so I don't need anything fancy. Anyway, I thought Youtube is a little bit smarter and let user choose the image in case only audio is there.
[20:01:09 CEST] <TheWild> ended up using this: https://stackoverflow.com/questions/11453082/how-to-generate-a-2hour-long-blank-video
[20:02:14 CEST] <TheWild> probably adding a still image is easier
[20:03:26 CEST] <ChocolateArmpits> Still image at least wouldn't require encoding for this much
[20:13:56 CEST] <TheWild> youtube likely can't handle opus, lol.
[20:15:45 CEST] <ChocolateArmpits> strange, they offer opus streams themselves
[20:21:45 CEST] <TheWild> guess, dunno what's going on. Whatever I send to them (opus, aac), they claim "The video has failed to process. Please make sure you are uploading a supported file type."
[20:22:08 CEST] <ChocolateArmpits> Hmm what browser are you using to upload?
[20:22:24 CEST] <TheWild> Firefox
[20:22:39 CEST] <ChocolateArmpits> Those aren't just audio files, no?
[20:23:37 CEST] <TheWild> yes, I'm adding a picture to them.
[20:35:35 CEST] <TheWild> geez, what a horrible experience. I took the blank video approach instead of a picture and it worked... somewhat. Youtube couldn't process the remaining 5% so put the video on a queue and maybe it's gonna get finished someday. The video didn't yet appear on my channel and there's no way to see what stuff of mine has been queued.
[20:42:29 CEST] <ChocolateArmpits> TheWild, are you using the new Creators interface?
[20:42:41 CEST] <ChocolateArmpits> The old one should show any videos currently being processed
[20:43:10 CEST] <TheWild> I'm using Youtube Studio, and it's even beta
[20:45:38 CEST] <ChocolateArmpits> Try visiting the old version and see what it's like there
[20:45:59 CEST] <ChocolateArmpits> I think they're forcing the new one so you want to bookmark the old one
[20:55:44 CEST] <TheWild> you mean https://youtube.com/dashboard ?
[20:55:55 CEST] <TheWild> redirects to studio
[20:56:43 CEST] <TheWild> but hey, I see my video queued
[21:07:24 CEST] <kepstin> if you put a video track in, i think you need to have a somewhat reasonable framerate, and make sure the video track is close in length to the audio track, for everything to work properly
[21:08:04 CEST] <kepstin> last I tried i think i used a 6fps "loop" of a static image and they were fine with that
[21:08:57 CEST] <TheWild> it was 25 fps
[21:09:09 CEST] <TheWild> worked, just got stuck in a queue for around 45 minutes.
[21:09:50 CEST] <kepstin> yeah, if you hit anything that trips up their streaming decoder that'll happen.
[21:42:45 CEST] <TheWild> offtopic: https://www.youtube.com/watch?v=QOY_a1sx2Ys - I have a heart broken because my parents had one. Working. I loved to watch those blinking diodes to the beat when I was a kid. To save space, tape deck was crudely put in a plastic bag and placed in garage.
[21:43:11 CEST] <TheWild> s**t got rust out of humidity
[22:03:35 CEST] <w1d3m0d3> can I remove a single frame from the start of a video
[22:06:59 CEST] <kepstin> yes, but you have to re-encode the video
[22:07:16 CEST] <w1d3m0d3> that's fine, it's like two seconds long, how can I do that kepstin
[22:07:39 CEST] <kepstin> probably easiest to use the 'trim' filter, it has a start_frame option
[22:08:08 CEST] <kepstin> (first frame is 0, iirc, so you're want `-vf trim=start_frame=1`
[22:08:09 CEST] <kepstin> )
[22:08:50 CEST] <w1d3m0d3> okay, will that cause audio to be out of sync though
[22:11:17 CEST] <kepstin> I ... don't think so, since it won't change any frame timestamps. (also, 1 frame of video is typically small enough that you wouldn't notice audio desync anyways)
[22:11:30 CEST] <w1d3m0d3> yeah okay, makes sense
[22:11:37 CEST] <kepstin> if it turns out to be an issue, you can use the atrim filter to trim the start of the audio to match.
[22:13:42 CEST] <w1d3m0d3> mhmm it keeps the same ts
[22:13:49 CEST] <w1d3m0d3> cool, that works, thanks
[23:17:02 CEST] <melgust> Hi everyone, I have a question. How can I install ffmpeg in Debian Buster?
[23:17:57 CEST] <kepstin> melgust: "apt-get install ffmpeg"
[23:18:54 CEST] <melgust> when I try to install it it shows me this error: Depends: libavformat58 (= 7:4.1.1-1) but 10:4.1.2-dmo1 is to be installed
[23:19:23 CEST] <kepstin> sounds like you have some conflicting or misconfigured package repositories set up
[23:19:26 CEST] <melgust> and so with many other dependencies
[23:19:50 CEST] <kepstin> if you've added any extra apt sources, remove them to get the debian-packaged version
[23:20:28 CEST] <melgust> kepstin: yes, I have a newer version installed that I need to use
[23:20:48 CEST] <kepstin> if you are having issues with a particular apt repository, please contact the folks maintaining that.
[23:21:07 CEST] <kepstin> or you can build your own ffmpeg if 4.1.1 isn't good enough for you :/
[23:21:29 CEST] <kepstin> or use one of the static builds.
[23:26:41 CEST] <biberao> hi
[23:26:56 CEST] <biberao> is there a way for ffmpeg to detect when a video fades out?
[23:28:35 CEST] <melgust> kepstin: thanks
[00:00:00 CEST] --- Thu May 16 2019


More information about the Ffmpeg-devel-irc mailing list