Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permanent subs 3d mkv/mp4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Tue Jan 22, 2013 5:04 pm    Post subject: permanent subs 3d mkv/mp4 Reply with quote

How can i embed subs in a 3d video(mkv/mp4)?
i tried with handbrake .
i think that i have to make this result -->>
http://www.supportforum.philips.com/en/attachment.php?attachmentid=605&d=1321832995
so how can i add a subtitle twice in a stereoscopic video?
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Jan 23, 2013 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Thu Jan 24, 2013 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Tue Jan 29, 2013 6:17 pm    Post subject: Reply with quote

Any help please?
The queastion is how to place the subtitles x2 times (on each half) ?avimerge set them at center..
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Fri Feb 08, 2013 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Fri Mar 15, 2013 9:28 pm    Post subject: Reply with quote

i executed this command and the new video(out.mkv) has not embedded subtitles.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Fri Mar 15, 2013 10:40 pm    Post subject: Reply with quote

ffprobe out.mkv
is not showing subtitles streams to?
What's your ffmpeg version?
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Thu Jun 06, 2013 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Fri Jun 14, 2013 4:23 pm    Post subject: Reply with quote

Any help please?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum