Re: [FFmpeg-user] Error compiling ffmpeg through terminal in mac os x

2015-07-19 Thread Carl Eugen Hoyos
test id testidchat at gmail.com writes:

 android-ndk-r9

The current version is r10e, is there a reason 
you are compiling with an old version?

Carl Eugen

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


Re: [FFmpeg-user] configure fails cross compiling ffmpeg to raspberry pi

2015-07-19 Thread Carl Eugen Hoyos
James Darnley james.darnley at gmail.com writes:

 PIBUILD appears to be undefined.  CCPREFIX appears to be 
 undefined. PIUSR appears to be undefined.  You really need 
 to check your environment or just type out the values.

I'd like to add that it is much better imo not to 
use these variables but just pass a valid --cross-prefix.

Carl Eugen

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


Re: [FFmpeg-user] incorrect fps and tbr

2015-07-19 Thread Carl Eugen Hoyos
我是科学家 summerpulse at qq.com writes:

 Obviously, the fps and tbr are still wrong, 

Why do you think so?

 I posted the file  here: http://pan.baidu.com/s/1eQIY63o

This file contains 43044 frames and is a little over 43 
seconds long.
That makes 1000fps afaict...

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


Re: [FFmpeg-user] incorrect fps and tbr

2015-07-19 Thread Carl Eugen Hoyos
Moritz Barsnick barsnick at gmx.net writes:

 I may be on the wrong track here, but it sounds a 
 bit like my experience with Windows Media, i.e. 
 WMV files: The container says 1000 fps, because 
 the format is inheritantly (?) vfr.

That is (at least to some degree) correct for asf  
but the file in question is avi which is inherently 
cfr.
(At least for the given file.)

Carl Eugen

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


Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2015-07-19 Thread Carl Eugen Hoyos
MrNice wxcvbn2006 at iol.ie writes:

 [video4linux2,v4l2  at  0x2770c40] interrupted

Please test the following:
$ ffmpeg -i /dev/video0 out.avi

 Moreover with alsa, this command was working few 
 months ago and not working now :

Then please run git bisect to find the change 
introducing the issue.

Carl Eugen

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


[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

2015-07-19 Thread MrNice
Hello everybody,

I want to record audio and video from a analogue to digital converter
Pinnacle Dazzle DVC100.

Command :
 ./ffmpeg -debug 1 -f pulse -i alsa_input.pci-_00_14.2.analog-stereo
-f v4l2 -i /dev/video0 /Store3/Test/copy_`date +%m%d_%H%M`.avi
ffmpeg version N-73517-g47d0773 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  configuration: --enable-libpulse
  libavutil  54. 28.100 / 54. 28.100
  libavcodec 56. 47.100 / 56. 47.100
  libavformat56. 40.100 / 56. 40.100
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 21.100 /  5. 21.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
 matched as AVOption 'debug' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'pulse'.
Reading option '-i' ... matched as input file with argument
'alsa_input.pci-_00_14.2.analog-stereo'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'v4l2'.
Reading option '-i' ... matched as input file with argument '/dev/video0'.
Reading option '/Store3/Test/copy_0719_1905.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file
alsa_input.pci-_00_14.2.analog-stereo.
Applying option f (force format) with argument pulse.
Successfully parsed a group of options.
Opening an input file: alsa_input.pci-_00_14.2.analog-stereo.
[pulse @ 0x2757ba0] All info found
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo':
  Duration: N/A, start: 1437329119.928277, bitrate: 1536 kb/s
Stream #0:0, 1, 1/100: Audio: pcm_s16le, 48000 Hz, 2 channels,
s16, 1536 kb/s
Successfully opened the file.
Parsing a group of options: input file /dev/video0.
Applying option f (force format) with argument v4l2.
Successfully parsed a group of options.
Opening an input file: /dev/video0.
[video4linux2,v4l2 @ 0x2770c40] fd:6 capabilities:85220001
[video4linux2,v4l2 @ 0x2770c40] Current input_channel: 1, input_name:
S-Video, input_std: ff
[video4linux2,v4l2 @ 0x2770c40] Querying the device for the current
frame size
[video4linux2,v4l2 @ 0x2770c40] Setting frame size to 720x576
[video4linux2,v4l2 @ 0x2770c40] Trying to set codec:rawvideo pix_fmt:yuv420p
Last message repeated 1 times
[video4linux2,v4l2 @ 0x2770c40] Trying to set codec:rawvideo pix_fmt:yuv422p
[video4linux2,v4l2 @ 0x2770c40] Trying to set codec:rawvideo pix_fmt:yuyv422
[video4linux2,v4l2 @ 0x2770c40] The V4L2 driver is using the interlaced mode
[video4linux2,v4l2 @ 0x2770c40] Current standard: PAL, id: ff,
frameperiod: 1/25
[video4linux2,v4l2 @ 0x2770c40] interrupted
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, bitrate: 165888 kb/s
Stream #1:0, 0, 1/100: Video: rawvideo, 1 reference frame (YUY2
/ 0x32595559), yuyv422, 720x576 (0x0), 1/100, 165888 kb/s, 25 fps,
25 tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output file /Store3/Test/copy_0719_1905.avi.
Successfully parsed a group of options.
Opening an output file: /Store3/Test/copy_0719_1905.avi.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'video_size' to
value '720x576'
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'pix_fmt' to value '1'
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'time_base' to value
'1/100'
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'pixel_aspect' to
value '0/1'
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'sws_param' to value
'flags=2'
[graph 0 input from stream 1:0 @ 0x2743dc0] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 1:0 @ 0x2743dc0] w:720 h:576 pixfmt:yuyv422
tb:1/100 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x274df00] compat: called with args=[yuv420p]
[format @ 0x274df00] Setting 'pix_fmts' to value 'yuv420p'
[auto-inserted scaler 0 @ 0x27324c0] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x27324c0] w:iw h:ih flags:'0x4' interl:0
[format @ 0x274df00] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x2739a40] query_formats: 4 queried, 2 merged, 1
already done, 0 delayed
[auto-inserted scaler 0 @ 0x27324c0] w:720 h:576 fmt:yuyv422 sar:0/1 -
w:720 h:576 fmt:yuv420p sar:0/1 flags:0x4
[graph 1 input from stream 0:0 @ 0x274d6e0] Setting 'time_base' to value
'1/48000'
[graph 1 input from stream 0:0 @ 0x274d6e0] Setting 'sample_rate' to
value '48000'
[graph 1 input from stream 0:0 @ 0x274d6e0] Setting 'sample_fmt' to
value 's16'
[graph 1 input from stream 0:0 @ 0x274d6e0] Setting 'channel_layout' to
value '0x3'
[graph 1 input from stream 0:0 @ 0x274d6e0] tb:1/48000 samplefmt:s16
samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 

[FFmpeg-user] how to build ffmpeg in armv8a phone?

2015-07-19 Thread wqmffmpeg
Dear all
how to build ffmpeg in armv8a phone?
I want to optimize ffmpeg decoder in armv8a, this will improve docoder 
efficiency
Another question, when optimized ffmpeg source code with armv7a run on armv8a 
phone, decoder efficiency is same?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user