Re: [FFmpeg-devel] Intel QuickSync Video

2015-11-26 Thread Sevan Gelici
Thanks to Sven Dueking I have finally solved it.

Centos 7.1 works like charm :)

2015-11-09 15:28 GMT+01:00 Sven Dueking <s...@nablet.com>:

>
>
> > -Ursprüngliche Nachricht-
> > Von: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] Im Auftrag
> > von Sevan Gelici
> > Gesendet: Freitag, 6. November 2015 20:35
> > An: FFmpeg development discussions and patches
> > Betreff: Re: [FFmpeg-devel] Intel QuickSync Video
> >
> > @Will Kelleher
> > CPU:
> > http://ark.intel.com/products/75122/Intel-Core-i7-4770-Processor-8M-
> > Cache-up-to-3_90-GHz
> > MediaSDK: Intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz
> > (inside package of mediaserverstudioessentials2015r6.tar.gz)
> > Ubuntu 14.04.3 LTS, Codename:   trusty
> >
> >
> >
> > @Sven Dueking
> > file to file also not working, I made a debug log
> >
> >
> > Splitting the commandline.
> > Reading option '-y' ... matched as option 'y' (overwrite output files)
> > with argument '1'.
> > Reading option '-fflags' ... matched as AVOption 'fflags' with argument
> > '+genpts'.
> > Reading option '-loglevel' ... matched as option 'loglevel' (set
> > logging
> > level) with argument 'debug'.
> > Reading option '-probesize' ... matched as AVOption 'probesize' with
> > argument '1000'.
> > Reading option '-analyzeduration' ... matched as AVOption
> > 'analyzeduration'
> > with argument '1500'.
> > Reading option '-i' ... matched as input file with argument
> > 'm84_2.mpg'.
> > Reading option '-strict' ...Routing option strict to both codec and
> > muxer layer  matched as AVOption 'strict' with argument '-2'.
> > Reading option '-dn' ... matched as option 'dn' (disable data) with
> > argument '1'.
> > Reading option '-vcodec' ... matched as option 'vcodec' (force video
> > codec ('copy' to copy stream)) with argument 'h264_qsv'.
> > Reading option '-preset' ... matched as AVOption 'preset' with argument
> > 'veryfast'.
> > Reading option '-profile:v' ... matched as option 'profile' (set
> > profile) with argument 'baseline'.
> > Reading option '-level' ... matched as AVOption 'level' with argument
> > '3.0'.
> > Reading option '-acodec' ... matched as option 'acodec' (force audio
> > codec ('copy' to copy stream)) with argument 'aac'.
> > Reading option '-b:v' ... matched as option 'b' (video bitrate (please
> > use
> > -b:v)) with argument '1000k'.
> > Reading option '-r' ... matched as option 'r' (set frame rate (Hz
> > value, fraction or abbreviation)) with argument '25'.
> > Reading option '-b:a' ... matched as option 'b' (video bitrate (please
> > use
> > -b:v)) with argument '128k'.
> > Reading option '-minrate' ... matched as AVOption 'minrate' with
> > argument '200k'.
> > Reading option '-maxrate' ... matched as AVOption 'maxrate' with
> > argument '1200k'.
> > Reading option '-bufsize' ... matched as AVOption 'bufsize' with
> > argument '1200k'.
> > Reading option '-vf' ... matched as option 'vf' (set video filters)
> > with argument 'scale=720:576'.
> > Reading option '-aspect' ... matched as option 'aspect' (set aspect
> > ratio (4:3, 16:9 or 1., 1.)) with argument '16:9'.
> > Reading option '-ar' ... matched as option 'ar' (set audio sampling
> > rate (in Hz)) with argument '48000'.
> > Reading option '-ac' ... matched as option 'ac' (set number of audio
> > channels) with argument '2'.
> > Reading option '-f' ... matched as option 'f' (force format) with
> > argument 'mpegts'.
> > Reading option 'bla.ts' ... matched as output file.
> > Finished splitting the commandline.
> > Parsing a group of options: global .
> > Applying option y (overwrite output files) with argument 1.
> > Applying option loglevel (set logging level) with argument debug.
> > Successfully parsed a group of options.
> > Parsing a group of options: input file m84_2.mpg.
> > Successfully parsed a group of options.
> > Opening an input file: m84_2.mpg.
> > [mpeg @ 0x311aa40] Format mpeg probed with size=2048 and score=26 [mpeg
> > @ 0x311aa40] Before avformat_find_stream_info() pos: 0 bytes
> > read:32768 seeks:0
> > [mpeg @ 0x311aa40] probing stream 0 pp:2500 [mpeg @ 0x311aa40] Probe
> > with size=2012, packets=1 detected mpegvideo with
> > score=25
> > [mpeg @ 0x311aa40] probed stream 0
> > [mpeg @ 0x311aa40] Probe buffer size limit of 1000 bytes reached
> > [mpeg @ 0x311aa40] rfps: 30.00 0.013228 [mpeg @ 0x311aa40] rfps:
> > 29.970030 0.00
> > Last message repe

Re: [FFmpeg-devel] Intel QuickSync Video

2015-11-06 Thread Sevan Gelici
@Will Kelleher
CPU:
http://ark.intel.com/products/75122/Intel-Core-i7-4770-Processor-8M-Cache-up-to-3_90-GHz
MediaSDK: Intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz (inside
package of mediaserverstudioessentials2015r6.tar.gz)
Ubuntu 14.04.3 LTS, Codename:   trusty



@Sven Dueking
file to file also not working, I made a debug log


Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with
argument '1'.
Reading option '-fflags' ... matched as AVOption 'fflags' with argument
'+genpts'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-probesize' ... matched as AVOption 'probesize' with
argument '1000'.
Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration'
with argument '1500'.
Reading option '-i' ... matched as input file with argument 'm84_2.mpg'.
Reading option '-strict' ...Routing option strict to both codec and muxer
layer
 matched as AVOption 'strict' with argument '-2'.
Reading option '-dn' ... matched as option 'dn' (disable data) with
argument '1'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'h264_qsv'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'veryfast'.
Reading option '-profile:v' ... matched as option 'profile' (set profile)
with argument 'baseline'.
Reading option '-level' ... matched as AVOption 'level' with argument '3.0'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec
('copy' to copy stream)) with argument 'aac'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '1000k'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '25'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '128k'.
Reading option '-minrate' ... matched as AVOption 'minrate' with argument
'200k'.
Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument
'1200k'.
Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument
'1200k'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with
argument 'scale=720:576'.
Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio
(4:3, 16:9 or 1., 1.)) with argument '16:9'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate
(in Hz)) with argument '48000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio
channels) with argument '2'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'mpegts'.
Reading option 'bla.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file m84_2.mpg.
Successfully parsed a group of options.
Opening an input file: m84_2.mpg.
[mpeg @ 0x311aa40] Format mpeg probed with size=2048 and score=26
[mpeg @ 0x311aa40] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0
[mpeg @ 0x311aa40] probing stream 0 pp:2500
[mpeg @ 0x311aa40] Probe with size=2012, packets=1 detected mpegvideo with
score=25
[mpeg @ 0x311aa40] probed stream 0
[mpeg @ 0x311aa40] Probe buffer size limit of 1000 bytes reached
[mpeg @ 0x311aa40] rfps: 30.00 0.013228
[mpeg @ 0x311aa40] rfps: 29.970030 0.00
Last message repeated 1 times
[mpeg @ 0x311aa40] rfps: 59.940060 0.00
Last message repeated 1 times
[mpeg @ 0x311aa40] After avformat_find_stream_info() pos: 0 bytes
read:10473616 seeks:2 frames:399
Input #0, mpeg, from 'm84_2.mpg':
  Duration: 00:00:21.99, start: 0.387500, bitrate: 6108 kb/s
Stream #0:0[0x1e0], 399, 1/9: Video: mpeg2video (Main), 1 reference
frame, yuv420p(tv, bt470bg, left), 720x480 [SAR 8:9 DAR 4:3], 1001/6,
6000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Successfully opened the file.
Parsing a group of options: output file bla.ts.
Applying option dn (disable data) with argument 1.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument h264_qsv.
Applying option profile:v (set profile) with argument baseline.
Applying option acodec (force audio codec ('copy' to copy stream)) with
argument aac.
Applying option b:v (video bitrate (please use -b:v)) with argument 1000k.
Applying option r (set frame rate (Hz value, fraction or abbreviation))
with argument 25.
Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
Applying option vf (set video filters) with argument scale=720:576.
Applying option aspect (set aspect ratio (4:3, 16:9 or 1., 1.))
with argument 16:9.
Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
Applying option ac (set number 

[FFmpeg-devel] Intel QuickSync Video

2015-11-05 Thread Sevan Gelici
Hello,

I try to transcode with quick sync, but it doesn't work.
I did follow:  https://ffmpeg.org/general.html#Intel-QuickSync-Video


When i use this command:
./ffmpeg -y  -fflags +genpts -loglevel warning  -probesize 1000
-analyzeduration 1500 -i
"udp://@:4012?fifo_size=100_nonfatal=1" -map 0:0 -map 0:1
 -strict -2 -dn -vcodec  h264_qsv -preset veryfast -profile:v baseline
-level 3.0 -acodec aac -b:v 1000k -r 25  -b:a 128k -minrate 200k -maxrate
1200k -bufsize 1200k -vf scale=720:576 -aspect 16:9  -ar 48000 -ac 2  -f
flv rtmp://192.168.0.131/rtmp/test1

I get this error
[h264_qsv @ 0x3017580] Error initializing an internal MFX session
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height

How can I solve this please?
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] FFserver bug?

2014-11-02 Thread Sevan Gelici
I still don't have tested old gits. But i will try to expain. A half year
ago i installed ffmpeg and i made a configuration file. When i start this
bitrate was going up to 2000kbs max. I updated and now it will go higher
like its sum up or something, in some seconds the content bitrate will be
40 mb and still go higher.

I also reinstalled the system.

Maybe my configuration is old and that causes the problem.

I will do some more extra tests and i will tell you.
 Op 2 nov. 2014 22:52 schreef Reynaldo H. Verdejo Pinochet 
reyna...@osg.samsung.com:

 Hi. I'm afraid I don't understand what the problem is. Can
 someone elaborate?

 Bests,

 --
 Reynaldo H. Verdejo Pinochet
 Open Source Group
 Samsung Research America / Silicon Valley
 ___
 ffmpeg-devel mailing list
 ffmpeg-devel@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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