Dear friends,
Since I am not an expert, I don't sure if the following test is fine. However, I want to share my comments about a test that I did with FFmpeg subtitles options.
I expect that one of the Experts can help us to get Subtitles support for our Sony S370.
TOOLS- FFmpeg version SVN-r23012
- My video is a DivX movie with embedded subtitles
FFmpeg OPTIONSI used the following options:
- Code:
-vcodec codec
Force video codec to codec. Use the copy special value to tell that the raw codec data must be copied as is.
-scodec codec
Force subtitle codec ('copy' to copy stream).
Source:
http://ffmpeg.org/ffmpeg-doc.htmlCOMMAND LINEffmpeg -i mytest.divx -vcodec mpeg2video -scodec copy mytestout.mpg
Where:
mytest.divx => input video
-vcodec mpeg2video => codec the video to mpeg2video (MPEG-2 or MP2T)
-scodec copy => subtitle codec ('copy' to copy stream)
mytestout.mpg => output video based on mpg
FFmpeg REPORT- Code:
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldflags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (24000/1001)
Input #0, avi, from 'mytest.divx':
Duration: 01:30:10.82, start: 0.000000, bitrate: 1093 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 688x288 [PAR 1:1 DAR 43:18], 23.98 fps,23.98 tbr, 23.98 tbn, 23.98 tbc
Metadata:
strn : Video
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Metadata:
strn : Audio
Stream #0.2: Subtitle: xsub
Metadata:
strn : Subtitle - es;02
Output #0, mpeg2video, to 'mytestout.m2v':
Metadata:
encoder : Lavf52.62.0
Stream #0.0: Video: mpeg2video, yuv420p, 688x288 [PAR 1:1 DAR 43:18], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
Metadata:
strn : Video
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 64 kb/s
Metadata:
strn : Audio
Stream #0.2: Subtitle: xsub
Metadata:
strn : Subtitle - es;02
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.2 -> #0.2
Press [q] to stop encoding
MY COMMENTSBased on my test, I have the following comments/observations:
- FFmpeg identifies three metadata: Video (
Stream #0.0), Audio (
Stream #0.1) and Subtitles (
Stream #0.2)
- FFmpeg can streams the three metadata, including the subtitles
One more time, I am not an expert. Sorry if the previous test is so basic. I just want to contribute with this Topic.
Samsung PN60E7000, UN46C7000, BD-C6900, BD-D5500, BD-E5700 ¬ Sony PS3, Wii ¬ LG BD670 ¬ Pioneer VSX-820-K ¬ Bose Acoustimass 15 ¬ Synology DS413j ¬ Cisco EA4500 ¬ Monster HDP2400