Luigi Pinna wrote:
Hello!
I have a problem to convert a video.
I need to use it in a DVD.
I create an animation with GIMP and exported as .fli file and after with
mencoder as a mpeg file but it was no right for dvdauthor.
Now I tried to convert it with transcode (that has a DVD option -F 8)
but it doesn't find the plug-in.
This is the output:
transcode -F 8 -y mpeg -i intro.mpeg -o prova
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T.
Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source intro.mpeg (ok)
[transcode] V: import format | MPEG-2 (V=vob|A=vob)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 4:3
[transcode] V: bits/pixel | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x50 MPEG layer-2 [44100,16,2] 128
kbps
[transcode] A: export format | 0x50 MPEG layer-2 [44100,16,2] 128
kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7056 (7056.000000)
[transcode] A: adjustment | [EMAIL PROTECTED]
tc_memcpy: using libc for memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio)
MPEG/AC3/PCM | (subtitle)
[transcode] warning : /usr/lib64/transcode/export_mpeg.so: cannot open
shared object file: No such file or directory
[transcode] warning : (dl_loader.c) loading
"/usr/lib64/transcode/export_mpeg.so" failed
[transcode] warning : (encoder.c) loading audio export module failed
[transcode] warning : failed to init export modules
[transcode] critical: plug-in initialization failed
This is the transcode's FLAGS:
[ebuild R ] media-video/transcode-0.6.14-r2 (-3dnow) +X +a52
(-altivec) +avi (-divx4linux) +dv +dvdread +encode +fame +gtk
+imagemagick +jpeg +lzo +mjpeg (-mmx) +mpeg -network +ogg (-pvm)
+quicktime +sdl (-sse) (-sse2) +theora +truetype +v4l +vorbis +xml2
+xvid
What can I do?
Or what can I do to export from GIMP in the format?
Thanks,
Luigi
I'm not sure about that specific library problem you're having but I may have a
solution for you. I've noticed that dvdauthor is quite picky about the format
of the mpeg files that you give it. In my case, I used ffmpeg to convert an
avi to mpg but then dvdauthor did not like it. I found a workaround though. I
used tccat and tcextract to demux the mpg into separate audio/video files and
then I remuxed them with mplex.
Here is the relevant section from my script:
set -x -e
ffmpeg -i "${INPUT_AVI_FILE}" -vcodec mpeg2video -b 1500 -r ntsc -s 352x240 -aspect 4:3
-acodec mp2 -ar 48000 -ac 1 "${TEMP_VOB_FILE}"
tccat -i "${TEMP_VOB_FILE}" | tcextract -x mpeg2 -t vob -a video_track >
"${TEMP_M2V_FILE}"
tccat -i "${TEMP_VOB_FILE}" | tcextract -x mp2 -t vob -a audio_track >
"${TEMP_MPA_FILE}"
rm -f "${TEMP_VOB_FILE}"
mplex -f 8 -o "${OUTPUT_MPG_FILE}" "${TEMP_M2V_FILE}" "${TEM ffmpeg -i
"${INPUT_AVI_FILE}" -vcodec mpeg2video -b 1500 -r ntsc -s 352x240 -aspect 4:3 -acodec mp2 -ar 48000 -ac 1
"${TEMP_VOB_FILE}"
tccat -i "${TEMP_VOB_FILE}" | tcextract -x mpeg2 -t vob -a video_track >
"${TEMP_M2V_FILE}"
tccat -i "${TEMP_VOB_FILE}" | tcextract -x mp2 -t vob -a audio_track >
"${TEMP_MPA_FILE}"
rm "${TEMP_VOB_FILE}"
mplex -f 8 -o "${OUTPUT_MPG_FILE}" "${TEMP_M2V_FILE}" "${TEMP_MPA_FILE}"
It's not really elegant but it worked. Note that I used mp2 because I ran into
some troubles with some avi files and the ac3 encoder. However, ac3 worked
fine with most files.
Zac
--
[email protected] mailing list