Error when converting video comments

i got this error when trying to record video comment, got all thumbail etc...but the final step doesnt work, and the cron attemps to convert it :

 

 

Input #0, flv, from '/httpdocs/flash/modules/video_comments/files/4.flv':
  Duration: 00:00:28.05, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 640x360, 25 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[mp4 @ 0xa5eb170]track 1: could not find tag, codec not currently supported in container
Output #0, mp4, to '/httpdocs/flash/modules/video_comments/files/4.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 0 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)

having no problems with video upload....

 

popy

Quote · 8 Nov 2009

ok, i think the ffmpeg does not support the nellymoser codec..?

Quote · 8 Nov 2009

ok, i think the ffmpeg does not support the nellymoser codec..?

no...mpeg4 don't support nellymoser...try this:

problem is codec of flv don't fit in mpeg4 (then we can't use -acodec copy)...this is the solution i've founded:

change:

$sSound = $bSound ? " -acodec copy " : " -an ";

with:

$sSound = $bSound ? " -acodec libmp3lame -ar 44100 " : " -an ";

in file \flash\modules\video_comments\inc\functions.inc.php.

Let me know if, after conversion video and audio aren't syncronized...I've writed a fix for sync problem..but need some tests..

Quote · 8 Nov 2009

 

 

 

ok, i think the ffmpeg does not support the nellymoser codec..?

no...mpeg4 don't support nellymoser...try this:

 

problem is codec of flv don't fit in mpeg4 (then we can't use -acodec copy)...this is the solution i've founded:

 

change:

 

$sSound = $bSound ? " -acodec copy " : " -an ";

 

with:

 

$sSound = $bSound ? " -acodec libmp3lame -ar 44100 " : " -an ";

 

 

in file \flash\modules\video_comments\inc\functions.inc.php.

 

Let me know if, after conversion video and audio aren't syncronized...I've writed a fix for sync problem..but need some tests..

 Wow, ty luca_it, if work correctly, and sync are perfect... (ok i record only 15 seconds video), but all seem ok..., wish ww will not have to make this modif again when RC will release...lol,

 

popy

Quote · 8 Nov 2009

glad to help you ;)

Quote · 9 Nov 2009

What version is this fix for? Has it been implemented in the latest beta?

Quote · 9 Nov 2009

What version is this fix for? Has it been implemented in the latest beta?

dolphin 7 all betas I think...this is added to TRAC now and fixed:

http://www.boonex.com/trac/dolphin/changeset/13186

Quote · 9 Nov 2009

Good! Gotta be on the watch-out for these findings not to be missed!

Quote · 9 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.