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

burek burek021 at gmail.com
Sat May 5 03:05:01 EEST 2018


[00:43:37 CEST] <poutine> Is there a way of dumping all encountered PIDs in a mpegts file?
[05:52:39 CEST] <servmeme> c
[10:28:19 CEST] <termos> When doing HTTP PUT with FFmpeg with HLS segments/playlists, the HTTP connection is terminated right after the body is sent, FFmpeg is not waiting for a response like 200 for example. Is there a way to make it wait for such a response?
[11:36:54 CEST] <Tzimmo> I'd like to cut out commercials (via command line, preferably) from MPEG-TS HD video streams. For SD, I use Project-X to sync A/V and then cutting is easy, but because it doesn't support HD, it cannot be used for HD videos. Could I use ffmpeg to do the same, a) with I-frame accuracy, b) with frame accuracy so that it could encode only those frames leading in/out to the next I-frame (using about the same bit
[11:37:00 CEST] <Tzimmo> rates as the original) but mostly keep the original video as-is, except resyncing audio with video (in DVB-T(2) transmission the audio is transmitted about a second before video (or was it after, but anyway)
[11:38:32 CEST] <ariyasu> yes
[11:38:53 CEST] <ariyasu> but you would be much better with a gui tool designed to do the job such as tsdoctor or videoredo
[11:39:19 CEST] <sfan5> a) yes b) you can piece such a thing together with ffmpeg, but there's no simple "built in" way to do it
[11:39:24 CEST] <Tzimmo> Ah, the OS is Linux as well
[11:39:49 CEST] <ariyasu> https://pastebin.com/RNTpCV8b
[11:40:09 CEST] <ariyasu> i build this windows script a few years ago to do what you specified
[11:40:18 CEST] <Tzimmo> I'd like to have a script to redo that operation if needed, so once I have the cutpoints, I could just run the script.
[11:40:20 CEST] <ariyasu> it's messy but you can get an idea how to do it, and bort it ot bash
[11:40:32 CEST] <ariyasu> port even
[11:41:50 CEST] <Tzimmo> Does it sync audio with video? Or just keep then out of sync as the original ts file has? i.e., if I don't cut anything, would the resulting file be identical to the source?
[11:43:06 CEST] <ariyasu> the sync relative to video will be kept
[11:43:45 CEST] <ariyasu> all it is doing is marking start and end points then using -c copy to write that to a new file, then when you have cut all the segments it cats it back together
[11:43:47 CEST] <Tzimmo> I'll try it out but I think I have tried this before and failed with it because of, at least, A-V sync issues...
[11:43:50 CEST] <ariyasu> like i say it's messy but it works
[11:44:40 CEST] <Tzimmo> So basically I could just use dd if=input.ts of=output.ts bs=188 skip=MMM count=NNN to do the same?
[11:45:42 CEST] <Tzimmo> Well, I'll give it a try and let you know what I find
[12:35:13 CEST] <bon> hello :) i am trying to check metadata from a multicast video source. ffprobe udp://@x.x.x.x:yyyy works
[12:35:35 CEST] <bon> howerver when i set format to xls or json the metadata is not there (service_name specifically)
[12:35:41 CEST] <bon> what's my error there? :)
[12:37:26 CEST] <JEEB> try adding -show_X
[12:37:34 CEST] <JEEB> it should be in the streams *or* programs
[12:37:38 CEST] <JEEB> -show_streams -show_programs
[12:55:18 CEST] <bon> JEEB: thx, it is present in show_programs data
[15:36:02 CEST] <zerodefect> When building FFmpeg from source, I usually use something like 'checkinstall' to create the .deb package (Ubuntu).  I notice that when I perform a 'make install', it also installs the header files.  Is there a way to configure such that the install step only installs executables/shared libs without the other files which are not required for deployment?
[15:37:00 CEST] <BtbN> no
[15:37:35 CEST] <zerodefect> Ok. Thanks. Out of interest. Is that the way most projects work?
[15:37:46 CEST] <JEEB> yes
[15:37:54 CEST] <JEEB> only distributions usually separate debug and non-debug
[15:38:00 CEST] <JEEB> (if they do)
[15:38:38 CEST] <zerodefect> Understood.
[15:41:07 CEST] <furq> zerodefect: there's make install-progs
[15:41:47 CEST] <zerodefect> @furq: Sounds promising. Let me investigate?
[16:53:12 CEST] <da1n1us> hello... can anyone explain how ffmpeg hls_flags 'periodic_rekey' works?
[16:54:03 CEST] <da1n1us> https://pastebin.com/VGb3LiGd
[17:03:34 CEST] <dubrsl> Hi. I'm trying to use new future in 4.0 - var_stream_map in hls muxer for generate multibitrate HLS stream. Use first example from documentation. And if I add different profiles (-profile:v:0 baseline and -profile:v:1 main) the variants 62000 bps and 800000 bps, segment 1525445599, are not aligned (first frame PTS not equal 362040000 != 362160000)
[17:03:34 CEST] <dubrsl> Is it bug?
[17:26:23 CEST] <JEEB> that sounds like b-frame delay if debug_ts gives you same timestamps for throwing into muxer
[18:03:49 CEST] <Marti__> hi, i am trying to install handbrake and I get: ERROR: opus not found. It seems that ffmpeg does not find my opus installation, which I have in a non-standard folder. I found no way to tell the handbrake config that my opus installation is somewhere else yet.
[18:33:29 CEST] <JEEB> Marti__: PKG_CONFIG_PATH=/path/to/libopus/lib/pkgconfig
[18:33:49 CEST] <JEEB> that actually *adds* to the pkg-config search PATH
[19:30:19 CEST] <dubrsl> JEEB: How can I check timestamps that throwing into muxer?
[19:31:57 CEST] <JEEB> -debug_ts
[19:32:11 CEST] <JEEB> that will show you a lot of timestamps within ffmpeg.c
[19:32:16 CEST] <JEEB> input and output side
[19:58:47 CEST] <Marti__> <JEEB>: thanks for the help, still got the same error. I think the problem is that when handbrake installs contributing libraries it uses a different environment. PKG_CONFIG_PATH of ffmpeg is ouput and it does not contain the path to opus
[20:04:03 CEST] <Marti__> btw, tried installing ffmpeg independent of handbrake and it worked
[20:21:18 CEST] <ritsuka> Marti__: handbrake doesn't use ffmpeg, it should compile its own libav and use it
[20:25:46 CEST] <JEEB> I think it depends on the version?
[20:26:01 CEST] <JEEB> anyways, he's seemingly using Handbrake's build scripts and those are irrelevant to either FFmpeg or Libav anyways
[20:26:04 CEST] <JEEB> (´4@)
[20:26:40 CEST] <ritsuka> yup, it should compile its own static version automatically
[20:27:10 CEST] <ritsuka> JEEB: it should switch to ffmpeg soon, but no one is working on the switch right now
[22:18:12 CEST] <TheRock> i just need decoding. To reduce the size i used: --disable-everything. What's required to support all formarts/codecs? --enable-dexmuxers --enable-decoders --enable-parsers is required, right?
[22:20:34 CEST] <JEEB> I hope you have tested your app with a non-limited build first?
[22:20:44 CEST] <JEEB> also do you need protocols? (file is one!)
[22:22:42 CEST] <TheRock> yeah, i used to specify a lot of codecs manually
[22:22:52 CEST] <TheRock> but turned out rare files can't be heard or played
[22:23:00 CEST] <TheRock> now, i'm building with $ ./configure --disable-everything --extra-version=QtAV --disable-debug --enabl
[22:23:00 CEST] <TheRock> e-static --disable-shared --enable-runtime-cpudetect --toolchain=msvc --extra-l
[22:23:00 CEST] <TheRock> dexeflags='-SUBSYSTEM:CONSOLE,5.01' --enable-avresample --enable-decoders --ena
[22:23:00 CEST] <TheRock> ble-demuxers --enable-parsers --disable-programs --enable-protocol=file
[22:23:31 CEST] <TheRock> that should give just a decoding ffmpeg, right?
[23:03:57 CEST] <TheRock> which codec is required when an mp3 has an image?
[23:04:41 CEST] <TheRock> i can play all mp3s, but some have an image and throw an error (decoding failed), but it still plays.
[23:04:50 CEST] <TheRock> so what would i need to add to ./configure
[00:00:00 CEST] --- Sat May  5 2018


More information about the Ffmpeg-devel-irc mailing list