[FFmpeg-user] capturing .dnx together with -segment

Bouke (VideoToolShed) bouke at videotoolshed.com
Fri Jul 25 14:03:09 CEST 2014


Trying to capture to raw  DNxHD (*.dnx) while using the -segment option.
That fails.
Close to the same line (capturing to a QuickTime container) does work.

Am i missing something?
Lines (simplified, but enough to reproduce) below, first one is the failing 
one.

Second is the working one (although that 'should' not need the -rawvideo 
option)
But this gives me errors (that don't seem to matter though)
---
[mov @ 000000000039bfa0] Using AVStream.codec.time_base as a timebase hint 
to
the muxer is deprecated. Set AVStream.time_base instead.
---
I would like to, if i knew what to do...

---
[mov @ 000000000039bfa0] WARNING codec timebase is very high. If duration is 
too
 long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
---
BM card needs -r 23.976, and I don't think that is a high timebase...

TIA!

Bouke

C:\Users\Bouke>C:\Users\Bouke\Desktop\BMtest\Xtras\ffmpeg.exe  -f 
dshow -rtbufsi
ze 1024000k -pixel_format uyvy422 -framerate 23.976 -s 1920:1080 -i 
video="Deckl
ink Video Capture":audio="Decklink Audio Capture" -b:v 36M -pix_fmt 
yuv422p -vco
dec dnxhd  -f rawvideo -an -map 0 -f segment -reset_timestamps 
1 -segment_time 5
 -segment_atclocktime 1 J:\12_19_34_%03d.dnx
ffmpeg version N-64919-ga613257 Copyright (c) 2000-2014 the FFmpeg 
developers
  built on Jul 23 2014 00:35:22 with gcc 4.8.3 (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-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame  
--en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Decklink Video Capture:audio=Decklink Audio 
Capture
':
  Duration: N/A, start: 0.088879, bitrate: 1536 kb/s
    Stream #0:0: Video: rawvideo (HDYC / 0x43594448), uyvy422(tv), 
1920x1080, 23
.98 tbr, 10000k tbn, 23.98 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Output #0, segment, to 'J:\12_19_34_%03d.dnx':
  Metadata:
    encoder         : Lavf55.48.101
    Stream #0:0: Video: dnxhd, yuv422p, 1920x1080, q=2-1024, 36000 kb/s, 
23.98 f
ps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc55.69.100 dnxhd
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> dnxhd (native))
Could not write header for output file #0 (incorrect codec parameters ?): 
Muxer
not found



C:\Users\Bouke>C:\Users\Bouke\Desktop\BMtest\Xtras\ffmpeg.exe  -f 
dshow -rtbufsi
ze 1024000k -pixel_format uyvy422 -framerate 23.976 -s 1920:1080 -i 
video="Deckl
ink Video Capture":audio="Decklink Audio Capture" -b:v 36M -pix_fmt 
yuv422p -vco
dec dnxhd  -f rawvideo -an -map 0 -f segment -reset_timestamps 
1 -segment_time 5
 -segment_atclocktime 1 J:\12_19_34_%03d.mov
ffmpeg version N-64919-ga613257 Copyright (c) 2000-2014 the FFmpeg 
developers
  built on Jul 23 2014 00:35:22 with gcc 4.8.3 (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-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame  
--en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Decklink Video Capture:audio=Decklink Audio 
Capture
':
  Duration: N/A, start: 0.089126, bitrate: 1536 kb/s
    Stream #0:0: Video: rawvideo (HDYC / 0x43594448), uyvy422(tv), 
1920x1080, 23
.98 tbr, 10000k tbn, 23.98 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[mov @ 000000000039bfa0] Using AVStream.codec.time_base as a timebase hint 
to th
e muxer is deprecated. Set AVStream.time_base instead.
[mov @ 000000000039bfa0] WARNING codec timebase is very high. If duration is 
too
 long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
Output #0, segment, to 'J:\12_19_34_%03d.mov':
  Metadata:
    encoder         : Lavf55.48.101
    Stream #0:0: Video: dnxhd, yuv422p, 1920x1080, q=2-1024, 36000 kb/s, 
23.98 f
ps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc55.69.100 dnxhd
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> dnxhd (native))
Press [q] to stop, [?] for help
[mov @ 000000000039bfa0] Using AVStream.codec.time_base as a timebase hint 
to th
e muxer is deprecated. Set AVStream.time_base instead.
[mov @ 000000000039bfa0] WARNING codec timebase is very high. If duration is 
too
 long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
frame=  162 fps= 24 q=1.0 Lsize=N/A time=00:00:06.75 bitrate=N/A
video:29808kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing
 overhead: unknown

C:\Users\Bouke> 


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the ffmpeg-user mailing list