[Ffmpeg-devel-irc] ffmpeg.log.20190331
burek
burek021 at gmail.com
Mon Apr 1 03:05:01 EEST 2019
[11:55:08 CEST] <clarkk> Are there any less cumbersome ways to specify time periods for filters? For example:
[11:55:11 CEST] <clarkk> ffmpeg -i input.mp4 -af "volume=enable='between(t,56*60+12,56*60+14)':volume=0,volume=enable='between(t,56*60+20,56*60+22)':volume=0,volume=enable='between(t,56*60+24,56*60+27)':volume=0,volume=enable='between(t,56*60+30,56*60+37)':volume=0" -c:v copy output.mp4
[11:55:45 CEST] <clarkk> so, are there any alternatives to 56*60+12 etc?
[22:10:05 CEST] <friendofafriend> Howdy. i'm using the h264_omx encoder on a Raspberry Pi to create an h264 stream. I'm piping the output of that into another instance of ffmpeg to create an MPEG-TS stream. The resulting stream plays very well, but I get "Invalid UE golomb code" error sometimes. Is there a flag I should try in ffmpeg to fix it?
[22:51:00 CEST] <Ulrar> Hi, I have a line I use to convert to x265 which works okay : ffmpeg -i "${_file}" -vcodec hevc -preset medium -acodec aac new.mkv. The problem is that it only keeps one of the subtitles track, so I tried adding "-map 0:s? -c:s copy" to get them all but with that, if there are subtitle tracks, it ignores video and audio
[22:51:19 CEST] <Ulrar> What would be the correct way to change my original line to also copy all subtitles tracks ?
[22:51:26 CEST] <DHE> -map 0 # will fetch everything
[22:54:08 CEST] <Ulrar> DHE: Excluding the non-converted audio and video tracks ?
[22:54:44 CEST] <Ulrar> The goal here is to get all the subtitles, and still convert the video to x265
[22:55:44 CEST] <another> no. it just selects everything for conversion/copy
[22:56:08 CEST] <Ulrar> I thought so, not what I'm looking for then
[22:56:19 CEST] <DHE> I think you might want -c:s copy for thoroughness
[22:56:19 CEST] <another> see also: https://ffmpeg.org/ffmpeg-all.html#Stream-selection
[22:56:24 CEST] <DHE> wait, what am I missing then?
[22:57:28 CEST] <Ulrar> DHE: I want to copy all subtitles as is, but convert the video to x265, not copy it
[22:57:45 CEST] <Ulrar> Which is what my original line did, convert the video
[22:57:48 CEST] <another> -map 0 -c:s copy -c:a aac -c:v hevc
[22:58:12 CEST] <another> Ulrar: i think you misunderstood something
[22:58:20 CEST] <Ulrar> ffmpeg -i "${_file}" -map 0 -c:s copy -c:a aac -c:v hevc -preset medium out.mkv
[22:58:24 CEST] <Ulrar> Is that correct ?
[22:58:32 CEST] <DHE> yes, that'll get you started
[22:58:41 CEST] <Ulrar> Perfect, thanks
[00:00:00 CEST] --- Mon Apr 1 2019
More information about the Ffmpeg-devel-irc
mailing list