[FFmpeg-user] Problem with FFMPEG Live Stream Pushing
s00b4u .
s00b4u at gmail.com
Fri Jul 24 12:25:53 CEST 2015
Thank you.
I updated my FFMPEG.
Now it is:
ffmpeg version N-73929-ga906e86 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/home/shubhmoy/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/shubhmoy/ffmpeg_build/include
--extra-ldflags=-L/home/shubhmoy/ffmpeg_build/lib
--bindir=/home/shubhmoy/bin --enable-gpl --enable-libass
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 50.101 / 56. 50.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 27.100 / 5. 27.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder
I am trying two FFMPEG commands:
ffmpeg -re -i "/home/user/bunny.mp4" -vcodec libx264 -vb 400000 -g 60
-acodec libfdk_aac -ab 100000 -ar 48000 -ac 2 -f flv
rtmp://localhost:1935/live/stream_500k
ffmpeg -re -i "/home/user/bunny.mp4" -vcodec libx264 -vb 400000 -g 60
-acodec libfdk_aac -ab 100000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f
flv rtmp://localhost:1935/live/stream_500k
The first one works just fine. But in the second one, I am getting same
errors like before. The only thing which is extra in Second command is:
"-vbsf h264_mp4toannexb". I think there I am making some mistake.
The output of second command is huge. So, I am pasting it on Pastebin
(http://pastebin.com/VwWT3Ue6)
Thanks.
On Thu, Jul 23, 2015 at 10:12:24AM +0300, Maxim Kozlov wrote:
> And if you want to stream file use -re option before input.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list