* MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
1 duplicate frame(s)!
Skipping frame!
Skipping frame!
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
FFmpeg version SVN-r12920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --disable-mmx --enable-shared
libavutil version: 49.6.0
libavcodec version: 51.55.0
libavformat version: 52.13.0
libavdevice version: 52.0.0
built on Apr 22 2008 03:29:06, gcc: 3.4.6 20060404 (Red Hat 3.4.6-9)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/var/www/html/vdata/69.flv':
Duration: 00:00:09.60, start: 0.000000, bitrate: 40 kb/s
Stream #0.0: Video: flv, yuv420p, 160x112, 25.00 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 40 kb/s
Output #0, image2, to '/var/www/html/uploads/temp/69/0-0000000%d.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 160x112, q=2-31, 200 kb/s, 2.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=3.1 Lsize= -0kB time=0.5 bitrate= -0.4kbits/s
video:3kB audio:0kB global headers:0kB muxing overhead -100.653595%
------------------php files
<?php
include("include/config.php");
include("include/functions/import.php");
$original = $_SERVER['argv'][1];
$videoid = $_SERVER['argv'][2];
$videor = $_SERVER['argv'][3];
if (($original != "") && ($videoid != "") && ($videor != ""))
{
if($config[resize_video] == 1)
{
$runinbg = "$config[mencoder] $config[originalvdir]/$original -o $config[videodir]/".$videoid."x.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$config[vbitrate]:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vop scale=$config[vresize_x]:$config[vresize_y] -srate $config[sbitrate]";
}
else
{
$runinbg = "$config[mencoder] $config[originalvdir]/$original -o $config[videodir]/".$videoid."x.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=$config[vbitrate]:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate $config[sbitrate]";
}
$runconvert = exec("$runinbg");
if ($runconvert)
{
exec("$config[metainject] -Uv $config[videodir]/".$videoid."x.flv $config[videodir]/".$videoid.".flv");
@unlink("$config[videodir]/".$videoid."x.flv");
$flvff = "$config[videodir]/".$videoid.".flv";
rotation_video_to_frame($flvff, $videoid);
if ($config['keep_original_video'] == "0")
{
if (filesize($config[videodir]."/".$videoid.".flv") > 0 && file_exists($config[videodir]."/".$videoid.".flv"))
{
$deletetempvideo = $config[originalvdir]."/".$original;
@chmod($deletetempvideo, 0777);
@unlink($deletetempvideo);
}
for($tt=1;$tt<5;$tt++)
{
$tempthumb = $config['tmpimgpath']."/".$videoid."/0000000".$tt.".jpg";
if(file_exists($tempthumb))
{
@unlink($tempthumb);
}
}
@rmdir($config['tmpimgpath']."/".$videoid);
}
}
}
?>