Re: [FFmpeg-user] Option to suppress Overwrite existing file ?

2019-03-16 Thread Martin Vignali
>
> is there an option to suppress prompting for Overwrite existing file ?
>
>
Hello

"-y"
see : https://www.ffmpeg.org/ffmpeg.html#Main-options

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Detect Frozen video

2018-11-28 Thread Martin Vignali
Le mer. 28 nov. 2018 à 12:46, José María Infanzón  a
écrit :

> Hi All, I'm streaming a live channel and I want to use ffmpeg to monitor
> the stream, what I need to check is when the image is frozen. Is there a
> way yo achieve this? I've read that I can use blend function, but not sure
> how.
>
>
A freeze detect filter have been recently add :
https://www.ffmpeg.org/ffmpeg-filters.html#freezedetect

Martin
___
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] Setting colour range.

2018-11-27 Thread Martin Vignali
>
> I think prores encoder will soon get color_range writing from prores_ks.


Doesn't seems like prores_ks do something about color_range.
The color difference between prores_ks and aw, have been fixed, by setting
the color prim, trc, space in prores frame header in prores_aw
(already in master, patch on mailing list about this, are only to restrict
the valid values)

As far as i know, quicktime (and prores), doesn't have a way to set as full
or legal range.
need to be interpreted as legal by default, but some app can use the
outside range information (like super white).

Martin
___
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] HD MXF SMPTE ST377 Standard Compliance Problem with multiple IndexTableSegments carring Unique ID twins (maybe a bug)

2018-11-12 Thread Martin Vignali
Hello,

I think this report is interesting.
Creating file for broadcast delivery, is not just about having a file which
play or doesn't play
It's mainly about passing Quality Control.

Even if a file can be play in most of software, if it doesn't pass
broadcaster QC, it will be reject.

In my use i always remux MXF generate by ffmpeg using bmxtranswrap, to have
"clean" mxf.

Mxf is a very complicated format, with very expensive "documentations".
Reason why, few people can improve it inside ffmpeg.

As suggested by Marton Balint, some developers (not me), have more chance
to work on it, with a financial support.
If you can sponsor it, you can try to contact developper who have recently
improve the mxfenc.

@Chris von Görstinger :
If you remux your file with bmx, does it still show warning in the MXF
Analyser ?

If yes, i suggest to create a bug report on trac.
Ideally, using an ffmpeg generator instead of a file as source.


Martin
___
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] How to choose pixfmt output for video generator

2018-10-09 Thread Martin Vignali
Le mar. 9 oct. 2018 à 22:48, Carl Eugen Hoyos  a écrit :

> 2018-10-09 22:41 GMT+02:00, Martin Vignali :
> > Hello,
> >
> > I would like to use a generator for testing
> > Some generator, seems to have several pix fmt supported, but can't find
> the
> > way to choose one
> >
> > For example allyuv seems to support yuv444p, gbrp
> >
> > ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
> > -loglevel debug
> > ==> Output yuv444p
> >
> > ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
> > -loglevel debug
> > ==> Following log, seems to output yuv444p then convert to gbrp
>
> $ ffmpeg -f lavfi -i allyuv=rate=5:duration=1,format=gbrp
>
>
Thanks

Martin
___
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] How to choose pixfmt output for video generator

2018-10-09 Thread Martin Vignali
Hello,

I would like to use a generator for testing
Some generator, seems to have several pix fmt supported, but can't find the
way to choose one

For example allyuv seems to support yuv444p, gbrp

./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
-loglevel debug
==> Output yuv444p

./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
-loglevel debug
==> Following log, seems to output yuv444p then convert to gbrp

Thanks

Martin
___
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] -c:v png

2018-09-24 Thread Martin Vignali
Le lun. 24 sept. 2018 à 10:50, Benoit LELOUTRE  a écrit :

> Hi,
> I try to compress video with alpha.
> For this I'm using -c:v png codec. But for technical issue,  I want to
> limit the bitrate at 100Mb/s.
> First I tried with -b:v 100M but not working.
> After I tried with -compression_level 50 ... no success.
> For the both, the result is the same with a bitrate of 180Mb/s.
> If you have any idea ?
> Thanks.
>
> Png is a lossless codec, you can't set a bitrate for it.
Use a lossy codec instead.

Martin
___
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] FFMpeg Exr Encoder

2018-05-14 Thread Martin Vignali
2018-05-12 9:06 GMT+02:00 Paul B Mahol :

> On 5/11/18, Matthew.Alexander - The Empire Post
>  wrote:
> > Hi,
> >
> >
> > I've been trying to use ffmpeg to speed up processes here at work,
> however
> > it has come to my attention that ffmpeg does not have an encoder for exr,
> > all I want to do right now is take existing EXRs and half the resolution,
> > however this doesn't seem to work.
> >
> >
> > Any tips?
> >
> >


FFmpeg doesn't have an exr encoder yet.
The most difficult part, is to add float/half pixel format in ffmpeg,
before adding an exr encoder.
(for now ffmpeg exr decoder, decode data in 16bit (int) not in float)

Martin
___
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] Hap_q_alpha is it possible?

2018-04-23 Thread Martin Vignali
Hello,

2018-04-22 19:56 GMT+02:00 Alex Ramos :

> Hello,
> I think I'm missing something.
> ffmpeg -i source.mov -vcodec hap -format hap target.mov OK
> ffmpeg -i source.mov -vcodec hap -format hap_alpha target.mov OK
> ffmpeg -i source.mov -vcodec hap -format hap_q target.mov OK
> This is not working, what's switch for Hap Q Alpha ?
> ffmpeg -i source.mov -vcodec hap -format hap_q_alpha target.mov
>
>
HapQ Alpha encoding is not yet implemented in FFmpeg.
(Only decoding for now)

Martin
___
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] Convert images to DNXHD 444

2018-04-11 Thread Martin Vignali
> There is also an image http://elmtreecottages.co.uk/Charts.jpg which
> shows a screen example of the difference. (ffmpeg on the left) The
> quicktime version is, to me, indistinguishable from the source tiff in
> terms of colour. The ffmpeg version is less saturated and a bit "milky". I
> have been searching for hours for any way to get the correct output. This
> happens with dnxhd dnxhq and dnxhdr. Given that re-encoding the quicktime
> version with ffmpeg does not produce the same colour shift, i.e. the output
> is identical I am thinking it is the way ffmpeg is dealing with the tiffs
> rather than the way the encoder is behaving, if this makes sense.
>
> Any ideas how/if I can resolve this?


Seems like the ffmpeg file is in YUV full range, and the Quicktime output
is in YUV legal range.
Also called jpeg range (= full range), and mpeg range (legal range).

Martin
___
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] Audio Meter filter

2018-03-30 Thread Martin Vignali
> >
> > Is there another filter for that ?
>
> Only ebur128 meter.
>
> The peak meter, is just that peak, if you want more dynamics incrase
> rate option to 60fps.
> Default 25 is very low :)
>
> I'm not happy with rms option, so if you can improve this and add
> others meter that would be great.
>

Ok thanks,

I'm not very familiar with sound processing, but i will try to take a look.

Martin
___
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] Audio Meter filter

2018-03-30 Thread Martin Vignali
Hello,

I would like to show an audio meter from an audio file (something like what
edit software display
or like Audacity display)

I try the showvolume filter, but the result is not what i would like to
have.

My command line :
"C:\ffmpeg-20180329-af043b8-win64-static\bin\ffmpeg.exe" -i
"D:\RefSon100Hz_Son_PCM18_03_30_18h21m17s.wav" -filter_complex
"[0:a]showvolume=w=340:h=5:o=v:f=1.:p=1.:t=0:m=r:v=0[v]" -map "[v]" -c:v
qtrle "D:\resAudioMeter004.mov"

My input test file :
https://we.tl/X6L69kEWAN

Contains : 1000 Hz -12Db, then - 18 db, then 0 Db.

If i use the peak option, i have no difference between -12 and -18 db
And the "scale" is not what i would like to have (would like to have -12 /
- 18 Db more close to the max level

If i use the rms option, the scale is very low for all "level", and no
differences between -12 and -18 Db.

Is there another filter for that ?

Thanks by advance

Martin
___
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] EXR displayWindow != dataWindow

2017-08-20 Thread Martin Vignali
2017-08-09 0:12 GMT+02:00 sdas :

> I'm using ffmpeg on windows, and creating a movie file from a series of
> uncropped frames, ffmpeg chokes with this message:
> Could not find codec parameters for stream 0 (Video: exr, rgb48le):
> unspecified size
>
> Googling, I see that other people have hit this bug and fixes have
> apparently been submitted.  But I just downloaded the latest version I
> could
> find (N-86950-g1bef008 or ffmpeg-20170807-1bef008-win64-static), it still
> has the same problem.
>
> Is there a version of ffmpeg in which this has been properly fixed?  Or are
> there any flags I can use to specify that for an EXR file, it should use
> only the display window, and not the data window?
>
> Thanks!
>
>
Hello,

Display window is not correctly support for all case in ffmpeg exr decoder.
Only datawindow < display window is supported, and if i correctly remember,
not for < 0 coordinates.

I begin to work on a patch for this, but i doesn't find time to finish it.
I will probably take a better look on this (but not soon), and it's
probably better to modify the decoder
to use planar format before implementing a full display/data window support.

Martin
___
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] OpenEXR input with cropped data window produces black output

2017-01-04 Thread Martin Vignali
Hello,

FFmpeg EXR decoder, have some trouble with display window != data window
And if i remember correctly, if top left doesn't start at 0/0

But the way to manage the display window, is not the same, if data window
is bigger than display window or the opposite.

I begin to work on this, but not enough time now to finish this patch

Martin
___
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] How to make CBR AAC

2016-11-03 Thread Martin Vignali
>
> I can confirm your finding. Apparently, the native aac encoder doesn't
> support true CBR (but does VBR or ABR instead).
>
> I tried with libfdk_aac, and the results are according to what you are
> trying to achieve. The Zeranoe build doesn't have libfdk_aac support
> though.
>
> Moritz
>
>
The command line fdkaac encoder, generate exactly the audio file i need,
and it's easy to compile on windows.

Thanks

Martin
___
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] How to make CBR AAC

2016-11-03 Thread Martin Vignali
Hello,

I need to create mp4 file with aac audio with a 256kbits average bitrate.

The problem, is that my file, have lot of silence, but i need to have an
average audio bitrate very close to 256k.


Is there a way, to force the aac encoder to add some "fill" in order to
appear like a cbr bitrate (like X264 can do)

I try to increase the bitrate, but aac encoder seems to have a bitrate
limit, and even if i use the max allowed bitrate, the resulting file is
under 256kb/s (216 in that case)

-- FFmpeg (Zeranoe build here)


"C:\Program Files\ffmpeg-20161103-3932ccc-win64-static\bin\ff
mpeg.exe" -i "C:\audioTrack.wav" -c:a aac -b:a 256k -minrate 256k -maxrate
256k
"D:\resA.m4a"
ffmpeg version N-82215-g3932ccc Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dx
va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib
--enable-lib
ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfree
type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enab
le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschr
oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheor
a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--ena
ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --e
nable-decklink --enable-zlib
  libavutil  55. 35.100 / 55. 35.100
  libavcodec 57. 66.100 / 57. 66.100
  libavformat57. 57.100 / 57. 57.100
  libavdevice57.  2.100 / 57.  2.100
  libavfilter 6. 66.100 /  6. 66.100
  libswscale  4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc54.  2.100 / 54.  2.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'C:\audioTrack.wav':
  Metadata:
encoder : Lavf57.8.102
  Duration: 00:00:26.00, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16
, 1536 kb/s
Output #0, ipod, to 'D:\resA.m4a':
  Metadata:
encoder : Lavf57.57.100
Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 25
6 kb/s
Metadata:
  encoder : Lavc57.66.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
size= 493kB time=00:00:26.00 bitrate= 155.2kbits/s speed=21.7x
video:0kB audio:487kB subtitle:0kB other streams:0kB global headers:0kB
muxing o
verhead: 1.128232%
[aac @ 0051f260] Qavg: 31996.516


-- FFprobe :
Result

"C:\Program Files\ffmpeg-20161103-3932ccc-win64-static\bin\ff
probe.exe" "D:\resA.m4a"
ffprobe version N-82215-g3932ccc Copyright (c) 2007-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dx
va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib
--enable-lib
ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfree
type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enab
le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschr
oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheor
a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--ena
ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --e
nable-decklink --enable-zlib
  libavutil  55. 35.100 / 55. 35.100
  libavcodec 57. 66.100 / 57. 66.100
  libavformat57. 57.100 / 57. 57.100
  libavdevice57.  2.100 / 57.  2.100
  libavfilter 6. 66.100 /  6. 66.100
  libswscale  4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc54.  2.100 / 54.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\resA.m4a':
  Metadata:
major_brand : M4A
minor_version   : 512
compatible_brands: isomiso2
encoder : Lavf57.57.100
  Duration: 00:00:26.02, start: 0.00, bitrate: 155 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, flt
p, 153 kb/s (default)
Metadata:
  handler_name: SoundHandler




Thanks by advance

Martin
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org

[FFmpeg-user] Mov : how to set interlaced value of mov muxer

2016-10-23 Thread Martin Vignali
Hello

I would like to encode some progressive video to interlace quicktime

I try to use -top 1 and +ildct,
The frames seems to be compressed as interleaved, but the mov muxer, still
think it's a progressive frame. The codec name for xdcam is not the right
one, and the fiel value is not correct for prores or mov xdcam.

Output with prores encoding :
./ffmpeg -i ./TEST_TRAME_MOV.mov -t 0.2 -vcodec prores_ks -flags +ildct
-top 1 -acodec copy -f mov ./resProresInterl.mov
ffmpeg version N-82089-gb8d7150 Copyright (c) 2000-2016 the FFmpeg
developers
  built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  configuration: --prefix=../build --disable-yasm
  libavutil  55. 33.100 / 55. 33.100
  libavcodec 57. 63.103 / 57. 63.103
  libavformat57. 53.100 / 57. 53.100
  libavdevice57.  0.103 / 57.  0.103
  libavfilter 6. 64.100 /  6. 64.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './TEST_TRAME_MOV.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2015-03-26T14:35:02.00Z
  Duration: 00:00:15.00, start: 0.00, bitrate: 189651 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061),
yuv422p10le(bt709), 1920x1080, 188074 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
tbr, 25 tbn, 25 tbc (default)
Metadata:
  creation_time   : 2015-03-26T14:35:02.00Z
  handler_name: Gestionnaire d?alias Apple
  encoder : Apple ProRes 422 (HQ)
  timecode: 00:00:00:00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono,
s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-03-26T14:35:02.00Z
  handler_name: Gestionnaire d?alias Apple
Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono,
s16, 768 kb/s (default)
Metadata:
  creation_time   : 2015-03-26T14:35:02.00Z
  handler_name: Gestionnaire d?alias Apple
Stream #0:3(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
  creation_time   : 2015-03-26T14:35:03.00Z
  handler_name: Gestionnaire d?alias Apple
  timecode: 00:00:00:00
[prores_ks @ 0x7f81aa011200] Autoselected HQ profile to keep best quality.
It can be overridden through -profile option.
Output #0, mov, to './resProresInterl.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
encoder : Lavf57.53.100
Stream #0:0(eng): Video: prores (prores_ks) (apch / 0x68637061),
yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 0.04 fps,
12800 tbn, 25 tbc (default)
Metadata:
  creation_time   : 2015-03-26T14:35:02.00Z
  handler_name: Gestionnaire d?alias Apple
  timecode: 00:00:00:00
  encoder : Lavc57.63.103 prores_ks
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono,
768 kb/s (default)
Metadata:
  creation_time   : 2015-03-26T14:35:02.00Z
  handler_name: Gestionnaire d?alias Apple
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> prores (prores_ks))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=5 fps=1.8 q=-0.0 Lsize=4773kB time=00:00:00.19
bitrate=203633.0kbits/s speed=0.0698x
video:4751kB audio:20kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.038749%





---
XDcam output

./ffmpeg -i ./TEST_TRAME_MOV.mov -pix_fmt yuv422p -vcodec mpeg2video
-seq_disp_ext 1 -flags +ildct+ilme -top 1 -dc 10 -qmin 1 -lmin
"1*QP2LAMBDA" -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -b:v 5k
-minrate 5k -maxrate 5k -bufsize 36408333 -bf 2 -aspect 16:9
-acodec pcm_s24be -f mov ./resXDcam.mov
ffmpeg version N-82089-gb8d7150 Copyright (c) 2000-2016 the FFmpeg
developers
  built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
  configuration: --prefix=../build --disable-yasm
  libavutil  55. 33.100 / 55. 33.100
  libavcodec 57. 63.103 / 57. 63.103
  libavformat57. 53.100 / 57. 53.100
  libavdevice57.  0.103 / 57.  0.103
  libavfilter 6. 64.100 /  6. 64.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './TEST_TRAME_MOV.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2015-03-26T14:35:02.00Z
  Duration: 00:00:15.00, start: 0.00, bitrate: 189651 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061),
yuv422p10le(bt709), 1920x1080, 188074 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
tbr, 25 tbn, 25 tbc (default)
Metadata:
  creation_time   : 

Re: [FFmpeg-user] Compile ffmpeg on mips-qemu

2016-07-01 Thread Martin Vignali
>
> What does gcc -v for the used compiler show?
>

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/mips-linux-gnu/4.6/lto-wrapper
Target: mips-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --with-mips-plt
--with-arch-32=mips2 --with-tune-32=mips32 --enable-targets=all
--with-arch-64=mips3 --with-tune-64=mips64 --enable-checking=release
--build=mips-linux-gnu --host=mips-linux-gnu --target=mips-linux-gnu
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14)


> What does "file ffmpeg" or "file ffmpeg.o" show?
>
>
file ffmpeg.o
ffmpeg.o: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV),
with unknown capability 0x4100 = 0xf676e75, with unknown capability
0x1 = 0x70404, not stripped


Martin
___
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] Compile ffmpeg on mips-qemu

2016-07-01 Thread Martin Vignali
2016-06-30 23:33 GMT+02:00 Carl Eugen Hoyos <ceho...@ag.or.at>:

> Martin Vignali  gmail.com> writes:
>
> > Configure result :
> > ./configure --arch=mips64 --prefix=../build --disable-ffplay
> > --disable-ffprobe --disable-ffserver --enable-zlib --disable-asm
> > --disable-videotoolbox --disable-audiotoolbox --disable-vda
> > --disable-everything --enable-demuxer=image2 --enable-muxer=framecrc
> > --disable-decoders --enable-decoder=exr --enable-protocol=file
> > --enable-protocol=pipe --enable-encoder=rawvideo --disable-doc
> > --extra-ldflags=-static
>
> --disable-videotoolbox --disable-audiotoolbox --disable-vda and
> --enable-zlib have no effect and make reading the other options
> more difficult (that's how I missed --disable-asm).
>
> I compile inside qemu, so no cross-compile

I try, without the static, and whitout the arch

./configure --prefix=../build --disable-ffplay --disable-ffprobe
--disable-ffserver --disable-asm --disable-everything
--enable-demuxer=image2 --enable-muxer=framecrc --disable-decoders
--enable-decoder=exr --enable-protocol=file --enable-protocol=pipe
--enable-encoder=rawvideo --disable-doc
install prefix../build
source path   .
C compilergcc
C library glibc
ARCH  c (generic)
big-endianyes
runtime cpu detection yes
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
staticyes
sharedno
postprocessing supportno
new filter supportyes
network support   no
threading support pthreads
safe bitstream reader yes
SDL support   no
opencl enabledno
JNI support   no
texi2html enabled no
perl enabled  yes
pod2man enabled   yes
makeinfo enabled  yes
makeinfo supports HTMLno

Enabled programs:
ffmpeg

External libraries:
iconv   zlib

External libraries providing hardware acceleration:

Libraries:
avcodec   avformat  swresample
avdevice   avutil  swscale
avfilter

Enabled decoders:
exr

Enabled encoders:
rawvideo

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:
image2

Enabled muxers:
framecrc

Enabled protocols:
file   pipe

Enabled filters:
aformat   format  setpts
anull   null  trim
atrim

Enabled bsfs:

Enabled indevs:

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
libavutil/avconfig.h is unchanged

WARNING: pkg-config not found, library detection may fail.
WARNING: generic cpu selected
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged


==> Still have Illegal instruction, when lauching ffmpeg


> Is this a cross- or a native compiler?
>
Is the compiler able to produce non-crashing executables
> with the compiler options used here? (Use make V=1 ffmpeg.o
> to show the used options.)
>

==> Not sure i understand this part.

I run make V=1 ffmpeg.o

This is the result :
make V=1 ffmpeg.o
gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -std=c99
-fomit-frame-pointer -mips32r2 -mhard-float -mfp64 -mdsp -mdspr2 -pthread
-g -Wdeclaration-after-statement -Wall -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef
-Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes
-Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length
-Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize
-Werror=format-security -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat   -MMD
-MF ffmpeg.d -MT ffmpeg.o -c -o ffmpeg.o ffmpeg.c


I try to compile, a simple hello world program, with the same kind of line
:
gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -std=c99
-fomit-frame-pointer -mips32r2 -mhard-float -mfp64 -mdsp -mdspr2 -pthread
-g -Wdeclaration-after-statement -Wall -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef
-Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes
-Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length
-Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize
-Werror=format-security -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat   -MMD
-MF main.d -MT main.o -c -o main.o main.c

gcc main.o -o executable
/usr/bin/ld: Warning: executable uses -msingle-float, main.o uses -mips32r2
-mfp64


If i launch this basic program, it's 

Re: [FFmpeg-user] Compile ffmpeg on mips-qemu

2016-06-30 Thread Martin Vignali
2016-06-30 17:18 GMT+02:00 Carl Eugen Hoyos <ceho...@ag.or.at>:

> Martin Vignali  gmail.com> writes:
>
> > I try several configure line, but when i launch ffmpeg, i still
> > have "Illegal instruction"
>
> You could try --disable-asm
>
>
> Thanks for your answer.
You mean removing --disable-asm or adding this configure option ?

Because i test witth --disable-asm, and same trouble

Martin
___
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] Compile ffmpeg on mips-qemu

2016-06-30 Thread Martin Vignali
Hello,

I would like to compile ffmpeg on mips, in order to test the exr decoder on
it.

I try several configure line, but when i launch ffmpeg, i still have
"Illegal instruction"

I use qemu on mac os x, launch with this command :
qemu-system-mips64 -M malta -kernel ./vmlinux-3.2.0-4-5kc-malta -hda
./debian_wheezy_mips_standard.qcow2 -append "root=/dev/sda1 console=tty0"
-redir tcp:::22



Configure result :
./configure --arch=mips64 --prefix=../build --disable-ffplay
--disable-ffprobe --disable-ffserver --enable-zlib --disable-asm
--disable-videotoolbox --disable-audiotoolbox --disable-vda
--disable-everything --enable-demuxer=image2 --enable-muxer=framecrc
--disable-decoders --enable-decoder=exr --enable-protocol=file
--enable-protocol=pipe --enable-encoder=rawvideo --disable-doc
--extra-ldflags=-static
install prefix../build
source path   .
C compilergcc
C library glibc
ARCH  c (generic)
big-endianyes
runtime cpu detection yes
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
staticyes
sharedno
postprocessing supportno
new filter supportyes
network support   no
threading support pthreads
safe bitstream reader yes
SDL support   no
opencl enabledno
JNI support   no
texi2html enabled no
perl enabled  yes
pod2man enabled   yes
makeinfo enabled  yes
makeinfo supports HTMLno

Enabled programs:
ffmpeg

External libraries:
iconv   zlib

External libraries providing hardware acceleration:

Libraries:
avcodec   avformat  swresample
avdevice   avutil  swscale
avfilter

Enabled decoders:
exr

Enabled encoders:
rawvideo

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:
image2

Enabled muxers:
framecrc

Enabled protocols:
file   pipe

Enabled filters:
aformat   format  setpts
anull   null  trim
atrim

Enabled bsfs:

Enabled indevs:

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
libavutil/avconfig.h is unchanged

WARNING: pkg-config not found, library detection may fail.
WARNING: generic cpu selected
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged



Thanks by advance

Martin
___
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] converting broadcast wavs strips xml metadata

2015-04-20 Thread Martin Vignali
Hello,

If i correctly remember you need to use -write_bext 1, in order to create
BWF file.

Best regards

Martin

2015-04-19 21:18 GMT+02:00 Dave Rice d...@dericed.com:

 Hi Pete,

  On Apr 19, 2015, at 11:34 AM, Pete Coward p...@byta.fm wrote:
 
  ffmpeg supports decoding and encoding of broadcast wavs (bwf format)
  but in my tests it strips the bext chunk from the input broadcast wav
  when copying it, so not outputting a valid bwf file. is this a bug or
  is it a configuration issue? i would be grateful for any advice.
 
  input file has a bext chunk in aXML format
  output file has no bext chunk

 The aXML chunk is intended to contain any valid XML document. The bext
 chunk is a rigid list of fixed length strings and dates. Having a bext
 chunk within an aXML chunk would be very unusual.

 The ffmpeg wav muxer supports bext but does not (yet) support the aXML
 chunk.

  i am using bwfmetaedit (http://bwfmetaedit.sourceforge.net) to verify
 bext data.

 wooo, someone uses that.
 Dave Rice
 ___
 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