Re: [FFmpeg-user] ERROR: libx264 not found

2017-09-17 Thread Carl Eugen Hoyos
2017-09-18 2:23 GMT+02:00 Reindl Harald :
> nevermind, disabled LTO

> (which seems to be finally broken)

Works fine here with current FFmpeg git head.

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] ERROR: libx264 not found

2017-09-17 Thread Reindl Harald
nevermind, disabled LTO (which seems to be finally broken) and as 
replacement profile-guided-optimization for libx264 since H264 is the 
main target


+ make fprofiled VIDS=/home/builduser/rpmbuild/SOURCES/720x400.yuv -j8


encoded 72 frames, 14.59 fps, 50045.03 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:38.07  size:129576  PSNR Mean Y:20.92 
U:23.24 V:23.20 Avg:21.56 Global:21.56
x264 [info]: frame P:18Avg QP:38.00  size:148134  PSNR Mean Y:20.31 
U:23.20 V:23.20 Avg:21.08 Global:21.08
x264 [info]: frame B:53Avg QP:38.00  size:149927  PSNR Mean Y:20.41 
U:23.35 V:23.34 Avg:21.19 Global:21.19

x264 [info]: consecutive B-frames:  1.4%  0.0%  4.2% 94.4%  0.0%
x264 [info]: mb I  I16..4: 19.2% 64.4% 16.4%
x264 [info]: mb P  I16..4: 39.4% 43.4% 17.0%  P16..4:  0.0%  0.0%  0.2% 
0.0%  0.0%skip: 0.0%
x264 [info]: mb B  I16..4: 33.8% 37.2% 13.0%  B16..8:  0.5%  8.3%  7.0% 
direct: 0.2%  skip: 0.0%  L0: 5.8% L1: 4.7% BI:89.6%

x264 [info]: 8x8 transform intra:44.4% inter:7.9%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0% 
100.0% 100.0%

x264 [info]: i16 v,h,dc,p:  0%  0% 100%  0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  2%  4% 73%  3%  3%  3%  3% 
2%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  4%  6% 42%  8%  8%  7%  8% 
6% 11%

x264 [info]: i8c dc,h,v,p: 100%  0%  0%  0%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 58.6%  0.0% 41.4%
x264 [info]: ref B L0: 81.3% 18.7%
x264 [info]: ref B L1: 94.9%  5.1%
x264 [info]: PSNR Mean Y:20.391 U:23.310 V:23.303 Avg:21.164 
Global:21.163 kb/s:29839.23


encoded 72 frames, 9.71 fps, 29839.22 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:22.00  size:301449 


x264 [info]: frame P:71Avg QP:34.00  size:194742
x264 [info]: mb I  I16..4: 50.2%  0.0% 49.8%
x264 [info]: mb P  I16..4: 98.6%  1.4%  0.0%  P16..4:  0.0%  0.0%  0.0% 
0.0%  0.0%skip: 0.0%

x264 [info]: 8x8 transform intra:1.4% inter:100.0%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0% 
100.0% 100.0%

x264 [info]: i16 v,h,dc,p:  0%  0% 79% 21%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  4%  5% 15% 12% 13% 13% 14% 
11% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36%  3%  8% 11%  8% 10%  7% 
11%  5%

x264 [info]: i8c dc,h,v,p: 87%  0%  0% 13%
x264 [info]: Weighted P-Frames: Y:74.6% UV:74.6%
x264 [info]: ref P L0: 37.5%  0.0% 18.8%  0.0% 18.8% 12.5% 12.5%
x264 [info]: kb/s:39244.86

encoded 72 frames, 2.80 fps, 39244.85 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:34.00  size:191082 


x264 [info]: frame P:71Avg QP:34.00  size:201729
x264 [info]: mb I  I16..4:  3.9% 23.9% 72.2%
x264 [info]: mb P  I16..4: 99.2%  0.3%  0.0%  P16..4:  0.1%  0.3%  0.1% 
0.0%  0.0%skip: 0.0%

x264 [info]: 8x8 transform intra:0.7% inter:99.5%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0% 
100.0% 100.0%

x264 [info]: i16 v,h,dc,p:  0%  0% 95%  5%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40%  2% 42%  4%  2%  2%  3% 
3%  3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25%  3% 29%  8%  6%  7%  7% 
7%  6%

x264 [info]: i8c dc,h,v,p: 93%  0%  0%  7%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 21.7%  5.2% 27.4% 25.4% 20.4%
x264 [info]: kb/s:40316.18

encoded 72 frames, 1.02 fps, 40316.18 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:36.84  size:161750 


x264 [info]: frame P:49Avg QP:37.64  size:164243
x264 [info]: mb I  I16..4:  8.4%  0.0% 91.6%
x264 [info]: mb P  I16..4: 100.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0% 
 0.0%  0.0%skip: 0.0%

x264 [info]: 8x8 transform intra:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0%
x264 [info]: i16 v,h,dc,p:  0%  0% 84% 16%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32%  3% 16%  9%  8%  9%  8% 
9%  7%

x264 [info]: i8c dc,h,v,p: 93%  0%  0%  7%
x264 [info]: Weighted P-Frames: Y:8.2% UV:8.2%
x264 [info]: kb/s:32838.56

encoded 50 frames, 1.16 fps, 32838.56 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High 4:4:4 Predictive, level 3.0, 4:2:0 8-bit
x264 [info]: frame I:50Avg QP: 0.00  size:433809 


x264 [info]: mb I  I16..4..PCM:  0.0%  0.0%  0.5% 99.5%
x264 [info]: 8x8 transform intra:0.0%
x264 [info]: coded 

Re: [FFmpeg-user] Does libcdio indev AVOptions works with macOS?

2017-09-17 Thread 桃源老師
Hello,

> 2017/09/17 午後11:18、Gonzalo Garramuño のメール:
> 
> 
> 
> El 17/09/17 a las 10:33, 桃源老師 escribió:
> 
>> should I apply this change locally or do you have any plan to change 
>> configure script?
>> 
> You should probably send your patch to the ffmpeg-devel mailing list, where 
> it can be reviewed.

I posted the following title to ffmpeg-de...@ffmpeg.org 
 Yesterday 11:58 P.M. but until now it might be 
ignored.

[FFmpeg-devel] Configure Script change request to support libcdio on macOS

What should I do?

Don't you need to change configure script for globally ?

I know that Carl Eugen Hoyos -san said that locally edited configure script is 
not supported on the mailing list.  Since I'm writing Japanese version of 
ffmpeg compile guide, it is not good to edit configure script locally...


Please help me!!


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] ERROR: libx264 not found

2017-09-17 Thread Carl Eugen Hoyos
2017-09-18 1:16 GMT+02:00 Reindl Harald :
> frankly i build ffmpeg with static x264 for years now and with 3.3.4 as well
> as master now it's just broken?
>
> [builduser@buildserver:/rpmbuild/SPECS]$ rpm -q --filesbypkg x264-latest
> x264-latest   /usr/local/x264/libx264.a
> x264-latest   /usr/local/x264/x264.h
> x264-latest   /usr/local/x264/x264_config.h
>
> + ../configure --prefix=/usr/local --bindir=/usr/local/bin
> --mandir=/usr/local/man

> '--extra-cflags=-I/usr/local/x264 -m64 -O2 -g0
> -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -fopenmp
> -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2
> -Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math
> -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops
> -fno-strict-aliasing -flto -ffat-lto-objects -fuse-ld=gold
> -fuse-linker-plugin -Wa,--noexecstack' '--extra-ldflags=-I/usr/local/x264
> -L/usr/local/x264 -ldl -Wl,--as-needed -Wl,-z,now -Wl,-z,relro
> -Wl,-z,noexecstack -m64 -O2 -g0 -mfpmath=sse -mavx -msse2avx
> -march=sandybridge -mtune=sandybridge -fopenmp -pipe -fno-strict-aliasing
> -fomit-frame-pointer -fexceptions -fstack-protector-strong
> --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat
> -Werror=format-security -Ofast -ffast-math -funsafe-math-optimizations
> -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing -flto
> -ffat-lto-objects -pie -fPIE -fuse-ld=gold -fuse-linker-plugin
> -Wa,--noexecstack'

As said before:
Either this makes sense (in any configuration!), then it should be
added to the appropriate configure options, or it does not make
sense (read: It makes the resulting binary slower but not more
secure compared to the available configure options) then don't
use it.
In any case: These options make your configure line unsupported
here.
(Mostly because it makes the binary slower for no gain, but using
contradicting compiler options also counts.)

> --enable-lto --ar=gcc-ar --ranlib=true --enable-nonfree
> --enable-gpl --enable-pic --enable-version3 --enable-libmp3lame
> --enable-libtheora --enable-libx264 --enable-libx265 --enable-libvpx
> --enable-openssl --enable-static --enable-runtime-cpudetect
> --disable-amd3dnow --disable-amd3dnowext --disable-avdevice --disable-debug
> --disable-devices --disable-ffplay --disable-ffprobe --disable-ffserver
> --disable-htmlpages --disable-hwaccels --disable-iconv --disable-libdc1394
> --disable-libfreetype --disable-libgsm --disable-libopencore-amrnb
> --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg
> --disable-libopus --disable-librtmp --disable-libspeex --disable-libvorbis
> --disable-libxvid --disable-podpages --disable-postproc
> --disable-protocol=gopher --disable-shared --disable-txtpages

Making the configure line less readable by adding default
disable-options also doesn't increase the chance of somebody
finding the issue here.

> ERROR: libx264 not found

Cutting the most important part of the console output also
won't 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".

[FFmpeg-user] ERROR: libx264 not found

2017-09-17 Thread Reindl Harald
frankly i build ffmpeg with static x264 for years now and with 3.3.4 as 
well as master now it's just broken?


[builduser@buildserver:/rpmbuild/SPECS]$ rpm -q --filesbypkg x264-latest
x264-latest   /usr/local/x264/libx264.a
x264-latest   /usr/local/x264/x264.h
x264-latest   /usr/local/x264/x264_config.h

+ ../configure --prefix=/usr/local --bindir=/usr/local/bin 
--mandir=/usr/local/man '--extra-cflags=-I/usr/local/x264 -m64 -O2 -g0 
-mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge 
-fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 
-Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math 
-funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops 
-fno-strict-aliasing -flto -ffat-lto-objects -fuse-ld=gold 
-fuse-linker-plugin -Wa,--noexecstack' 
'--extra-ldflags=-I/usr/local/x264 -L/usr/local/x264 -ldl 
-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -m64 -O2 -g0 
-mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge 
-fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 
-Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math 
-funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops 
-fno-strict-aliasing -flto -ffat-lto-objects -pie -fPIE -fuse-ld=gold 
-fuse-linker-plugin -Wa,--noexecstack' --enable-lto --ar=gcc-ar 
--ranlib=true --enable-nonfree --enable-gpl --enable-pic 
--enable-version3 --enable-libmp3lame --enable-libtheora 
--enable-libx264 --enable-libx265 --enable-libvpx --enable-openssl 
--enable-static --enable-runtime-cpudetect --disable-amd3dnow 
--disable-amd3dnowext --disable-avdevice --disable-debug 
--disable-devices --disable-ffplay --disable-ffprobe --disable-ffserver 
--disable-htmlpages --disable-hwaccels --disable-iconv 
--disable-libdc1394 --disable-libfreetype --disable-libgsm 
--disable-libopencore-amrnb --disable-libopencore-amrwb 
--disable-libopencv --disable-libopenjpeg --disable-libopus 
--disable-librtmp --disable-libspeex --disable-libvorbis 
--disable-libxvid --disable-podpages --disable-postproc 
--disable-protocol=gopher --disable-shared --disable-txtpages

ERROR: libx264 not found
___
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] Does libcdio indev AVOptions works with macOS?

2017-09-17 Thread 桃源老師
Hello Gonzalo-san,

> 2017/09/17 午後11:18、Gonzalo Garramuño のメール:
> 
> 
> 
> El 17/09/17 a las 10:33, 桃源老師 escribió:
> 
>> should I apply this change locally or do you have any plan to change 
>> configure script?
>> 
> You should probably send your patch to the ffmpeg-devel mailing list, where 
> it can be reviewed.

Really?

I'm not a kind of ffmpeg developer.  Just happened to find out the way to link 
libcdio on macOS...


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] Does libcdio indev AVOptions works with macOS?

2017-09-17 Thread Gonzalo Garramuño



El 17/09/17 a las 10:33, 桃源老師 escribió:


should I apply this change locally or do you have any plan to change configure 
script?

You should probably send your patch to the ffmpeg-devel mailing list, 
where it can be reviewed.


___
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] Does libcdio indev AVOptions works with macOS?

2017-09-17 Thread 桃源老師
Hello ffmpeg experts!!

> 2017/09/17 午前5:30、桃源老師 のメール:
> 
> Hello ffmpeg experts!!
> 
>> 2017/09/16 午後9:07、桃源老師 のメール:
>> 
>> Hello ffmpeg experts!!
>> 
>>> 2017/09/16 午後7:27、桃源老師 のメール:
>>> 
>>> But this time I got linker error like the following when configuring ffmpeg 
>>> with --enable-libcdio option.
> 
>>> clang: error: linker command failed with exit code 1 (use -v to see 
>>> invocation)
>>> ERROR: No usable libcdio/cdparanoia found
>> 
>> libcdio develop team told me that the above linker error is because 
>> "-Wl,-framework,DiskArbitration"  is missing in the ffmpeg link command. 
> 
>> Could you please fix this for the people who want to use libcdio function on 
>> ffmpeg for macOS?
> 
> I have found that by changing following line of ffmpeg configure script, I 
> can get ffmpeg which supports libcdio on macOS...
> 
> Please fix ffmpeg configure script if my change is correct.
> 
> $ diff -u a/configure b/configure 
> --- a/configure   2017-09-16 15:02:06.0 +0900
> +++ b/configure   2017-09-17 04:53:34.0 +0900
> @@ -6151,7 +6151,7 @@
> 
> if enabled libcdio; then
> check_lib libcdio "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open 
> -lcdio_paranoia -lcdio_cdda -lcdio ||
> -check_lib libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" 
> cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> +require_pkg_config libcdio "cdio/paranoia/cdda.h 
> cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio 
> && check_lib libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" 
> cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> die "ERROR: No usable libcdio/cdparanoia found"
> fi

should I apply this change locally or do you have any plan to change configure 
script?


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

[FFmpeg-user] Raw files differs

2017-09-17 Thread m.kamalasubha m.kamalasubha
Hello guys,
  I converted a video file from MP4 format to TS format using the following
ffmpeg command.
   * ffmpeg -i  -c copy -bsf h264_mp4toannexb *
=> simply copies the A/V data from .mp4 to .ts

  I used the below command to fetch raw video data  for first 30 seconds
from both input.mp4 and output.ts
   * ffmpeg -ss 00:00:00 -i  -t 00:00:30 -vcodec rawvideo
-pix_fmt rgb24 -f rawvideo -an *

*ffmpeg -ss 00:00:00 -i  -t 00:00:30 -vcodec rawvideo
-pix_fmt rgb24 -f rawvideo -an *

  I expect the raw video data to be same between both  and
 since  is generated using simple stream copy from
. But I find that * and 
differs* (though both file size being same) and that first few frames were
found missing in  when compared with .

Can you please explain why raw files differs?
___
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] Usage of -f mpegts option

2017-09-17 Thread m.kamalasubha m.kamalasubha
Thanks for your response. I am able to generate mp4 file without using *-f
mpegts* option.
___
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".