[FFmpeg-user] Fw:ffmpeg http protocol question

asmall bthl21165 at 163.com
Thu May 17 04:28:59 EEST 2018


Hi all:


I have some bad case. 
I report ffmpeg log details.
The file link: http://ob0mm0nhp.bkt.clouddn.com/SPO20180515006498_014a727559409bcc44614e0662f25729.f0.mp3
log: http://ob0mm0nhp.bkt.clouddn.com/ffmpeg-20180516-213345.log
http://ob0mm0nhp.bkt.clouddn.com/ffmpeg-20180516-223318.logI 


I hope someone can help me. Most of file is ok that encoded file can play, but someone is bad. Why?


Thanks!


-------- Forwarding messages --------
From: "asmall" <bthl21165 at 163.com>
Date: 2018-05-13 11:48:38
To: ffmpeg-user at ffmpeg.org
Subject: ffmpeg http protocol question

Hi all


I'm xianfei. I have some problems to ask for you help. 
Thanks.
I encode audio with ffmpeg. 
when I exec the command "ffmpeg -i ~/Downloads/1101_3c27ce48e0b31a7961f1e75281cfaf3d.f0.mp3 -af loudnorm=I=-16:TP=-1.5:LRA=11 -ar 48k -f mp3 out_file.mp3", the out_file.mp3 can play.
when i exec the command "ffmpeg -i ~/Downloads/1101_3c27ce48e0b31a7961f1e75281cfaf3d.f0.mp3 -af loudnorm=I=-16:TP=-1.5:LRA=11 -ar 48k -f mp3 http://127.0.0.1:9805/v1/audio\?voice_id\=dddd" , the output file can not play.
I found two output files size is not same. the second of command output file is small. For example, the first command show "frame= 1 fps=0.4 q=-0.0 Lsize= 624kB time=00:00:48.62 bitrate= 105.1kbits/s speed=19.5x", but the second command show "frame= 1 fps=0.5 q=-0.0 Lsize= 623kB time=00:00:48.62 bitrate= 105.0kbits/s speed=21.9x". So the second output file is bad.
But, at present, only this one is bad, other audio is ok. My http server is right, because so much audio files are ok.
I don't know something is wrong. I hope you can help me.
thanks!
 
The source audio file is "1101_3c27ce48e0b31a7961f1e75281cfaf3d.f0.mp3" in the mail attachment.
the command exec result picture:
http://ob0mm0nhp.bkt.clouddn.com/ffmpeg-command-http-protocol.png
http://ob0mm0nhp.bkt.clouddn.com/ffmpeg-command-file-protocol.png


the audio file link
http://ob0mm0nhp.bkt.clouddn.com/1101_3c27ce48e0b31a7961f1e75281cfaf3d.f0.mp3
--


Thanks!

xianfei|bthl21165 at 163.com


More information about the ffmpeg-user mailing list