[MEncoder-users] MEncoder Creating "Snip-Its" of Audio, Video, and Subtitle files
chunt102783 at gmail.com
Thu Jun 13 17:07:56 CEST 2013
>> # Extract the video and burn in the subtitles from
>> the external subtitle file
>> ./mencoder $extra_args -nosound -ss <start_time>
>> -endpos <duration> <input_video_file>
>> <input_subtitle_file> -o "video_stream.avi" -ovc lavc
>Why don't you use FFmpeg to burn in the subtitles?
>If it does not work, a reproducible bug report
>would be very welcome!
FFMPEG does not support these subtitle formats so it would be more a
feature request than a bug report...
>> MPlayer/MEncoder was built on an Intel Mac running
>> OSX 10.7.5 with the following configure
>> ./configure '--cc=clang' --enable-decoder=vda
>(What is this?)
>> --extra-libs="-lssl -lcrypto -lzip"
>If this is needed, it should be reported imo.
I think that this is just an issue with my pkg-config I remember reading
something about the MacPorts pkg-config being not reliable (adding
libraries to the configure command doesn't hurt the build even if they are
not needed unless they conflict and that would result in a failed build as
far as I know) ... by the way I added -lzip because I needed libzip
functionalty to support UNS subtitle files (they are zipped files at least
as I have found them) this was one of the formats I added code for in
>> ffmpeg was built with the following configure
>> ./configure --enable-openssl --enable-nonfree
>> --enable-postproc --enable-gpl --arch=x86_64
You're probably right on this some of the auto-detections weren't working
for me not sure if it was an issue with how my machine was setup or in the
configure script (I had to make small modifications in the configure to
support detection of libzip I might have messed something else up but with
these flags forcing those options the build seems to work fine).
>Out of curiosity:
>What are these good for?
mmacosx-version-min=10.6 allows for some compile time optimizations in the
code linked to by MPlayer/FFMPEG by utilizing Mac OSX functionality that is
only available in OSX 10.6 and up.
>> It would be preferable that all this was done
>> in a single step
>> (ideally through MEncoder)
>Just in case you don't know:
>MEncoder is not an actively maintained application
>for several years, FFmpeg is.
Yes, I am aware, unfortunately as I said in another reply I had added
support for other subtitle formats in MPlayer rather than in FFMPEG (before
I realized I was going to need the subtitle functionality in FFMPEG for
burning in those subs soo..) and at this point I'd rather not redevelop the
code in FFMPEG and/or duplicate if at least its functionality ... but I may
have too if the process just isn't doable, I'm hoping that one of the
MPlayer/Mencoder gurus here pulls a miracle out of their hat.
More information about the MEncoder-users