Re: [FFmpeg-user] Problem with FFMPEG Live Stream Pushing
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 libavformat56. 40.101 / 56. 40.101 libavdevice56. 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 libpostproc53. 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 40 -g 60 -acodec libfdk_aac -ab 10 -ar 48000 -ac 2 -f flv rtmp://localhost:1935/live/stream_500k ffmpeg -re -i "/home/user/bunny.mp4" -vcodec libx264 -vb 40 -g 60 -acodec libfdk_aac -ab 10 -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@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Problem with FFMPEG Live Stream Pushing
And if you want to stream file use -re option before input. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Problem with FFMPEG Live Stream Pushing
Hi s, On Wed, Jul 22, 2015 at 13:49:20 +0530, s00b4u 4u wrote: > My FFMPEG configuration looks like this: > ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers > built on Jul 1 2014 12:08:44 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) > > If you like, I can send FFPROBE results of my MP4 file. You should first try the latest git version. The version you are using is one year old, many bugs may have been fixed since. Then, you should also please include the command line and complete, uncut console output. (Of the ffmpeg command, not only of ffprobe.) Cheers, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Problem with FFMPEG Live Stream Pushing
Hi, I have an MP4 file which I want to push to my Wowza as Flash Live Stream. I am using following command for that: *ffmpeg -i "~/Videos/myvideo.mp4" -codec:v libx264 -vb 40 -g 60 -codec:a aac -ab 10 -ar 48000 -ac 2 -bsf:v h264_mp4toannexb -strict experimental -f flv rtmp://localhost:1935/live/stream_500k* But when I start pushing the streams, the streams is well received on Wowza but I also get a series of errors. *[libx264 @ 0x2c509e0] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstreamFailed to open bitstream filter h264_mp4toannexb for stream 0 with codec libx264: Invalid argument* My FFMPEG configuration looks like this: ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers built on Jul 1 2014 12:08:44 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --prefix=/home/shubhmoy/ffmpeg_build --extra-cflags=-I/home/shubhmoy/ffmpeg_build/include --extra-ldflags=-L/home/shubhmoy/ffmpeg_build/lib --bindir=/home/shubhmoy/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab libavutil 52. 90.101 / 52. 90.101 libavcodec 55. 68.100 / 55. 68.100 libavformat55. 44.100 / 55. 44.100 libavdevice55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc52. 3.100 / 52. 3.100 If you like, I can send FFPROBE results of my MP4 file. Thanks. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user