Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-29 Thread Dave Rice
> On Jan 29, 2015, at 4:28 AM, Christoph Gerstbauer > wrote: > > Hello, > > Can you explain me: > > Why it is the last 2 bits of the FIRST byte that shows me if it is 10bit? > Shouldnt it be the first 2 bits of the SECOND byte? > In my understanding, 8 bit are 8 digits -> first byte should

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-29 Thread Reto Kromer
Christoph Gerstbauer wrote: >Can you explain me: > >Why it is the last 2 bits of the FIRST byte that shows me >if it is 10bit? >Shouldnt it be the first 2 bits of the SECOND byte? >In my understanding, 8 bit are 8 digits -> first byte >should be always full. (?) >But maybe this only is for RGB cor

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-29 Thread Christoph Gerstbauer
Hello, Can you explain me: Why it is the last 2 bits of the FIRST byte that shows me if it is 10bit? Shouldnt it be the first 2 bits of the SECOND byte? In my understanding, 8 bit are 8 digits -> first byte should be always full. (?) But maybe this only is for RGB correct and not for YUV? S

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-23 Thread Peter B.
On 01/19/2015 07:49 PM, Dave Rice wrote: > I'm not familiar enough with windows to suggest an alternate to xxd, > though perhaps it can be installed on windows. I'm also not sure, but maybe some of the Windows builds of GNU Utils provides xxd binaries? For example: http://gnuwin32.sourceforge.net

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-19 Thread Dave Rice
Hi Christoph, > On Jan 19, 2015, at 4:02 AM, Christoph Gerstbauer > wrote: > > Thank you, Dave! > > As I guess, this commandline is just working on linux, right? On Mac. > I tried it on windows but: > > ffmpeg -i > I:\_10bit_PERFORMANCE_TESTS\analog_tape_records\10bit_v210_captured_via_SDI

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-19 Thread Christoph Gerstbauer
Hello Dave, I tried it on ubuntu. It works. But, can you explain me: Why it is the last 2 bits of the first byte? Shouldnt it be the first 2 bits of the last byte? In my understanding, 8 bit are 8 digits -> first byte should be always full. (?) But maybe this only is for RGB correct and not

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-19 Thread Christoph Gerstbauer
Thank you, Dave! As I guess, this commandline is just working on linux, right? I tried it on windows but: ffmpeg -i I:\_10bit_PERFORMANCE_TESTS\analog_tape_records\10bit_v210_captured_via_SDI-8bit.mov -c:v rawvideo -f rawvideo - | xxd -c 2 -b 'xxd' is not recognized as an internal or external

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-16 Thread Dave Rice
Hi Christoph, > On Jan 16, 2015, at 10:03 AM, Moritz Barsnick wrote: > On Fri, Jan 16, 2015 at 14:10:38 +0100, Christoph Gerstbauer wrote: >> I am searching for a possibility to check if a 10bit 4:2:2 videofile >> (v210 codec or ffvhuff codec) has >> a) 8bit+2empty bits or >> b) full 10bit data

Re: [FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-16 Thread Moritz Barsnick
On Fri, Jan 16, 2015 at 14:10:38 +0100, Christoph Gerstbauer wrote: > I am searching for a possibility to check if a 10bit 4:2:2 videofile > (v210 codec or ffvhuff codec) has > a) 8bit+2empty bits or > b) full 10bit data > in the video stream. You'll probably need to export it to raw YUV or RGB (

[FFmpeg-user] How can I determine if a 10bit videofile has full 10bit video data or 8bit (+ 2bits zeros) data

2015-01-16 Thread Christoph Gerstbauer
Hi I am searching for a possibility to check if a 10bit 4:2:2 videofile (v210 codec or ffvhuff codec) has a) 8bit+2empty bits or b) full 10bit data in the video stream. For example: MPEG-IMX tapes has only 8bit videodata on tape but via SDI you can capture 10bit video -> After that I want to