I've been trying to merge avi. and srt. files into one to play on my PS3 for ages and recently downloaded ffmpegX and the first three times it worked great.
But now after I've done all of this:
"Try using ffmpegX. In order to to add the subtitles you must re-encode the avi video. So, drag and drop or open the avi file with ffmpegX. Click the arrow in the area where it says "To" and select the format you want it to be encoded to. I usually choose xvid or divx. Then go to the "Filters" tab and click "Load subs" and select the subtitle file you wish to use. You can also change the subtitle font size, text style, and position (I like to keep the font size and text style default and change the position to Pos 90 to keep the subtitles a little more closer to the bottom). Before you encode the video, you can preview how the subtitles will appear by clicking "Preview." Another thing I like to do before I encode the video, is go to "Options" and check "Two-pass encoding" (this will make the output file quality a little bit better by analyzing the video and creating a log file). Once you have everything set to your preference, just click "Encode" at the bottom right corner to start the encoding process. Once its done, you should have a file, avi in this case, that will have the subtitles encoded into the video. There is no way to remove the subtitles after this process, so make sure that you don't overwrite your original avi file."
... the file appears as an mpg.avi file on my desktop but it won't run on VLC, Quicktime or my PS3!!!
Could you please help?! I obviously have NO idea what I'm doing and how to get it to "work" again.
Thanks!!!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Results 1 to 10 of 10
Thread
-
-
Please note that burning subtitles into the video with ffmpegX requires a mencoder preset, i.e. settings that utilize the mencoder engine.
E.g. try the "XviD mencoder" preset, not the "XviD ffmpeg" preset.
If it fails again, then please provide the Process Information log for examination. You may access this log by clicking the blue "i" in the ffmpegX Progress window. That should tell us more about what exactly happened.
-
I did try with both XviD and DivX mencoder. This is the log:
Encoding started on Fri Sep 6 13:55:40 CEST 2013
FIXME:Hardenabling SSE and SSE2 without detection
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 11)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x75e5de0e
Quicktime/MOV file format detected.
VIDEO: [avc1] 1920x800 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:1920x800 fps:23.98 ftime:=0.0417
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 93.7 kbit/6.10% (ratio: 11715->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
================================================== ========================
SUB: Detected subtitle file format: subviewer
SUB: Read 1201 subtitles.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=1920 h=1088]
================================================== ========================
MP3 audio selected
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
Forcing output fourcc to 58564944 [DIVX]
VDec: vo config request - 1920 x 800 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (1920x1088 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
1 duplicate frame(s)!
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
Skipping frame!
Error while decoding frame!
Error while decoding frame!
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
1 duplicate frame(s)!
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
[h264 @ 0x878f8c]abs_diff_pic_num overflow
[h264 @ 0x878f8c]decode_slice_header error
[h264 @ 0x878f8c]concealing 6000 DC, 6000 AC, 6000 MV errors
h264.c:4128: failed assertion `h->long_ref_count + h->short_ref_count <= h->sps.ref_frame_count'
I am sorry if my doubts are too "stupid" I am new to this and really have no idea what I'm doing!
Thanks so much for answering!
-
These lines look to me as indication that the decoder (reading the source file) finds video characteristics that it doesn't know how to handle. I believe this can happen because the binaries (mplayer, mencoder) are so old (2006) that they do not yet cover these (advanced) parameters. For these kind of files, mencoder presets can not be used. Unfortunately, you'll only know after trying.
Originally Posted by nolarice00
If you don't mind encoding twice, you could still make the wanted conversion with subs using ffmpegX. More about that if you're interested.
If you resent encoding twice, then you'll have to look for other more modern tools to make the conversion.
-
Hmm, I was suggesting something like that. I wonder why that didn't work, but it seems you solved it in a different way.
If that is an option, then that may be the faster route anyway.
Originally Posted by nolarice00
Similar Threads
-
Help please, unable to merge srt to avi using AVIDEMUX
By pwangdel in forum EditingReplies: 9Last Post: 16th Jun 2016, 03:08 -
How do I merge a .srt to an AVI to MKV conversion?
By b8375629 in forum Video ConversionReplies: 7Last Post: 20th Jul 2010, 14:17 -
Merge two AVI's & SRT's into one MP4
By vassie in forum Video ConversionReplies: 6Last Post: 18th Sep 2009, 04:00 -
From ffmpegx: SRT+AVI=MPEG2; can't playback in anything.
By sclyman in forum ffmpegX general discussionReplies: 5Last Post: 12th Jul 2009, 18:31