Re: [FFmpeg-user] feature request: better message when configure doesn't build ffplay

2015-08-27 Thread Moritz Barsnick
On Thu, Aug 20, 2015 at 10:14:16 -0800, Lou wrote:
 Feature requests are better suited for the bug tracker. They will
 likely be forgotten here on this mailing list.
 
 Better yet, send a patch to ffmpeg-devel.

I've been meaning to sign up for some time, but I'm currently too lazy
to fix my mail filters first (traffic is too high for me). And too lazy
to format this trivial patch with git-send-patch right now. So, I'm
attaching it just for reference here.

(I'm not the OP.)

Moritz
diff -ur ffmpeg-snapshot-2015-08-26/configure 
ffmpeg-snapshot-2015-08-26-list-programs/configure
--- ffmpeg-snapshot-2015-08-26/configure2015-08-26 19:20:03.0 
+0200
+++ ffmpeg-snapshot-2015-08-26-list-programs/configure  2015-08-27 
16:39:28.0 +0200
@@ -5952,6 +5952,10 @@
 echo random seed   ${random_seed}
 echo
 
+echo Enabled programs:
+print_enabled '' $PROGRAM_LIST | print_3_columns
+echo
+
 echo External libraries:
 print_enabled '' $EXTERNAL_LIBRARY_LIST | print_3_columns
 echo
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] HLS-webm and unicast

2015-08-27 Thread Reaz Baksh
Hello
I managed to get two streams outputted with the following command but this is 
causing the cpu to go to almost 200%.  Is there something that I'm missing that 
I could add to reduce the high cpu usage:

ffserver -d -f /etc/ffserver.conf  ffmpeg -I 
rtp://192.168.1.101@239.5.1.1:5004 http://localhost :8090/feed1.ffm

The ffserver.conf is:

HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10
CustomLog /home/eng/ffmpeg_sources/ffmpeg/log/ffserver.log
#NoDefaults
Feed feed1.ffm
File /tmp/feed1.ffm
FileMaxSize 1G
#Launch ffmpeg
/Feed

Stream 1.webm
Feed feed1.ffm
Format webm
VideoCodec libvpx
VideoBitRate 400
VideoSize 320x240
VideoFrameRate 30
VideoBitRateTolerance 100
VideoBitRateRange 350-450
VideoBufferSize 200
AVOptionVideo flags +global_header
AVOptionVideo cpu-used 0
AVOptionVideo qmin 10
#AVOptionVideo qmax 42
AVOptionVideo quality good
PreRoll 10
StartSendOnKey
AudioCodec vorbis
AudioBitRate 64
AudioSampleRate 44100
AudioChannels 2
/Stream

Stream 1.flv
Feed feed1.ffm
Format flv
VideoCodec libx264
VideoBitRate 900
VideoSize 720x576
VideoFrameRate 30
VideoBitRateTolerance 100
VideoBitRateRange 850-950
VideoBufferSize 400
#AVOptionVideo flags +global_header
#AVOptionVideo cpu-used 0
AVOptionVideo qmin 10
#AVOptionVideo qmax 42
#AVOptionVideo quality good
PreRoll 10
StartSendOnKey
AudioSampleRate 44100
AudioChannels 2
AudioCodec pcm_u8
AudioBitRate 192
/Stream

# Only allow local people to get the status
Stream stat.html
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
/Stream

Thanks

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


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Timo Rothenpieler
 
 Hi Timo,
 
 I saw the status of 0x0A if header file /usr/include/nvEncodeAPI.h
 perhaps the memory alloc is large? 
 
  /* 1MB is large enough to hold most output frames. NVENC increases
 this automaticaly if it's not enough. */
 allocOut.size = 1024 * 1024;
 
 allocOut.memoryHeap = NV_ENC_MEMORY_HEAP_SYSMEM_CACHED;
 
 
 /**
  * This indicates that the API call failed because it was unable
 to allocate
  * enough memory to perform the requested operation.
  */
 NV_ENC_ERR_OUT_OF_MEMORY,
 
 
 I make mistake, this is not the error code info,

0xA is the error code. Your GPU and/or system seems to be out of memory
capable to transfer surfaces. Unfortunately, there isn't much I can tell
you about that. 1MB per surface should not overwhelm any somewhat modern
GPU(So, every NVENC capable one). I also don't have too much of an idea
about Non-GeForce GPUs.
You might be better of asking Nvidia about this.



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] FFmpeg based library name

2015-08-27 Thread Moritz Barsnick
On Thu, Aug 27, 2015 at 20:34:06 +, Carl Eugen Hoyos wrote:
 I don't know if this name does violate somebody's 
 copyright but I wonder how you are going to sell 
 a library that is (as you write above) based on 
 FFmpeg without violating the copyright of the 
 FFmpeg developers.

It needs to be said: The selling isn't the problematic part. Assuming
the FFmpeg developers put all their work under the GPL or perhaps the
LGPL.

Disclaimer: IANAL.

Moritz

P.S.: BTW, with us not knowing what this derived work is or how it is
derived, there is the possibility that it is derived and distributed
correctly and does not violate the developers' copyrights or the
components' licenses.

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


Re: [FFmpeg-user] FFmpeg based library name

2015-08-27 Thread Carl Eugen Hoyos
Karel k.vorechovsky at gmail.com writes:

 I made a library for proprietary development 
 enviroment called LabVIEW marketed by ni.com. 
 It is based on FFmpeg shared build. I wanted to 
 sell the library under descriptive name FFmpeg 
 for LabVIEW. Does such name violate the FFmpeg 
 copyright?

I don't know if this name does violate somebody's 
copyright but I wonder how you are going to sell 
a library that is (as you write above) based on 
FFmpeg without violating the copyright of the 
FFmpeg developers.
Please elaborate!

Carl Eugen




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


[FFmpeg-user] I need help

2015-08-27 Thread Serguei Castillo
hi Im a new here and I want to do a batch to join file with
specifications. Who can help me Plis?

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


Re: [FFmpeg-user] How To Burn Stereo SBS Subtitles Into Video

2015-08-27 Thread Carl Eugen Hoyos
郑建峰 163jogh at 163.com writes:

 tlf-trumanshow.bd.Eng.3d.srt - (mean to be) SBS 
 subrip file generated by some 2d-to-3d soft

I created ticket #4810.
Thank you for the sample!

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


[FFmpeg-user] ffmpeg with nvenc transcoding alloc buffer error

2015-08-27 Thread Steven Liu
Hi guys,

   I first use the cuda nvenc to transcoding with ffmpeg nvenc, but the
ffmpeg give me an error bellow:




[root@localhost ffmpeg]# ./x86/ffmpeg -v verbose -i ~/a.mp4 -pix_fmt
yuv420p -vcodec nvenc_h264 -profile:v high -b:v 500k -s 800x480 -preset
llhq -r:v 30 -an b.mp4
ffmpeg version N-74455-g3afca32 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
  configuration: --enable-nvenc --enable-nonfree
  libavutil  54. 30.100 / 54. 30.100
  libavcodec 56. 57.100 / 56. 57.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 33.100 /  5. 33.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/a.mp4':
  Metadata:
major_brand : isom
minor_version   : 1
compatible_brands: isomavc1
creation_time   : 2015-08-19 13:23:08
  Duration: 01:09:02.00, start: 0.00, bitrate: 2959 kb/s
Stream #0:0(und): Video: h264 (High), 3 reference frames (avc1 /
0x31637661), yuv420p(tv, bt709), 1920x816, 2765 kb/s, 25 fps, 25 tbr, 25k
tbn, 50 tbc (default)
Metadata:
  creation_time   : 2015-08-19 13:23:08
  handler_name: GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 190 kb/s (default)
Metadata:
  creation_time   : 2015-08-19 13:23:14
  handler_name: GPAC ISO Audio Handler
File 'b.mp4' already exists. Overwrite ? [y/N] y
[graph 0 input from stream 0:0 @ 0x22a22e0] w:1920 h:816 pixfmt:yuv420p
tb:1/25000 fr:25/1 sar:0/1 sws_param:flags=2
[scaler for output stream 0:0 @ 0x22a70e0] w:800 h:480 flags:'bicubic'
interl:0
[scaler for output stream 0:0 @ 0x22a70e0] w:1920 h:816 fmt:yuv420p sar:0/1
- w:800 h:480 fmt:yuv420p sar:0/1 flags:0x4
[nvenc_h264 @ 0x22a5e60] 1 CUDA capable devices found
[nvenc_h264 @ 0x22a5e60] [ GPU #0 -  Tesla K20c  has Compute SM 3.5,
smver 53 target_smver 48 NVENC Available ]
[nvenc_h264 @ 0x22a5e60] Nvenc initialized successfully
[nvenc_h264 @ 0x22a5e60] CreateInputBuffer failed 0xA
[nvenc_h264 @ 0x22a5e60] Nvenc unloaded
Output #0, mp4, to 'b.mp4':
  Metadata:
major_brand : isom
minor_version   : 1
compatible_brands: isomavc1
Stream #0:0(und): Video: h264, 1 reference frame, none, q=2-31, 128
kb/s, 30 fps (default)
Metadata:
  creation_time   : 2015-08-19 13:23:08
  handler_name: GPAC ISO Video Handler
  encoder : Lavc56.57.100 nvenc_h264
Stream mapping:
  Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc_h264))
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
[root@localhost ffmpeg]#


The error Message is [nvenc_h264 @ 0x22a5e60] CreateInputBuffer failed 0xA


or are there any attention with it?



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


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/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-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
 [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535, 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device simultaneously) 

 Device 1: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version 

Re: [FFmpeg-user] YouTube VP9 vids play in VLC, but ffmpeg VP9 vids won't. Why?

2015-08-27 Thread Moritz Barsnick
On Wed, Aug 26, 2015 at 19:04:04 -0700, ogrgkyle wrote:
 but no matter what I've tried so far, I cannot encode a video that will play
 in VLC.  Only the audio will play.  I have a recent build of ffmpeg.

You are being very secretive, aren't you? It's much easier to analyze
what you may have done wrong if you show us what you actually did.
Usually, we require the command line you used for ffmpeg and the full,
uncut console output.

 The issue appears to resolved when I add -pix_fmt yuv420p to the command
 line.  I hope this helps somebody.

And if you had sent us your console output, we would or perhaps
wouldn't have seen a warning issued by ffmpeg. Mine seems to convert to
yuv420p automatically, but I just blindly tried with testsrc,format
input.

(If that warning doesn't exist - it does for H.264 encoding - it might
be worth considering.)

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


Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-08-27 15:08 GMT+08:00 Steven Liu lingjiujia...@gmail.com:



 2015-08-27 14:52 GMT+08:00 Steven Liu lingjiujia...@gmail.com:


 2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/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-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
 (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535,
 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy
 engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device 

Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1

2015-08-27 Thread Steven Liu
2015-08-27 14:52 GMT+08:00 Steven Liu lingjiujia...@gmail.com:


 2015-06-29 18:12 GMT+08:00 Klaus Schürmann k...@mediabeam.com:

 Hello,

 I compiled ffmpeg with nvenc support. The compile process worked without
 any error. But if I try to convert a file with nvenc I got the error
 message [nvenc @ 0x39dc1c0] CreateInputBuffer failed.

 Can somebody help me to fix this problem?

 Best Regards
 Klaus Schuermann

 OS: Ubuntu 14.04.2 LTS
 NVidia driver: 346

 Her is the complete output oft he convert job:

 root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i
 /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4
 ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include
 --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/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-nvenc
 --enable-nonfree
   libavutil  54. 27.100 / 54. 27.100
   libavcodec 56. 44.101 / 56. 44.101
   libavformat56. 38.101 / 56. 38.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 18.100 /  5. 18.100
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from '/media/testfile.mkv':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 creation_time   : 2014-09-29 00:31:12
   Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(tv,
 bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr,
 1k tbn, 47.95 tbc (default)
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
 (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to
 'testfile.mp4':
   Metadata:
 encoder : libebml v1.3.0 + libmatroska v1.4.1
 Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR
 0:0, 60 fps (default)
 Metadata:
   encoder : Lavc56.44.101 nvenc
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default)
 Metadata:
   encoder : Lavc56.44.101 libfdk_aac
 Stream mapping:
   Stream #0:0 - #0:0 (h264 (native) - h264 (nvenc))
   Stream #0:1 - #0:1 (ac3 (native) - aac (libfdk_aac)) Error while
 opening encoder for output stream #0:0 - maybe incorrect parameters such as
 bit_rate, rate, width or height

 Output of devicequery:

 root@video-convert1:~#
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery
 NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting...

  CUDA Device Query (Runtime API) version (CUDART static linking)

 Detected 4 CUDA Capable device(s)

 Device 0: GRID K1
   CUDA Driver Version / Runtime Version  7.0 / 7.0
   CUDA Capability Major/Minor version number:3.0
   Total amount of global memory: 4096 MBytes (4294770688
 bytes)
   ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores
   GPU Max Clock rate:850 MHz (0.85 GHz)
   Memory Clock rate: 891 Mhz
   Memory Bus Width:  128-bit
   L2 Cache Size: 262144 bytes
   Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
 65536), 3D=(4096, 4096, 4096)
   Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
   Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048
 layers
   Total amount of constant memory:   65536 bytes
   Total amount of shared memory per block:   49152 bytes
   Total number of registers available per block: 65536
   Warp size: 32
   Maximum number of threads per multiprocessor:  2048
   Maximum number of threads per block:   1024
   Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
   Max dimension size of a grid size(x,y,z): (2147483647, 65535,
 65535)
   Maximum memory pitch:  2147483647 bytes
   Texture alignment: 512 bytes
   Concurrent copy and kernel execution:  Yes with 1 copy engine(s)
   Run time limit on kernels: No
   Integrated GPU sharing Host Memory:No
   Support host page-locked memory mapping:   Yes
   Alignment requirement for Surfaces:Yes
   Device has ECC support:Disabled
   Device supports Unified Addressing (UVA):  Yes
   Device PCI Domain ID / Bus ID / location ID:   0 / 132 / 0
   Compute Mode:
   Default (multiple host threads can use ::cudaSetDevice() with
 device simultaneously) 

 Device 1: GRID K1
   CUDA Driver Version / Runtime 

Re: [FFmpeg-user] Error in install ffmpeg 2.7.1

2015-08-27 Thread Steven Liu
you need to install the yasm or ./configure --disable-yasm

2015-08-22 1:04 GMT+08:00 Reindl Harald h.rei...@thelounge.net:



 Am 21.08.2015 um 18:21 schrieb ronnie acord:

 I am trying to install ffmpeg and got this error

   ./configure
 yasm/nasm not found or too old. Use --disable-yasm for a crippled build


 and why in the world don't you install the yasm devel-package?


 ___
 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