Re: [FFmpeg-user] FFMpeg Exr Encoder

2018-05-14 Thread Martin Vignali
2018-05-12 9:06 GMT+02:00 Paul B Mahol :

> On 5/11/18, Matthew.Alexander - The Empire Post
>  wrote:
> > Hi,
> >
> >
> > I've been trying to use ffmpeg to speed up processes here at work,
> however
> > it has come to my attention that ffmpeg does not have an encoder for exr,
> > all I want to do right now is take existing EXRs and half the resolution,
> > however this doesn't seem to work.
> >
> >
> > Any tips?
> >
> >


FFmpeg doesn't have an exr encoder yet.
The most difficult part, is to add float/half pixel format in ffmpeg,
before adding an exr encoder.
(for now ffmpeg exr decoder, decode data in 16bit (int) not in float)

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffmpeg cross-compile

2018-05-14 Thread Thomas Schmiedl

Hello,

I try to cross-compile ffmpeg for my router using this toolchain 
https://github.com/Freetz/freetz. It is an alternative firmware for AVM 
routers 
(https://web.archive.org/web/20171105112501/http://freetz.org:80/wiki/help/howtos/common/newbie.en). 
I need support for 'https' and 'dash' (libxml2).


I tested with ffmpeg-4.0.tar.bz2, libxml2-2.9.8.tar.gz and 
openssl-1.0.2o.tar.gz.


openssl:
./configure --host=mips-linux-gnu --target=mips-linux CC=mips-linux-gcc 
AR=mips-linux-ar LD=mips-linux-ld RANLIB=mips-linux-ranlib 
--prefix=/home/user/ffmpeg-mips --without-zlib --without-python


make
make install

libxml2:
./Configure linux-generic32 shared --cross-compile-prefix=mips-linux- 
--prefix=/home/user/ffmpeg-mips


make
make install

ffmpeg:
./configure --prefix=/home/user/ffmpeg-mips --enable-cross-compile 
--cross-prefix=mips-linux- --arch=mips --target-os=linux 
--enable-openssl --enable-libxml2 
--extra-cflags='-I/home/user/ffmpeg-mips/include 
-Wl,-rpath=/home/user/ffmpeg-mips/lib' 
--extra-ldflags='-L/home/user/ffmpeg-mips/lib 
-Wl,-rpath=/home/user/ffmpeg-mips/lib' 
--extra-cxxflags='-I/home/user/ffmpeg-mips/include 
-Wl,-rpath=/home/user/ffmpeg-mips/lib' --disable-mips32r2 
--disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu


I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But 
the freetz-toolchain does not contain pkg-config. Is it possible to use 
pkg-config from the Debian 9 host system?


When calling ffmpeg's configure without '--enable-libxml2', there is no 
pkg-config error. But a warning: 'mips-linux-pkg-config not found, 
library detection may fail.'


I'm only an end-user, maybe someone could help me?

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Http Listen Connection Drop

2018-05-14 Thread sirk98 qwerty89
I try to use the debug loglevel, but I can't understand the problem .

av_interleaved_write_frame(): Broken pipe
No more output streams to write to, finishing.
Error writing trailer of http://127.0.0.1:8989/1: Broken pipe

This error appears when client press Stop on the stream . I need that the
connection remains open for other client . I try to use nginx as proxy
server using the proxy pass option, but the problem is the same .

What I can do ?

2018-05-11 11:27 GMT+02:00 Nicolas George :

> sirk98 qwerty89 (2018-05-07):
> > I try to setup FFmpeg + http listen option to serve some live stream
> > without web server .
> > If I run the script seems that all is working fine .
> > But if client close connection, ffmpeg stops and I need to restart
> script .
> > What I can do to solve this problem ?
>
> The first step would be to peruse the diagnostics printed or otherwise
> available (especially the return code of the process) to know the exact
> cause of the crash. If you have trouble understanding them by yourself,
> do not hesitate to post them fully here.
>
> Regards,
>
> --
>   Nicolas George
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] C210 uncompressed video: horizontal offset

2018-05-14 Thread Peter B.
On 10/05/18 23:02, Carl Eugen Hoyos wrote:
> Piotr kindly confirmed that the file is valid, I sent a patch that
> skips the unknown extradata.

Saw it own ffmpeg-devel@ :)
Will try it as soon as possible and report back.


> Is is possible that we talked about file(s) with changing codecs
> that you wanted to forward?

Indeed.

Due to other work things, it slipped through my todo-list :(
Will create a sample and send you a link :)


Thanks again,
Peter
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Http Listen Connection Drop

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 12:54:02 +0200, sirk98 qwerty89 wrote:
> I try to use the debug loglevel, but I can't understand the problem .
> 
> av_interleaved_write_frame(): Broken pipe
> No more output streams to write to, finishing.
> Error writing trailer of http://127.0.0.1:8989/1: Broken pipe
> 
> This error appears when client press Stop on the stream . I need that the
> connection remains open for other client . I try to use nginx as proxy
> server using the proxy pass option, but the problem is the same .
> 
> What I can do ?

May I interrupt this discussion and put forward the theory that the
"listen" mode of ffmpeg's http protocol/muxer was not made for multiple
connections? As far as I understand, it waits for one connection, and
terminates once this connection is closed.

The option "-multiple_requests" does persistant HTTP connections for
other sub-protocols, and has nothing to do with some sort of "server"
mode.

What you are trying to achieve was once provided by ffserver (until it
was recently discontinued).

nginx might be one option, and I once heard of an ffmpeg based server
similar to ffserver which serves only Matroska via HTTP, but I can't
find the link.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg cross-compile

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 12:28:13 +0200, Thomas Schmiedl wrote:
> I'm only an end-user, maybe someone could help me?

Perhaps someone at the freetz site?

> I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But 
> the freetz-toolchain does not contain pkg-config. Is it possible to use 
> pkg-config from the Debian 9 host system?

Hmm, this file from freetz at least mentions the pkg-config file:
https://github.com/Freetz/freetz/blob/c763e9066d06d21bcd815e15b3f8fa494b3b2007/make/libs/libxml2/libxml2.mk

But yes, if you know hwo pkg-config works, you can easily "fake" a
libxml-2.0.pc file and have ffmpeg use it.

> When calling ffmpeg's configure without '--enable-libxml2', there is no 
> pkg-config error. But a warning: 'mips-linux-pkg-config not found, 
> library detection may fail.'

Hmm, that means you don't have a pkg-config tool for cross build
either? I would also fake this, but there may be a better way.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] chwe17/FFmpeg-Cedrus can't open my webcam?

2018-05-14 Thread cedric.dew...@telfort.nl
Hi all,
I have a bananapi, running Armbian 5.38. I have done the following steps to 
compile ffmpeg:
git clone https://github.com/chwe17/FFmpeg-Cedrus.git
cd FFmpeg-Cedrus/
./configure --prefix=/usr --enable-nonfree --enable-gpl --enable-version3 
--enable-vdpau --enable-libx264 --enable-libpulse --enable-libv4l2
make -j 2
sudo make install
Now i try to capture and encode video from my webcam:
cedric@bananapi:~$ ffmpeg -i /dev/video0 -c:v cedrus264 -b:v 1000k -vewait 1000 
-f h264 test.h264
ffmpeg version git-2018-03-24-e785140 Copyright (c) 2000-2014 the FFmpeg 
developers
  built on May  4 2018 16:31:39 with gcc 5.4.0 (Ubuntu/Linaro 
5.4.0-6ubuntu1~16.04.5) 20160609
  configuration: --prefix=/usr --enable-nonfree --enable-gpl --enable-version3 
--enable-vdpau --enable-libx264 --enable-libpulse --enable-libv4l2
  libavutil  54.  6.100 / 54.  6.100
  libavcodec 56.  0.101 / 56.  0.101
  libavformat56.  2.100 / 56.  2.100
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  0.102 /  5.  0.102
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
/dev/video0: Invalid argument
Then I uninstall and reinstall ffmpeg from armbian, so I can test if my webcam 
itself is to blame. I see this works correctly, but it does not have the 
options -c:v cedrus264 and -vewait:
cedric@bananapi:~/new/FFmpeg-Cedrus$ ffmpeg -b:v 1000k -f h264 test.h264 -i 
/dev/video0 
ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg 
developers
  built with gcc 5.4.0 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 
--build-suffix=-ffmpeg --toolchain=hardened 
--libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf 
--cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping 
--disable-decoder=libopenjpeg --disable-decoder=libschroedinger 
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa 
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca 
--enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug 
--enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse 
--enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora 
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi 
--enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 
--enable-libopencv
  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
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 1597.248143, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 
kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
File 'test.h264' already exists. Overwrite ? [y/N] y
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x1682dc0] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x1682dc0] profile High 4:2:2, level 3.0, 4:2:2 8-bit
Output #0, h264, to 'test.h264':
  Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 (libx264), yuv422p, 640x360, q=-1--1, 1000 kb/s, 
30 fps, 30 tbn, 30 tbc
Metadata:
  encoder : Lavc56.60.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
^Cav_interleaved_write_frame(): Immediate exit requested
^CReceived > 3 system signals, hard exiting
After that i repeated the test from above with my compiled version:
cedric@bananapi:~/new/FFmpeg-Cedrus$ ./ffmpeg -v debug  -c:v cedrus264 -b:v 
1000k -vewait 1000 -f h264 test.h264 -i /dev/video0 
ffmpeg version git-2018-03-24-e785140 Copyright (c) 2000-2014 the FFmpeg 
developers
  built on May  4 2018 16:31:39 with gcc 5.4.0 (Ubuntu/Linaro 
5.4.0-6ubuntu1~16.04.5) 20160609
  configuration: --prefix=/usr --enable-nonfree --enable-gpl --enable-version3 
--enable-vdpau --enable-libx264 --enable-libpulse --enable-libv4l2
  libavutil  54.  6.100 / 54.  6.100
  libavcodec 56.  0.101 / 56.  0.101
  libavformat56.  2.100 / 56.  2.100
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  0.102 /  5.  0.102
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
Splitting the comman

Re: [FFmpeg-user] ffmpeg cross-compile

2018-05-14 Thread Tobias Rapp

On 14.05.2018 15:33, Moritz Barsnick wrote:

On Mon, May 14, 2018 at 12:28:13 +0200, Thomas Schmiedl wrote:

I'm only an end-user, maybe someone could help me?


Perhaps someone at the freetz site?


I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But
the freetz-toolchain does not contain pkg-config. Is it possible to use
pkg-config from the Debian 9 host system?


Hmm, this file from freetz at least mentions the pkg-config file:
https://github.com/Freetz/freetz/blob/c763e9066d06d21bcd815e15b3f8fa494b3b2007/make/libs/libxml2/libxml2.mk

But yes, if you know hwo pkg-config works, you can easily "fake" a
libxml-2.0.pc file and have ffmpeg use it.


When calling ffmpeg's configure without '--enable-libxml2', there is no
pkg-config error. But a warning: 'mips-linux-pkg-config not found,
library detection may fail.'


Hmm, that means you don't have a pkg-config tool for cross build
either? I would also fake this, but there may be a better way.


On Ubuntu there is a package "pkg-config-mips-linux-gnu" which provides 
/usr/bin/mips-linux-gnu-pkg-config (actually just a symlink to 
/usr/share/pkg-config-crosswrapper). Don't know how this is handled on 
Debian.


Regards,
Tobias

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] chwe17/FFmpeg-Cedrus can't open my webcam?

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 15:48:18 +0200, cedric.dew...@telfort.nl wrote:
> I have a bananapi, running Armbian 5.38. I have done the following steps to 
> compile ffmpeg:
> git clone https://github.com/chwe17/FFmpeg-Cedrus.git

I would like to claim: If you have issues with that fork of ffmpeg, why
don't you ask there? (Honest question.) That said, that repo isn't even
a proper fork, so it's hard to understand what they changed...but okay.

It's apparently based on a quite old version of ffmpeg, so you'll have
an extremely hard time getting support here. For all we know, any
issues may have been fixed in a long time!

(Cedrus:)
> cedric@bananapi:~$ ffmpeg -i /dev/video0 -c:v cedrus264 -b:v 1000k -vewait 
> 1000 -f h264 test.h264
[...]
(armbian:)
> cedric@bananapi:~/new/FFmpeg-Cedrus$ ffmpeg -b:v 1000k -f h264 test.h264 -i 
> /dev/video0 
[...]
(Cedrus:)
> cedric@bananapi:~/new/FFmpeg-Cedrus$ ./ffmpeg -v debug  -c:v cedrus264 -b:v 
> 1000k -vewait 1000 -f h264 test.h264 -i /dev/video0 

You order of inputs and outputs in the third command line confuses me.
It might work (does it), but I expect
$ ffmpeg [input options] -i input [output options] output

Have you tried:
$ ffmpeg -i /dev/video0 -f null -
with the Cedrus version (skipping the special encoder)?

This site:
http://linux-sunxi.org/FFmpeg
where the Cedrus patch comes from recommends this:
$ ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 [...]
Have you tried that?

Furthermore:
(armbian:)

> Then I uninstall and reinstall ffmpeg from armbian, so I can test if my 
> webcam itself is to blame. I see this works correctly, but it does not have 
> the options -c:v cedrus264 and -vewait:
> cedric@bananapi:~/new/FFmpeg-Cedrus$ ffmpeg -b:v 1000k -f h264 test.h264 -i 
> /dev/video0 
> ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg 
> developers

This is extremely old. Can you get hold of a newer binary build for
armbian? ffmpeg-4.0 or recent ffmpeg git, if possible.

> Where can I get a version of ffmpeg that uses the h264 hardware encoder for 
> the Allwinner A20 SOC on the bananapi?

Assuming that Cedrus code used to work - http://linux-sunxi.org/FFmpeg
hints that is was experimental and is unmaintained - you could try to
port their changes to recent ffmpeg. The feasibility of this would be
easier to check if those guys&gals had made it clear which version of
ffmpeg their code is based on[*]. Sigh.

Cheers,
Moritz

[*] This could be some sort of indication:
  libavutil  54.  6.100 / 54.  6.100
  libavcodec 56.  0.101 / 56.  0.101
  libavformat56.  2.100 / 56.  2.100
  libavdevice56.  0.100 / 56.  0.100
  libavfilter 5.  0.102 /  5.  0.102
  libswscale  3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  0.100 / 53.  0.100
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] chwe17/FFmpeg-Cedrus can't open my webcam?

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 16:27:48 +0200, Moritz Barsnick wrote:
> Assuming that Cedrus code used to work - http://linux-sunxi.org/FFmpeg
> hints that is was experimental and is unmaintained - you could try to
> port their changes to recent ffmpeg. The feasibility of this would be
> easier to check if those guys&gals had made it clear which version of
> ffmpeg their code is based on[*]. Sigh.

This guy figured it out:
https://blog.danman.eu/orangepi-h264-hw-encoding-with-ffmpeg/

You can probably try to cherry-pick his four commits on his cedrus264
branch to ffmpeg git master HEAD and see what that does. :-)

That doesn't necessarily solve your "-i /dev/video0" issue, but it
might make sure you have something proper to work with.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Http Listen Connection Drop

2018-05-14 Thread Nicolas George
Moritz Barsnick (2018-05-14):
> May I interrupt this discussion and put forward the theory that the
> "listen" mode of ffmpeg's http protocol/muxer was not made for multiple
> connections? As far as I understand, it waits for one connection, and
> terminates once this connection is closed.

That is not the exact explanation but close enough.

The HTTP protocol can handle several connections, but it requires using
a specific API. The ffmpeg command-line tool does not use that API, and
therefore can only handle one connection.

It would be possible to create a muxer similar to the tee muxer capable
of streaming to several clients at once. But nobody wrote it yet.

Regards,

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread 桃源老師
Hello ffmpeg experts, 

I can't build ffmpeg with rubberband.   The error appeared on console is 
"ERROR: rubberband >= 1.8.1 not found using pkg-config".
I'm on macOS High Sierra.
Here's seems to error portion of ffbuild/config.log.

gcc -L/Volumes/ffmpeg_compile/lib -lc++ -Wl,-dynamic,-search_paths_first 
-I/Volumes/ffmpeg_compile/include -L/Volumes/ffmpeg_compile/lib -o 
/var/folders/qn/tqwy6z3j5nj4rfcwc198_7swgn/T//ffconf.PlWioPrY/test 
/var/folders/qn/tqwy6z3j5nj4rfcwc198_7swgn/T//ffconf.PlWioPrY/test.o 
-lrubberband -lstdc++
Undefined symbols for architecture x86_64:
  "_vDSP_create_fftsetup", referenced from:
  RubberBand::FFTs::D_VDSP::initFloat() in librubberband.a(FFT.o)
  "_vDSP_create_fftsetupD", referenced from:
  RubberBand::FFTs::D_VDSP::initDouble() in librubberband.a(FFT.o)
  "_vDSP_ctoz", referenced from:
(SNIP)

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: rubberband >= 1.8.1 not found using pkg-config

How can I solve this issue?  Please Please Help me!!


// Miya aka. TougenRoushi



smime.p7s
Description: S/MIME cryptographic signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ERROR: rubberband >= 1.8.1 not found using pkg-config

This librubberband has a dependency on libvdsp (or whatever it is
called), but apparently, the pkg-config file (rubberband.pc) does not
reflect this. You may need to fix rubberband.pc. I don't think setting
"--extra-ldflags" on the ffmpeg command line would help.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread 桃源老師
Hello, Moritz-san,

> 2018/05/15 午前0:10、Moritz Barsnick のメール:
> 
> On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> ERROR: rubberband >= 1.8.1 not found using pkg-config
> 
> This librubberband has a dependency on libvdsp (or whatever it is
> called), but apparently, the pkg-config file (rubberband.pc) does not
> reflect this. You may need to fix rubberband.pc. I don't think setting
> "--extra-ldflags" on the ffmpeg command line would help.

Thank you very much.  I noticed this error means vdsp functions themselves 
can't call, but don't know how should I fix it.

By adding "-framework Accelerate" to Libs line in rubberband.pc, the error have 
gone!!
(On macOS, vdsp functions are defined in Accelerate.framework)

- Libs: -L${libdir} -lrubberband
+ Libs: -L${libdir} -lrubberband -framework Accelerate

I'm so happy!!!

P.S.
I have tested rubberband function as follows:
./ffplay -i ~/Movies/test.mp4 -af rubberband=tempo=2

It's fun!!!


Best Regards,


// Miya aka. TougenRoushi



smime.p7s
Description: S/MIME cryptographic signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg cross-compile

2018-05-14 Thread Carl Eugen Hoyos
2018-05-14 12:28 GMT+02:00, Thomas Schmiedl :

> I tested with ffmpeg-4.0.tar.bz2

Please remember that only current FFmpeg git head is supported here.

> I got this error: 'ERROR: libxml-2.0 not found using pkg-config'.

The reason is apparently that FFmpeg cannot know in advance
where the necessary headers are installed.
I will likely send a patch that would fix the issue for you (with
--extra-cflags=/path/to/libxml) but there is a high chance that
it will be rejected: Building for less common systems is
unfortunately not welcome;-(

My suggestion is you simply patch away the check from
configure or edit config.h and config.mak after running
configure to enable libxml2 and add the necessary path.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg dash demuxer support

2018-05-14 Thread Carl Eugen Hoyos
2018-05-12 19:26 GMT+02:00, Thomas Schmiedl :

> Is there an external lib required?

I added a line to the output of "configure --help"

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg http protocol question

2018-05-14 Thread Carl Eugen Hoyos
2018-05-13 5:48 GMT+02:00, asmall :

> 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.

Does it also play if you add the output option "-write_xing 0" to the
command line?

> 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\="; , the output file can not
> play.

How did you test?

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] How to ffplay side-by-side 2 videos which are of different size?

2018-05-14 Thread Phil Forneur
Hello,

If 2 videos do have the same width and height, one can view them side by
side with

ffplay -f lavfi
"movie='LEFT.mp4',scale=iw/2:ih[v0];movie='RIGHT.mp4',scale=iw/2:ih[v1];[v0][v1]hstack"


What now if the 2 videos are of different size???

I wish that my monitor is divided into 2 panes, left video being smaller
that right one, if need be the smaller video will be black padded.

Actually, I want to compare the output on the LEFT with a video with a low
CRF and on the RIGHT with a video with a higher CRF but with upsaling.

Videos to be compared
ffmpeg -y -i "M4H03893.mp4" -vf
"crop=in_w-36*20:in_h-10*20:18*20:3*20,hqdn3d" -c:a copy -c:v libx264 -crf
12 -preset:v slow -async 1 -t 153 "LEFT.mkv"

ffmpeg -y -i "M4H03893.mp4" -vf
"crop=in_w-36*20:in_h-10*20:18*20:3*20,hqdn3d,scale=-2:720" -c:a copy -c:v
libx264 -crf 25 -preset:v slow -async 1 -t 153 "RIGHT.mkv"

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] question about support adpcm_ima_smjpeg (ADPCM IMA Loki SDL MJPEG)

2018-05-14 Thread hot-dm-at-mail . ru
Hello!
Could  someone  to  build  for  me  ffmpeg  with  encoder  support  of
adpcm_ima_smjpeg (ADPCM IMA Loki SDL MJPEG)?
I  need  convert  video  to  mjpg  with sound. Without this I can't to
complete my translation of old Loki game Railroad Tycoon II (Linux).

Thank you.



-- 
С уважением,
 iншы  mailto:hot...@mail.ru

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] question about support adpcm_ima_smjpeg (ADPCM IMA Loki SDL MJPEG)

2018-05-14 Thread Paul B Mahol
On 5/13/18, hot-dm-at-mail...@ffmpeg.org  wrote:
> Hello!
> Could  someone  to  build  for  me  ffmpeg  with  encoder  support  of
> adpcm_ima_smjpeg (ADPCM IMA Loki SDL MJPEG)?
> I  need  convert  video  to  mjpg  with sound. Without this I can't to
> complete my translation of old Loki game Railroad Tycoon II (Linux).

FFmpeg doesnt have that encoder.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How do I reliably get get data not listed in show_format?

2018-05-14 Thread Lou Logan
On Sun, May 13, 2018, at 8:12 AM, Carl Zwanzig wrote:
>
> Um, when someone _reads_ the text, they're parsing it.

The ticket seems obvious to me that it is referring to machine parsing.

> Maybe it's not intended to be _machine_ parsed, but I've had no trouble with 
> breaking down the text with some code.  It sounds like the better argument 
> is why the informational (not error) output intended for a human to see is 
> being sent to stderr. IMHO, the answer in the ticket is specious.

The comments in the ticket are valid, and you should not be machine parsing the 
stderr output to get input information. The output is not guaranteed to be 
accurate (for example it shows a shorthand "29.97 fps" instead of 3/1001).  
Processing it requires additional tools or code, and the resulting processed 
output may be easily broken with a variety of assorted inputs.

Use ffprobe instead: it is a proper tool for the job.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffmpeg http protocol question

2018-05-14 Thread 滕先飞
when add the output option ‘-write_xing 0’, the output file can play.

But it cannot play when I use http protocol.
My http server is simple, It can receive data and write data to file. Then I 
test it, it can not play. Only the mp3 file is bad, others mp3
file is ok when I transfer data with http protocol. And I check tcp transfer 
data with tcpdump, the transfer data size is the same as the file I receive 
data to save file.

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".