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

burek burek021 at gmail.com
Mon Jun 10 03:05:01 EEST 2019


[00:26:53 CEST] <grosso> anyone knows a lot about rtmp and mediaservers?
[02:09:11 CEST] <Atlenohen> Hi
[02:09:25 CEST] <Atlenohen> is it possible to concat mulitple files by using wildcard?
[02:09:30 CEST] <Atlenohen> like *.ts
[02:09:37 CEST] <Atlenohen> extension specific in this case
[02:21:01 CEST] <another> if it is indeed mpeg-ts, i guess you could just cat them on your shell
[02:28:52 CEST] <Atlenohen> 250 of them, can't name them all manually
[02:29:16 CEST] <Atlenohen> not sure if "for each .ts do ffmpeg .." will work, it's not an operation on each of the files separately
[02:32:26 CEST] <klaxa> as another said, if it really is mpeg-ts all the same format you can just do cat *.ts > all.ts
[02:32:40 CEST] <klaxa> that will mess up some timestamps maybe but you can remux that with ffmpeg then
[02:37:49 CEST] <DHE> or maybe generate a concat demuxer input file with a shell command or something?
[02:38:40 CEST] <Atlenohen> I'll figure out tomorrow, not  sure, yeah timestamps, m3u8 has some stuff yes
[02:39:10 CEST] <Atlenohen> at least that's what I think those numbers between chunks are ... rats
[02:39:47 CEST] <Atlenohen> but I'm on windows
[02:39:53 CEST] <Atlenohen> not sure if I can do cat
[02:55:48 CEST] <another> hls?
[03:10:34 CEST] <DHE> if it's hls, ffmpeg can read the .m3u8 file. or the concat method is basically guaranteed to work.
[15:53:10 CEST] <void09> help. i want to do a 10bit encode
[15:53:15 CEST] <void09> of an 8bit video source
[15:53:45 CEST] <void09> nobody wants  to tell me how :P do i need to set this in the encoder ? or just the pixel format for the ffmpeg stream ?
[16:40:48 CEST] <c_14> void09: just set the output pixel format to a 10bit format (if the encoder supports 10bit encoding)
[17:04:03 CEST] <void09> c_14 so I don't need to actually tell teh encoder to encode to 10bit ?
[17:04:12 CEST] <void09> or does it that automatically if the source is 10bit?
[17:19:30 CEST] <void09> ok i got it.. it neede both the input stream to be converted, and the encoder to be set at bit depth 10
[17:42:57 CEST] <kepstin> void09: you need convert the pixel format of the video to 10bit (this is done for you if you set the -pix_fmt output option) and you need to select an encoder that supports 10bit. There's no encoder settings needed.
[17:46:56 CEST] <void09> kepstin: i tried it with svt-av1, piping from ffmpeg (not encoding with ffmpeg itself)
[17:47:18 CEST] <void09> and if i didn't specify -bit-depth 10 as an encoder param, i'd get a greenish messy video
[17:47:40 CEST] <void09> so maybe ffmpeg encoders detect 10 bit source and encode accordingly
[17:47:43 CEST] <kepstin> oh, well, yeah - what i said only applies when you're using an encoder within ffmpeg. if you're doing something unusual, you need to say that up front
[17:48:00 CEST] <void09> ok now it all makes sense. thanks
[22:43:55 CEST] <A4L> Hey! I can use -filter_complex acrossfade=d=10:c1=tri:c2=tri to crossfade audio from one input to other and join them in output. But how do I apply one filter if I am inputing 1000s of files and I want to use that same filter over all of them? I input 1000 files using concat and then I want to crossfade all of them with the same filter effect. How do I achieve this? Ty
[22:54:02 CEST] <relaxed> A4L: you could create a script to construct the ffmpeg command
[22:55:51 CEST] <A4L> Is this the only option? The filter list would be veryyy long...
[22:57:03 CEST] <relaxed> what difference does that make? have the script write to a file and then execute it
[22:57:38 CEST] <A4L> ok, i had a thought that it would be more CPU hungry, but nevermind...
[23:06:17 CEST] <relaxed> maybe for loop through the files and pipe/appeand to one output file?
[23:09:25 CEST] <A4L> this would reencode one file 1000 times since it is mp3
[23:09:59 CEST] <relaxed> ah, you're right
[23:13:31 CEST] <relaxed> wait, if you're filtering you're transoding
[23:29:43 CEST] <A4L> by the way, how do I apply a filter for example 3 input files?
[23:29:52 CEST] <A4L> acrossfade in my case?
[23:47:02 CEST] <durandal_1707> A4L: use -filter_complex_script, as you will need 1000-1 acrossfades
[23:55:29 CEST] <A4L> thanks!
[00:00:00 CEST] --- Mon Jun 10 2019


More information about the Ffmpeg-devel-irc mailing list