[FFmpeg-trac] #2918(undetermined:new): Transmuxing Facebook MP4s creates bad mpeg-ts stream
FFmpeg
trac at avcodec.org
Fri Aug 30 19:42:33 CEST 2013
#2918: Transmuxing Facebook MP4s creates bad mpeg-ts stream
-------------------------------------+-------------------------------------
Reporter: nealzebub | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Replying to [ticket:2918 nealzebub]:
> Attempting to transmux an MP4 file downloaded from Facebook to mpeg-ts
or HLS stream results in an an invalid stream. By invalid, I mean an
mpeg-ts file or pipe stream is produced that FFmpeg itself cannot use.
I tried to remux the mp4 file you attached, and the output stream plays
fine here with ffplay and can be transcoded with ffmpeg. Could you explain
(again) what is wrong with the output file?
{{{
$ ffmpeg -i transmuxme.mp4 -c copy -bsf h264_mp4toannexb out.ts
ffmpeg version N-55912-gd814a83 Copyright (c) 2000-2013 the FFmpeg
developers
built on Aug 30 2013 19:39:36 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 42.100 / 52. 42.100
libavcodec 55. 29.100 / 55. 29.100
libavformat 55. 15.100 / 55. 15.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.102 / 3. 82.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'transmuxme.mp4':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
creation_time : 2013-08-30 14:15:11
Duration: 00:00:36.80, start: 0.000000, bitrate: 292 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 400x224, 245 kb/s, 29.91 fps, 29.91 tbr, 29910 tbn,
59.82 tbc (default)
Metadata:
creation_time : 2013-08-30 14:15:11
handler_name : /tmp/10151818995537162_video.264 - Imported with
GPAC 0.4.6-DEV-rev3544
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
fltp, 45 kb/s (default)
Metadata:
creation_time : 2013-08-30 14:15:11
handler_name : /tmp/10151818995537162_audio.aac - Imported with
GPAC 0.4.6-DEV-rev3544
Output #0, mpegts, to 'out.ts':
Metadata:
major_brand : FACE
minor_version : 1337
compatible_brands: isomavc1FACE
encoder : Lavf55.15.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 400x224,
q=2-31, 245 kb/s, 29.91 fps, 90k tbn, 29.91 tbc (default)
Metadata:
creation_time : 2013-08-30 14:15:11
handler_name : /tmp/10151818995537162_video.264 - Imported with
GPAC 0.4.6-DEV-rev3544
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, 45
kb/s (default)
Metadata:
creation_time : 2013-08-30 14:15:11
handler_name : /tmp/10151818995537162_audio.aac - Imported with
GPAC 0.4.6-DEV-rev3544
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[adts @ 0x2e68be0] Encoder did not produce proper pts, making some up.
frame= 1098 fps=0.0 q=-1.0 Lsize= 1564kB time=00:00:36.80 bitrate=
348.2kbits/s
video:1098kB audio:205kB subtitle:0 global headers:0kB muxing overhead
20.054055%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2918#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list