[FFmpeg-user] ffmpeg mediatomb transcoding

Saulo Silva sauloaugustosilva at gmail.com
Wed Jan 30 21:48:20 CET 2013


Now I looked at google and found that option -scodec srt and now I have a
error messages .

ffmpeg -i file.mkv -i  file.srt -scodec srt file.avi

ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  7 2013 20:40:56 with gcc 4.7 (SUSE Linux)
  configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib --enable-shared --disable-static --enable-debug
--disable-stripping --extra-cflags='-fomit-frame-pointer -fmessage-length=0
-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3
--enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx
--enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264
--enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-postproc --enable-libdc1394
--enable-librtmp --enable-libfreetype --enable-avresample
--enable-libtwolame
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from file.mkv':
  Metadata:
    creation_time   : 2011-05-22 16:20:09
  Duration: 02:41:42.05, start: 0.000000, bitrate: 11769 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9,
23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536
kb/s (default)
    Metadata:
      title           : English
    Stream #0:2(por): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : Português
[srt @ 0x8618fa0] Estimating duration from bitrate, this may be inaccurate
Input #1, srt, from 'file.srt':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Subtitle: subrip
[avi @ 0x8558cc0] Subtitle streams other than DivX XSUB are not supported
by the AVI muxer.
Output #0, avi, to 'file.avi':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc (default)
    Stream #0:1(eng): Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo,
fltp (default)
    Metadata:
      title           : English
    Stream #0:2: Subtitle: srt
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (dca -> libmp3lame)
  Stream #1:0 -> #0:2 (subrip -> srt)
Could not write header for output file #0 (incorrect codec parameters ?):
Not yet implemented in FFmpeg, patches welcome

 The line that I acctually use for mencoder is :

mencoder file.mkv -sub "file.srt" -noaspect -ovc lavc -lavcopts
vbitrate=2000  -oac mp3lame -lameopts vbr=3 -mc 0 -noskip -o "file.avi"

and despite the lost of sync in some movies it works .

Best regards,

Saulo


2013/1/30 Saulo Silva <sauloaugustosilva at gmail.com>

> Carl ,
>
> Here initial line that I tried with now success :
>
> ffmpeg -i file.mkv -i file.srt file.avi
>
> No subtitle embed and the 1080p movie is at in a very bad resolution .
>
> Best Regards,
>
>
> 2013/1/30 Carl Eugen Hoyos <cehoyos at ag.or.at>
>
>> Saulo Silva <sauloaugustosilva <at> gmail.com> writes:
>>
>> > I tried some command lines at web without luck .
>>
>> Command line and complete uncut console output missing.
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list