Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-04 Thread Jeremy
That's great news Carl. Thank you for the fantastic support.

-j

On Mon, May 4, 2015 at 2:00 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:

 Jeremy genericinbox at gmail.com writes:

  Cropdetect seems to be broken since 2.6.

 The issue (cropdetect did not work correctly
 for 8 bit) should be fixed, thank you for
 the report!

 Carl Eugen

 ___
 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


Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-04 Thread Carl Eugen Hoyos
Jeremy genericinbox at gmail.com writes:

 Cropdetect seems to be broken since 2.6.

The issue (cropdetect did not work correctly 
for 8 bit) should be fixed, thank you for 
the report!

Carl Eugen

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


Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-03 Thread Carl Eugen Hoyos
Jeremy genericinbox at gmail.com writes:

 ./ffmpeg -i
 /Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov 
 -vf cropdetect=24:16:0 dummy.mov

Workaround for the time being is to use:
-vf format=yuv422p,cropdetect=24:16:0
(or format=yuv420p)

Note that if I understand your usecase correctly, 
the following should be significantly faster:
$ ffmpeg -i input -vf cropdetect -f null -

 I've tested with 2.5.4, 2.5.5, 2.5.6, 2.6, and 2.6.2.

For future questions: Please understand that you 
should (and must) only test current FFmpeg git 
head, nothing else is relevant here.

Carl Eugen

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


Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-03 Thread Jeremy
Your workaround works, thank you. I'll keep that in mind.

For future questions: Please understand that you
should (and must) only test current FFmpeg git
head, nothing else is relevant here.

Understood, will do.

On Sun, May 3, 2015 at 4:30 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:

 Jeremy genericinbox at gmail.com writes:

  ./ffmpeg -i
  /Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov
  -vf cropdetect=24:16:0 dummy.mov

 Workaround for the time being is to use:
 -vf format=yuv422p,cropdetect=24:16:0
 (or format=yuv420p)

 Note that if I understand your usecase correctly,
 the following should be significantly faster:
 $ ffmpeg -i input -vf cropdetect -f null -

  I've tested with 2.5.4, 2.5.5, 2.5.6, 2.6, and 2.6.2.

 For future questions: Please understand that you
 should (and must) only test current FFmpeg git
 head, nothing else is relevant here.

 Carl Eugen

 ___
 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


Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Jeremy
Sorry, I misread the original request. The command being used is :

./ffmpeg -i
/Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov -vf
cropdetect=24:16:0 dummy.mov

On Sat, May 2, 2015 at 3:29 PM, Jeremy genericin...@gmail.com wrote:

 Sure thing. Below is the output from 2.5.6 (the last working version)
 followed by the output for the same command / same file using 2.6, when the
 behavior for cropdetect changed. Notice how the values for the 2.6 output
 show no crop detected. This is consistent in everything post-2.6.
 Everything pre-2.6 performs as intended.

 I've tested with 2.5.4, 2.5.5, 2.5.6, 2.6, and 2.6.2. Multiple files with
 different crop factors. Results are the same.

 *BEGIN 2.5.6 : *

 ffmpeg version 2.5.6 Copyright (c) 2000-2015 the FFmpeg developers
   built on May  2 2015 13:10:59 with Apple LLVM version 6.1.0
 (clang-602.0.49) (based on LLVM 3.6.0svn)
   configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
 --enable-libass --enable-libfdk-aac --enable-libfreetype
 --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libxvid
   libavutil  54. 15.100 / 54. 15.100
   libavcodec 56. 13.100 / 56. 13.100
   libavformat56. 15.102 / 56. 15.102
   libavdevice56.  3.100 / 56.  3.100
   libavfilter 5.  2.103 /  5.  2.103
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc53.  3.100 / 53.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov':
   Metadata:
 major_brand : qt
 minor_version   : 537199360
 compatible_brands: qt
 creation_time   : 2015-05-02 22:19:01
 xmp : ?xpacket begin= id=W5M0MpCehiHzreSzNTczkc9d?
 : x:xmpmeta xmlns:x=adobe:ns:meta/ x:xmptk=Adobe
 XMP Core 5.6-c011 79.156380, 2014/05/06-23:40:11
 :  rdf:RDF xmlns:rdf=
 http://www.w3.org/1999/02/22-rdf-syntax-ns#;
 :   rdf:Description rdf:about=
 : xmlns:xmp=http://ns.adobe.com/xap/1.0/;
 : xmlns:xmpDM=
 http://ns.adobe.com/xmp/1.0/DynamicMedia/;
 : xmlns:stDim=
 http://ns.adobe.com/xap/1.0/sType/Dimensions#;
 : xmlns:xmpMM=http://ns.adobe.com/xap/1.0/mm/;
 : xmlns:stEvt=
 http://ns.adobe.com/xap/1.0/sType/ResourceEvent#;
 : xmlns:stRef=
 http://ns.adobe.com/xap/1.0/sType/ResourceRef#;
 : xmlns:creatorAtom=
 http://ns.adobe.com/creatorAtom/1.0/;
 : xmlns:dc=http://purl.org/dc/elements/1.1/;
 :xmp:CreateDate=2015-05-02T15:19:01-07:00
 :xmp:ModifyDate=2015-05-02T15:19:04-07:00
 :xmp:MetadataDate=2015-05-02T15:19:04-07:00
 :xmp:CreatorTool=Adobe Premiere Pro CC 2014
 (Macintosh)
 :xmpDM:startTimeScale=24000
 :xmpDM:startTimeSampleSize=1001
 :xmpDM:videoFrameRate=23.976024
 :xmpDM:videoFieldOrder=Progressive
 :xmpDM:videoPixelAspectRatio=1/1
 :xmpDM:audioSampleRate=48000
 :xmpDM:audioSampleType=16Int
 :xmpDM:audioChannelType=Stereo
 :
  xmpMM:InstanceID=xmp.iid:c306f9f8-3a2a-44aa-b6fd-ce97cd454332
 :
  xmpMM:DocumentID=c9ddc4e3-4fd0-0aba-ce95-9a6b004b
 :
  xmpMM:OriginalDocumentID=xmp.did:eea8539b-4d73-44d1-86f0-a05a53d032b2
 :dc:format=QuickTime
 :xmpDM:duration
 : xmpDM:value=241241
 : xmpDM:scale=1/24000/
 :xmpDM:altTimecode
 : xmpDM:timeValue=00:00:00:00
 : xmpDM:timeFormat=23976Timecode/
 :xmpDM:projectRef
 : xmpDM:type=movie/
 :xmpDM:videoFrameSize
 : stDim:w=1920
 : stDim:h=1080
 : stDim:unit=pixel/
 :xmpDM:startTimecode
 : xmpDM:timeFormat=23976Timecode
 : xmpDM:timeValue=00:00:00:00/
 :xmpMM:History
 : rdf:Seq
 :  rdf:li
 :   stEvt:action=saved
 :
 stEvt:instanceID=48139c48-3d3a-57f3-4788-ee180078
 :   stEvt:when=2015-05-02T15:19:04-07:00
 :   stEvt:softwareAgent=Adobe Premiere Pro CC
 2014 (Macintosh)
 :   stEvt:changed=//
 :  rdf:li
 :   

Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Jeremy
Sure thing. Below is the output from 2.5.6 (the last working version)
followed by the output for the same command / same file using 2.6, when the
behavior for cropdetect changed. Notice how the values for the 2.6 output
show no crop detected. This is consistent in everything post-2.6.
Everything pre-2.6 performs as intended.

I've tested with 2.5.4, 2.5.5, 2.5.6, 2.6, and 2.6.2. Multiple files with
different crop factors. Results are the same.

*BEGIN 2.5.6 : *

ffmpeg version 2.5.6 Copyright (c) 2000-2015 the FFmpeg developers
  built on May  2 2015 13:10:59 with Apple LLVM version 6.1.0
(clang-602.0.49) (based on LLVM 3.6.0svn)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-libass --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxvid
  libavutil  54. 15.100 / 54. 15.100
  libavcodec 56. 13.100 / 56. 13.100
  libavformat56. 15.102 / 56. 15.102
  libavdevice56.  3.100 / 56.  3.100
  libavfilter 5.  2.103 /  5.  2.103
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov':
  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2015-05-02 22:19:01
xmp : ?xpacket begin= id=W5M0MpCehiHzreSzNTczkc9d?
: x:xmpmeta xmlns:x=adobe:ns:meta/ x:xmptk=Adobe
XMP Core 5.6-c011 79.156380, 2014/05/06-23:40:11
:  rdf:RDF xmlns:rdf=
http://www.w3.org/1999/02/22-rdf-syntax-ns#;
:   rdf:Description rdf:about=
: xmlns:xmp=http://ns.adobe.com/xap/1.0/;
: xmlns:xmpDM=
http://ns.adobe.com/xmp/1.0/DynamicMedia/;
: xmlns:stDim=
http://ns.adobe.com/xap/1.0/sType/Dimensions#;
: xmlns:xmpMM=http://ns.adobe.com/xap/1.0/mm/;
: xmlns:stEvt=
http://ns.adobe.com/xap/1.0/sType/ResourceEvent#;
: xmlns:stRef=
http://ns.adobe.com/xap/1.0/sType/ResourceRef#;
: xmlns:creatorAtom=
http://ns.adobe.com/creatorAtom/1.0/;
: xmlns:dc=http://purl.org/dc/elements/1.1/;
:xmp:CreateDate=2015-05-02T15:19:01-07:00
:xmp:ModifyDate=2015-05-02T15:19:04-07:00
:xmp:MetadataDate=2015-05-02T15:19:04-07:00
:xmp:CreatorTool=Adobe Premiere Pro CC 2014
(Macintosh)
:xmpDM:startTimeScale=24000
:xmpDM:startTimeSampleSize=1001
:xmpDM:videoFrameRate=23.976024
:xmpDM:videoFieldOrder=Progressive
:xmpDM:videoPixelAspectRatio=1/1
:xmpDM:audioSampleRate=48000
:xmpDM:audioSampleType=16Int
:xmpDM:audioChannelType=Stereo
:
 xmpMM:InstanceID=xmp.iid:c306f9f8-3a2a-44aa-b6fd-ce97cd454332
:
 xmpMM:DocumentID=c9ddc4e3-4fd0-0aba-ce95-9a6b004b
:
 xmpMM:OriginalDocumentID=xmp.did:eea8539b-4d73-44d1-86f0-a05a53d032b2
:dc:format=QuickTime
:xmpDM:duration
: xmpDM:value=241241
: xmpDM:scale=1/24000/
:xmpDM:altTimecode
: xmpDM:timeValue=00:00:00:00
: xmpDM:timeFormat=23976Timecode/
:xmpDM:projectRef
: xmpDM:type=movie/
:xmpDM:videoFrameSize
: stDim:w=1920
: stDim:h=1080
: stDim:unit=pixel/
:xmpDM:startTimecode
: xmpDM:timeFormat=23976Timecode
: xmpDM:timeValue=00:00:00:00/
:xmpMM:History
: rdf:Seq
:  rdf:li
:   stEvt:action=saved
:
stEvt:instanceID=48139c48-3d3a-57f3-4788-ee180078
:   stEvt:when=2015-05-02T15:19:04-07:00
:   stEvt:softwareAgent=Adobe Premiere Pro CC 2014
(Macintosh)
:   stEvt:changed=//
:  rdf:li
:   stEvt:action=created
:
stEvt:instanceID=xmp.iid:ba7ed7a1-efa4-4868-85db-f3ae28fe1fa2
:   stEvt:when=2015-05-02T15:19:01-07:00
:   stEvt:softwareAgent=Adobe Premiere Pro CC 2014
(Macintosh)/
:  rdf:li
:   stEvt:action=saved
:

Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Carl Eugen Hoyos
Jeremy genericinbox at gmail.com writes:

 I can provide output data to support this

Please only provide your failing command line 
including complete, uncut console output if 
you want the issue fixed.

Carl Eugen

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