Well, we updated ffmpeg to the latest (0.6 I believe) and I'm still getting the same thing. I just don't understand it, not sure where to go from here. This is what I got from the convertor.php log:
PHPmotion Convertor.php debug
CLI for convertor OK
Sat - Sep 25, 2010 @ 11:59 AM
================================================================================
PHPmotion Step 1 Converting
/usr/local/bin/ffmpeg -i /home/discgolf/public_html/uploads/avi/VuYDlihiNQT1hBn5WPcp.avi -ab 64 -ar 44100 -b 2000k -r 29.97 -nr 1000 -g 500 -s 640x360 -qmax 20 /home/discgolf/public_html/uploads/VuYDlihiNQT1hBn5WPcp.flv
Sat - Sep 25, 2010 @ 11:59 AM
Command was executed. See rest of log for output details
=================================================================
PHPmotion STEP 2 & 3
OUTPUT - FLVTOOL2 - check - Video Duration = 0
================================================================================
/usr/bin/flvtool2 -UP /home/discgolf/public_html/uploads/VuYDlihiNQT1hBn5WPcp.flv | grep duration
PHPmotion Debug - STEP 4
/usr/local/bin/ffmpeg -i /home/discgolf/public_html/uploads/VuYDlihiNQT1hBn5WPcp.flv -ss 00:00:00 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/discgolf/public_html/uploads/thumbs/VuYDlihiNQT1hBn5WPcp.jpg
Command was executed.See rest of log for output details
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 25 2010 10:41:30 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
[flv @ 0xf71e420]max_analyze_duration reached
[flv @ 0xf71e420]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from '/home/discgolf/public_html/uploads/VuYDlihiNQT1hBn5WPcp.flv':
Metadata:
duration : 3373
width : 640
height : 360
videodatarate : 1953
framerate : 30
videocodecid : 2
audiodatarate : 0
audiosamplerate : 44100
audiosamplesize : 16
stereo : true
audiocodecid : 1
filesize : 919043536
Duration: 00:56:13.06, start: 0.000000, bitrate: 2000 kb/s
Stream #0.0: Video: flv, yuv420p, 640x360, 2000 kb/s, 29.92 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: adpcm_swf, 44100 Hz, 2 channels, s16, 0 kb/s
Output #0, mjpeg, to '/home/discgolf/public_html/uploads/thumbs/VuYDlihiNQT1hBn5WPcp.jpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mjpeg, yuvj420p, 120x90, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 3 fps= 0 q=1.6 Lsize= 3kB time=3.00 bitrate= 8.8kbits/s dup=0 drop=21
video:3kB audio:0kB global headers:0kB muxing overhead 0.000000%
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 25 2010 10:41:30 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
[flv @ 0x6c93420]max_analyze_duration reached
[flv @ 0x6c93420]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from '/home/discgolf/public_html/uploads/VuYDlihiNQT1hBn5WPcp.flv':
Metadata:
duration : 3373
width : 640
height : 360
videodatarate : 1953
framerate : 30
videocodecid : 2
audiodatarate : 0
audiosamplerate : 44100
audiosamplesize : 16
stereo : true
audiocodecid : 1
filesize : 919043536
Duration: 00:56:13.06, start: 0.000000, bitrate: 2000 kb/s
Stream #0.0: Video: flv, yuv420p, 640x360, 2000 kb/s, 29.92 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: adpcm_swf, 44100 Hz, 2 channels, s16, 0 kb/s
Output #0, mjpeg, to '/home/discgolf/public_html/uploads/player_thumbs/VuYDlihiNQT1hBn5WPcp.jpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mjpeg, yuvj420p, 640x360, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 3 fps= 0 q=1.6 Lsize= 23kB time=3.00 bitrate= 61.7kbits/s dup=0 drop=21
video:23kB audio:0kB global headers:0kB muxing overhead 0.000000%
I noticed this: Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
I've been reading that I can add "-r ntsc" to the ffmpeg command line to stop this, maybe this is the problem? Would I add this to the convertor.php file?
Thank you frankie for your time.