[FFmpeg-user] Using ffmpeg to create video wall

Matt Conway conwayxd at gmail.com
Wed Feb 18 10:46:24 CET 2015


Cheers for getting back to me! Here is the uncut output from the command
prompt.

C:\Users\admin>ffmpeg -i rtsp://
root:FishAxisFood12 at 192.168.0.4/axis-media/media.amp -an -r 30 -f avi udp://
239.0.1.23:1234

FFmpeg version SVN-r23607, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jun 15 2010 04:09:35 with gcc 4.4.2
  configuration: --target-os=mingw32 --enable-runtime-cpudetect
--enable-avisynt
h --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm
--enable-libfaad
 --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex
--ena
ble-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --
enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libopencore_amrwb
--enab
le-libopencore_amrnb --enable-librtmp --extra-libs='-lrtmp -lpolarssl
-lws2_32 -
lwinmm' --arch=x86 --cross-prefix=i686-mingw32- --cc='ccache
i686-mingw32-gcc' -
-enable-memalign-hack
  libavutil     50.19. 0 / 50.19. 0
  libavcodec    52.76. 0 / 52.76. 0
  libavformat   52.68. 0 / 52.68. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 0 /  1.20. 0
  libswscale     0.11. 0 /  0.11. 0
[rtsp @ 0034c500]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
180000.00 (18
0000/1) -> 90000.00 (180000/2)
Input #0, rtsp, from 'rtsp://
root:FishAxisFood12 at 192.168.0.4/axis-media/media.am
p':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.014667, bitrate: N/A
    Stream #0.0: Video: h264, yuvj420p, 800x450 [PAR 1:1 DAR 16:9], 90k
tbr, 90k
 tbn, 180k tbc
[ffmpeg_output @ 0304a0f0]auto-inserting filter 'auto-inserted scaler 0'
between
 the filter 'src' and the filter 'out'
[scale @ 03049150]w:800 h:450 fmt:yuvj420p -> w:800 h:450 fmt:yuv420p
flags:0x4
Output #0, avi, to 'udp://239.0.1.23:1234':
  Metadata:
    ISFT            : Lavf52.68.0
    Stream #0.0: Video: mpeg4, yuv420p, 800x450 [PAR 1:1 DAR 16:9], q=2-31,
200
kb/s, 30 tbn, 30 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   37 fps=  0 q=12.4 size=     135kB time=1.23 bitrate= 898.3kbits/s
dup=0
frame=   53 fps= 50 q=19.7 size=     155kB time=1.77 bitrate= 720.4kbits/s
dup=0
frame=   68 fps= 44 q=18.9 size=     173kB time=2.27 bitrate= 626.3kbits/s
dup=0
frame=   84 fps= 40 q=20.6 size=     192kB time=2.80 bitrate= 561.3kbits/s
dup=0
frame=  100 fps= 38 q=20.9 size=     217kB time=3.33 bitrate= 533.0kbits/s
dup=0
frame=  116 fps= 37 q=23.7 size=     234kB time=3.87 bitrate= 496.6kbits/s
dup=0
frame=  132 fps= 36 q=21.0 size=     251kB time=4.40 bitrate= 466.9kbits/s
dup=0
frame=  147 fps= 35 q=20.7 size=     274kB time=4.90 bitrate= 458.2kbits/s
dup=0
frame=  163 fps= 34 q=22.4 size=     290kB time=5.43 bitrate= 437.0kbits/s
dup=0
frame=  179 fps= 34 q=21.9 size=     306kB time=5.97 bitrate= 419.6kbits/s
dup=0
frame=  194 fps= 34 q=26.8 size=     328kB time=6.47 bitrate= 415.6kbits/s
dup=0
frame=  210 fps= 33 q=24.2 size=     343kB time=7.00 bitrate= 401.4kbits/s
dup=0
frame=  225 fps= 33 q=23.8 size=     357kB time=7.50 bitrate= 390.3kbits/s
dup=0
frame=  241 fps= 33 q=21.4 size=     379kB time=8.03 bitrate= 386.6kbits/s
dup=0
frame=  256 fps= 33 q=27.0 size=     394kB time=8.53 bitrate= 377.8kbits/s
dup=0
frame=  272 fps= 33 q=25.1 size=     408kB time=9.07 bitrate= 368.8kbits/s
dup=0
frame=  287 fps= 32 q=25.9 size=     422kB time=9.57 bitrate= 361.7kbits/s
dup=0
frame=  303 fps= 32 q=29.8 size=     444kB time=10.10 bitrate= 359.8kbits/s
dup=
frame=  318 fps= 32 q=31.0 size=     459kB time=10.60 bitrate= 354.4kbits/s
dup=
frame=  334 fps= 32 q=31.0 size=     476kB time=11.13 bitrate= 350.6kbits/s
dup=
frame=  349 fps= 32 q=23.6 size=     496kB time=11.63 bitrate= 349.1kbits/s
dup=
frame=  365 fps= 32 q=31.0 size=     510kB time=12.17 bitrate= 343.2kbits/s
dup=
frame=  380 fps= 32 q=31.0 size=     523kB time=12.67 bitrate= 338.5kbits/s
dup=
frame=  396 fps= 32 q=31.0 size=     540kB time=13.20 bitrate= 335.1kbits/s
dup=
frame=  412 fps= 32 q=31.0 size=     563kB time=13.73 bitrate= 336.0kbits/s
dup=
frame=  428 fps= 32 q=31.0 size=     579kB time=14.27 bitrate= 332.3kbits/s
dup=
frame=  443 fps= 32 q=31.0 size=     593kB time=14.77 bitrate= 329.0kbits/s
dup=
frame=  459 fps= 31 q=31.0 size=     615kB time=15.30 bitrate= 329.3kbits/s
dup=
frame=  474 fps= 31 q=31.0 size=     630kB time=15.80 bitrate= 326.4kbits/s
dup=
frame=  489 fps= 31 q=31.0 size=     643kB time=16.30 bitrate= 323.1kbits/s
dup=
frame=  504 fps= 31 q=31.0 size=     657kB time=16.80 bitrate= 320.2kbits/s
dup=
frame=  520 fps= 31 q=31.0 size=     679kB time=17.33 bitrate= 320.7kbits/s
dup=
frame=  535 fps= 31 q=31.0 size=     693kB time=17.83 bitrate= 318.5kbits/s
dup=
frame=  551 fps= 31 q=31.0 size=     707kB time=18.37 bitrate= 315.3kbits/s
dup=
frame=  566 fps= 31 q=31.0 size=     727kB time=18.87 bitrate= 315.5kbits/s
dup=
frame=  581 fps= 31 q=31.0 size=     740kB time=19.37 bitrate= 312.9kbits/s
dup=
frame=  596 fps= 31 q=31.0 size=     753kB time=19.87 bitrate= 310.4kbits/s
dup=
frame=  612 fps= 31 q=31.0 size=     769kB time=20.40 bitrate= 308.6kbits/s
dup=
frame=  628 fps= 31 q=31.0 size=     789kB time=20.93 bitrate= 308.8kbits/s
dup=
frame=  644 fps= 31 q=31.0 size=     803kB time=21.47 bitrate= 306.4kbits/s
dup=
frame=  660 fps= 31 q=31.0 size=     817kB time=22.00 bitrate= 304.2kbits/s
dup=
frame=  676 fps= 31 q=31.0 size=     836kB time=22.53 bitrate= 304.1kbits/s
dup=
frame=  692 fps= 31 q=31.0 size=     850kB time=23.07 bitrate= 301.8kbits/s
dup=
frame=  707 fps= 31 q=31.0 size=     863kB time=23.57 bitrate= 300.1kbits/s
dup=
frame=  722 fps= 31 q=31.0 size=     883kB time=24.07 bitrate= 300.4kbits/s
dup=
frame=  738 fps= 31 q=31.0 size=     895kB time=24.60 bitrate= 298.2kbits/s
dup=
frame=  753 fps= 31 q=31.0 size=     908kB time=25.10 bitrate= 296.3kbits/s
dup=
frame=  769 fps= 31 q=24.8 size=     927kB time=25.63 bitrate= 296.3kbits/s
dup=
frame=  785 fps= 31 q=31.0 size=     941kB time=26.17 bitrate= 294.5kbits/s
dup=
frame=  800 fps= 31 q=31.0 size=     953kB time=26.67 bitrate= 292.9kbits/s
dup=
frame=  816 fps= 31 q=31.0 size=     969kB time=27.20 bitrate= 291.8kbits/s
dup=
frame=  831 fps= 31 q=31.0 size=     988kB time=27.70 bitrate= 292.3kbits/s
dup=
frame=  846 fps= 31 q=31.0 size=    1001kB time=28.20 bitrate= 290.7kbits/s
dup=
frame=  862 fps= 31 q=31.0 size=    1014kB time=28.73 bitrate= 289.0kbits/s
dup=
frame=  877 fps= 31 q=24.8 size=    1032kB time=29.23 bitrate= 289.3kbits/s
dup=
frame=  892 fps= 31 q=31.0 size=    1045kB time=29.73 bitrate= 287.8kbits/s
dup=
frame=  908 fps= 31 q=31.0 size=    1058kB time=30.27 bitrate= 286.5kbits/s
dup=
frame=  923 fps= 31 q=31.0 size=    1074kB time=30.77 bitrate= 286.0kbits/s
dup=
frame=  938 fps= 31 q=31.0 size=    1094kB time=31.27 bitrate= 286.7kbits/s
dup=
frame=  953 fps= 31 q=31.0 size=    1108kB time=31.77 bitrate= 285.8kbits/s
dup=
frame=  969 fps= 31 q=31.0 size=    1123kB time=32.30 bitrate= 284.7kbits/s
dup=
frame=  984 fps= 31 q=31.0 size=    1136kB time=32.80 bitrate= 283.7kbits/s
dup=
frame= 1000 fps= 31 q=31.0 size=    1156kB time=33.33 bitrate= 284.1kbits/s
dup=
frame= 1016 fps= 31 q=31.0 size=    1170kB time=33.87 bitrate= 283.1kbits/s
dup=
frame= 1032 fps= 31 q=31.0 size=    1184kB time=34.40 bitrate= 281.9kbits/s
dup=
frame= 1048 fps= 31 q=31.0 size=    1204kB time=34.93 bitrate= 282.2kbits/s
dup=
frame= 1064 fps= 31 q=31.0 size=    1219kB time=35.47 bitrate= 281.7kbits/s
dup=
frame= 1080 fps= 31 q=31.0 size=    1233kB time=36.00 bitrate= 280.6kbits/s
dup=
frame= 1095 fps= 31 q=31.0 size=    1251kB time=36.50 bitrate= 280.9kbits/s
dup=
frame= 1111 fps= 31 q=31.0 size=    1265kB time=37.03 bitrate= 279.9kbits/s
dup=
frame= 1127 fps= 31 q=31.0 size=    1279kB time=37.57 bitrate= 278.9kbits/s
dup=
frame= 1143 fps= 31 q=31.0 size=    1299kB time=38.10 bitrate= 279.3kbits/s
dup=
frame= 1158 fps= 31 q=31.0 size=    1315kB time=38.60 bitrate= 279.0kbits/s
dup=
frame= 1173 fps= 31 q=31.0 size=    1328kB time=39.10 bitrate= 278.3kbits/s
dup=
frame= 1188 fps= 31 q=31.0 size=    1341kB time=39.60 bitrate= 277.5kbits/s
dup=
frame= 1204 fps= 31 q=31.0 size=    1362kB time=40.13 bitrate= 277.9kbits/s
dup=
frame= 1219 fps= 31 q=31.0 size=    1375kB time=40.63 bitrate= 277.2kbits/s
dup=
frame= 1235 fps= 31 q=31.0 size=    1389kB time=41.17 bitrate= 276.4kbits/s
dup=
frame= 1251 fps= 31 q=31.0 size=    1408kB time=41.70 bitrate= 276.5kbits/s
dup=
frame= 1266 fps= 31 q=31.0 size=    1421kB time=42.20 bitrate= 275.9kbits/s
dup=
frame= 1282 fps= 31 q=31.0 size=    1437kB time=42.73 bitrate= 275.4kbits/s
dup=
frame= 1297 fps= 31 q=24.8 size=    1457kB time=43.23 bitrate= 276.1kbits/s
dup=
frame= 1313 fps= 31 q=31.0 size=    1474kB time=43.77 bitrate= 276.0kbits/s
dup=
frame= 1328 fps= 30 q=31.0 size=    1488kB time=44.27 bitrate= 275.4kbits/s
dup=
frame= 1344 fps= 30 q=31.0 size=    1502kB time=44.80 bitrate= 274.6kbits/s
dup=
frame= 1360 fps= 30 q=31.0 size=    1521kB time=45.33 bitrate= 274.9kbits/s
dup=
frame= 1375 fps= 30 q=31.0 size=    1534kB time=45.83 bitrate= 274.2kbits/s
dup=
frame= 1391 fps= 30 q=31.0 size=    1549kB time=46.37 bitrate= 273.6kbits/s
dup=
frame= 1407 fps= 30 q=31.0 size=    1568kB time=46.90 bitrate= 273.8kbits/s
dup=
frame= 1423 fps= 30 q=31.0 size=    1581kB time=47.43 bitrate= 273.0kbits/s
dup=
frame= 1438 fps= 30 q=31.0 size=    1594kB time=47.93 bitrate= 272.3kbits/s
dup=
frame= 1453 fps= 30 q=24.8 size=    1612kB time=48.43 bitrate= 272.6kbits/s
dup=
frame= 1469 fps= 30 q=31.0 size=    1625kB time=48.97 bitrate= 271.8kbits/s
dup=
frame= 1484 fps= 30 q=31.0 size=    1638kB time=49.47 bitrate= 271.3kbits/s
dup=
frame= 1500 fps= 30 q=31.0 size=    1654kB time=50.00 bitrate= 270.9kbits/s
dup=
frame= 1516 fps= 30 q=31.0 size=    1673kB time=50.53 bitrate= 271.2kbits/s
dup=
frame= 1531 fps= 30 q=31.0 size=    1686kB time=51.03 bitrate= 270.6kbits/s
dup=
frame= 1546 fps= 30 q=31.0 size=    1698kB time=51.53 bitrate= 269.9kbits/s
dup=
frame= 1561 fps= 30 q=24.8 size=    1716kB time=52.03 bitrate= 270.2kbits/s
dup=
frame= 1576 fps= 30 q=31.0 size=    1728kB time=52.53 bitrate= 269.4kbits/s
dup=
frame= 1591 fps= 30 q=31.0 size=    1740kB time=53.03 bitrate= 268.8kbits/s
dup=
frame= 1607 fps= 30 q=31.0 size=    1754kB time=53.57 bitrate= 268.2kbits/s
dup=
frame= 1623 fps= 30 q=31.0 size=    1773kB time=54.10 bitrate= 268.5kbits/s
dup=
frame= 1638 fps= 30 q=31.0 size=    1786kB time=54.60 bitrate= 267.9kbits/s
dup=
frame= 1653 fps= 30 q=31.0 size=    1799kB time=55.10 bitrate= 267.4kbits/s
dup=
frame= 1669 fps= 30 q=24.8 size=    1818kB time=55.63 bitrate= 267.7kbits/s
dup=
frame= 1685 fps= 30 q=31.0 size=    1832kB time=56.17 bitrate= 267.2kbits/s
dup=
frame= 1701 fps= 30 q=31.0 size=    1846kB time=56.70 bitrate= 266.7kbits/s
dup=
frame= 1716 fps= 30 q=31.0 size=    1860kB time=57.20 bitrate= 266.4kbits/s
dup=
frame= 1731 fps= 30 q=31.0 size=    1882kB time=57.70 bitrate= 267.2kbits/s
dup=
frame= 1742 fps= 26 q=31.0 size=    1895kB time=58.07 bitrate= 267.3kbits/s
dup=
[h264 @ 030406e0]missing picture in access unit
frame= 1742 fps= 22 q=31.0 Lsize=    1895kB time=58.07 bitrate=
267.3kbits/s dup
=0 drop=56
video:1879kB audio:0kB global headers:0kB muxing overhead 0.839498%

C:\Users\admin>

On Tue, Feb 17, 2015 at 5:17 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Tue, Feb 17, 2015 at 16:39:07 +0000, Matt Conway wrote:
> > and the command on the clients (For top left tile)-
> > "avconv --tile-code=41 udp://239.0.1.23:1234"
>
> avconf is not ffmpeg and is not supported here. ffmpeg may share some
> of the shortcomings you are observing, but you won't know until you
> try.
>
> > The command I am using on the master -
> > "ffmpeg -i rtsp://StreamUrl -r 30 -an -f avi udp://UdpUrl"
> [...]
> > I cannot get the wall to pick up anything other than avi and I cannot get
> > any -vcodec settings to work so if this is the cause of the issue then I
> do
> > apologise for my lack of knowledge on the subject! When trying to use
> > libx264 it returns an error to use -vpre but this does not work either.
>
> Assuming you mean the ffmpeg you are using on the "master":
>
> You're not telling us what the errors are. Why not? ;-) Please include
> the complete, uncut console output from your ffmpeg command, and the
> complete command line(s) used to create it.
>
> Thanks,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list