[FFmpeg-devel] Channel layout flags - Patch

2015-10-20 Thread Kevin Wells
I am looking for a patch so that when using the below Channel layout flags, the 
FC comes out flagged as 'Center', not Mono, and also the DL and DR comes out as 
'Left Total' 'Right Total'. Currently these 3 are coming out as 'Mono'. Is 
there a patch / command / flag to get these flagged correctly please?
The result currently comes out as: 
Video
Front Left
Front Right
Mono (should be Center)
Left Surround
Right Surround
Mono (should be Left Total)
Mono (shold be Right Total)

Here is the command: 
ffmpeg -i /Volumes/GRAID/EXPORTS/DESCRETE_TEST.mov -ss 45 -to 50 
-filter_complex \
"[0:1]pan=FL|c0=c0[FL]; \
 [0:1]pan=FR|c0=c1[FR]; \
 [0:1]pan=FC|c0=c2[FC]; \
 [0:1]pan=LFE|c0=c3[LFE]; \
 [0:1]pan=BL|c0=c4[BL]; \
 [0:1]pan=BR|c0=c5[BR]; \
 [0:1]pan=DL|c0=c6[DL]; \
 [0:1]pan=DR|c0=c7[DR]" \
-map v:0 \
-map "[FL]" \
-map "[FR]" \
-map "[FC]" \
-map "[LFE]" \
-map "[BL]" \
-map "[BR]" \
-map "[DL]" \
-map "[DR]" \
-vcodec prores -profile:v 3 -vtag apcn -f mov -y -c:a pcm_s24le 
/Volumes/GRAID/EXPORTS/DONE_TEST.mov

Below is the ffmpeg output from that. 
ffmpeg -i /Volumes/GRAID/EXPORTS/DESCRETE_TEST.mov -ss 45 -to 50 
-filter_complex \
> "[0:1]pan=FL|c0=c0[FL]; \
>  [0:1]pan=FR|c0=c1[FR]; \
>  [0:1]pan=FC|c0=c2[FC]; \
>  [0:1]pan=LFE|c0=c3[LFE]; \
>  [0:1]pan=BL|c0=c4[BL]; \
>  [0:1]pan=BR|c0=c5[BR]; \
>  [0:1]pan=DL|c0=c6[DL]; \
>  [0:1]pan=DR|c0=c7[DR]" \
> -map v:0 \
> -map "[FL]" \
> -map "[FR]" \
> -map "[FC]" \
> -map "[LFE]" \
> -map "[BL]" \
> -map "[BR]" \
> -map "[DL]" \
> -map "[DR]" \
> -vcodec prores -profile:v 3 -vtag apcn -f mov -y -c:a pcm_s24le 
> /Volumes/GRAID/EXPORTS/DONE_TEST.mov
ffmpeg version 2.8.1-tessus Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm 
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl 
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm 
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger 
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab 
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 
--enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 
--disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/Volumes/GRAID/EXPORTS/DESCRETE_TEST.mov':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
creation_time   : 2015-10-20 14:25:55
  Duration: 00:01:37.08, start: 0.00, bitrate: 160894 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 
1920x1080, 151675 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc (default)
Metadata:
  creation_time   : 2015-10-20 14:25:55
  handler_name: Apple Alias Data Handler
  encoder : Apple ProRes 422 HQ
Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 8 
channels (FL+FR+FC+LFE+SL+SR+DL+DR), s32 (24 bit), 9216 kb/s (default)
Metadata:
  creation_time   : 2015-10-20 14:28:55
  handler_name: Apple Alias Data Handler
[Parsed_pan_7 @ 0x7fe7d1e05dc0] Pure channel mapping detected: 7
[Parsed_pan_6 @ 0x7fe7d1e05b60] Pure channel mapping detected: 6
[Parsed_pan_5 @ 0x7fe7d1e05860] Pure channel mapping detected: 5
[Parsed_pan_4 @ 0x7fe7d1e05580] Pure channel mapping detected: 4
[Parsed_pan_3 @ 0x7fe7d1e05280] Pure channel mapping detected: 3
[Parsed_pan_2 @ 0x7fe7d1e04f80] Pure channel mapping detected: 2
[Parsed_pan_1 @ 0x7fe7d1e04ba0] Pure channel mapping detected: 1
[Parsed_pan_0 @ 0x7fe7d1e048c0] Pure channel mapping detected: 0
Output #0, mov, to '/Volumes/GRAID/EXPORTS/DONE_TEST.mov':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
encoder : Lavf56.40.101
Stream #0:0(eng): Video: prores (apch) (apch / 0x68637061), yuv422p10le, 
1920x1080, q=2-31, 200 kb/s, 24 fps, 12288 tbn, 24 tbc (default)
Metadata:
  creation_time   : 2015-10-20 14:25:55
  handler_name: Apple Alias Data Handler
  encoder : Lavc56.60.100 prores
Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels 
(FL), s32, 1152 kb/s (default)
Metadata:
  encoder : Lavc56.60.100 pcm_s24le
Stream #0:2: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels 
(FR), s32, 1152 kb/s
Metadata:
  encoder : Lavc56.60.100 pcm_s24le
Stream #0:3: Audio: 

Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-12 Thread Kevin Wells

 Date: Fri, 5 Jun 2015 13:56:08 -0400
 From: c319ch...@aol.com
 To: ffmpeg-devel@ffmpeg.org
 Subject: Re: [FFmpeg-devel] colormatrix high-bit-depth input support

 Here is some interesting reading on the subject:

 http://en.wikipedia.org/wiki/Rec._2020

 https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-1-201406-I!!PDF-E.pdf

 There are two bit depths in BT.2020: 10 bits and 12 bits. There are also two 
 screen resolutions, known informally as 4k and 8k.

 -Original Message-
 From: Kevin Wells kevwe...@hotmail.co.uk
 To: FFmpeg development discussions and patches ffmpeg-devel@ffmpeg.org
 Sent: Fri, Jun 5, 2015 8:34 am
 Subject: Re: [FFmpeg-devel] colormatrix high-bit-depth input support


 
 To: ffmpeg-devel@ffmpeg.org
 From:
 ceho...@ag.or.at
 Date: Wed, 3 Jun 2015 22:53:09 +
 Subject: Re:
 [FFmpeg-devel] colormatrix high-bit-depth input support

 Kevin Wells
 kevwells at hotmail.co.uk writes:

 Hi, I believe that currently the
 colormatrix filter
 only supports up to 8-bit input files. Is there any

 chance it will, in the future, support
 high-bit-depth input files
 (10-bit)?

 Patch certainly welcome.

 Carl Eugen


 ___
 ffmpeg-devel mailing list

 ffmpeg-devel@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

 As
 I have no experience in this area, any chance someone would look into
 this?

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

Anyone up for writing this patch, would be extremely useful.

Kind regards.

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


Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-05 Thread Kevin Wells

 To: ffmpeg-devel@ffmpeg.org
 From: ceho...@ag.or.at
 Date: Wed, 3 Jun 2015 22:53:09 +
 Subject: Re: [FFmpeg-devel] colormatrix high-bit-depth input support

 Kevin Wells kevwells at hotmail.co.uk writes:

 Hi, I believe that currently the colormatrix filter
 only supports up to 8-bit input files. Is there any
 chance it will, in the future, support
 high-bit-depth input files (10-bit)?

 Patch certainly welcome.

 Carl Eugen

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

As I have no experience in this area, any chance someone would look into this?

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


[FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-03 Thread Kevin Wells
Hi, I believe that currently the colormatrix filter only supports up to 8-bit 
input files. Is there any chance it will, in the future, support high-bit-depth 
input files (10-bit)?
Kind regards.   
  
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] Enable all tracks in Mov file

2015-05-10 Thread Kevin Wells
What lines of code do I need to change in libavformat/movenc.c file to
enable all audio tracks, and timecode track (basically all tracks) in a
quicktime mov file please? I searched through the list and found the
answer, but it related to a much older version of ffmpeg, so didn't relate.

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