Re: [FFmpeg-trac] #5411(avfilter:new): Trim filter doesn't work with time specified as HH:MM:SS

2016-04-08 Thread FFmpeg
#5411: Trim filter doesn't work with time specified as HH:MM:SS
+
 Reporter:  mulvya  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avfilter
  Version:  git-master  |   Resolution:
 Keywords:  trim|   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+

Comment (by llogan):

 Example input:
 {{{
 $ ./ffmpeg -f lavfi -i testsrc=d=30 trim.mp4
 }}}

 9219ec93b145725ac74fbfbde7f67ac5135b85cf creates an invalid output.
 Behavior with current git master is the same. Using `starti` and `endi`
 instead will produce correct output, but the *i options are not documented
 in `doc/filters.texi`.
 {{{
 $ ./ffmpeg -i trim.mp4 -vf "trim=start=00:00:00:end=00:00:05" output.mp4
 ffmpeg version N-54688-g9219ec9 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Apr  7 2016 17:39:09 with gcc 5.3.0 (GCC)
   configuration:
   libavutil  52. 39.100 / 52. 39.100
   libavcodec 55. 18.102 / 55. 18.102
   libavformat55. 12.102 / 55. 12.102
   libavdevice55.  3.100 / 55.  3.100
   libavfilter 3. 80.101 /  3. 80.101
   libswscale  2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trim.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf55.12.102
   Duration: 00:00:30.00, start: 0.00, bitrate: 282 kb/s
 Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 281 kb/s, 25 fps, 25 tbr, 12800 tbn,
 25 tbc
 Metadata:
   handler_name: VideoHandler
 Output #0, mp4, to 'output.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf55.12.102
 Stream #0:0(und): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 12800 tbn, 25 tbc
 Metadata:
   handler_name: VideoHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
 Press [q] to stop, [?] for help
 frame=0 fps=0.0 q=0.0 Lsize=   0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 448.936170%
 }}}

 b3405b1bdacf83f1b9116e70b8cbd3542916b628 creates the trimmed output as
 expected.

 {{{
 $ ./ffmpeg -i trim.mp4 -vf "trim=start=00:00:00:end=00:00:05" output.mp4
 ffmpeg version N-54686-gb3405b1 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Apr  7 2016 17:33:25 with gcc 5.3.0 (GCC)
   configuration:
   libavutil  52. 39.100 / 52. 39.100
   libavcodec 55. 18.102 / 55. 18.102
   libavformat55. 12.102 / 55. 12.102
   libavdevice55.  3.100 / 55.  3.100
   libavfilter 3. 80.101 /  3. 80.101
   libswscale  2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trim.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf55.12.102
   Duration: 00:00:30.00, start: 0.00, bitrate: 282 kb/s
 Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 281 kb/s, 25 fps, 25 tbr, 12800 tbn,
 25 tbc
 Metadata:
   handler_name: VideoHandler
 Output #0, mp4, to 'output.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf55.12.102
 Stream #0:0(und): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 12800 tbn, 25 tbc
 Metadata:
   handler_name: VideoHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
 Press [q] to stop, [?] for help
 frame=  125 fps=0.0 q=2.0 Lsize= 195kB time=00:00:05.00 bitrate=
 319.4kbits/s
 video:194kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.682931%
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by giuliopaci):

 I uploaded a few more files that have some issues with ffmpeg
 (dee138624fdf0997a46f04672f0ec50782403e45):

 shorten_in_nistsphere_does_not_work_missing_last_null_sample.sph:
 sph2pipe produces one more null sample at the end with respect to ffmpeg

 shortpack_in_nistsphere_does_not_work.sph:
 I guess this is shortpack in NIST SPHERE file, but I am not completely
 sure

 wavpack_in_nistsphere_does_not_work_1.sph
 wavpack_in_nistsphere_does_not_work_2.sph
 wavpack_in_nistsphere_does_not_work_3.sph:
 I am almost sure that these are wavpack in NIST SPHERE file.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #4816(avcodec:closed): png: wrong alpha detection

2016-04-08 Thread FFmpeg
#4816: png: wrong alpha detection
-+-
 Reporter:  pszemus  |Owner:
 Type:  defect   |   Status:  closed
 Priority:  important|Component:  avcodec
  Version:  git-master   |   Resolution:  fixed
 Keywords:  png alpha|   Blocked By:
  regression |  Reproduced by developer:  1
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by michael):

 * status:  reopened => closed
 * resolution:   => fixed
 * reproduced:  0 => 1


Comment:

 Fixed in d433623fba2b273491ff7dda401648e7d07e19fe

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by giuliopaci):

 Replying to [comment:10 cehoyos]:
 > Replying to [comment:9 giuliopaci]:
 > > mulaw_in_nistsphere_does_not_work.sph
 > What has created this sample?

 I really do not know. This is a sample from an old speech corpus.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by richardpl):

 Support for both samples is now added.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #4712(avcodec:closed): shorten decoder is not lossless

2016-04-08 Thread FFmpeg
#4712: shorten decoder is not lossless
-+-
 Reporter:  ami_stuff|Owner:
 Type:  defect   |   Status:  closed
 Priority:  important|Component:  avcodec
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  regression |  Reproduced by developer:  1
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by richardpl):

 * status:  open => closed
 * resolution:   => fixed


Comment:

 Fixed in 966d43d7786d1a95162e3feff1d5bfbcb58e571f.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #3664(undetermined:open): ffprobe can't read packet DTS/PTS (regression since removal of dts_sync_point code) (was: ffprobe can't read packet DTS/PTS)

2016-04-08 Thread FFmpeg
#3664: ffprobe can't read packet DTS/PTS (regression since removal of
dts_sync_point code)
-+-
 Reporter:  hxuanyu  |Owner:
 Type:  defect   |   Status:  open
 Priority:  important|Component:
  Version:  git-master   |  undetermined
 Keywords:  h264 |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Replying to [comment:9 giuliopaci]:
 > This file is not supported by both programs, but the contained stream is
 valid mu-law data:
 >
 > mulaw_in_nistsphere_does_not_work.sph
 What has created this sample?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5397(avfilter:new): Incorrect curves filter work

2016-04-08 Thread FFmpeg
#5397: Incorrect curves filter work
+
 Reporter:  Ilya87  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avfilter
  Version:  git-master  |   Resolution:
 Keywords:  curves  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+

Comment (by cehoyos):

 At least a command line together with complete, uncut console output is
 missing. Please only use FFplay to report issues if the issue is not
 reproducible with FFmpeg (the application).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5397(avfilter:new): Incorrect curves filter work

2016-04-08 Thread FFmpeg
#5397: Incorrect curves filter work
+
 Reporter:  Ilya87  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avfilter
  Version:  git-master  |   Resolution:
 Keywords:  curves  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+

Comment (by Ilya87):

 Hello, does anyone read this bug report?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #3841(avcodec:open): support MYUV 10-bit & 8-bit 4:2:2 YUV

2016-04-08 Thread FFmpeg
#3841: support MYUV 10-bit & 8-bit 4:2:2 YUV
-+---
 Reporter:  ami_stuff|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avcodec
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+---

Comment (by ami_stuff):

 something can be seen with this:

 {{{
 C:\>ffmpeg -vcodec y41p -i media-100_8bit.mov out.avi
 ffmpeg version N-78758-g5156578 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-l
 ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enab
 le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --en
 able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --ena
 ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-
 libvorbis --
 enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-lib
 x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma
 --enable-d
 ecklink --enable-zlib
   libavutil  55. 19.100 / 55. 19.100
   libavcodec 57. 27.100 / 57. 27.100
   libavformat57. 26.100 / 57. 26.100
   libavdevice57.  0.101 / 57.  0.101
   libavfilter 6. 37.100 /  6. 37.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type clcn
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] sample aspect ratio already set to
 59:54, i
 gnoring 'pasp' atom (989855744:905969664)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 038de860] unsupported color_parameter_type 

Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by giuliopaci):

 I have uploaded this file that is supported by sph2pipe, but not by
 ffmpeg:

 shorten_in_nistsphere_does_not_work_with_empty_output.sph


 This file is not supported by both programs, but the contained stream is
 valid mu-law data:

 mulaw_in_nistsphere_does_not_work.sph

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by richardpl):

 Mu-law should be supported, no?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by giuliopaci):

 I confirm the patch is working for me as well.

 I am doing an extensive search over my database for unsupported NIST
 SPHERE files, but I have not yet found any wavpack or shortpack stream in
 NIST SPHERE file.

 On the other end I have found some mu-law NIST SPHERE files. If it is
 useful, I can upload a sample.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #5415(undetermined:new): Incorrect timestamps when using seek OR segment muxer for mp4

2016-04-08 Thread FFmpeg
#5415: Incorrect timestamps when using seek OR segment muxer for mp4
-+-
 Reporter:  stefan.moro  | Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:  git-
  undetermined   |  master
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Hi,

 According to https://trac.ffmpeg.org/wiki/Seeking#Cuttingsmallsections it
 should be possible to cut a part of an e.g. mp4 file and keep the original
 timestamps (using copyts).
 Also, it should be possible to segment an e.g. mp4 and keep original
 timestamps using the segment muxer.

 Both of these fail to keep original timestamp for me for the attached
 sample file.

 The reason I created one ticket for both issues is that I get the exact
 same mismatch in the timestamps so it seems it the same issue causing
 both.

 What I want to do is to cut from 9 seconds to ~18 seconds in the sample
 file, creating a new file and keeping the original timestamps.

 Given the timestamps in the original file, that would mean keeping packets
 with PTS '''432128''' (9.00267 s) to PTS '''863232''' (17.984000 s)
 (Inspected using ffprobe -show_packets).

 Both commands below achieves almost that, except that PTS is shifted by
 -32 in the given timescale. I get first PTS '''432096''' (9.002000 s) and
 last PTS '''863200''' (17.98 s). Also I get a negative duration on the
 last packet '''-431072''' (-8.980667 s) whereas all other packets seem to
 have correct duration.

 Output with the seek approach:
 {{{
 root@bf6643488050:# ffmpeg -v debug -y -ss 9.002667 -i aac_lc.mp4 -to 18
 -flags +global_header -codec copy -copyts seek.mp4
 ffmpeg version N-79258-g3a9611d Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
   configuration: --prefix=/tmp/tmp_build_dir --pkg-config-flags=--static
 --extra-cflags=-I/tmp/tmp_build_dir/include --extra-
 ldflags=-L/tmp/tmp_build_dir/lib --bindir=/root/bin --enable-gpl --enable-
 nonfree --enable-libx264 --enable-libsoxr --enable-libfdk-aac
   libavutil  55. 20.100 / 55. 20.100
   libavcodec 57. 34.100 / 57. 34.100
   libavformat57. 31.100 / 57. 31.100
   libavdevice57.  0.101 / 57.  0.101
   libavfilter 6. 41.100 /  6. 41.100
   libswscale  4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument 'debug'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '9.002667'.
 Reading option '-i' ... matched as input file with argument 'aac_lc.mp4'.
 Reading option '-to' ... matched as option 'to' (record or transcode stop
 time) with argument '18'.
 Reading option '-flags' ... matched as AVOption 'flags' with argument
 '+global_header'.
 Reading option '-codec' ... matched as option 'codec' (codec name) with
 argument 'copy'.
 Reading option '-copyts' ... matched as option 'copyts' (copy timestamps)
 with argument '1'.
 Reading option 'seek.mp4' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument debug.
 Applying option y (overwrite output files) with argument 1.
 Applying option copyts (copy timestamps) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file aac_lc.mp4.
 Applying option ss (set the start time offset) with argument 9.002667.
 Successfully parsed a group of options.
 Opening an input file: aac_lc.mp4.
 [file @ 0x273ada0] Setting default whitelist 'file,crypto'
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] ISO: File Type Major Brand: isom
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] Unknown dref type 0x08206c7275 size
 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] Before avformat_find_stream_info()
 pos: 165951 bytes read:37234 seeks:1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x273a520] After avformat_find_stream_info()
 pos: 214 bytes read:70002 seeks:2 frames:1
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aac_lc.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf56.36.100
   Duration: 00:00:20.10, start: 0.00, bitrate: 66 kb/s
 Stream #0:0(eng), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
 48000 

[FFmpeg-trac] #5414(undetermined:new): Frame rate reduction using framestep filter fails

2016-04-08 Thread FFmpeg
#5414: Frame rate reduction using framestep filter fails
-+-
 Reporter:  stefan.moro  | Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:  git-
  undetermined   |  master
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Hi,

 This seems to be a regression issue since it works perfectly fine in
 3.0.1. In ffmpeg 3.0.1 a version with half the frame rate is created and
 it plays well in ffplay.

 With the latest nightly build of ffmpeg I get teh following error(s):
 {{{
 root@53c91a82c168:# ffmpeg -v debug -y -i file.mov -map 0:v:0 -filter:v
 "framestep=step=2" -codec:v libx264 -f mp4 -movflags +faststart
 /tmp/ncdsncj
 ffmpeg version N-79258-g3a9611d Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
   configuration: --prefix=/tmp/tmp_build_dir --pkg-config-flags=--static
 --extra-cflags=-I/tmp/tmp_build_dir/include --extra-
 ldflags=-L/tmp/tmp_build_dir/lib --bindir=/root/bin --enable-gpl --enable-
 nonfree --enable-libx264 --enable-libsoxr --enable-libfdk-aac
   libavutil  55. 20.100 / 55. 20.100
   libavcodec 57. 34.100 / 57. 34.100
   libavformat57. 31.100 / 57. 31.100
   libavdevice57.  0.101 / 57.  0.101
   libavfilter 6. 41.100 /  6. 41.100
   libswscale  4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument 'debug'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-i' ... matched as input file with argument 'file.mov'.
 Reading option '-map' ... matched as option 'map' (set input stream
 mapping) with argument '0:v:0'.
 Reading option '-filter:v' ... matched as option 'filter' (set stream
 filtergraph) with argument 'framestep=step=2'.
 Reading option '-codec:v' ... matched as option 'codec' (codec name) with
 argument 'libx264'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'mp4'.
 Reading option '-movflags' ... matched as AVOption 'movflags' with
 argument '+faststart'.
 Reading option '/tmp/ncdsncj' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument debug.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file file.mov.
 Successfully parsed a group of options.
 Opening an input file: file.mov.
 [file @ 0x2310c00] Setting default whitelist 'file,crypto'
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] Unknown dref type 0x08206c7275 size
 12
 Last message repeated 2 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] Before avformat_find_stream_info()
 pos: 9108458 bytes read:74370 seeks:3
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2310500] After avformat_find_stream_info()
 pos: 6401 bytes read:107138 seeks:4 frames:3
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mov':
   Metadata:
 major_brand : qt
 minor_version   : 512
 compatible_brands: qt
 encoder : Lavf56.36.100
   Duration: 00:00:08.01, start: 0.00, bitrate: 9099 kb/s
 Stream #0:0(eng), 1, 1/3: Video: h264 (Main), 2 reference frames
 (avc1 / 0x31637661), yuv420p(tv, bt709, left), 1920x1080 (1920x1088),
 1/6, 8966 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
 Metadata:
   handler_name: DataHandler
   encoder : H.264
   timecode: 00:21:42;27
 Stream #0:1(eng), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
 48000 Hz, stereo, fltp, 123 kb/s (default)
 Metadata:
   handler_name: DataHandler
 Stream #0:2(eng), 1, 1/3: Data: none (tmcd / 0x64636D74), 1/30, 0
 kb/s
 Metadata:
   handler_name: DataHandler
   timecode: 00:21:42;27
 Successfully opened the file.
 Parsing a group of options: output file /tmp/ncdsncj.
 Applying option map (set input stream mapping) with argument 0:v:0.
 Applying option filter:v (set stream filtergraph) with argument
 framestep=step=2.
 Applying option codec:v (codec name) with argument libx264.
 Applying option f (force format) with argument mp4.
 Successfully parsed a group of options.
 Opening an output file: /tmp/ncdsncj.
 [file @ 0x2340780] 

Re: [FFmpeg-trac] #5409(avformat:closed): shorten in nistsphere container does not seem to work

2016-04-08 Thread FFmpeg
#5409: shorten in nistsphere container does not seem to work
-+-
 Reporter:  giuliopaci   |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:  fixed
 Keywords:  shorten  |   Blocked By:
  nistsphere |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by richardpl):

 I sent patch for that to mailing list too.
 Googling of NIST SPHERE I found that also wavpack and shortpack coding is
 available.
 Do you have such files?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac