[FFmpeg-trac] #5288(ffmpeg:new): FFmpeg -progress url Isn't working
FFmpeg
trac at avcodec.org
Fri Mar 4 23:15:15 CET 2016
#5288: FFmpeg -progress url Isn't working
------------------------------------+----------------------------------
Reporter: BlackDream | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by BlackDream):
{{{
root at 3kkz05gk:~# ffmpeg -progress "http://127.0.0.1:8000/test.php" -i
"18og.mp4" -c copy -f matroska /tmp/test.mkv
ffmpeg version N-78216-g9554420 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.3.0 (Ubuntu 5.3.0-3ubuntu1~14.04) 20151204
configuration: --prefix=/root/FFmpeg_old/target --extra-
cflags='-I/root/FFmpeg_old/target/include -static' --extra-
ldflags='-L/root/FFmpeg_old/target/lib -lm -static' --disable-debug
--disable-shared --enable-libx265 --enable-static --extra-cflags=--static
--disable-ffplay --disable-ffserver --disable-doc --enable-librtmp
--enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-
gray --enable-runtime-cpudetect --enable-gnutls --enable-libmp3lame
--enable-libopus --enable-libtheora --enable-libx264 --enable-libxvid
--enable-bzlib --enable-zlib --enable-version3 --enable-libxavs --extra-
libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
libavutil 55. 16.101 / 55. 16.101
libavcodec 57. 24.100 / 57. 24.100
libavformat 57. 23.101 / 57. 23.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 27.100 / 6. 27.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '18og.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.64.2
Duration: 00:22:41.40, start: 0.000000, bitrate: 4572 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080, 4416 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 151 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Output #0, matroska, to '/tmp/test.mkv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.23.101
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080,
q=2-31, 4416 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 24k tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz,
stereo, 151 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=32641 fps=7037 q=-1.0 Lsize= 759819kB time=00:22:41.36
bitrate=4572.2kbits/s speed= 293x
video:734037kB audio:25124kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.086602%
}}}
And in my NGINX Access log you can see only one HTTP Request and it was at
the end of the encoding.
{{{
root at 3kkz05gk:/var/log/nginx# cat access.log
127.0.0.1 - - [04/Mar/2016:17:12:29 -0500] "POST /test.php HTTP/1.1" 404
162 "-" "Lavf/57.23.101"
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5288#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list