[FFmpeg-user] Trouble using -ss -t with dvcpro50 files

Shlomo Morosow shlomorosow at gmail.com
Wed Mar 19 16:19:23 CET 2014


Thanks Jacky for your response. Sorry for the confusion. Attached is the
one that I intended to send initially. It appears that the odml index is
broken and that's why I'm getting these errors. I guess I can use Mencoder
to rebuild the index unless someone has some other solution using ffmpeg.


On Tue, Mar 18, 2014 at 8:24 PM, Jacky <690271929 at qq.com> wrote:

> the source file duration is 00:06:43.200,but you want seek to 0:10:35.700
>
>
>
>
> ------------------ Original ------------------
> From:  "Shlomo Morosow";<shlomorosow at gmail.com>;
> Date:  Wed, Mar 19, 2014 04:45 AM
> To:  "ffmpeg-user"<ffmpeg-user at ffmpeg.org>;
>
> Subject:  [FFmpeg-user] Trouble using -ss -t with dvcpro50 files
>
>
>
> Recently I've been encountering a strange problem which I don't seem to
> find any info online regarding anything similar, unless of course I'm using
> the wrong keywords while googling it (probably the case). I hope that
> perhaps someone here can shed some light on the matter:
>
> With a particular file(type) which is dvcpro50 contained within an avi,
> when I use any syntax (that otherwise works flawlessly on the given file)
> with the added parameters of -ss and -t it won't export anything but the
> audio unless I've set the -ss to anywhere in the first few minutes of the
> video which then it works fine.
>
> Further, I've set ffplay to play using the same parameters as for
> converting video and it has identical results: it won't seek to the
> referenced frame yet it can play the same file from the beginning or with
> an -ss set to somewhere in the first few minutes.
>
> Here's an example, but keep in mind I've tried this with many output
> formats and they all work fine until the time is entered (anywhere past the
> first few minutes)
> ffmpeg.exe -y  -ss 0:10:35.700 -i input.AVI -t 0:02:35.600 -map 0 -c copy
> "export.mov"
>
> I've attached a .txt file with what I get from ffmpeg when trying the above
> syntax.
>
> I've been having this issue with multiple files and they're all of the same
> codec (dvcpro50) and I don't seem to have it on any other file types.
> Perhaps be something unique to this codec.
>
> I hope someone can help me with this, Thanks
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
-------------- next part --------------

C:\FFMPEG\bin>ffmpeg.exe -y  -ss 0:10:35.700 -i input.AVI -t 0:02:35.600 -map 0
-c copy "export.mov"
ffmpeg version N-52045-g694fa00 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 12 2013 16:54:51 with gcc 4.8.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-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 53.101 /  3. 53.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 02277aa0] ODML index invalid
    Last message repeated 31 times
[avi @ 02277aa0] non-interleaved AVI
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'input.AVI':
  Duration: 01:02:56.87, start: 0.000000, bitrate: 4531 kb/s
    Stream #0:0: Video: dvvideo (dv50 / 0x30357664), yuv422p, 720x480 [SAR 8:9 D
AR 4:3], 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
, 1536 kb/s
Output #0, mov, to 'export.mov':
  Metadata:
    encoder         : Lavf55.2.100
    Stream #0:0: Video: dvvideo (dvcp / 0x70637664), yuv422p, 720x480 [SAR 8:9 D
AR 4:3], q=2-31, 30k tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, 1536 kb
/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 Lsize=   33705kB time=00:00:-54.-20 bitrate=N/A
video:234kB audio:33469kB subtitle:0 global headers:0kB muxing overhead 0.004601
%


More information about the ffmpeg-user mailing list