Opened 9 years ago

Closed 9 years ago

#4248 closed defect (fixed)

Muxing to MPEGTS and i only get Audio , No Video

Reported by: BlackDream Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,

I recently came up with a stream in which it has video codec and audio codec.

FFprobe the sample

ffprobe test.asf

Input #0, asf, from 'test.asf':
  Metadata:
    encoder         : Lavf55.33.100
  Duration: 00:09:58.40, start: 4.573000, bitrate: 40 kb/s
    Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 544x576 [SAR 24:17 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 40 kb/

Using FFmpeg:

ffmpeg -v verbose -i test.asf -c copy -f mpegts /tmp/new.ts

ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
  built on Jan 10 2015 08:04:28 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/root/ffmpeg/target --extra-cflags='-I/root/ffmpeg/target/include -static' --extra-ldflags='-L/root/ffmpeg/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.102 / 56. 15.102
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[asf @ 0x3a0a740] Estimating duration from bitrate, this may be inaccurate
Input #0, asf, from 'test.asf':
  Metadata:
    encoder         : Lavf55.33.100
  Duration: 00:09:58.40, start: 4.573000, bitrate: 40 kb/s
    Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 544x576 [SAR 24:17 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 40 kb/s
File '/tmp/new.ts' already exists. Overwrite ? [y/N] y
[mpegts @ 0x3b4a660] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/new.ts':
  Metadata:
    encoder         : Lavf56.15.102
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 544x576 (0x0) [SAR 24:17 DAR 4:3], q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 40 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame=  895 fps=0.0 q=-1.0 Lsize=    3197kB time=00:00:35.84 bitrate= 730.6kbits/s
video:2671kB audio:175kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 12.324291%
Input file #0 (test.asf):
  Input stream #0:0 (video): 895 packets read (2734889 bytes);
  Input stream #0:1 (audio): 1680 packets read (179234 bytes);
  Total: 2575 packets (2914123 bytes) demuxed
Output file #0 (/tmp/new.ts):
  Output stream #0:0 (video): 895 packets muxed (2734889 bytes);
  Output stream #0:1 (audio): 1680 packets muxed (179234 bytes);
  Total: 2575 packets (2914123 bytes) muxed

FFprobe the output File (mpegts)

ffprobe new.ts


ffprobe version 2.5.3 Copyright (c) 2007-2014 the FFmpeg developers
  built on Jan 10 2015 08:04:28 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/root/target --extra-cflags='-I/root/target/include -static' --extra-ldflags='-L/root/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-libfreetype --enable-filter=drawtext --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3334fe0] decode_slice_header error
[h264 @ 0x3334fe0] no frame!
[h264 @ 0x3334fe0] non-existing PPS 0 referenced
[mpegts @ 0x3331080] decoding for stream 0 failed
[mpegts @ 0x3331080] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'new.ts':
  Duration: 00:00:35.83, start: 1.400000, bitrate: 730 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), 25 fps, 25 tbr, 90k tbn, 180k tbc
    Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 40 kb/s

When i try to watch the new.ts using VLC MediaPlayer i get no Video, only audio!

However...

If i do the following command:

ffmpeg -i test.asf -c copy -f matroska - | ffmpeg -i - -c copy -bsf:v h264_mp4toannexb -f mpegts /tmp/new_within_matroska.ts

The output file has Video & Audio and it's working in my own VLC media player successfully.

But why it doesnt work when i directly mux it into mpegts?

Attachments (1)

test.asf (1.6 MB ) - added by BlackDream 9 years ago.

Download all attachments as: .zip

Change History (2)

by BlackDream, 9 years ago

Attachment: test.asf added

comment:1 by Michael Niedermayer, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.