I am trying to convert mpg (mpeg2) files from my TiVo to h.264 files for my iPod. I am currently using ffmpegX on a mac and it is working great, however I have a linux box with a more powerful CPU that I would like to use. I have installed ffmpeg, x264, and found some scripts to streamline the process, however the output files are not good.
A 5 second clip would produce a 10 second clip with the audio ending half way through, and jerky slow motion video.
It is almost working!!!!!!!
Any help would be appreciated.
+ Reply to Thread
Results 1 to 4 of 4
-
-
Parameters :
ffmpeg -y 0 -i myfile.mpg -cropleft 0 -cropright 0 \
-croptop 0 -cropbottom 0 -v 1 -vcodec libx264 -b 800 -bt 175k -refs 2 -loop 1 \
-deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 \
-partb8x8 1 -me full -subq 6 -brdo 1 -me_range 21 -chroma 1 \
-slice 2 -bf 0 -level 13 -g 300 -keyint_min 30 \
-sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 \
-qmax 35 -qdiff 4 -i_qfactor 0.71428572 -b_qfactor 0.76923078 \
-maxrate 768k -bufsize 3000k -cmp 1 -s 640x480 -acodec libfaac \
-ab 160 -ar 48000 -ac 2 -f mp4 2 myfile
I am using a the script from here
http://slated.org/howto_transcode_h264_for_ipod_with_ffmpeg -
I was able to fix it by installing a newer version of x264!!! The output file is all good, I noticed that with the older version, there was no output in the terminal while it was encoding, just [q] to quit or something. Now the terminal is filled with thousands of these messages, is there any way to suppress them?
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combinationime=3592.66 bitrate= 866.5kbits/s
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combinationime=3593.37 bitrate= 866.5kbits/s
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
[mpeg @ 0x914fa70]invalid dts/pts combination
Similar Threads
-
2 Hour Long File Conversion ffmpeg
By wsander9 in forum ffmpegX general discussionReplies: 3Last Post: 8th Oct 2011, 00:23 -
FFMPEG adding audio to mpg video => QT bug
By Tom2me in forum MacReplies: 3Last Post: 6th Aug 2011, 05:27 -
ffmpeg help... convert mp4 to jpeg array, and back to mp4 - problem!
By SaskVideoMaker in forum Video ConversionReplies: 2Last Post: 4th Feb 2011, 04:53 -
editing mp4 1080i files, audio not synced, video choppy
By headros in forum EditingReplies: 3Last Post: 24th Apr 2010, 14:22 -
MP4 video to avi or mpg
By mysts in forum Newbie / General discussionsReplies: 2Last Post: 7th Jun 2007, 12:59