[FFmpeg-user] Error - HEVC bitstream malformed, no startcode found

jaymat at epix.net jaymat at epix.net
Fri Jun 24 16:10:26 CEST 2016


I just installed ffmpeg
ffmpeg version 2.7.6-0  ubuntu  0.15.10.1
I have an H265 mp4 file that I downloaded from a site. I can view this file using VLC on my MAC.
I want to stream this file, multicast encapsulated as a TS.The command line I am using is

  ffmpeg -re -i  uscenes_coral_garden_uhd_5-1_h-265_8bit.mp4 -c:v libx265 -vcodec copy -acodec copy -f mpegts udp://239.194.0.201:10002
Following output is displayed
====================================================================
ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg developers  built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010  configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265  libavutil      54. 27.100 / 54. 27.100  libavcodec     56. 41.100 / 56. 41.100  libavformat    56. 36.100 / 56. 36.100  libavdevice    56.  4.100 / 56.  4.100  libavfilter     5. 16.101 /  5. 16.101  libavresample   2.  1.  0 /  2.  1.  0  libswscale      3.  1.101 /  3.  1.101  libswresample   1.  2.100 /  1.  2.100  libpostproc    53.  3.100 / 53.  3.100Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uscenes_coral_garden_uhd_5-1_h-265_8bit.mp4':  Metadata:    major_brand     : mp42    minor_version   : 0    compatible_brands: mp42mp41    creation_time   : 2016-02-03 05:48:43  Duration: 00:20:00.92, start: 0.000000, bitrate: 983 kb/s    Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 8230 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 23.98 tbc (default)    Metadata:      creation_time   : 2016-02-03 05:48:43      handler_name    : Alias Data Handler    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 317 kb/s (default)    Metadata:      creation_time   : 2016-02-03 05:48:43      handler_name    : Alias Data HandlerOutput #0, mpegts, to 'udp://239.194.0.201:10002':  Metadata:    major_brand     : mp42    minor_version   : 0    compatible_brands: mp42mp41    encoder         : Lavf56.36.100    Stream #0:0(eng): Video: hevc (hvc1 / 0x31637668), yuvj420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 8230 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default)    Metadata:      creation_time   : 2016-02-03 05:48:43      handler_name    : Alias Data Handler    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, 317 kb/s (default)    Metadata:      creation_time   : 2016-02-03 05:48:43      handler_name    : Alias Data HandlerStream mapping:  Stream #0:0 -> #0:0 (copy)  Stream #0:1 -> #0:1 (copy)Press [q] to stop, [?] for help[mpegts @ 0x223da60] HEVC bitstream malformed, no startcode foundav_interleaved_write_frame(): Not yet implemented in FFmpeg, patches welcome[mpegts @ 0x223da60] HEVC bitstream malformed, no startcode foundframe=   10 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.33 bitrate=   0.0kbits/s    video:455kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownConversion failed!


====================================================================
Any suggestions on overcoming this issue ?  

Thank youJas


More information about the ffmpeg-user mailing list