Re: [FFmpeg-user] speed display during encode

2016-01-12 Thread Roger Pack
On 1/11/16, Elliott Balsley  wrote:
> Sometime between July and December 2015, it seems ffmpeg has added a
> "speed" display measured as a multiple of the framerate.  Is it possible to
> either hide this or hide the fps display?  It seems redundant to show
> both.  I run ffmpeg in a script that shows progress with "-loglevel warning
> -stats" so I can see only the final status display for each file.

Wait doesn't -stats make it so it doesn't output any progress info?
(as a data point, I at least like the new speed, as its quite useful
esp. when doing audio conversions when there is no to compare
against).
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Low latency H.264 streaming with ffmpeg

2016-01-12 Thread Roger Pack
On 1/12/16, Kenneth Fields  wrote:
> yes, we’re having the same issue now.
> but -benchmark also really degrades the stream.
> Is there any options possible for -benchmark (moderate, strict)?

what type of degredation? are you using udp? are you including audio?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] [FFMPEG] Audio/Video Syncing

2016-01-12 Thread x

Hello FFmpeg Team,

Good evening.

I do understand that we can synchronize audio/video stream using the 
"*itsoffset*" option as

documented in this website:
=
https://wjwoodrow.wordpress.com/2013/02/04/correcting-for-audiovideo-sync-issues-with-the-ffmpeg-programs-itsoffset-switch/
=

In fact, I have tested it and it is indeed working. The following line 
delays the audio stream by 1 second to synchronize it with

=
ffmpeg -y -i http://192.168.0.11:8090/VIDEO_CAM1.mpg -itsoffset 1.0 -i 
http://192.168.0.11:8090/AUDIO.mp2 -map 0:0 -map 1:0 test.mp4

=
I use ffserver as input source by the way, feeding it with streams from 
an IP camera (video) and ALSA (audio).


However, I would like to make the synchronization automatic. Say, 
compare the timestamps from each stream and find their difference,

then use the difference as parameter to the "*itsoffset*" option?

Hoping to receive an enlightening response. Thank you very much for your 
good product!


Regards,

Guillermo


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun
Thanks Lou. Yes, I did log out and logged in again. I followed the
instructions as I understood it. I was hoping that it would solve it, but
it did not.

Apologies for top posting, I am new at using the forum...

On Tue, Jan 12, 2016 at 7:30 PM, Lou-2 [via FFmpeg-users] <
ml-node+s933282n4674039...@n4.nabble.com> wrote:

> On Tue, 12 Jan 2016 19:19:40 +0100
> jun saturay <[hidden email]
> > wrote:
>
> > Hi Daniel, thanks for the reply. This is exactly what I did. But I still
> > get the error. I am beginning to suspect that it is not the binary but
> in a
> > saved configuration somewhere that I need to delete. Any tip how to do
> it?
>
> The guide places the compiled ffmpeg binary in ~/bin. One reason
> for this is to avoid interfering with system files, the repository
> packages, and the package management system. ~/bin is automatically in
> the vanilla Ubuntu PATH, but only if the directory already exists.
>
> As the guide mentions, either log-off and log-in, or run ". ~/.profile"
> for your shell to notice. You'll only need to do this once.
>
> Alternatively, move the ffmpeg binary in your preferred location in
> your PATH.
>
> Please avoid top-posting on this mailing list.
> ___
> ffmpeg-user mailing list
> [hidden email] 
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674039.html
> To unsubscribe from Error: [AVFilterGraph @ 0xabe1cc0] No such filter:
> 'ass', click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674040.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Low latency H.264 streaming with ffmpeg

2016-01-12 Thread Roger Pack
On 1/12/16, Greger Burman  wrote:
> I would like to hear from anyone who has experience with low latency video
> streaming and ffmpeg.
>
> In my application I take video from a PCIe capture device and stream live
> over network. The end to end latency must be below 200ms otherwise it is
> not usable. Let us assume that the network latency is near zero. This
> question is about encoder+decoder+buffering latency.
>
> Very low latency can be achieved when using the x264 encoder by using
> settings like tune zerolatency. From my own testing with x264 (without
> ffmpeg) I can confirm that this works. I have measured approx 90 ms (3
> frames) of latency added by encoder+decoder combined. Awesome.
>
> Sadly I have been unable to get anywhere near those numbers when using
> ffmpeg and libx264. As player I use either ffplay or a dot-net player built
> on the ffmpeg libraries, with about equal results. The lowest end to end
> latency I have seen is 400-500ms. That includes capture latency also.

mplayer -benchmark has been the only client I've found with reasonable
latency, though I'm sure there are others/more.
I've gotten pretty low latency before with ultrafast+zerolatency

Basically my advice is "be wary of ffplay (and vlc)" I'm not sure if
its latency is low enough...

https://trac.ffmpeg.org/wiki/StreamingGuide
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun saturay
Hi Daniel, thanks for the reply. This is exactly what I did. But I still
get the error. I am beginning to suspect that it is not the binary but in a
saved configuration somewhere that I need to delete. Any tip how to do it?

On Tue, Jan 12, 2016 at 6:14 PM,  wrote:

> If you compile ffmpeg, you may add libass to the binary. See this page on
> how to compile:
>
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
> Kind regards,
> Daniel
>
>
>
> 2016-01-12 12:07 skrev jun saturay:
>
>> Thanks Moritz.
>>
>> I'd appreciate a tip where to find a suitable ffmpeg. I am using
>> usbuntustudio 14.04.3
>>
>>
>> On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick 
>> wrote:
>>
>> On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
>>> > libass-dev is installed
>>> >
>>> > here is the complete console output
>>> >
>>> > $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
>>> > "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
>>> > ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>>> >   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>>> >   configuration:
>>>
>>> And THAT is why we need the complete, uncut console output.
>>>
>>> If you had passed any arguments to ./configure when building, they
>>> would be shown here, approximately as:
>>> >   configuration: --enable-libass
>>>
>>> I believe you're still using the same ffmpeg binary as before.
>>>
>>> Moritz
>>> ___
>>> 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
>>
> ___
> 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


[FFmpeg-user] Low latency H.264 streaming with ffmpeg

2016-01-12 Thread Greger Burman
I would like to hear from anyone who has experience with low latency video
streaming and ffmpeg.

In my application I take video from a PCIe capture device and stream live
over network. The end to end latency must be below 200ms otherwise it is
not usable. Let us assume that the network latency is near zero. This
question is about encoder+decoder+buffering latency.

Very low latency can be achieved when using the x264 encoder by using
settings like tune zerolatency. From my own testing with x264 (without
ffmpeg) I can confirm that this works. I have measured approx 90 ms (3
frames) of latency added by encoder+decoder combined. Awesome.

Sadly I have been unable to get anywhere near those numbers when using
ffmpeg and libx264. As player I use either ffplay or a dot-net player built
on the ffmpeg libraries, with about equal results. The lowest end to end
latency I have seen is 400-500ms. That includes capture latency also.

Yes, there are many unknowns here. To help pin point the problem I used
mjpeg streaming for comparison. Same everything except I change ffmpeg
vcodec to mjpeg and format to mjpeg. I change nothing with ffplay. With
mjpeg I now get approx 150ms end to end latency.

Observation:
x264 codec + mpegts format compared to mjpeg codec + mjpeg format adds
about 300 ms (10 frames) latency.

I have tried every ffplay-, ffmpeg- and libx264 setting that I believe
relevant. Most have not made any noticable difference in latency. I will
not list a lot of settings here. Here are the basic settings and commands
that I have used. I can post more details on request.

x264-preset:
vcodec=libx264
thread_type=slice
slices=1
# x264
profile=baseline
level=32
preset=superfast
tune=zerolatency
intra-refresh=1
crf=15
x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60

$ ffmpeg -r 30 -f dshow -i video="devicename" -pix_fmt yuv420p -an -vpre
x264-preset -f mpegts udp://127.0.0.1:

$ ffplay -fflags nobuffer -flags low_delay -framedrop -strict experimental
udp://127.0.0.1:

Everything is run on Windows 7 64-bit, with 32-bit executables.
ffmpeg version N-76539-g480bad7 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
  libavutil  55.  5.100 / 55.  5.100
  libavcodec 57. 15.100 / 57. 15.100
  libavformat57. 14.100 / 57. 14.100
  libavdevice57.  0.100 / 57.  0.100
  libavfilter 6. 15.100 /  6. 15.100
  libswscale  4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc54.  0.100 / 54.  0.100

cheers
-- 
Greger Burman
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Regarding FFMPEG Library installation on RHEL 5 machins

2016-01-12 Thread Kachhawal, Vijay P
Hello FFMPEG Team,

We tried installing ffmpeg library as per the steps mentioned on link 
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/ffmpeg.html . But when 
we are giving the below command, we are getting the errors as highlighted below.

$ sed -i 's/-lflite"/-lflite -lasound"/' configure &&
>
> ./configure --prefix=/home   \
> --enable-gpl \
> --enable-version3\
> --enable-nonfree \
> --disable-static \
> --enable-shared  \
> --disable-debug  \
> --enable-libass  \
> --enable-libfdk-aac  \
> --enable-libfreetype \
  > --enable-libmp3lame  \
> --enable-libopus \
> --enable-libtheora   \
> --enable-libvorbis   \
> --enable-libvpx  \
> --enable-libx264 \
> --enable-libx265 \
> --enable-x11grab \
> --docdir=/home/vkachha/ffmpeg-2.8.4/ffmpeg-2.8.4 &&
>
> sudo make &&
>
> sudo gcc tools/qt-faststart.c -o tools/qt-faststart
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

We tried giving this command with and without sudo and still see the same 
error. So please update, if we are doing wrong somewhere or missing some steps.

Also, it will be very helpful if you can suggest some easy way to install this 
library.

Thanks,
Vijay

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Lou
On Tue, 12 Jan 2016 19:19:40 +0100
jun saturay  wrote:

> Hi Daniel, thanks for the reply. This is exactly what I did. But I still
> get the error. I am beginning to suspect that it is not the binary but in a
> saved configuration somewhere that I need to delete. Any tip how to do it?

The guide places the compiled ffmpeg binary in ~/bin. One reason
for this is to avoid interfering with system files, the repository
packages, and the package management system. ~/bin is automatically in
the vanilla Ubuntu PATH, but only if the directory already exists.

As the guide mentions, either log-off and log-in, or run ". ~/.profile"
for your shell to notice. You'll only need to do this once.

Alternatively, move the ffmpeg binary in your preferred location in
your PATH.

Please avoid top-posting on this mailing list.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Moritz Barsnick
On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> libass-dev is installed
> 
> here is the complete console output
> 
> $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>   configuration:

And THAT is why we need the complete, uncut console output.

If you had passed any arguments to ./configure when building, they
would be shown here, approximately as:
>   configuration: --enable-libass

I believe you're still using the same ffmpeg binary as before.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun saturay
Thanks Moritz.

I'd appreciate a tip where to find a suitable ffmpeg. I am using
usbuntustudio 14.04.3


On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick  wrote:

> On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> > libass-dev is installed
> >
> > here is the complete console output
> >
> > $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> > "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> > ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
> >   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
> >   configuration:
>
> And THAT is why we need the complete, uncut console output.
>
> If you had passed any arguments to ./configure when building, they
> would be shown here, approximately as:
> >   configuration: --enable-libass
>
> I believe you're still using the same ffmpeg binary as before.
>
> Moritz
> ___
> 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] speed display during encode

2016-01-12 Thread Moritz Barsnick
On Mon, Jan 11, 2016 at 17:37:46 -0800, Elliott Balsley wrote:
> It seems redundant to show both.

One of "time=", "size=", "bitrate=" is also redundant, they are
basically calculated from one another. ("bitrate" is calculated from
time and size.)

SCNR,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun
Sorry about that. I had to google what top posting is. I hope this is
better. Otherwise you have to patiently guide me through this top posting
bit

When I reinstalled ubuntustudio, I kept my old home directory, so I figure,
some of the changes that I did while installing other stuff could have
affected the behavior of ffmpeg.

I suspect that the problem lies not in ffmpeg, nor in ubuntu studio. It
maybe something that I installed or uninstalled along the way. I think I
will backup my data on another disk, then reinstall and have a clean home
directory...

I am new at this, but this old dog is ok with learning new tricks.

thanks for the patients, Lou and others




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674042.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] h264 stream from Arecont camera

2016-01-12 Thread Jannes Faber
I'm getting headaches from this Arecont Vision AV20365CO in all sorts of
ways. I can get an mjpeg stream out of it and successfully store that with
ffmpeg.

http://10.1.1.233/mjpeg1?ssn=501=full=10

But in an attempt to avoid many other (non ffmpeg related) problems with
that method, I'm now trying to get the h264 stream out of it. That stream
however contains a MIME header between each frame:

  2d 2d 66 62 64 72 0d 0a  43 6f 6e 74 65 6e 74 2d
|--fbdr..Content-|
0010  54 79 70 65 3a 20 76 69  64 65 6f 2f 48 2e 32 36  |Type:
video/H.26|
0020  34 49 0d 0a 45 54 61 67  3a 20 43 68 61 6e 6e 65  |4I..ETag:
Channe|
0030  6c 3d 32 0d 0a 0d 0a 00  00 00 01 67 42 80 33 e9
|l=2gB.3.|

000ac100  00 00 00 00 00 00 00 00  00 00 00 00 00 0d 0a 2d
|...-|
000ac110  2d 66 62 64 72 0d 0a 43  6f 6e 74 65 6e 74 2d 54
|-fbdr..Content-T|
000ac120  79 70 65 3a 20 76 69 64  65 6f 2f 48 2e 32 36 34  |ype:
video/H.264|
000ac130  50 0d 0a 45 54 61 67 3a  20 43 68 61 6e 6e 65 6c  |P..ETag:
Channel|
000ac140  3d 32 0d 0a 0d 0a 00 00  00 01 41 9a 22 00 b5 43
|=2A."..C|

I can get it to work as follows, but this seems ridiculous and sed ends up
eating 10x as much CPU as ffmpeg and curl combined.

curl -s -o - 'http://10.1.1.233/h264stream2?ssn=121=half=1' | sed -u
-b -e '/^--fbdr\r$/ {N;N;N;d}' | ffmpeg -i - -c:v copy bla.avi

Is there any way ffmpeg can deal with such a stream directly?

In the spirit of uncut output, an ffprobe below:

curl -s -o - 'http://10.1.1.233/h264stream2?ssn=121=half=1' | sed -u
-b -e '/^--fbdr\r$/ {N;N;N;d}' | ffprobe -
ffprobe version 2.8.4 Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
--enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls
--enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
--disable-indev=jack --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample
--enable-postproc --enable-pthreads --disable-static --enable-shared
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
[h264 @ 0x1333560] Stream #0: not enough frames to estimate rate; consider
increasing probesize
Input #0, h264, from 'pipe:':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x960, 25 fps, 25 tbr,
1200k tbn, 50 tbc

Thanks,

--
Jannes
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] h264 stream from Arecont camera

2016-01-12 Thread Carl Eugen Hoyos
On Tuesday 12 January 2016 03:35:32 pm Jannes Faber wrote:
> I can get it to work as follows, but this seems ridiculous and sed ends up
> eating 10x as much CPU as ffmpeg and curl combined.
>
> curl -s -o - 'http://10.1.1.233/h264stream2?ssn=121=half=1' | sed -u
> -b -e '/^--fbdr\r$/ {N;N;N;d}' | ffmpeg -i - -c:v copy bla.avi
>
> Is there any way ffmpeg can deal with such a stream directly?

Please upload a sample as provided by curl (without sed).

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] h264 stream from Arecont camera

2016-01-12 Thread Jannes Faber
https://drive.google.com/file/d/0BxMfj-zbDB1dOXh5djllY0lkLU0/view?usp=sharing

This still works for me on the file above:

cat h264stream.dump | sed -u -b -e '/^--fbdr\r$/ {N;N;N;d}' | ffmpeg -i -
-c:v copy bla.avi

Thank you for taking the time.

--
Jannes

On 12 January 2016 at 16:21, Carl Eugen Hoyos  wrote:

> On Tuesday 12 January 2016 03:35:32 pm Jannes Faber wrote:
> > I can get it to work as follows, but this seems ridiculous and sed ends
> up
> > eating 10x as much CPU as ffmpeg and curl combined.
> >
> > curl -s -o - 'http://10.1.1.233/h264stream2?ssn=121=half=1' |
> sed -u
> > -b -e '/^--fbdr\r$/ {N;N;N;d}' | ffmpeg -i - -c:v copy bla.avi
> >
> > Is there any way ffmpeg can deal with such a stream directly?
>
> Please upload a sample as provided by curl (without sed).
>
> Carl Eugen
> ___
> 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] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Lou
On Tue, 12 Jan 2016 10:41:42 -0800 (PST)
jun  wrote:

> Thanks Lou. Yes, I did log out and logged in again. I followed the
> instructions as I understood it. I was hoping that it would solve it, but
> it did not.

I don't know why it's not working for you, and I don't want to try to
debug every possibility, but perhaps you would find it easier to use a
PPA:

https://launchpad.net/~mc3man/+archive/trusty-media

Or you could upgrade your distro. FFmpeg returned to Ubuntu in 15.04
and it is available in the repository, and I assume it has libass
support.

> Apologies for top posting, I am new at using the forum...

You top-posted again.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Low latency H.264 streaming with ffmpeg

2016-01-12 Thread Kenneth Fields
yes, we’re having the same issue now.
but -benchmark also really degrades the stream.
Is there any options possible for -benchmark (moderate, strict)?

Ken



> mplayer -benchmark has been the only client I've found with reasonable
> latency, though I'm sure there are others/more.
> I've gotten pretty low latency before with ultrafast+zerolatency
> 
> Basically my advice is "be wary of ffplay (and vlc)" I'm not sure if
> its latency is low enough...


> On Jan 13, 2016, at 2:30 AM, Roger Pack  wrote:
> 
> On 1/12/16, Greger Burman > wrote:
>> I would like to hear from anyone who has experience with low latency video
>> streaming and ffmpeg.
>> 
>> In my application I take video from a PCIe capture device and stream live
>> over network. The end to end latency must be below 200ms otherwise it is
>> not usable. Let us assume that the network latency is near zero. This
>> question is about encoder+decoder+buffering latency.
>> 
>> Very low latency can be achieved when using the x264 encoder by using
>> settings like tune zerolatency. From my own testing with x264 (without
>> ffmpeg) I can confirm that this works. I have measured approx 90 ms (3
>> frames) of latency added by encoder+decoder combined. Awesome.
>> 
>> Sadly I have been unable to get anywhere near those numbers when using
>> ffmpeg and libx264. As player I use either ffplay or a dot-net player built
>> on the ffmpeg libraries, with about equal results. The lowest end to end
>> latency I have seen is 400-500ms. That includes capture latency also.
> 
> 
> https://trac.ffmpeg.org/wiki/StreamingGuide 
> 
> ___
> 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] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread db123
If you compile ffmpeg, you may add libass to the binary. See this page 
on how to compile:


https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Kind regards,
Daniel


2016-01-12 12:07 skrev jun saturay:

Thanks Moritz.

I'd appreciate a tip where to find a suitable ffmpeg. I am using
usbuntustudio 14.04.3


On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick  
wrote:



On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> libass-dev is installed
>
> here is the complete console output
>
> $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>   configuration:

And THAT is why we need the complete, uncut console output.

If you had passed any arguments to ./configure when building, they
would be shown here, approximately as:
>   configuration: --enable-libass

I believe you're still using the same ffmpeg binary as before.

Moritz
___
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

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] speed display during encode

2016-01-12 Thread Elliott Balsley
I realize that; I was merely asking if the display can be disabled
according to user preference.  When using a narrow Terminal window, the
display is constantly overwritten, so this new change means a wider
Terminal window of 100 chars is required.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user