Hi Carl,
    I will recompile ffmpeg,the input file is Linux named pipe file.so it is 
not a regular file. the content is the device's audio stream(codec is g722).Let 
me show how this work:many device report there stream to a public tcp address 
(222.222.210.52:8888 eg) then my software put those stream to different Linux 
named pipe. then I use ffmpeg to convert this stream to a stream media. hope I 
make it clear.
Thanks
zhangkai



On 08/07/2019 17:49, Carl Eugen Hoyos wrote:


> Am 07.08.2019 um 10:36 schrieb 张凯 <[email protected]>:
>
>    I have a server to access the audio stream(fmt g722).When I use ffmpeg to 
> convert the stream to aac( ffmpeg -thread_queue_size 128  -f g722 -i 
> test/01334516771/1/alive -acodec aac -f flv 
> rtmp://127.0.0.1:8080/myapp/01334516771_1_live) I only get noise.

Please provide your input file.

> noibelowse.is the ffmpeg's output
> [go@tdsg vavms]$ ffmpeg -thread_queue_size 128  -f g722 -i 
> test/01334516771/1/alive -acodec aac -f flv 
> rtmp://127.0.0.1:8080/myapp/01334516771_1_live
> ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
>  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)

>  configuration: --disable-x86asm

Unrelated: You should never use this configure option.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to