[FFmpeg-user] Muxing HEVC MP4 into TS

Sravan Ratakonda sravan.ratakonda at gmail.com
Wed Jan 14 12:18:34 CET 2015


Hi Moritz,
Thnanks for you reponse

i tried the same command and it does not work and fail with the error
Press [q] to stop, [?] for help
[mpegts @ 00000000002de280] HEVC bitstream malformed, no startcode found
av_interleaved_write_frame(): Not yet implemented in FFmpeg, patches welcome


Here is the complete console output

C:\ffmpeg -i hevc_res_640x480P_KiteShopTH2_30fps_Bitrate_15Mbps.mp4 -ma
p 0:v -c copy outfile.ts
ffmpeg version N-69029-ge2db9a7 Copyright (c) 2000-2015 the FFmpeg
developers
  built on Jan 12 2015 00:21:15 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-
libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink
--enab
le-zlib
  libavutil      54. 16.100 / 54. 16.100
  libavcodec     56. 20.100 / 56. 20.100
  libavformat    56. 18.101 / 56. 18.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5.  7.100 /  5.  7.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'hevc_res_640x480P_KiteShopTH2_30fps_Bit
rate_15Mbps.mp4':
  Metadata:
    major_brand     : h265
    minor_version   : 0
    compatible_brands: iso4hvc1h265
    creation_time   : 2014-12-10 06:18:29
    encoder         : eRightSoft(C)
  Duration: 00:00:15.02, start: 0.066733, bitrate: 1281 kb/s
    Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv),
640x4
80, 1278 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
    Metadata:
      creation_time   : 2014-12-10 06:18:29
Output #0, mpegts, to 'outfile.ts':
  Metadata:
    major_brand     : h265
    minor_version   : 0
    compatible_brands: iso4hvc1h265
    encoder         : Lavf56.18.101
    Stream #0:0(und): Video: hevc (hvc1 / 0x31637668), yuv420p, 640x480,
q=2-31,
 1278 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 30k tbc (default)
    Metadata:
      creation_time   : 2014-12-10 06:18:29
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpegts @ 00000000002de280] HEVC bitstream malformed, no startcode found
av_interleaved_write_frame(): Not yet implemented in FFmpeg, patches welcome
frame=    1 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.-6 bitrate=
 -0.0kbits
/s
video:32kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing ov
erhead: unknown
Conversion failed!


Regards,
Sravan Ratakonda

On Wed, Jan 14, 2015 at 3:56 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Tue, Jan 13, 2015 at 18:30:40 +0530, Sravan Ratakonda wrote:
> > Could some one help to get the right commands for muxing HEVC into
> MPEG-TS
> > using ffmpeg
>
> Have you tried
> $ ffmpeg -i inputfile_with_hevc -map 0:v -c copy outputfile.ts
> ?
>
> If yes, and it doesn't work (I know it doesn't for me under certain
> circumstances), please send us your ffmpeg command line and the
> complete, uncut console output.
>
> Thanks,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list