Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-21 Thread Carl Eugen Hoyos
tim nicholson nichot20-at-yahoo.com at ffmpeg.org writes: It seems to me that the scale filter is so smart that it doesn't scale if the input and output resolution and input and output colourspace are identical. Even worse, both the filter and the software scaler are smart

Re: [FFmpeg-user] Corrupted output after concat ffmpeg command

2015-05-21 Thread Carl Eugen Hoyos
Artem Belov whiteworkwork at gmail.com writes: mylist.txt file 'cut1.mp4' file 'cut2.mp4' ffmpeg -f concat -i mylist.txt -c copy output.mp4; Please test with -auto_convert 1 Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Alexa input dpx

2015-05-21 Thread lorenzo angeli
Lut wise I have generated a set from OCIO default configuration with all the various permutations (alexa to log, log to lin etc...) , but I can't find any good combination to apply on the source (alexa) dpx to make it appear right. L. ___ ffmpeg-user

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
Carl Eugen Hoyos cehoyos at ag.or.at writes: ffmpegnew -r 25 -s 720x576 -pix_fmt yuv422p10le -vcodec v210 -i C:\Users\gersti\Desktop\16x9_10bit_720x576_25fps.raw How was this file produced? And even more important: Which application reads such files? Carl Eugen This file was produced by

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
Christoph Gerstbauer christophgerstbauer at gmail.com writes: I am very confused about handling v210. From FFmpeg pov, v210 is a codec just like Prores or H.264 (with constant frame size, so actually sunrast or targa). ffmpegnew -r 25 -s 720x576 -pix_fmt yuv422p10le -vcodec v210 -i

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Moritz Barsnick
On Thu, May 21, 2015 at 11:02:30 +0200, Christoph Gerstbauer wrote: Am am not able to do cat on my windows machine. I have no linux. http://superuser.com/a/434876/361295 type :-) Sorry I forgot the link:

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at ag.or.at writes: ffmpegnew -r 25 -s 720x576 -pix_fmt yuv422p10le -vcodec v210 -i C:\Users\gersti\Desktop\16x9_10bit_720x576_25fps.raw How was this file produced? And even more important: Which application reads such files? Carl Eugen

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: You have to know the size of one frame (1234), then please try: $ cat 16x9.raw|ffmpeg -f image2pipe -frame_size 1234 -vcodec v210 -s pal -i - out.avi What defnies the SIZE of 1234? Bytes/Bits? Size of 16x9.raw / number of

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: I need the grab a raw v210 stream from a video capture card to encode it directly to ffvhuff. That is my usecase. The file you provided has nothing to do with this usecase (I hope). The capture card supports an API and this API

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
The RAW sample file can be downloaded here: No. Sorry I forgot the link: https://cerebrum.noa-audio.com/noacloud/index.php/apps/files/download/FFmpeg_User_MailingList/16x9_10bit_720x576_25fps_V210RAW.zip this link should work better:

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
Am 21.05.2015 um 11:13 schrieb Carl Eugen Hoyos: Christoph Gerstbauer christophgerstbauer at gmail.com writes: This file was produced by VidChecker. It checks a (e.g.) APPLE PRO RES 10bit files, and corrects it if necessary I am curious: What does it check and correct? What feature is

[FFmpeg-user] how to Convert H.264 NAL format to annex b

2015-05-21 Thread wqmffmpeg
Dear all I hava a issue I want to Convert H.264 NAL format to annex b according to NAL unit length size there is a function below, but only works for NAL sizes 3-4 Anyone could shed a light to me? /* This only

Re: [FFmpeg-user] HD SD Down-Convert Prores Color

2015-05-21 Thread Kevin Wells
To: ffmpeg-user@ffmpeg.org From: ceho...@ag.or.at Date: Thu, 21 May 2015 10:56:58 + Subject: Re: [FFmpeg-user] HD SD Down-Convert Prores Color Kevin Wells kevwells at hotmail.co.uk writes: Stream #0:0(eng): Video: prores (apch / 0x68637061),

Re: [FFmpeg-user] Corrupted output after concat ffmpeg command

2015-05-21 Thread Artem Belov
Sorry, thank you very much, looks like it does work. I tried with different video file it works ok One more question. After this command ffmpeg -i google.mp4 -ss 00:00:10 -c copy cut2.mp4; cut2.mp4 is playable - but when I run it in VLC or other players - the first 6 sec I get only sound and no

[FFmpeg-user] settings for libx265

2015-05-21 Thread Gaspar Kazarian
Hi, I've implemented some C++ code that uses the ffmpeg libraries. I've recently started using x265 and for some reason I cannot set the crf value with the following command: av_opt_set(mCodecCtx-priv_data, crf,10, 0); where mCodecCtx is AVCodecContext type. I don't think I'm doing anything

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
You have to know the size of one frame (1234), then please try: $ cat 16x9.raw|ffmpeg -f image2pipe -frame_size 1234 -vcodec v210 -s pal -i - out.avi What defnies the SIZE of 1234? Bytes/Bits? Size of 16x9.raw / number of frames? I tried this syntax, and it seems that it worked:

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: if I can handle a raw v210 stream, I can also handle a raw v210 stream from a capture card. The RAW v210 stream file is for pretesting for me, because I am no programme who can work with API or SDKs. The FFmpeg programmers

Re: [FFmpeg-user] HD SD Down-Convert Prores Color

2015-05-21 Thread Kevin Wells
From: kevwe...@hotmail.co.uk To: ffmpeg-user@ffmpeg.org Date: Wed, 20 May 2015 15:19:30 + Subject: Re: [FFmpeg-user] HD SD Down-Convert Prores Color To: ffmpeg-user@ffmpeg.org From: ceho...@ag.or.at

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
Did I already ask why you are using ffvhuff? Isnt't this an ancient codec without specification or similar? And not even tested by the archiver community? No, you didnt ;) I/we use this ffvhuff codec as internal working format (SD/HD/2K/4K sources). The final archive format is generated from

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: So if as I understand: for a specific resolution the framesize is always the same in v210 raw? Very, very generally: No, this is the reason why a decoder is needed: Some applications produce an incorrect framesize for a given

Re: [FFmpeg-user] Corrupted output after concat ffmpeg command

2015-05-21 Thread Artem Belov
Thank you Carl for your response. Please, can you look again. After adding -auto_convert 1 I'm getting this output: ffmpeg -f concat -i mylist.txt -auto_convert 1 output.mp4 ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 6.1.0 (clang-602.0.49)

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: We use ffvhuff because its faster Thank you, I forgot that. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] HD SD Down-Convert Prores Color

2015-05-21 Thread Carl Eugen Hoyos
Kevin Wells kevwells at hotmail.co.uk writes:     Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt470bg/smpte170m Did you try to pass this to your encoding command? (You need git pull or use smpte170m twice.) Carl Eugen ___

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Carl Eugen Hoyos
Christoph Gerstbauer christophgerstbauer at gmail.com writes: -vcodec ffvhuff Did I already ask why you are using ffvhuff? Isnt't this an ancient codec without specification or similar? And not even tested by the archiver community? Carl Eugen ___

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Christoph Gerstbauer
Very, very generally: No, this is the reason why a decoder is needed: Some applications produce an incorrect framesize for a given resolution. But in the case of a given application, the framesize has to be constant for a given resolution: If it is not, the file cannot be read. (And the

[FFmpeg-user] Past duration too large

2015-05-21 Thread Deron
I am encoding live video streams and generally it works well. The most common error in the logs seems to be something like: Past duration 0.77 too large I can get hundreds of them in a row, or even thousands. Can anyone shed light on what conditions can actually causes this error to be

[FFmpeg-user] Concatenating two MPEG4 AAC movies fails with invalid, clipping

2015-05-21 Thread Nikolas Borrel-Jensen
Hi I’m concatenating two AAC encoded movies in a mp4 container as ffmpeg -f concat -i /concat_scripts -c:a copy -c:v copy output.mp4 but I get a bunch of error messages like [mp4 @ 0x7fbc61821400] st:0 PTS: 5433 DTS: 5412 35774 invalid, clipping [concat @ 0x7fbc61801200] Invalid stream index

Re: [FFmpeg-user] V210 is a packet format but ffmpeg shows always yuv422p10le (planar?) - or how to read a V210.raw stream with ffmpeg?

2015-05-21 Thread Roger Pack
On 5/21/15, Christoph Gerstbauer christophgerstba...@gmail.com wrote: Very, very generally: No, this is the reason why a decoder is needed: Some applications produce an incorrect framesize for a given resolution. But in the case of a given application, the framesize has to be constant for a

Re: [FFmpeg-user] settings for libx265

2015-05-21 Thread Moritz Barsnick
On Thu, May 21, 2015 at 21:36:50 +, Gaspar Kazarian wrote: I've implemented some C++ code that uses the ffmpeg libraries. This is the mailing list for the ffmpeg user interface, not for the libraries. Check libav-user here: https://lists.ffmpeg.org/mailman/listinfo/libav-user/ I've

Re: [FFmpeg-user] In and out-range Scale option able to correct 0-255 video to 0-235?

2015-05-21 Thread Dave Rice
Hi Christoph, On May 20, 2015, at 1:59 AM, Christoph Gerstbauer christophgerstba...@gmail.com wrote: Am 19.05.15 um 23:06 schrieb Carl Eugen Hoyos: Christoph Gerstbauer christoph.gerstbauer at gmail.com writes: C:\Windows\System32ffmpeg -i

Re: [FFmpeg-user] Concatenating two MPEG4 AAC movies fails with invalid, clipping

2015-05-21 Thread Moritz Barsnick
On Thu, May 21, 2015 at 17:14:13 +0200, Nikolas Borrel-Jensen wrote: I’m concatenating two AAC encoded movies in a mp4 container as AAC? Are you sure? One doesn't even have an audio track. I'm not sure how the concat demuxer handles that. But anyway: ffmpeg -f concat -i /concat_scripts -c:a

Re: [FFmpeg-user] Concatenating two MPEG4 AAC movies fails with invalid, clipping

2015-05-21 Thread Nikolas Borrel-Jensen
Thanks for your reply. Obviously the intro movie is not AAC, but the other movie is. My version of ffmpeg is 1.2, I will update and follow your instructions! I will probably need to build it from source, since the AAC encoder is not part of the binaries (as far as I know, AAC is a proprietary

Re: [FFmpeg-user] Concatenating two MPEG4 AAC movies fails with invalid, clipping

2015-05-21 Thread Moritz Barsnick
On Thu, May 21, 2015 at 18:27:04 +0200, Nikolas Borrel-Jensen wrote: Obviously the intro movie is not AAC, but the other movie is. It doesn't matter, your issue is (basically) with the video. My version of ffmpeg is 1.2, I will update and follow your instructions! I will probably need to

[FFmpeg-user] help

2015-05-21 Thread 李欣
hello , i used ffmpeg in my Xcode and here is the error and i Cant solve. thread count is 1 [IMGUTILS @ 0xb0114c08] Picture size 0x704 is invalid [swscaler @ 0xfa59400] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0xfa59400] 0x704 - 0x704 is invalid scaling

Re: [FFmpeg-user] MINGW/MSYS compile ffmpeg, libavcodec module fail to compile?

2015-05-21 Thread flywindsc
thanks a lot for reply. when I use make V=1, it works and generate: avdevice.dll avdevice-56.dll avfilter.dll avfilter-5.dll avformat.dll avformat-56.dll avcodec.dll avcodec-56.dll swresample.dll swresample-1.dll avutil.dll avutil-54.dll swsacle.dll swscale-3.dll ffmpeg.exe ffmpeg_g.exe