[FFmpeg-trac] #2162(undetermined:new): ffmpeg does not create PS3 compatible m2ts files
FFmpeg
trac at avcodec.org
Mon Jan 21 09:08:21 CET 2013
#2162: ffmpeg does not create PS3 compatible m2ts files
-------------------------------------+-------------------------------------
Reporter: britannia | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I have some movies (mpeg2 video, AC3 audio) that I would like to convert
to m2ts.
If I do this with tsMuxerGUI, it plays like a charm on my PS3. If I try
this with ffmpeg the PS3 does never recognize the audio track.
I've used "ffmpeg -i sample.vob -acodec copy -vcodec copy sample.m2ts"
Sample files were uploaded to the ftp Server upload.ffmpeg.org:
PS3Issue_Readme.txt
PS3IssueSampleFFMPEG.m2ts
PS3IssueSampleTSMUXERGUI.m2ts
==============================
1.) convert the file with "ffmpeg.exe" -i sample.mkv -acodec copy -vcodec
copy -t 7 sampleFFMPEG.m2ts"
==============================
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 16:16:22 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, matroska,webm, from 'sample.mkv':
Metadata:
creation_time : 2013-01-21 07:30:54
Duration: 00:11:12.24, start: 0.000000, bitrate: 8453 kb/s
Chapter #0.0: start 0.000000, end 672.238000
Metadata:
title : Chapter 01
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [SAR
32:27 DAR
16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
(default)
Metadata:
title : 3/2+1
Output #0, mpegts, to 'sampleFFMPEG.m2ts':
Metadata:
encoder : Lavf54.59.106
Chapter #0.0: start 0.000000, end 7.000000
Metadata:
title : Chapter 01
Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 186:157 DAR
279:1
57], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s (default)
Metadata:
title : 3/2+1
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 211 fps=0.0 q=-1.0 Lsize= 8038kB time=00:00:07.00
bitrate=9396.6kbits
/s
video:6880kB audio:383kB subtitle:0 global headers:0kB muxing overhead
10.673105
%
==============================
here ist the output of "ffmpeg -i sampleFFMPEG.m2ts"
==============================
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 16:16:22 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mpegts, from 'sampleFFMPEG.m2ts':
Duration: 00:00:07.04, start: 1.400000, bitrate: 9353 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420
p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
Hz, 5.1
(side), fltp, 448 kb/s
At least one output file must be specified
==============================
then I have "posprocessed" the sampleFFMPEG.m2ts with tsMuxerGUI
here ist the output of "ffmpeg -i sampleTSMUXERGGUI.m2ts"
==============================
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 16:16:22 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mpegts, from 'sampleTSMUXERGUI.m2ts':
Duration: 00:00:07.04, start: 600.000000, bitrate: 8894 kb/s
Program 1
Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv42
0p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side
), fltp, 448 kb/s
At least one output file must be specified
==============================
The differences that I see between ffmpeg output and tsMuxerGUI output are
the track IDs and then "ac3 ([129][0][0][0] / 0x0081)" vs. "(AC-3 /
0x332D4341)".
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2162>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list