[FFmpeg-trac] #921(FFprobe:new): ffprobe may not correctly format json filesizes (patch attached)
FFmpeg
trac at avcodec.org
Tue Jan 17 22:11:44 CET 2012
#921: ffprobe may not correctly format json filesizes (patch attached)
-------------------------------------+-------------------------------------
Reporter: elkq | Owner: stefano
Type: defect | Status: new
Priority: normal | Component: FFprobe
Version: git- | Keywords: json
master | filesize
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
Filesizes greater than 2GB are not always json formatted as expected,
(smaller files are fine) for example:
ffprobe -show_format -print_format json plus2GB.avi
ffprobe version N-36904-g71a2c9b Copyright (c) 2007-2012 the FFmpeg
developers
built on Jan 17 2012 11:46:02 with gcc 4.6.1
configuration: --enable-shared --enable-gpl --enable-libfaac --enable-
libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264
--enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 57.100 / 53. 57.100
libavformat 53. 30.100 / 53. 30.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 59.101 / 2. 59.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 51. 2.100 / 51. 2.100
{
"format": {
"filename": "plus2GB.avi",
"nb_streams": 2,
"format_name": "avi",
"format_long_name": "AVI format",
"start_time": "0.000",
"duration": "2012.040",
"size": "-1862884042",
"bit_rate": "9670118",
"tags": {
"encoder": "Lavf53.29.100"
}
}
the -prefix option has similar unexpected behaviour.
ffprobe -prefix -show_format -print_format json plus2GB.avi
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/921>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list