[FFmpeg-trac] #4824(undetermined:closed): Rtmp Lip-sync trouble

FFmpeg trac at avcodec.org
Thu Sep 3 13:26:39 CEST 2015


#4824: Rtmp Lip-sync trouble
-------------------------------------+-------------------------------------
             Reporter:  laurfb       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  flv desync   |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  lip-sync => flv desync
 * status:  new => closed
 * version:  unspecified => git-master
 * resolution:   => worksforme


Comment:

 I tested the following and the output file plays in-sync here:
 {{{
 $ ffmpeg -i rtmp://82.208.148.204:1935/live/tvriasi -codec copy out.flv
 ffmpeg version N-74796-g26a0cd1 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   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
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [flv @ 0x2e493e0] Stream discovered after head already parsed
 Input #0, flv, from 'rtmp://82.208.148.204:1935/live/tvriasi':
   Metadata:
     Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
     displayWidth    : 720
     displayHeight   : 576
     fps             : 0
     profile         :
     level           :
   Duration: 00:00:00.00, start: 6323.712000, bitrate: N/A
     Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709), 720x576 [SAR
 12:11 DAR 15:11], 2048 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
     Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
 [flv @ 0x2fa6aa0] Codec for stream 0 does not use global headers but
 container format requires global headers
 [flv @ 0x2fa6aa0] Codec for stream 1 does not use global headers but
 container format requires global headers
 Output #0, flv, to 'out.flv':
   Metadata:
     Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
     displayWidth    : 720
     displayHeight   : 576
     fps             : 0
     profile         :
     level           :
     encoder         : Lavf56.40.101
     Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 720x576
 [SAR 12:11 DAR 15:11], q=2-31, 2048 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 48000 Hz, stereo
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 5636 fps= 51 q=-1.0 Lsize=   26433kB time=00:01:53.57
 bitrate=1906.6kbits/s
 video:23630kB audio:2605kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 0.755971%
 }}}
 Please test and confirm: http://www.datafilehost.com/d/cf64c9c0

 Note that I believe there are better tools if you only want to dump the
 flv stream, FFmpeg is primarily useful for filtering and transcoding.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4824#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list