[FFmpeg-devel] [FFmpeg-user] conversion problem

Marc Mason mpeg.blue
Fri Jan 9 15:18:01 CET 2009


Erik Willems wrote:

> [root at web-srv01 testvideo]#

You should definitely *NOT* run ffmpeg as root on random files.

> ffmpeg -i test.avi -ab 48k -ac 2 -ar 44100
> -f flv -deinterlace -nr 500 -s 640x420 -r 30 -b 270k -me_range 25
> -i_qfactor 0.9 -qmin 8 -qmax 8 -g 500 test.flv
> 
> Input #0, avi, from 'test.avi':
>   Duration: 00:00:18.00, start: 0.000000, bitrate: 2756 kb/s
>     Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 15.00 tb(r)
>     Stream #0.1: Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
                           ^^^^^^  ^^^^^^^

I thought s16 meant "signed 16-bit" samples ?
How can a stream have pcm_u8 and s16 ?

> Output #0, flv, to 'test.flv':
>     Stream #0.0: Video: flv, yuv420p, 640x420, q=8-8, 270 kb/s, 30.00 tb(c)
>     Stream #0.1: Audio: adpcm_swf, 44100 Hz, stereo, s16, 48 kb/s
                                      ^^^^^^^^

> Audio resampler only works with 16 bits per sample, patch welcome.

cf. https://roundup.mplayerhq.hu/roundup/ffmpeg/issue582

-- 
Regards.




More information about the ffmpeg-devel mailing list