[FFmpeg-trac] #3489(undetermined:closed): Failure to copy AVI to AVI with MP2 present
FFmpeg
trac at avcodec.org
Fri Apr 25 15:13:24 CEST 2014
#3489: Failure to copy AVI to AVI with MP2 present
-------------------------------------+-------------------------------------
Reporter: gdittmer | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: avi mp2 | Resolution:
Blocking: | worksforme
Analyzed by developer: 0 | Blocked By:
| Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: => avi mp2
* status: new => closed
* version: 2.1.4 => git-master
* resolution: => worksforme
Comment:
I tested the following:
{{{
$ ffmpeg -i in.avi -vcodec msmpeg4 -acodec copy -t 2.8 -qscale 5 out.avi
ffmpeg version N-62701-g2f2629c Copyright (c) 2000-2014 the FFmpeg
developers
built on Apr 25 2014 14:25:02 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 78.100 / 52. 78.100
libavcodec 55. 59.100 / 55. 59.100
libavformat 55. 37.101 / 55. 37.101
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'in.avi':
Metadata:
encoder : Lavf55.19.104
Duration: 00:00:15.46, start: 0.000000, bitrate: 1325 kb/s
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv,
bt709), 1280x720 [SAR 1:1 DAR 16:9], 100 fps, 50 tbr, 100 tbn, 100 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p,
256 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf55.37.101
Stream #0:0: Video: msmpeg4v3 (msmpeg4) (MP43 / 0x3334504D), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 tbn, 50 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 256
kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> msmpeg4)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 57 fps=0.0 q=5.0 Lsize= 575kB time=00:00:02.80
bitrate=1678.8kbits/s
video:472kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 2.828374%
}}}
The output file shows the same problems with vlc as originally described,
but plays fine with WMP, MPlayer, xine and ffplay so I suspect a problem
in vlc. Please reopen this ticket if you find an indication that I am
wrong.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3489#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list