Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (34)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4280)

  • Ffmpeg error in Docker Container : ffmpeg exited with code 1 :

    2 octobre 2017, par Uğur Kaya

    I am currently working on a project and almost ready to deploy, but there is one problem : the code which is working perfectly on my Ubuntu 16.04 (Elementary OS Loki) machine does not work in Docker container. What might be the problem in my code ?

    Here is my Dockerfile :

    FROM beevelop/nodejs-python:latest

    RUN apt-get -y update && apt-get install -y libav-tools
    RUN ffmpeg --help

    # Global install yarn package manager
    RUN apt-get update && apt-get install -y curl apt-transport-https && \
       curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
       echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
       apt-get update && apt-get install -y yarn

    WORKDIR /app
    COPY package.json .
    RUN yarn
    COPY . .
    RUN yarn prod:build
    EXPOSE 8080
    CMD [ "yarn", "start" ]

    I run sudo docker exec -it  ffmpeg --help and it outputs the expected help print. In my code, I download a Youtube video in mp4 format with this code :

    const download = idParam => (
     new Promise((fulfill, reject) => {
       const id = `http://www.youtube.com/watch?v=${idParam}`
       let videoMeta
       youtubedl(id, ['--format=36'], { cwd: __dirname })
         .on('info', (info) => {
           const customDimensions = calculateCustomDimensions(info.format)
           videoMeta = { ...info, ...customDimensions }
         })
         .pipe(fs.createWriteStream(`temp/${idParam}.mp4`))
         .on('finish', () => {
           console.log('Dirname: ', __dirname)
           fulfill(videoMeta)
         })
         .on('error', (err) => {
           console.log('There is an error:', err)
           console.log('Dirname: ', __dirname)
           reject(err)
         })
     })
    )

    And then try to process the video with fluent-ffmpeg :

    const processVideo = (videoName, cropStart, cropEnd) => (
     new Promise((resolve, reject) => {
       try {
         console.log('Trying to run ffmpeg binary.')
         ffmpeg()
           .addInput(`temp/${videoName}.mp4`)
           .seekInput(cropStart)
           .duration(cropEnd)
           .outputOption('-movflags frag_keyframe+faststart')
           .on('end', () => {
             console.log('Processing has finished with ffmpeg. ')
             console.log('Resolved for upload: ', [`temp/cropped_${videoName}.mp4`, `temp/${videoName}.mp4`])
             console.log('Going out of processVideo script.')
             resolve([`temp/cropped_${videoName}.mp4`, `temp/${videoName}.mp4`])
           })
           .on('error', (err, stdout, stderr) => {
             console.log('Error. Output option olmasına rağmen: ', err.message)
             console.log('ffmpeg output:\n', stdout)
             console.log('ffmpeg stderr:\n', stderr)
           })
           .save(`temp/cropped_${videoName}.mp4`)
       } catch (e) {
         console.log('There has been an error while converting ffmpeg binary!')
         console.log(e.msg)
         console.log(e.code)
         reject(e)
       }
     })
    )

    It gives the following error :

    Entering download script.
    WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.

    `info.resolution` is deprecated, use `info.format`
    Dirname:  /app/lib/server/scripts
    Download script is done.
    Custom dimensions of the downloaded video:  320 180
    Crop start and end of the downloaded video:  00:00:00.517 00:00:00.998
    Entering processVideo script.
    Trying to run ffmpeg binary.
    Error:  ffmpeg exited with code 1:
    ffmpeg output:

    ffmpeg stderr:
    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp/kfchvCyHmsc.mp4':
     Metadata:
       major_brand     : 3gp6
       minor_version   : 256
       compatible_brands: isom3gp6
       creation_time   : 2015-03-26 09:22:44
     Duration: 00:00:08.27, start: 0.000000, bitrate: 218 kb/s
       Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 187 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
       Metadata:
         creation_time   : 2015-03-26 09:22:44
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 31 kb/s (default)
       Metadata:
         creation_time   : 2015-03-26 09:22:44
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    [libx264 @ 0x2641fc0] using SAR=1/1
    [libx264 @ 0x2641fc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x2641fc0] profile High, level 1.2
    [libx264 @ 0x2641fc0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [aac @ 0x2642f00] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
  • ffmpeg copyts to preserve timestamp

    13 avril 2015, par Bala

    I am trying to modify an HLS segment transport stream, and preserve its start time with ffmpeg. However the output does not preserve the input file’s start_time value, even if -copyts is mentioned. Here’s my command line :

    ffmpeg  -i fileSequence1.ts -i x.png -filter_complex '[0:v][1:v]overlay[out]' -map '[out]' -map 0:1 -acodec copy -vsync 0 -vcodec libx264 -streamid 0:257 -streamid 1:258 -copyts -profile:v baseline -level 3 output.ts

    The start_time value is delayed about 2 seconds consistently.

    /Users/macadmin/>ffmpeg -y -v verbose -i fileSequence0.ts -map 0:0 -vcodec libx264 -copyts -vsync 0 -async 0 output.ts
    ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
     built on Mar 29 2015 21:31:57 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.102 / 56. 15.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [h264 @ 0x7fa93b800000] Current profile doesn't provide more RBSP data in PPS, skipping
       Last message repeated 2 times
    [mpegts @ 0x7fa93a80da00] max_analyze_duration 5000000 reached at 5000000 microseconds
    Input #0, mpegts, from 'fileSequence0.ts':
     Duration: 00:00:09.65, start: 9.952111, bitrate: 412 kb/s
     Program 1
       Stream #0:0[0x101]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 640x360 (640x368), 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x102]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 101 kb/s
    [graph 0 input from stream 0:0 @ 0x7fa93a5229c0] w:640 h:360 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:0/1 sws_param:flags=2
    [libx264 @ 0x7fa93b800c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x7fa93b800c00] profile High, level 3.0
    [mpegts @ 0x7fa93b800600] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
    Output #0, mpegts, to 'output.ts':
     Metadata:
       encoder         : Lavf56.15.102
       Stream #0:0: Video: h264 (libx264), yuv420p, 640x360, q=-1--1, 25 fps, 90k tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.13.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [NULL @ 0x7fa93b800000] Current profile doesn't provide more RBSP data in PPS, skipping
       Last message repeated 1 times
    frame=   87 fps=0.0 q=28.0 size=      91kB time=00:00:11.40 bitrate=  65.0kbits/[NULL @ 0x7fa93b800000] Current profile doesn't provide more RBSP data in PPS, skipping
    frame=  152 fps=151 q=28.0 size=     204kB time=00:00:14.00 bitrate= 119.4kbits/[NULL @ 0x7fa93b800000] Current profile doesn't provide more RBSP data in PPS, skipping
    frame=  224 fps=148 q=28.0 size=     306kB time=00:00:16.88 bitrate= 148.5kbits/No more output streams to write to, finishing.
    frame=  240 fps=125 q=-1.0 Lsize=     392kB time=00:00:19.52 bitrate= 164.6kbits/s    
    video:334kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.347548%
    Input file #0 (fileSequence0.ts):
     Input stream #0:0 (video): 240 packets read (360450 bytes); 240 frames decoded;
     Input stream #0:1 (audio): 0 packets read (0 bytes);
     Total: 240 packets (360450 bytes) demuxed
    Output file #0 (output.ts):
     Output stream #0:0 (video): 240 frames encoded; 240 packets muxed (342204 bytes);
     Total: 240 packets (342204 bytes) muxed
    [libx264 @ 0x7fa93b800c00] frame I:3     Avg QP:15.08  size:  7856
    [libx264 @ 0x7fa93b800c00] frame P:81    Avg QP:21.03  size:  2807
    [libx264 @ 0x7fa93b800c00] frame B:156   Avg QP:23.40  size:   585
    [libx264 @ 0x7fa93b800c00] consecutive B-frames: 11.7%  2.5%  7.5% 78.3%
    [libx264 @ 0x7fa93b800c00] mb I  I16..4: 57.4% 17.5% 25.1%
    [libx264 @ 0x7fa93b800c00] mb P  I16..4:  8.0%  8.2%  1.0%  P16..4: 30.5% 11.3%  4.6%  0.0%  0.0%    skip:36.4%
    [libx264 @ 0x7fa93b800c00] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 34.6%  2.7%  0.2%  direct: 1.3%  skip:60.9%  L0:47.3% L1:49.1% BI: 3.6%
    [libx264 @ 0x7fa93b800c00] 8x8 transform intra:42.2% inter:73.3%
    [libx264 @ 0x7fa93b800c00] coded y,uvDC,uvAC intra: 26.2% 43.0% 6.8% inter: 5.4% 8.5% 0.1%
    [libx264 @ 0x7fa93b800c00] i16 v,h,dc,p: 46% 26%  6% 21%
    [libx264 @ 0x7fa93b800c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 50% 14% 23%  1%  2%  6%  1%  3%  1%
    [libx264 @ 0x7fa93b800c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 32% 10%  3%  3%  4%  2%  5%  2%
    [libx264 @ 0x7fa93b800c00] i8c dc,h,v,p: 48% 23% 26%  3%
    [libx264 @ 0x7fa93b800c00] Weighted P-Frames: Y:1.2% UV:0.0%
    [libx264 @ 0x7fa93b800c00] ref P L0: 71.5% 10.7% 14.8%  2.9%  0.1%
    [libx264 @ 0x7fa93b800c00] ref B L0: 95.5%  4.0%  0.5%
    [libx264 @ 0x7fa93b800c00] ref B L1: 96.8%  3.2%
    [libx264 @ 0x7fa93b800c00] kb/s:285.17

    ----------- FFProbe source video
    /Users/macadmin>ffprobe fileSequence0.ts
    ffprobe version 2.5.3 Copyright (c) 2007-2015 the FFmpeg developers
     built on Mar 29 2015 21:31:57 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.102 / 56. 15.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mpegts, from 'fileSequence0.ts':
     Duration: 00:00:09.65, start: 9.952111, bitrate: 412 kb/s
     Program 1
       Stream #0:0[0x101]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 640x360, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x102]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 101 kb/s

    ------ FFPROBE result video
    /Users/macadmin>ffprobe output.ts
    ffprobe version 2.5.3 Copyright (c) 2007-2015 the FFmpeg developers
     built on Mar 29 2015 21:31:57 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.102 / 56. 15.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mpegts, from 'output.ts':
     Duration: 00:00:09.60, start: 11.400000, bitrate: 334 kb/s
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 640x360, 25 fps, 25 tbr, 90k tbn, 50 tbc

    How do I ensure that output file has the same start_time ? Thanks.

  • Accessing RTSP Server hosted on AWS over internet

    27 juillet 2018, par Kishor V

    I am trying to access my EC2 Ubuntu instance from AWS using gaminganywhere (gaminganywhere.org). The security group policy is to allow all connections, but couldn’t connect to the server. Here is the log from the client and server.

    Client

    # [7860] 1522686205.894230 # include: config/common/controller.conf
    # [7860] 1522686205.894569 # include: config/common/video-x264.conf
    # [7860] 1522686205.894755 # include: config/common/audio-lame.conf
    # [7860] 1522686205.895002 # RTSP[config]: using 'udp' for RTP flows.
    # [7860] 1522686205.895012 # RTSP[config]: controller port = 8555
    # [7860] 1522686205.895016 # RTSP[config]: controller via 'udp' protocol.
    # [7860] 1522686205.895058 # RTSP[config]: video-encoder = libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    # [7860] 1522686205.895071 # RTSP[config]: audio-encoder = libmp3lame (libmp3lame MP3 (MPEG audio layer 3))
    # [7860] 1522686205.895101 # RTSP[config]: video specific option: threads = auto
    Remote server @ 18.188.161.135[18.188.161.135]:8554
    # [7860] 1522686205.971505 SDL: prefer opengl hardware renderer.
    # [7860] 1522686205.971532 controller queue: initialized size=32708 (481 units)
    # [7860] 1522686205.971693 controller socket: socket address [18.188.161.135:8555]
    # [7860] 1522686205.971727 controller client-thread started: tid=7863.
    watchdog: launched, waiting for audio/video frames ...
    # [7860] 1522686205.971813 rtspclient: max tolerable video delay disabled.
    *** SAVEFILE: YUV image saved to 'NULL'; timestamp saved to 'NULL'.
    RTP reordering threshold = 300000
    # [7860] 1522686205.971959 qos-measurement: initialized.
    Opening connection to 18.188.161.135, port 8554...
    ...remote connection opened
    Sending request: DESCRIBE rtsp://18.188.161.135:8554/desktop RTSP/1.0
    CSeq: 2
    User-Agent: RTSP Client (LIVE555 Streaming Media v2014.05.27)
    Accept: application/sdp


    Received 619 new bytes of response data.
    Received a complete DESCRIBE response:
    RTSP/1.0 200 OK
    CSeq: 2
    Date: Mon, Apr 02 2018 16:23:26 GMT
    Content-Base: rtsp://10.0.0.73:8554/desktop/
    Content-Type: application/sdp
    Content-Length: 456

    v=0
    o=- 1522685876960515 1 IN IP4 10.0.0.73
    s=GamingAnywhere Server
    i=desktop
    t=0 0
    a=tool:LIVE555 Streaming Media v2014.05.27
    a=type:broadcast
    a=control:*
    a=range:npt=0-
    a=x-qt-text-nam:GamingAnywhere Server
    a=x-qt-text-inf:desktop
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:3000
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=4D4020;sprop-parameter-sets=Z01AILaAUAIGhAAAAwAEAAADAMI8YMqA,aO88gA==
    a=control:track1

    [URL:"rtsp://10.0.0.73:8554/desktop/"]: Got a SDP description:
    v=0
    o=- 1522685876960515 1 IN IP4 10.0.0.73
    s=GamingAnywhere Server
    i=desktop
    t=0 0
    a=tool:LIVE555 Streaming Media v2014.05.27
    a=type:broadcast
    a=control:*
    a=range:npt=0-
    a=x-qt-text-nam:GamingAnywhere Server
    a=x-qt-text-inf:desktop
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:3000
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=4D4020;sprop-parameter-sets=Z01AILaAUAIGhAAAAwAEAAADAMI8YMqA,aO88gA==
    a=control:track1

    # [7860] 1522686206.581278 qos-measurement: source #0 added, prefix=-281002320
    video decoder: use decoder h264
    video decoder(0): sprop configured with 'Z01AILaAUAIGhAAAAwAEAAADAMI8YMqA,aO88gA==', decoded-size=36
    SPROP = [ 00 00 00 01 67 4d 40 20 b6 80 50 02 06 84 00 00 03 00 04 00 00 03 00 c2 3c 60 ca 80 00 00 00 01 68 ef 3c 80 ]
    video decoder(0): codec h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    video decoder(0) initialized (client port 44578)
    [URL:"rtsp://10.0.0.73:8554/desktop/"]: Initiated the "video/H264" subsession (client ports 44578-44579)
    Sending request: SETUP rtsp://10.0.0.73:8554/desktop/track1 RTSP/1.0
    CSeq: 3
    User-Agent: RTSP Client (LIVE555 Streaming Media v2014.05.27)
    Transport: RTP/AVP;unicast;client_port=44578-44579


    Received 212 new bytes of response data.
    Received a complete SETUP response:
    RTSP/1.0 200 OK
    CSeq: 3
    Date: Mon, Apr 02 2018 16:23:26 GMT
    Transport: RTP/AVP;unicast;destination=117.206.20.30;source=10.0.0.73;client_port=44578-44579;server_port=6970-6971
    Session: CBA2E074;timeout=65


    [URL:"rtsp://10.0.0.73:8554/desktop/"]: Set up the "video/H264" subsession (client ports 44578-44579)
    [URL:"rtsp://10.0.0.73:8554/desktop/"]: Created a data sink for the "video/H264" subsession
    Receiver buffer increased to 2097152
    NAT hole punching: fd=11, local-port=44578/44578 server-port=6970
    Sending request: PLAY rtsp://10.0.0.73:8554/desktop/ RTSP/1.0
    CSeq: 4
    User-Agent: RTSP Client (LIVE555 Streaming Media v2014.05.27)
    Session: CBA2E074
    Range: npt=0.000-


    watchdog: initialized, but no frames received ...
    Received 184 new bytes of response data.
    Received a complete PLAY response:
    RTSP/1.0 200 OK
    CSeq: 4
    Date: Mon, Apr 02 2018 16:23:27 GMT
    Range: npt=0.000-
    Session: CBA2E074
    RTP-Info: url=rtsp://10.0.0.73:8554/desktop/track1;seq=32456;rtptime=2677630715


    [URL:"rtsp://10.0.0.73:8554/desktop/"]: Started playing session...
    watchdog: initialized, but no frames received ...
    watchdog: initialized, but no frames received ...
    watchdog: initialized, but no frames received ...
    watchdog: initialized, but no frames received ...
    watchdog: initialized, but no frames received ...
    watchdog: initialized, but no frames received ...

    Server

    # [4432] 1522685876.873593 # include: config/common/server-common.conf
    # [4432] 1522685876.873731 # include: config/common/controller.conf
    # [4432] 1522685876.873810 # include: config/common/video-x264.conf
    # [4432] 1522685876.873882 # include: config/common/video-x264-param.conf
    # [4432] 1522685876.873974 # include: config/common/audio-lame.conf
    # [4432] 1522685876.874060 # RTSP[config]: using 'udp' for RTP flows.
    # [4432] 1522685876.874100 # RTSP[config]: controller port = 8555
    # [4432] 1522685876.874131 # RTSP[config]: controller via 'udp' protocol.
    # [4432] 1522685876.874189 # RTSP[config]: video-encoder = libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
    # [4432] 1522685876.874230 # RTSP[config]: audio-encoder = libmp3lame (libmp3lame MP3 (MPEG audio layer 3))
    # [4432] 1522685876.874281 # RTSP[config]: video specific option: b = 3000000
    # [4432] 1522685876.874316 # RTSP[config]: video specific option: g = 48
    # [4432] 1522685876.874348 # RTSP[config]: video specific option: intra-refresh = 1
    # [4432] 1522685876.874378 # RTSP[config]: video specific option: me_method = dia
    # [4432] 1522685876.874410 # RTSP[config]: video specific option: me_range = 16
    # [4432] 1522685876.874440 # RTSP[config]: video specific option: preset = faster
    # [4432] 1522685876.874471 # RTSP[config]: video specific option: profile = main
    # [4432] 1522685876.874501 # RTSP[config]: video specific option: refs = 1
    # [4432] 1522685876.874532 # RTSP[config]: video specific option: slices = 4
    # [4432] 1522685876.874563 # RTSP[config]: video specific option: threads = 4
    # [4432] 1522685876.874594 # RTSP[config]: video specific option: tune = zerolatency
    # [4432] 1522685876.874625 *** Crop disabled.
    # [4432] 1522685876.878908 sink server: live555-rtsp-server registered
    # [4432] 1522685876.878957 key-blocking initialized: 0+0 keys blocked.
    # [4432] 1522685876.879015 sdl_replayer: sizeof(sdlmsg) = 64
    # [4432] 1522685876.879465 sdl replayer: Replay using XTest (version 2.2) for display :0 screen 0, size=1280x1024.
    # [4432] 1522685876.879793 XShm extention version 1.2 with shared pixmaps
    # [4432] 1522685876.879832 X-Window-init: dimension: 1280x1024x8 @ 0/1
    # [4432] 1522685876.879917 dpipe: 'video-0' initialized, 8 frames, framesize = 16384092
    # [4432] 1522685876.913130 video-source: video-0 initialized max-curr-out = (2560x1600)-(1280x1024)-(1280x1024)
    # [4432] 1522685876.914241 Frame converter created: from (1280,1024)[30] -> (1280,1024)[0]
    # [4432] 1522685876.914343 dpipe: 'filter-0' initialized, 8 frames, framesize = 16384092
    # [4432] 1522685876.948463 video encoder: video source #0 from 'filter-0' (1280x1024).
    # [4432] 1522685876.948720 vencoder-init: option b = 3000000
    # [4432] 1522685876.948755 vencoder-init: option g = 48
    # [4432] 1522685876.948783 vencoder-init: option intra-refresh = 1
    # [4432] 1522685876.948811 vencoder-init: option me_method = dia
    # [4432] 1522685876.948839 vencoder-init: option me_range = 16
    # [4432] 1522685876.948867 vencoder-init: option preset = faster
    # [4432] 1522685876.948894 vencoder-init: option profile = main
    # [4432] 1522685876.948921 vencoder-init: option refs = 1
    # [4432] 1522685876.948949 vencoder-init: option slices = 4
    # [4432] 1522685876.948977 vencoder-init: option threads = 4
    # [4432] 1522685876.949004 vencoder-init: option tune = zerolatency
    [libx264 @ 0x9518b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    [libx264 @ 0x9518b40] profile Main, level 3.2
    [libx264 @ 0x9518b40] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=dia subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=48 keyint_min=4 scenecut=40 intra_refresh=1 rc=abr mbtree=0 bitrate=3000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    # [4432] 1522685876.958913 video encoder: initialized.
    # [4432] 1522685876.959008 video encoder: ffmpeg-video-encoder registered
    # [4432] 1522685876.959137 RGB2YUV filter[4443]: pipe#0 from 'video-0' to 'filter-0' (output-resolution=1280x1024)
    # [4432] 1522685876.959229 video source thread started: tid=4442
    # [4432] 1522685876.959290 controller socket: socket address [0.0.0.0:8555]
    # [4432] 1522685876.959337 controller server started: tid=4441.
    # [4432] 1522685876.960458 encoder: packet queue initialized (3x3145728 bytes)
    # [4432] 1522685876.960516 qos-measurement: initialized.
    # [4432] 1522685876.960587 (Use port 8000 for optional RTSP-over-HTTP tunneling.)
    # [4432] 1522685983.386797 video encdoer: all started (1)
    # [4432] 1522685983.386926 encoder client registered: total 1 clients.
    # [4432] 1522685983.386990 encoder: pktqueue #0 callback registered (0xf55a88a0)
    # [4432] 1522685983.387065 video encoder: h.264/found sps@4(24); pps@32(4)
    # [4432] 1522685983.387118 GAMediaSubsession: video/H264 SPS=0xdcfc346c(24); PPS=0xdcfc356c(4); profile_level_id=4d4020
    # [4432] 1522685983.387191 qos: add sink#1 for H.264, rtpsink=0xdc6061f8
    # [4432] 1522685983.387255 encoder client unregistered: 0 clients left.
    # [4432] 1522685983.387290 encoder: no more clients, quitting ...
    # [4432] 1522685983.387355 video encoding started: tid=4445 1280x1024@24fps, nalbuf_size=15828640, pic_in_size=1966080.
    # [4432] 1522685983.387402 video encoder: thread terminated (tid=4445).
    # [4432] 1522685983.387446 video encdoer: all stopped (1)
    [libx264 @ 0x9518b40] final ratefactor: 23.57
    # [4432] 1522685983.388265 video encoder: deinitialized.
    # [4432] 1522685983.741415 video encoder: video source #0 from 'filter-0' (1280x1024).
    # [4432] 1522685983.741772 vencoder-init: option b = 3000000
    # [4432] 1522685983.741819 vencoder-init: option g = 48
    # [4432] 1522685983.741870 vencoder-init: option intra-refresh = 1
    # [4432] 1522685983.741926 vencoder-init: option me_method = dia
    # [4432] 1522685983.741975 vencoder-init: option me_range = 16
    # [4432] 1522685983.742020 vencoder-init: option preset = faster
    # [4432] 1522685983.742086 vencoder-init: option profile = main
    # [4432] 1522685983.742123 vencoder-init: option refs = 1
    # [4432] 1522685983.742154 vencoder-init: option slices = 4
    # [4432] 1522685983.742188 vencoder-init: option threads = 4
    # [4432] 1522685983.742218 vencoder-init: option tune = zerolatency
    [libx264 @ 0xdc605f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    [libx264 @ 0xdc605f40] profile Main, level 3.2
    [libx264 @ 0xdc605f40] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=dia subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=48 keyint_min=4 scenecut=40 intra_refresh=1 rc=abr mbtree=0 bitrate=3000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    # [4432] 1522685983.749123 video encoder: initialized.
    # [4432] 1522685983.749175 video encdoer: all started (1)
    # [4432] 1522685983.749209 encoder client registered: total 1 clients.
    # [4432] 1522685983.749241 encoder: pktqueue #0 callback registered (0xf55a88a0)
    # [4432] 1522685983.749301 video encoder: h.264/found sps@4(24); pps@32(4)
    # [4432] 1522685983.749336 GAMediaSubsession: video/H264 SPS=0xdcfc353c(24); PPS=0xdcfc363c(4); profile_level_id=4d4020
    # [4432] 1522685983.749385 qos: add sink#1 for H.264, rtpsink=0xe3471b60
    # [4432] 1522685983.749480 video encoding started: tid=4454 1280x1024@24fps, nalbuf_size=15828640, pic_in_size=1966080.
    # [4432] 1522685983.775570 first video frame written (pts=0)
    # [4432] 1522686049.085120 encoder client unregistered: 0 clients left.
    # [4432] 1522686049.085221 encoder: no more clients, quitting ...
    # [4432] 1522686049.102929 video encoder: thread terminated (tid=4454).
    # [4432] 1522686049.103052 video encdoer: all stopped (1)
    [libx264 @ 0xdc605f40] frame I:1     Avg QP: 7.00  size:   447
    [libx264 @ 0xdc605f40] frame P:1568  Avg QP: 0.01  size:   216
    [libx264 @ 0xdc605f40] mb I  I16..4: 99.9%  0.0%  0.1%
    [libx264 @ 0xdc605f40] mb P  I16..4:  3.2%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:96.8%
    [libx264 @ 0xdc605f40] final ratefactor: -29.32
    [libx264 @ 0xdc605f40] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0xdc605f40] i16 v,h,dc,p: 94%  0%  6%  0%
    [libx264 @ 0xdc605f40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0xdc605f40] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 0xdc605f40] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0xdc605f40] kb/s:41.58
    # [4432] 1522686049.104181 video encoder: deinitialized.

    I think the IP address in RTSP header is the LAN IP of the device which is causing the making the connection to fail. The same software works fine from the LAN. Any help is appreciated.