After loading an input file, and changing "Video output" to "Mpeg4-ASP (ff)", I see one filter in the category "Subtitles": "SSA/ASS/SRT: Hardcode ass/ssa/srt subtitles using libass".pmam wrote:there is nothing in "Filters" for subtitle - it is empty?
Code: Select all
[ebuild R ] media-video/ffmpeg-1.2.6-r1 USE="X aac alsa amr bluray bzip2 encode fontconfig gnutls gsm hardcoded-tables iconv jpeg2k libass libcaca modplug mp3 network openal opus pic schroedinger sdl speex theora threads truetype vdpau vorbis vpx x264 xvid zlib -aacplus (-altivec) -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -frei0r -iec61883 -ieee1394 -jack -libsoxr -libv4l (-neon) -openssl -oss -pulseaudio -rtmp -static-libs {-test} -twolame -v4l -vaapi (-vis) (-bindist%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext ssse3 -3dnow -3dnowext -avx" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiB
[ebuild R ~] media-video/avidemux-2.6.8:2.6 USE="nls opengl qt4 sdl xv -debug -vaapi -vdpau" LINGUAS="de -ca -cs -el -es -fr -it -ja -pt_BR -ru -sr -sr@latin -tr" VIDEO_CARDS="-fglrx"
[ebuild R ~] media-libs/avidemux-core-2.6.8:2.6 USE="nls sdl xv -debug (-system-ffmpeg) -vaapi -vdpau" VIDEO_CARDS="-fglrx" 0 KiB
[ebuild R ~] media-libs/avidemux-plugins-2.6.8:2.6 USE="a52 aac alsa amr dts fontconfig lame opengl qt4 truetype vorbis vpx x264 xv xvid -aften -debug -fribidi -jack -libsamplerate -oss -pulseaudio -twolame -vdpau" CPU_FLAGS_X86="mmx" PYTHON_TARGETS="python2_7" 0 KiB
You cannot embed subtitles without reencoding, so "copy" is not an option here. It means "copy the video part of the demuxed stream unmodified", which is i.e. for adding an audio track.pmam wrote:If I choose "copy" I guess it keeps the original encoder?
The only particular one which came to my mind was "libass". Other than that, I have no idea.pmam wrote:I wonder if need to add all your USE flags, or you can advise particular ones?
Just ask emerge for a simulated remerge of the package with "verbose" option:BTW: How to print like your output that shows use flags for relevant packages?
Code: Select all
emerge -pv media-video/ffmpegCode: Select all
[ebuild R ~] media-video/ffmpeg-2.6.1:0/54.56.56 USE="X aac alsa bzip2 encode gpl hardcoded-tables iconv libass mp3 network opengl postproc sdl threads truetype vorbis x264 xcb xvid zlib -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -fribidi -gme -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -ladspa -libcaca -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -quvi -rtmp -samba -schroedinger -speex -ssh -static-libs {-test} -theora -twolame -v4l -vaapi -vdpau -vpx -wavpack -webp -x265 -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 -3dnow -3dnowext -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiBCode: Select all
[ebuild R ~] media-video/avidemux-2.6.8:2.6 USE="nls opengl qt4 sdl xv -debug -vaapi -vdpau" LINGUAS="-ca -cs -de -el -es -fr -it -ja -pt_BR -ru -sr -sr@latin -tr" VIDEO_CARDS="-fglrx" 0 KiBCode: Select all
[ebuild R ~] media-libs/avidemux-core-2.6.8:2.6 USE="nls sdl xv -debug (-system-ffmpeg) -vaapi -vdpau" VIDEO_CARDS="-fglrx" 0 KiBCode: Select all
[ebuild R ~] media-libs/avidemux-plugins-2.6.8:2.6 USE="a52 aac alsa dts opengl qt4 truetype vorbis x264 xv xvid -aften -amr -debug -fontconfig -fribidi -jack -lame -libsamplerate -oss -pulseaudio -twolame -vdpau -vpx" CPU_FLAGS_X86="mmx" PYTHON_TARGETS="python2_7" 0 KiBI am not sure about it - I added many USE flags, also to media-libs/avidemux-plugins, and I do not remember exactly...I think the combination of use flags "libass" and "fontconfig" for media-video/ffmpeg
was the needed bit for the filters to become visible.
Code: Select all
Oracle requires you to download the needed files manually after
* accepting their license through a javascript capable web browser.
*
* Download the following files:
* jdk-7u80-linux-x64.tar.gz
* at 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html#jdk-7u80-oth-JPR'
* and move them to '/usr/portage/distfiles'
*
* If the above mentioned urls do not point to the correct version anymore,
* please download the files from Oracle's java download archive:
*
* http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u80-oth-JPRCode: Select all
emerge dev-java/oracle-jdk-bin:1.7Code: Select all
mencoder -o outfile infile -sub subfile -subcp cp1255 -font /usr/share/fonts/dejavu/DejaVuSans.ttf -oac mp3lame
-ovc xvid -lameopts cbr:br=128 -ovc xvid -xvidencopts pass=1