what is wrong on the Command Line ? In ffmpeg 2.7.2 it runs without any Problems, the Problems first started with ffmpeg 2.8.x.
I want to convert completly a Multicast Stream into HLS Format, with all Streams, including subtitle Streams. Subtitle Stream is also needed as is. So it's a simple Conversion, and no reencoding of any Stream. Am 21.11.2015 um 18:47 schrieb adrian: > I was going to tell you that your formats were all wrong, > and that you needed h264 and aac > but I checked and hls has no limit on formats. > > However, just because you can, doesn't mean you should, > hls implies h264 video, aac audio and 608 or webvtt captions. > > May I ask why you would do it your way? > I am just curious. > > > ----- Reply message ----- > From: "Cloudclimber" <[email protected]> > To: <[email protected]> > Subject: [FFmpeg-user] Exactly one WebVTT stream is needed > Date: Fri, Nov 20, 2015 4:50 PM > > Hi there, > > this command works without Problems in ffmpeg 2.7.2: > > |./ffmpeg -i udp://@239.100.1.1:1234 -map 0 -probesize 100 > -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap > 10 -hls_list_size 10 /var/www/test1_.m3u8 > > but since |ffmpeg 2.8.0 i got the Output below, even with ffmpeg 2.8.2 . > Sure i could exclude subtitle Streams, but i want to have dvb_teletext > in the stream also, so this is no solution. > > Anyone has an idea how to map all streams, inclusive subtitle streams > with ffmpeg 2.8.2? > > > > OUTPUT: > ==================== > root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# ./ffmpeg -i > udp://@239.100.1.1:1234 <udp://@239.100.1.1:1234/> -map 0 -probesize 100 > -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap > 10 -hls_list_size 10 /var/www/test1_.m3u8 -loglevel debug > ffmpeg version 2.8.2-statichttp://johnvansickle.com/ffmpeg/ Copyright > (c) 2000-2015 the FFmpeg developers > built with gcc 5.2.1 (Debian 5.2.1-23) 20151028 > configuration: --enable-gpl --enable-version3 --disable-shared > --disable-debug --enable-runtime-cpudetect --enable-libmp3lame > --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex > --enable-libvorbis --enable-libvpx --enable-libfreetype > --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc > --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg > --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab > --enable-libsoxr --enable-frei0r --enable-libfribidi > --disable-indev=sndio --disable-outdev=sndio --cc=gcc > libavutil 54. 31.100 / 54. 31.100 > libavcodec 56. 60.100 / 56. 60.100 > libavformat 56. 40.101 / 56. 40.101 > libavdevice 56. 4.100 / 56. 4.100 > libavfilter 5. 40.101 / 5. 40.101 > libswscale 3. 1.101 / 3. 1.101 > libswresample 1. 2.101 / 1. 2.101 > libpostproc 53. 3.100 / 53. 3.100 > Splitting the commandline. > Reading option '-i' ... matched as input file with argument > 'udp://@239.100.1.1:1234'. > Reading option '-map' ... matched as option 'map' (set input stream > mapping) with argument '0'. > Reading option '-probesize' ... matched as AVOption 'probesize' with > argument '100'. > Reading option '-analyzeduration' ... matched as AVOption > 'analyzeduration' with argument '100'. > Reading option '-c' ... matched as option 'c' (codec name) with argument > 'copy'. > Reading option '-copy_unknown' ... matched as option 'copy_unknown' > (Copy unknown stream types) with argument '1'. > Reading option '-f' ... matched as option 'f' (force format) with > argument 'hls'. > Reading option '-hls_time' ... matched as AVOption 'hls_time' with > argument '10'. > Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with > argument '10'. > Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' > with argument '10'. > Reading option '/var/www/test1_.m3u8' ... matched as output file. > Reading option '-loglevel' ... matched as option 'loglevel' (set logging > level) with argument 'debug'. > Finished splitting the commandline. > Parsing a group of options: global . > Applying option copy_unknown (Copy unknown stream types) with argument 1. > Applying option loglevel (set logging level) with argument debug. > Successfully parsed a group of options. > Parsing a group of options: input file udp://@239.100.1.1:1234 > <udp://@239.100.1.1:1234/>. > Successfully parsed a group of options. > Opening an input file: udp://@239.100.1.1:1234 > <udp://@239.100.1.1:1234/>. > [udp @ 0x3c048c0] end receive buffer size reported is 131072 > [mpegts @ 0x3c04080] Format mpegts probed with size=2048 and score=100 > [mpegts @ 0x3c04080] stream=0 stream_type=3 pid=90 prog_reg_desc= > [mpegts @ 0x3c04080] stream=1 stream_type=6 pid=92 prog_reg_desc= > [mpegts @ 0x3c04080] stream=2 stream_type=2 pid=a8 prog_reg_desc= > [mpegts @ 0x3c04080] stream=3 stream_type=5 pid=585 prog_reg_desc= > [mpegts @ 0x3c04080] Before avformat_find_stream_info() pos: 0 bytes > read:215824 seeks:0 > [mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or > times may be invalid. > [mpegts @ 0x3c04080] parser not found for codec none, packets or times > may be invalid. > [mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or > times may be invalid. > [mpeg2video @ 0x3c2a080] Invalid frame dimensions 0x0. > Last message repeated 4 times > [mpegts @ 0x3c04080] max_analyze_duration 5000000 reached at 5000000 > microseconds st:2 > [mpegts @ 0x3c04080] Could not find codec parameters for stream 3 > (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec > Consider increasing the value for the 'analyzeduration' and 'probesize' > options > [mpegts @ 0x3c04080] After avformat_find_stream_info() pos: 2948780 > bytes read:2949156 seeks:0 frames:469 > Input #0, mpegts, from 'udp://@239.100.1.1:1234': > Duration: N/A, start: 85846.772444, bitrate: N/A > Program 3394 > Metadata: > service_name : QVC PLUS > service_provider: SES ASTRA > Stream #0:0[0x90](ger), 208, 1/90000: Audio: mp2 ([3][0][0][0] / > 0x0003), 48000 Hz, stereo, s16p, 128 kb/s > Stream #0:1[0x92](ger), 131, 1/90000: Subtitle: dvb_teletext > ([6][0][0][0] / 0x0006) > Stream #0:2[0xa8], 130, 1/90000: Video: mpeg2video (Main), 1 reference > frame ([2][0][0][0] / 0x0002), yuv420p(tv, left), 720x576 [SAR 64:45 DAR > 16:9], 1/50, max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0:3[0x585], 0, 1/90000: Unknown: none ([5][0][0][0] / 0x0005) > Successfully opened the file. > Parsing a group of options: output file /var/www/test1_.m3u8. > Applying option map (set input stream mapping) with argument 0. > Applying option c (codec name) with argument copy. > Applying option f (force format) with argument hls. > Successfully parsed a group of options. > Opening an output file: /var/www/test1_.m3u8. > Successfully opened the file. > [webvtt @ 0x3fb80c0] Exactly one WebVTT stream is needed. > [mpegts @ 0x3fb7ae0] muxrate VBR, pcr every 2 pkts, sdt every 200, > pat/pmt every 40 pkts > Segmentation fault (core dumped) > root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# > ============================ > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
