[FFmpeg-trac] #6271(ffprobe:new): Treat HDV private streams as subtitles and convert to .srt

FFmpeg trac at avcodec.org
Tue Mar 28 00:43:03 EEST 2017


#6271: Treat HDV private streams as subtitles and convert to .srt
-------------------------------------+-------------------------------------
             Reporter:  dfgd         |                     Type:
               Status:  new          |  enhancement
            Component:  ffprobe      |                 Priority:  wish
             Keywords:  parse hdv    |                  Version:  git-
  subtitle streams                   |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Hello.

 Current version doesn't recognize HDV private streams. They contain
 aperture, shutter speed, gain and original timestamps. I need to convert a
 lot of tapes to Matroska (H.264 + MP2 passthrough) and keep such
 informations as subtitles.

 I found out GStreamer had a plugin called 'hdvparse' in gst-plugins-bad:

 https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/log/gst/hdvparse

 Any chance to see this functionality ported to FFmpeg? Thank you.

 Here's the log from ffprobe.


 {{{
 ffprobe version N-84679-gd65b595 Copyright (c) 2007-2017 the FFmpeg
 developers
   built with gcc 6.3.0 (GCC)
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3
  --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-
 libmfx --
 enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig
 --enable-frei0
 r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-lib
 bs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
 --ena
 ble-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-
 amrnb -
 -enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
 --enable-lib
 opus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-
 libspeex --en
 able-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 amrwbenc -
 -enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
 --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
 libzimg --en
 able-lzma --enable-zlib
   libavutil      55. 51.100 / 55. 51.100
   libavcodec     57. 86.103 / 57. 86.103
   libavformat    57. 67.100 / 57. 67.100
   libavdevice    57.  3.101 / 57.  3.101
   libavfilter     6. 78.100 /  6. 78.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 [mpegts @ 00642720] Could not find codec parameters for stream 2 (Unknown:
 none
 ([160][0][0][0] / 0x00A0)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [mpegts @ 00642720] Could not find codec parameters for stream 3 (Unknown:
 none
 ([161][0][0][0] / 0x00A1)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from 'C:\clips\HDV_clip.mpeg':
   Duration: 00:00:43.88, start: 77.000000, bitrate: 26873 kb/s
   Program 100
     Stream #0:0[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420
 p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25 fps,
 25 tb
 r, 90k tbn, 50 tbc
     Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s1
 6p, 384 kb/s
     Stream #0:2[0x815]: Unknown: none ([160][0][0][0] / 0x00A0)
     Stream #0:3[0x811]: Unknown: none ([161][0][0][0] / 0x00A1)
 Unsupported codec with id 0 for input stream 2
 Unsupported codec with id 0 for input stream 3
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6271>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list