Opened 12 years ago

Last modified 12 years ago

#2438 new defect

Audio and Video not sync after import to Edius 6 or Premier 5

Reported by: yaropolov Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I got file by the command
ffmpeg -i rtmp://rian.cdnvideo.ru/rr/stream20 -c:v copy -c:a copy -y output2.mp4

After import it to timeline in Eduis or Premier audio and video not in sync. In Quicktime and VLC all ok.

I have attached the file

Attachments (1)

output2.mp4 (2.5 MB ) - added by yaropolov 12 years ago.

Change History (4)

by yaropolov, 12 years ago

Attachment: output2.mp4 added

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegundetermined
Priority: importantnormal

Do you think this is a regression (that would make the ticket important)?

To make this a valid ticket, please provide your command line together with the complete, uncut console output.

comment:2 by yaropolov, 12 years ago

I don't have problems with command line!! The problem is with import to timeline in two NLE system (Premier and Edius). Video and audio sync in Quicktime and VLC. Video and audio NOT SYNC in both NLE systems: in Premier and Edius. For example for the command line:
ffmpeg -i output.mp4 -s 1920x1080 -pix_fmt yuv420p -c:v mpeg2video -profile:v 4 -level 4 -g 12 -trellis 2 -keyint_min 3 -top 1 -vtag xd5c -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 36408333 -c:a pcm_s16le -ar 48K -ac 2 -b:a 192K -y output.mxf Audio and Video is sync and the mxf container is ok. But mp4 container is not ok!!! If you want I can give access to my cmputer through TeamViewer.

But if you want the cmd line it is below (exit with q):

c:\ffmpeg\bin>ffmpeg -i rtmp://rian.cdnvideo.ru/rr/stream20 -c:v copy -c:a copy -y output2.mp4
ffmpeg version N-50025-gb8bb661 Copyright (c) 2000-2013 the FFmpeg developers

built on Feb 17 2013 02:44:12 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-li

bass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libo
penjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 38.100 / 3. 38.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100

Metadata:

width 640.00
height 360.00
framerate 25.00
videokeyframe_frequency3.00
audiocodecid mp4a
audiodatarate 80.00
audiosamplerate 44100.00
audiochannels 1.00
audiodevice Elemental Technologies Live
videodevice Elemental Technologies Live
videocodecid avc1
videodatarate 700.00

[flv @ 000000000213a800] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://rian.cdnvideo.ru/rr/stream20':

Metadata:

videokeyframe_frequency: 3
audiochannels : 1
audiodevice : Elemental Technologies Live
videodevice : Elemental Technologies Live

Duration: N/A, start: 0.000000, bitrate: 798 kb/s

Stream #0:0: Video: h264 (Main), yuv420p, 640x360, 716 kb/s, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 44100 Hz, mono, fltp, 81 kb/s

Output #0, mp4, to 'output2.mp4':

Metadata:

videokeyframe_frequency: 3
audiochannels : 1
audiodevice : Elemental Technologies Live
videodevice : Elemental Technologies Live
encoder : Lavf54.63.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x360, q=2-31, 716 kb/s, 16k tbn, 1k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, 81 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help
frame= 627 fps= 31 q=-1.0 Lsize= 2466kB time=00:00:27.37 bitrate= 738.0kbits/s
video:2186kB audio:259kB subtitle:0 global headers:0kB muxing overhead 0.873848%

c:\ffmpeg\bin>

comment:3 by Carl Eugen Hoyos, 12 years ago

Is this only reproducible if the input is rtmp or also with file input?

Note: See TracTickets for help on using tickets.