Hi Michael,
I tried the command line that you recommended, but It didn’t work for me. I got the same error with any subtitle file. I think FFmpeg can read those files.
My command line is:
ffmpeg.exe -i myAVItest.avi -i myAVItest.srt -vcodec copy -acodec copy -scodec copy myNEWAVItest.avi -slang vie -newsubtitle
where
myAVItest.avi is the video
myAVItest.srt is the subtitle file
myNEWAVItest.avi is the new file
Here is my results:
C:\ffmpeg.exe -i myAVItest.avi -i myAVItest.srt -vcodec copy -acodec copy -scodec copy myNEWAVItest.avi -slang vie -newsubtitle
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-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-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 'myAVItest.avi':
Metadata:
ISFT : VirtualDubMod 1.5.4.1 (build 2178/release)
IAS1 : English
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 tbr,
23.98 tbn, 23.98 tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
myAVItest.srt: Invalid data found when processing input
I’d appreciate your help!