Francesco Romani escribió:
On Wed, 2009-06-03 at 15:06 +0200, Antonio Beamud Montero wrote:
It's posible to use a output fps value not included in the frc table?
I'm trying to use a 2 fps rate in my output file, but the filter always uses the input fps rate, i.e something like this (input at 12fps):

transcode -i input.avi -y xvid -J modfps --export_fps 2 -o output.avi

----
[filter_modfps.so] converting from 12.0000fps to 12.0000fps
----

but:

transcode -i input.avi -y xvid -J modfps --export_fps 5 -o output.avi

-----
[filter_modfps.so] converting from 12.0000fps to 5.0000fps
-----

Do I need to modify the libtc/ratiocodes.c to add my fps value?

Don't think so. Please paste the full output produced by the above

transcode -i in.avi -y xvid -J modfps --export_fps 2 -o out.avi -c 0-1

Bests,
That's the output:

$ transcode -i in.avi -y xvid -J modfps --export_fps 2 -c 0-1 -o out.avi
transcode v1.1.0 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
[dvd_reader.c] critical: no support for DVD reading configured - exit.
[dvd_reader.c] critical: no support for DVD reading configured - exit.
[transcode] V: auto-probing     | in.avi (OK)
[transcode] V: import format    | XviD in RIFF data, AVI (module=ffmpeg)
[transcode] A: auto-probing     | in.avi (OK)
[transcode] A: import format | MPEG ES Layer 3 in RIFF data, AVI (module=mp3)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 384x288  1.33:1  encoded @ 4:3
[transcode] V: bits/pixel       | 1.356
[transcode] V: decoding fps,frc | 12.000,12
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format | 0x55 MPEG ES Layer 3 [32000,16,1] 96 kbps [transcode] A: export format | 0x55 MPEG ES Layer 3 [32000,16,1] 128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 12.000,12
[transcode] A: bytes per frame  | 5334 (5333.333333)
[transcode] A: adjustment       | -...@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 384x288 [0x2]
[transcode] A: audio buffer     | 10 @ 32000x1x16
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.15 (2008-01-28) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 12.0000fps to 12.0000fps
[filter_modfps.so] critical: No framerate conversion requested, exiting
[transcode] warning: Initialization of filter modfps failed, skipping.
[export_xvid4.so] v0.0.6 (2007-08-11) (video) XviD 1.0.x series (aka API 4.0) | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "in.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 12000 [export_xvid4.so] warning: Error opening configuration file ./xvid4.cfg: No such file or directory
[transcode] Audio: using lame-3.97
[export_xvid4.so] warning: Usage of this module for audio encoding is deprecated.
[export_xvid4.so] warning: Consider switch to export_tcaud module.
[decoder.c] cancelling the import threads
[transcode] encoded 1 frames (0 dropped, 0 cloned), clip length   0.08 s


Greetings.

Reply via email to