Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Adding subtitles to a video

  1. #11
    Join Date
    May 2012
    Beans
    270

    Re: Adding subtitles to a video

    c:s means scodec, while trying it, it gives the bellow error:

    Code:
    $ ffmpeg -i Q_hyCryvyuk.mkv -i Q_hyCryvyuk.srt -vcodec copy -acodec copy -scodec mov_text -metadata:s:s:0 language=eng mov_text.mp4
    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
      built on Nov  9 2013 19:15:53 with gcc 4.7.2
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [matroska,webm @ 0x933a880] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'Q_hyCryvyuk.mkv':
      Metadata:
        MAJOR_BRAND     : mp42
        MINOR_VERSION   : 0
        COMPATIBLE_BRANDS: isommp42
        CREATION_TIME   : 2013-11-30 04:32:53
        ENCODER         : Lavf53.21.1
      Duration: 00:04:44.83, start: 0.000000, bitrate: 192 kb/s
        Stream #0.0(und): Video: mpeg4 (Simple Profile), yuv420p, 480x360 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 25 tbc (default)
        Stream #0.1(und): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s (default)
        Metadata:
          CREATION_TIME   : 2013-11-30 04:32:53
          LANGUAGE        : und
    [srt @ 0x93702c0] Estimating duration from bitrate, this may be inaccurate
    Input #1, srt, from 'Q_hyCryvyuk.srt':
      Duration: N/A, start: 32.956000, bitrate: N/A
        Stream #1.0: Subtitle: srt
    Unknown encoder 'mov_text'

  2. #12
    Join Date
    May 2012
    Beans
    270

    Re: Adding subtitles to a video

    @shantiq: The command works great, are there any params to change such as: font size, font face,...

    Then, if the user download the video, are the subtitles will be in the video?

  3. #13
    Join Date
    Sep 2006
    Beans
    3,470

    Re: Adding subtitles to a video

    Quote Originally Posted by alfirdaous View Post
    c:s means scodec, while trying it, it gives the bellow error:
    As I mentioned before my commands will work for real ffmpeg from FFmpeg, but not the fake so-called "ffmpeg" in the repository. You will need to get the real ffmpeg. You can:


  4. #14
    Join Date
    May 2012
    Beans
    270

    Re: Adding subtitles to a video

    Thx FakeOutdoorsman, I will try it later on

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •