[FFmpeg-devel] [PATCH 1/2] tests/fate:Add FATE for hls_flags append option
Steven Liu
lingjiujianke at gmail.com
Wed Sep 7 18:10:48 EEST 2016
2016-08-30 2:07 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc>:
> On Mon, Aug 29, 2016 at 11:17:25PM +0800, Steven Liu wrote:
> > 2016-08-29 22:18 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc>:
> >
> > > On Mon, Aug 29, 2016 at 07:52:23PM +0800, Steven Liu wrote:
> > > > 2016-08-26 0:11 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc
> >:
> > > >
> > > > > On Thu, Aug 25, 2016 at 09:04:43PM +0800, Steven Liu wrote:
> > > > > > Tested passed at :
> > > > > > 1. OSX
> > > > > > 2. Linux
> > > > > > 3. Windows
> > > > >
> > > > > > 4. Ubuntu+wine+MinGW
> > > > >
> > > > > confirmed it works
> > > > > but
> > > > > doesnt work on qemu-mips
> > > > > ../configure --target-exec='.../qemu-mips -cpu 74Kf -L
> > > > > /usr/mips-linux-gnu/' \
> > > > > --samples=... --enable-gpl --cross-prefix=/usr/mips-linux-gnu/bin/
> \
> > > > > --cc='ccache mips-linux-gnu-gcc-4.4' --arch=mips --target-os=linux
> > > > > --enable-cross-compile --disable-pthreads --disable-mipsfpu
> > > --disable-iconv
> > > > >
> > > > > make distclean ; ./c-qemu && make -j12 fate-filter-hls-append
> > > > > first it fails with
> > > > > GEN tests/data/hls-list-append.m3u8
> > > > > make: *** [tests/data/hls-list-append.m3u8] Error 255
> > > > >
> > > > > reruning make -j12 fate-filter-hls-append
> > > > > results in:
> > > > >
> > > > > --- tests/ref/fate/filter-hls-append 2016-08-25
> 17:43:18.565618034
> > > > > +0200
> > > > > +++ tests/data/fate/filter-hls-append 2016-08-25
> 17:47:18.681623092
> > > > > +0200
> > > > > @@ -3,1154 +3,770 @@
> > > > > #codec_id 0: pcm_s16le
> > > > > #sample_rate 0: 44100
> > > > > #channel_layout 0: 4
> > > > > -0, 0, 0, 1152, 2304, 0x593ea430
> > > > > -0, 1152, 1152, 1152, 2304, 0xde328304
> > > > > -0, 2304, 2304, 1152, 2304, 0x12f673c9
> > > > > -0, 3456, 3456, 1152, 2304, 0x4c7672a1
> > > > > -0, 4608, 4608, 1152, 2304, 0xd38577f4
> > > > > -0, 5760, 5760, 1152, 2304, 0xc9d677cc
> > > > > -0, 6912, 6912, 1152, 2304, 0xc97e882a
> > > > > -0, 8064, 8064, 1152, 2304, 0xaacf67ec
> > > > > -0, 9216, 9216, 1152, 2304, 0x3a9b7ea5
> > > > > -0, 10368, 10368, 1152, 2304, 0x30258348
> > > > > -0, 11520, 11520, 1152, 2304, 0x08da8783
> > > > > -0, 12672, 12672, 1152, 2304, 0x4830619e
> > > > > -0, 13824, 13824, 1152, 2304, 0xcf476f69
> > > > > -0, 14976, 14976, 1152, 2304, 0x377e7ce5
> > > > > -0, 16128, 16128, 1152, 2304, 0x00a27fad
> > > > > -0, 17280, 17280, 1152, 2304, 0xe4a46de3
> > > > > -0, 18432, 18432, 1152, 2304, 0x938c8751
> > > > > -0, 19584, 19584, 1152, 2304, 0x239982b5
> > > > > -0, 20736, 20736, 1152, 2304, 0x9a0d7655
> > > > > -0, 21888, 21888, 1152, 2304, 0x4adf7fbf
> > > > > -0, 23040, 23040, 1152, 2304, 0xdb8b7b16
> > > > > -0, 24192, 24192, 1152, 2304, 0x25908560
> > > > > -0, 25344, 25344, 1152, 2304, 0xb5dd7be7
> > > > > -0, 26496, 26496, 1152, 2304, 0x4368796d
> > > > > -0, 27648, 27648, 1152, 2304, 0xba3a7fd0
> > > > > ...
> > > > > make: *** [fate-filter-hls-append] Error 1
> > > > >
> > > > > [...]
> > > > >
> > > > >
> > > > > Is this base on Ubuntu? What's the Ubuntu version?
> > >
> > > the build environment was from emdebian, i am still using it as it
> > > still works flawless, mips qemu was built from source long ago, i would
> > > expect the qemu from ubuntu to work fine.
> > >
> > > Does it work for you with whatever version is easily available to you?
> > >
> > > :D Because i'm not a debian and ubuntu user,
> > I usually using CentOS and OSX on x86,
> > So i'm learning how to use ubuntu and mips arm for FATE :D
>
> if you have a cross build env for mips in centos and qemu that
> should give similar results
> i would be surprised if the exact linux distro woul make a difference
>
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> I do not agree with what you have to say, but I'll defend to the death your
> right to say it. -- Voltaire
>
Patch update!
That's ok on qemu+mips , Linux , wine+MinGW, OSX now.
QEMU+MIPS:
lq at ubuntu:~/ffmpeg/mips$ make fate-filter-hls-append
HOSTCC tests/base64.o
HOSTLD tests/base64
HOSTCC tests/tiny_psnr.o
HOSTLD tests/tiny_psnr
HOSTCC tests/tiny_ssim.o
HOSTLD tests/tiny_ssim
HOSTCC tests/audiomatch.o
HOSTLD tests/audiomatch
GEN tests/data/hls-list-append.m3u8
TEST filter-hls-append
lq at ubuntu:~/ffmpeg/mips$ uname -a
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
lq at ubuntu:~/ffmpeg/mips$ file ./ffmpeg
./ffmpeg: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV),
dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 2.6.18,
BuildID[sha1]=6e4d07ccd9e8f6530ca60ae5df579ba71f1e177c, stripped
lq at ubuntu:~/ffmpeg/mips$
wine+MinGW:
liuqi at localhost:~/ffmpeg/windows$ make fate-filter-hls-append
HOSTCC tests/base64.o
HOSTLD tests/base64
HOSTCC tests/tiny_psnr.o
HOSTLD tests/tiny_psnr
HOSTCC tests/tiny_ssim.o
HOSTLD tests/tiny_ssim
HOSTCC tests/audiomatch.o
HOSTLD tests/audiomatch
GEN tests/data/hls-list-append.m3u8
TEST filter-hls-append
liuqi at localhost:~/ffmpeg/windows$ uname -a
Linux localhost 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
liuqi at localhost:~/ffmpeg/windows$ file ./ffmpeg.exe
./ffmpeg.exe: PE32 executable (console) Intel 80386 (stripped to external
PDB), for MS Windows
liuqi at localhost:~/ffmpeg/windows$
X86 Linux:
lq at ubuntu:~/ffmpeg/Linux$ make fate-filter-hls-append
HOSTCC tests/base64.o
HOSTLD tests/base64
HOSTCC tests/tiny_psnr.o
HOSTLD tests/tiny_psnr
HOSTCC tests/tiny_ssim.o
HOSTLD tests/tiny_ssim
HOSTCC tests/audiomatch.o
HOSTLD tests/audiomatch
GEN tests/data/hls-list-append.m3u8
TEST filter-hls-append
lq at ubuntu:~/ffmpeg/Linux$ uname -a
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
lq at ubuntu:~/ffmpeg/Linux$ file ./ffmpeg
./ffmpeg: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=6a98278598b513a8cffbb54a21792a0b14fcb2e3, stripped
lq at ubuntu:~/ffmpeg/Linux$
OSX:
localhost:ffmpeg liuqi$ make fate-filter-hls-append
HOSTCC tests/base64.o
HOSTLD tests/base64
HOSTCC tests/tiny_psnr.o
HOSTLD tests/tiny_psnr
HOSTCC tests/tiny_ssim.o
HOSTLD tests/tiny_ssim
HOSTCC tests/audiomatch.o
HOSTLD tests/audiomatch
GEN tests/data/hls-list-append.m3u8
TEST filter-hls-append
localhost:ffmpeg liuqi$ uname -a
Darwin localhost 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36
PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
localhost:ffmpeg liuqi$ file ./ffmpeg
./ffmpeg: Mach-O 64-bit executable x86_64
localhost:ffmpeg liuqi$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-fate-Add-FATE-for-hls_flags-append-option.patch
Type: application/octet-stream
Size: 70563 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160907/7f351e4b/attachment.obj>
More information about the ffmpeg-devel
mailing list