Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.

Neuer mplayer1.0RC2

Ajax, Hijax, Microformats, RDF, Markup, HTML, PHP, CSS, MySQL, htaccess, robots.txt, CGI, Java, Javascript usw.
Neues Thema Antworten
|Z|
PostRank 4
PostRank 4
Beiträge: 138
Registriert: 24.05.2007, 14:26

Beitrag von |Z| » 10.01.2008, 20:25

Hi alle Coder :-) ..

kleines Prob habe ich ..mein Hiern allein schafft das net :-)

Also..

Ich habe ein Video share script.und habe den mplayer1.0RC2 installiert..
Nun muss ich es im uploadlib anpassen..

Alte commandline für mplayer1.0RC1 :
$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es

Neue commandline für mplayer1.0RC2+ is:

Code: Alles auswählen

$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -ofps 24 -vf harddup
Mein script kann aber nicht das video umwandeln..


Habe im Script nun

Code: Alles auswählen

$log_str .= $this->CFG['admin']['video']['mencoder_path']."\" ".$source_filename." -o ".$store_dir.$this->VIDEO_NAME.".flv -of lavf -ovc lavc -oac lavc -lavcopts vcodec=flv:vbitrate=".$this->CFG['admin']['video']['vbitrate'].":autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56 -vf scale=320:240 -srate 22050 -af lavcresample=22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";

zu

Code: Alles auswählen

$log_str .= $this->CFG['admin']['video']['mencoder_path']."\" ".$source_filename." -o ".$store_dir.$this->VIDEO_NAME.".flv -of lavf -ovc lavc -oac mp3lame -lavcopts vcodec=flv:vbitrate=".$this->CFG['admin']['video']['vbitrate'].":autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56 -vf scale=320:240 -srate 22050 -ofps 24 -vf harddup";


und

Code: Alles auswählen

$result = exec("\"".$this->CFG['admin']['video']['mencoder_path']."\" ".$source_filename." -o ".$store_dir.$this->VIDEO_NAME.".flv -of lavf -ovc lavc -oac lavc -lavcopts vcodec=flv:vbitrate=".$this->CFG['admin']['video']['vbitrate'].":autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56 -vf scale=320:240 -srate 22050 -af lavcresample=22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames", $p);

zu

Code: Alles auswählen

$result = exec("\"".$this->CFG['admin']['video']['mencoder_path']."\" ".$source_filename." -o ".$store_dir.$this->VIDEO_NAME.".flv -of lavf -ovc lavc -oac mp3lame -lavcopts vcodec=flv:vbitrate=".$this->CFG['admin']['video']['vbitrate'].":autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56 -vf scale=320:240 -srate 22050 -ofps 24 -vf harddup", $p);

Funzt net :-(

Warum?

Hat einer paar Minuten zeit diese Zeilen durchzugehen ?

Antworten