Dear experts, I want to rebrodcast this stream on udp but getting error, please help me to resolve this problem. E:\ffmpeg\bin>ffmpeg3 -i "http://mynet.com/news/news1.m3u8" -vcodec copy -bsf:v h264_mp4toannexb -acodec aac -ab 64000 -ar 48000 -ac 2 -strict experimental -f mpegts udp://127.0.0.1:10019?pkt_size=1316 ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg developers built on Sep 15 2014 22:02:10 with gcc 4.8.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib 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 Input #0, hls,applehttp, from 'http://mynet.com/news/news1.m3u8': Duration: N/A, start: 1156.120000, bitrate: 67 kb/s Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 67 kb/s [adts @ 04994180] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Output #0, mpegts, to 'udp://127.0.0.1:10019?pkt_size=1316': Metadata: encoder : Lavf56.4.101 Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 25 fps, 90k tbn, 25 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 64 kb/s Metadata: encoder : Lavc56.1.100 aac Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument frame= 49 fps=0.0 q=-1.0 size= 216kB time=00:00:01.96 bitrate= 900.9kbits/ [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument [NULL @ 058c7a00] Packet header is not contained in global extradata, corruptedstream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument frame= 66 fps=0.0 q=-1.0 Lsize= 290kB time=00:00:02.69 bitrate= 880.9kbits/s video:239kB audio:21kB subtitle:0kB other streams:0kB global headers:0kB muxingoverhead: 11.231766% Received signal 2: terminating.
E:\ffmpeg\bin> _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
