[FFmpeg-user] Unable to change time base / tbn
landsberger at free.fr
landsberger at free.fr
Mon Dec 29 22:56:44 CET 2014
Dear Carl,
Please find the command line and console output below.
No codec change in this example, I'm only looking for a command that could set the time base (tbn) to 1/25.
Thanks a lot!
Benjamin
----------
ffmpeg -i '/input.mov' -r 25 -vf settb=1/25 -vcodec dvvideo -acodec pcm_s16le '/output.mov' > '/ffmpeg.txt'
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/input.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
title : DVS Argentina Glacier (Raw)
encoder : Lavf56.4.101
comment : CANAL 9/CANAL 13 ARTEAR
copyright : Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.
timecode : 09:59:51:24
Duration: 00:00:56.24, start: 0.000000, bitrate: 30343 kb/s
Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
handler_name : Gestionnaire d?alias Apple
Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
Metadata:
handler_name : Gestionnaire d?alias Apple
timecode : 09:59:51:24
Stream #0:2(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, SAR 12:11 DAR 15:11, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2014-12-28 19:33:26
handler_name : Gestionnaire d?alias Apple
encoder : Lavc56.1.100 dvvideo
timecode : 09:59:51:24
Output #0, mov, to '/output.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
title : DVS Argentina Glacier (Raw)
timecode : 09:59:51:24
comment : CANAL 9/CANAL 13 ARTEAR
copyright : Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.
encoder : Lavf56.4.101
Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2014-12-28 19:33:26
handler_name : Gestionnaire d?alias Apple
timecode : 09:59:51:24
encoder : Lavc56.1.100 dvvideo
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
handler_name : Gestionnaire d?alias Apple
encoder : Lavc56.1.100 pcm_s16le
Stream mapping:
Stream #0:2 -> #0:0 (dvvideo (native) -> dvvideo (native))
Stream #0:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
frame= 86 fps=0.0 q=0.0 size= 12734kB time=00:00:03.44 bitrate=30324.2kbits/frame= 166 fps=150 q=0.0 size= 24584kB time=00:00:06.65 bitrate=30257.0kbits/frame= 239 fps=148 q=0.0 size= 35397kB time=00:00:09.56 bitrate=30332.2kbits/frame= 303 fps=143 q=0.0 size= 44877kB time=00:00:12.12 bitrate=30333.0kbits/frame= 373 fps=143 q=0.0 size= 55245kB time=00:00:14.92 bitrate=30333.0kbits/frame= 443 fps=138 q=0.0 size= 65613kB time=00:00:17.72 bitrate=30319.3kbits/frame= 517 fps=140 q=0.0 size= 76575kB time=00:00:20.68 bitrate=30333.8kbits/frame= 592 fps=141 q=0.0 size= 87686kB time=00:00:23.68 bitrate=30334.6kbits/frame= 665 fps=138 q=0.0 size= 98355kB time=00:00:26.60 bitrate=30290.4kbits/frame= 741 fps=139 q=0.0 size= 109755kB time=00:00:29.64 bitrate=30334.5kbits/frame= 824 fps=141 q=0.0 size= 122051kB time=00:00:32.96 bitrate=30335.0kbits/frame= 885 fps=138 q=0.0 size= 131085kB time=00:00:35.41 bitrate=30323.3kbits/frame= 965 fps=139 q=0.0 size= 142935kB time=00:00:38.60 bitrate=30334.8kbits/frame= 1042 fps=140 q=0.0 size= 154339kB time=00:00:41.68 bitrate=30334.6kbits/frame= 1107 fps=138 q=0.0 size= 163968kB time=00:00:44.28 bitrate=30329.3kbits/frame= 1178 fps=138 q=0.0 size= 174484kB time=00:00:47.12 bitrate=30334.8kbits/frame= 1251 fps=139 q=0.0 size= 185298kB time=00:00:50.04 bitrate=30334.9kbits/frame= 1327 fps=139 q=0.0 size= 196557kB time=00:00:53.08 bitrate=30335.3kbits/frame= 1387 fps=138 q=0.0 size= 205443kB time=00:00:55.48 bitrate=30335.0kbits/frame= 1406 fps=139 q=0.0 Lsize= 208296kB time=00:00:56.32 bitrate=30297.6kbits/s
video:197719kB audio:10560kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.008268%
----------
ffprobe -i '/output.mov' -show_streams
ffprobe version 2.4.2 Copyright (c) 2007-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/output.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
title : DVS Argentina Glacier (Raw)
encoder : Lavf56.4.101
comment : CANAL 9/CANAL 13 ARTEAR
copyright : Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.
Duration: 00:00:56.32, start: 0.000000, bitrate: 30297 kb/s
Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, SAR 12:11 DAR 15:11, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc56.1.100 dvvideo
timecode : 09:59:51:24
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
handler_name : DataHandler
timecode : 09:59:51:24
Unsupported codec with id 0 for input stream 2
[STREAM]
index=0
codec_name=dvvideo
codec_long_name=DV (Digital Video)
profile=unknown
codec_type=video
codec_time_base=1/25
codec_tag_string=dvcp
codec_tag=0x70637664
width=720
height=576
has_b_frames=0
sample_aspect_ratio=12:11
display_aspect_ratio=15:11
pix_fmt=yuv420p
level=-99
color_range=N/A
color_space=unknown
timecode=N/A
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/12800
start_pts=0
start_time=0.000000
duration_ts=719872
duration=56.240000
bit_rate=28800000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=1406
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:language=eng
TAG:handler_name=DataHandler
TAG:encoder=Lavc56.1.100 dvvideo
TAG:timecode=09:59:51:24
[/STREAM]
[STREAM]
index=1
codec_name=pcm_s16le
codec_long_name=PCM signed 16-bit little-endian
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=sowt
codec_tag=0x74776f73
sample_fmt=s16
sample_rate=48000
channels=2
channel_layout=stereo
bits_per_sample=16
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=0
start_time=0.000000
duration_ts=2703360
duration=56.320000
bit_rate=1536000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=2703360
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:language=eng
TAG:handler_name=DataHandler
[/STREAM]
[STREAM]
index=2
codec_name=unknown
codec_long_name=unknown
profile=unknown
codec_type=data
codec_time_base=1/25
codec_tag_string=tmcd
codec_tag=0x64636d74
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/12800
start_pts=0
start_time=0.000000
duration_ts=719872
duration=56.240000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=1
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:language=eng
TAG:handler_name=DataHandler
TAG:timecode=09:59:51:24
[/STREAM]
----- Mail original -----
De: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
À: ffmpeg-user at ffmpeg.org
Envoyé: Lundi 29 Décembre 2014 00:41:58
Objet: Re: [FFmpeg-user] Unable to change time base / tbn
<landsberger <at> free.fr> writes:
> I am looking for a way to modify the time base
> (tbn value) with FFMPEG.
When asking for help on this mailing list, always
provide the command line including the complete,
uncut console output.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list