Hi Kieran, thank a lot for your you suggestion. it works very well. regards.
Dave 2016-03-24 10:09 GMT+01:00 Kieran O Leary <[email protected]>: > On 24 Mar 2016 5:05 a.m., "Molteni Davide" <[email protected]> wrote: > > > > Hi all, > > > > can you please help me? > > I want to convert in a mkv file only the video encoding from hevc (h265) > to > > h264 without loosing all the audio tracks in AC3/DTS/... and subtitles. > > Hi Dave, > > Example 4 in the FFmpeg map wiki looks like the solution but they use mpeg2 > as their example. <https://trac.ffmpeg.org/wiki/Map>https > <https://trac.ffmpeg.org/wiki/Map>:// <https://trac.ffmpeg.org/wiki/Map> > trac.ffmpeg.org <https://trac.ffmpeg.org/wiki/Map>/wiki/Map > <https://trac.ffmpeg.org/wiki/Map> > > ffmpeg -i inputfile -map 0 -c:a copy -c:s copy -c:v libx264 output.mkv > > Is how I'd do it. > > You could get more specific and use -map 0:a and -map 0:s in order to > specify subs and audio only. > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Davide Molteni Contrada Palasio 10 6512 Giubiasco Tel. 091 630 1710 Nat. 076 381 3281 _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
