From burek021 at gmail.com Fri Jun 26 12:09:10 2020 From: burek021 at gmail.com (burek) Date: Fri, 26 Jun 2020 11:09:10 +0200 (CEST) Subject: [Ffmpeg-devel-irc] test 4 Message-ID: <20200626090911.00F6118A01B6@apolo.teamnet.rs> This is a test. From burek021 at gmail.com Fri Jun 26 12:00:05 2020 From: burek021 at gmail.com (burek) Date: Fri, 26 Jun 2020 11:00:05 +0200 (CEST) Subject: [Ffmpeg-devel-irc] test 3 Message-ID: <20200626090005.EEC0318A018C@apolo.teamnet.rs> This is a test. From burek at teamnet.rs Sat Jun 27 03:05:02 2020 From: burek at teamnet.rs (burek) Date: Sat, 27 Jun 2020 02:05:02 +0200 (CEST) Subject: [Ffmpeg-devel-irc] ffmpeg.log.20200626 Message-ID: <20200627000503.E61A218A117C@apolo.teamnet.rs> [00:01:10 CEST] could also try different tags with mpeg4 [00:21:14 CEST] `This channel is publicly logged`, what does this indicate? (irc noob here) [00:28:44 CEST] that the channel is publicly logged https://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/ [00:30:18 CEST] huh.. are there no logs since february? [00:31:02 CEST] another: but that is the ffmpeg-devel channel, is this channel also logged similarly? [00:31:26 CEST] look closely [00:34:57 CEST] ohk, but not logged since feb? [00:37:53 CEST] I have receive a stream of jpeg. those jpeg are taken live. but the frequency of those jpeg is not accurate. Is it possible to create a mjpeg using the time when those jpeg was taken (based on the timestamp of the file, or encode the time in the filename or something else)? [00:41:01 CEST] michaelni: is the channel still being logged publicly? (march 2020 onwards) [00:48:20 CEST] is there a way to force mpeg to use lossless (or minimal-loss) compression with lossy codecs? mjpeg is the only format that this player seems to accept, but I have plenty of space to spare and the quality is poor [00:48:28 CEST] s/mpeg/ffmpeg [00:50:50 CEST] also, is there a way to read the documentation offline? [00:51:03 CEST] man ffmpeg-all [00:52:16 CEST] see if the device supports a lossless codec [00:52:24 CEST] i highly doubt it does [00:54:22 CEST] Use -qscale 2 with the jpeg encoder to get higher quality [00:54:29 CEST] (possibly -qscale 2 -mbd 2) [00:55:31 CEST] Note that most quality loss comes through subsampling: If your input is yuv(j)420p, there is nothing you can do, but if the input uses a different colour space, you may be able to improve output quality [00:55:57 CEST] (You cannot see a visual difference between input and output with -qscale 2) [01:01:02 CEST] thanks, that vastly improved the quality [01:01:15 CEST] -qscale 2 that is [01:02:46 CEST] so can I use both options: "-crf 20 -vb 2000k" or they are mutually exclusive ? [01:03:47 CEST] depends on the encoder [01:10:29 CEST] h264 [01:10:45 CEST] I use: -c:v h264 -preset fast -crf 20 -vb 2000k [01:10:50 CEST] that's a codec not an encoder [01:10:58 CEST] should I remove "-vb 2000k" or "-crf 20" ? [01:11:08 CEST] what is encoder / [01:12:59 CEST] probably libx264 [01:16:04 CEST] so should I remove "-vb 2000k" or "-crf 20" ? [01:16:48 CEST] https://trac.ffmpeg.org/wiki/Encode/H.264 [01:16:54 CEST] ^read that [01:17:56 CEST] yes, I read it, and this is where I got "-crf 20" from, and I added into my command, now I'm thinking should I remove "-vb 2000k" if it has "-crf 20" in it [01:18:25 CEST] I will try with and without and see check sum of output files if they differs [01:18:26 CEST] yes, with x264 it's one or the other [01:18:44 CEST] and which one has preference if I use both ? [01:19:10 CEST] that I don't know [01:27:18 CEST] if I use both "-crf 20 -vb 2000k" and if I use one "-crf 20" the output video files checksums are the same, so "-crf 2" has preference that means [01:33:53 CEST] reepca: I believe you should also use -mbd 2 [01:36:37 CEST] Can anyone helping me with a concat with an odd audio map please. I would like to have 1 mkv (h264 is possible) with just two English audios (one of them will be 5 minutes short). What I have are 2 files: part 1 is AVC + Audio (0 - French, 1 - English, 2 - English) + Subs ... then part 2 is MPEG + Audio ( 0 - French, 1 - English .... no 2nd English track). Part 2 is only ~5m long ... no idea why they did this. Here is the ffmpeg -i out [01:36:37 CEST] puts: https://pastebin.com/GBHr1C9a [01:38:54 CEST] so I tryed presets "fast" it took 8.2 seconds and "ultrafast" it took 1.2 seconds, why such drastic difference, what that "ultrafast" preset doing such that its so fast ? [01:41:51 CEST] saurabh702, it should be logged, but it seems something went wrong, ill mail mladen again [01:42:41 CEST] which linux video player client in your opinion can give me the shortest latency over rtsp? [01:45:45 CEST] giaco: You could try `mpv --profile=low-latency --no-cache --untimed`. [01:48:11 CEST] H-M-H: great! [01:48:17 CEST] thanks a lot, it's perfect [01:48:30 CEST] Nevermind on my question ... I did it one part at a time and removed what I didn't want, converted the 2nd part to avc and then concat works fine [01:57:42 CEST] JustLandedOnMars: look at the filesize difference between the two [01:57:45 CEST] that's what it's doing [01:58:02 CEST] (assuming you're using crf) [05:08:57 CEST] so im trying to convert some .wavs to flac and add music metadata from another file (either read it from text or from another some), i can get them to convert but im not sure how to add the metadata [05:09:05 CEST] any recommendations? [05:14:07 CEST] m00n: -i foo.wav -i bar.mp3 -map 0 -map_metadata 1 baz.flac [05:14:54 CEST] https://www.ffmpeg.org/ffmpeg-formats.html#Metadata-1 [05:14:59 CEST] also that if you want to use plaintext [05:26:37 CEST] thats awesome [05:26:50 CEST] thanks furq [05:49:51 CEST] is there a better way to filter which tags i copy other than the bash piping im doing now? [05:52:36 CEST] like, im trying to get it formatted to what ffmpeg will understand per that link, because i dont want all the tags from the source, just album/artist/disc [07:04:22 CEST] I have ffmpeg on a pi UDP streaming to my home server, on it I am trying to run: ffmpeg -f mpegts -i udp://lovecat.m42.pw:9969 -vcodec copy -acodec copy -f flv rtmp://a.rtmp.youtube.com/live2/ BUT I am getting: Cannot open connection tcp://a.rtmp.youtube.com:1935 [07:04:24 CEST] Any ideas? [07:05:01 CEST] also non-existing PPS 0 referenced [07:05:05 CEST] decode_slice_header error [07:05:08 CEST] no frame! [07:28:11 CEST] HOLY CRAP I manage to do it, I manage to get an image overlay working! https://www.youtube.com/watch?v=gSo2UaM3Ckk [07:28:31 CEST] But its encoding faster then it should [07:28:52 CEST] dunno how a live UDP stream can encode at faster then 1x [09:29:35 CEST] hi From burek at teamnet.rs Sat Jun 27 03:05:05 2020 From: burek at teamnet.rs (burek) Date: Sat, 27 Jun 2020 02:05:05 +0200 (CEST) Subject: [Ffmpeg-devel-irc] ffmpeg-devel.log.20200626 Message-ID: <20200627000505.66C4418A1181@apolo.teamnet.rs> [03:56:59 CEST] ffmpeg 03Jun Zhao 07master:60d79b1df9d4: lavc/aac_ac3_parser: improve the raw AAC file bit rate calculation [04:38:24 CEST] ffmpeg 03James Almer 07master:d1c55fc46019: avcodec/cbs_h265: set default VUI parameters when vui_parameters_present_flag is false [04:38:25 CEST] ffmpeg 03James Almer 07master:82b64e9bf671: avcodec: add AV1 profiles to profile.h [07:44:08 CEST] ffmpeg 03Andreas Rheinhardt 07master:36fa84e7ac80: avformat/av1: Avoid using dynamic buffer when assembling av1c [07:58:03 CEST] ffmpeg 03Andreas Rheinhardt 07master:7447045cc0da: avformat/webvttdec: Accept \r as newline