[FFmpeg-user] ff* command lines that work
Robin A. Jensen
RAJensen at youmail.dk
Mon Mar 9 23:10:40 EET 2020
Den 09-03-2020 kl. 21:49 skrev Mark Filipak:
> On 03/09/2020 03:39 PM, hydra3333 at gmail.com wrote:
>> Well, I'm a dumb user and google gave me LOTS and LOTS of
>> commandlines that work - simply filter the google results by the
>> "date in the last year" to be sure you get the latest syntax. Lots.
>>
>> You appear to continually avoid "what is it you wish to do with a
>> specific example video that you have" type questions...
>
> That's a fair observation. You deserve a serious response. May I
> provide perspective?
>
> It appears to me that ffmpeg commands have the following structure:
> ffmpeg A [[B ...] -i C [D ...]...] [[E ...] [F ...]...]
> [[i ]...] : inputs
> A : general options
> [B ...] : input-specific pre-options
> C : input URL
> [D ...] : input-specific post-options
> ...[[]...] : outputs
> [E ...] : output-specific filters
> [F ...] : output URL
> Full disclosure: I don't know if all of the above is correct.
>
> Because ff* documentation is incomplete and disorganized, I have
> requested folks to submit command lines that are known to work. I hope
> to get thousands of them.
>
> I hope they will send them to me as private messages.
>
> I will then sort out commonalities in order to confirm/modify the
> above template and to provide further clues regarding option meanings
> and usage.
This will work. It's for a .TS file containing 1 video track, 1 subtitle
teletext track with 4 subtitles and 2 sound tracks. We cut off some in
the start and some in the ending.
ffmpeg -txt_format text -txt_page 599 -fix_sub_duration -ss 00:02:40
-c:v h264_mmal -i 'Beck Øje for Øje (4).ts' -to 01:32:10 -map 0:0 -c:v
h264_omx -b:v 4800k -map 0:2 -c:a copy -map 0:1 -c:s:0 mov_text
-metadata:s:s language=dan 'Beck(4).mp4'
More information about the ffmpeg-user
mailing list