View previous topic :: View next topic |
Author |
Message |
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
|
Back to top |
|
|
syn0ptik Apprentice
Joined: 09 Jan 2013 Posts: 267
|
Posted: Wed Jan 23, 2013 12:53 am Post subject: |
|
|
ffmpeg -i INPUT -attach DejaVuSans.ttf -metadata:s:2 mimetype=application/x-truetype-font out.mkv
and play with crop's for equals pictures left and right. |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Thu Jan 24, 2013 8:27 pm Post subject: |
|
|
in example i have the 3d video file movie.mp4/mkv and the subtitle movie.srt
which is the right command to make the subtitle permanent and double(stereoscopic)?(as the above image)
ffmpeg -i movie.mp4 -attach DejaVuSans.ttf -metadata:s:2 mimetype=application/x-truetype-font out.mkv ??where tells the command about srt file? |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Tue Jan 29, 2013 6:17 pm Post subject: |
|
|
Any help please?
The queastion is how to place the subtitles x2 times (on each half) ?avimerge set them at center.. |
|
Back to top |
|
|
syn0ptik Apprentice
Joined: 09 Jan 2013 Posts: 267
|
Posted: Fri Feb 08, 2013 4:06 am Post subject: |
|
|
here, it like this, but it for usual video data, it creates new stream in output mkv file, so mp4 file can't be outputed.
ffmpeg -i movie.mp4 -attach subs.srt -metadata:s:2 mimetype=application/x-truetype-font out.mkv
also for 3d movies it should works only if you play around crop's filters |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Fri Mar 15, 2013 9:28 pm Post subject: |
|
|
i executed this command and the new video(out.mkv) has not embedded subtitles. |
|
Back to top |
|
|
syn0ptik Apprentice
Joined: 09 Jan 2013 Posts: 267
|
Posted: Fri Mar 15, 2013 10:40 pm Post subject: |
|
|
ffprobe out.mkv
is not showing subtitles streams to?
What's your ffmpeg version? |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Thu Jun 06, 2013 1:59 pm Post subject: |
|
|
ffprobe out.mkv
ffprobe version 0.10.7 Copyright (c) 2007-2013 the FFmpeg developers
built on Jun 5 2013 02:19:59 with gcc 4.6.3
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O3 -pipe -march=amdfam10' --extra-cflags='-O3 -pipe -march=amdfam10' --extra-cxxflags='-O3 -pipe -march=amdfam10' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-librtmp --disable-altivec --disable-avx --disable-mmx2 --disable-ssse3 --disable-vis --disable-neon --cpu=amdfam10 --enable-hardcoded-tables
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from 'out.mkv':
Metadata:
MAJOR_BRAND : isom
MINOR_VERSION : 1
COMPATIBLE_BRANDS: isomavc1
ENCODER : Lavf54.29.104
Duration: 01:33:38.27, start: 0.000000, bitrate: 2549 kb/s
Stream #0:0(und): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
CREATION_TIME : 2012-11-04 11:08:07
LANGUAGE : und
Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, s16 (default)
Metadata:
CREATION_TIME : 2012-11-04 11:08:42
LANGUAGE : eng
HANDLER_NAME : GPAC ISO Audio Handler
Stream #0:2: Attachment: ttf
Metadata:
filename : out.srt
mimetype : application/x-truetype-font
Unsupported codec with id 98304 for input stream 2 |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Fri Jun 14, 2013 4:23 pm Post subject: |
|
|
Any help please? |
|
Back to top |
|
|
|