On Mon, Jul 21, 2014 at 3:00 PM, Carl Eugen Hoyos <[email protected]> wrote:
> Matej <matej <at> tam.si> writes: > > > On Mon, Jul 21, 2014 at 2:13 PM, Carl Eugen Hoyos wrote: > > > > > Matej <matej <at> tam.si> writes: > > > > > > > Things work perfectly for about an hour (sound is > > > > smooth and the video too fpr the entire period), > > > > but after approximate 55 minutes (sometimes little > > > > less, sometimes more) the following messages start > > > > to pop-up: > > > > > > Does it work for file output or do you see the same > > > problems for file output as for network output? > > > > > > Does it work if you remove the audio / video stream? > > > > As mentioned, the same errors occur when outputting to > > the file. > > Do you see the same error if you don't use a real audio > input but -f lavfi -i sine instead? > > And could you use a transport stream from your harddrive > as source (NOT ffmpeg-created)? > Finally, you could create a transport stream with ffmpeg, > this should be a file that has starttime ~0 like the > audio input: Does this work fine? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Strange, when I use the -f lavfi -i sine as sound input, those muxing delay errors start immediately after I start ffmpeg. ------------------------------------------------------------------------------------------- /root/ffmpeg/ffmpeg -loglevel debug -rtbufsize 128000k -threads 0 -vsync 0 -re -i "udp://@:1300?fifo_size=1000000&overrun_nonfatal=1" -f lavfi -i sine -codec copy -s 720x576 -q 10 -shortest -f mpegts udp:// 192.168.1.150:1236?pkt_size=1316?buffer_size=65535 Splitting the commandline. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-rtbufsize' ... matched as AVOption 'rtbufsize' with argument '128000k'. Reading option '-threads' ... matched as AVOption 'threads' with argument '0'. Reading option '-vsync' ... matched as option 'vsync' (video sync method) with argument '0'. Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'. Reading option '-i' ... matched as input file with argument 'udp://@:1300?fifo_size=1000000&overrun_nonfatal=1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'. Reading option '-i' ... matched as input file with argument 'sine'. Reading option '-codec' ... matched as option 'codec' (codec name) with argument 'copy'. Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '720x576'. Reading option '-q' ... matched as option 'q' (use fixed quality scale (VBR)) with argument '10'. Reading option '-shortest' ... matched as option 'shortest' (finish encoding within shortest input) with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'. Reading option 'udp://192.168.1.150:1236?pkt_size=1316?buffer_size=65535' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Applying option vsync (video sync method) with argument 0. Successfully parsed a group of options. Parsing a group of options: input file udp://@:1300?fifo_size=1000000&overrun_nonfatal=1. Applying option re (read input at native frame rate) with argument 1. Successfully parsed a group of options. Opening an input file: udp://@:1300?fifo_size=1000000&overrun_nonfatal=1. [udp @ 0x1cee4c0] end receive buffer size reported is 131072 [mpegts @ 0x1ceefc0] Format mpegts probed with size=2048 and score=100 [mpegts @ 0x1ceefc0] stream=0 stream_type=2 pid=100 prog_reg_desc= [mpegts @ 0x1ceefc0] Before avformat_find_stream_info() pos: 0 bytes read:8272 seeks:0 [mpeg2video @ 0x1d02f00] Invalid frame dimensions 0x0. Last message repeated 4 times [mpegts @ 0x1ceefc0] All programs have pmt, headers found [mpeg2video @ 0x1d02f00] Invalid frame dimensions 0x0. [mpegts @ 0x1ceefc0] All info found [mpegts @ 0x1ceefc0] After avformat_find_stream_info() pos: 384648 bytes read:384648 seeks:0 frames:21 Input #0, mpegts, from 'udp://@:1300?fifo_size=1000000&overrun_nonfatal=1': Duration: N/A, start: 6998.733333, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100], 21, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], 1/48, max. 104857 kb/s, 24 fps, 24 tbr, 90k tbn, 48 tbc Successfully opened the file. Parsing a group of options: input file sine. Applying option f (force format) with argument lavfi. Successfully parsed a group of options. Opening an input file: sine. detected 4 logical cores [AVFilterGraph @ 0x1da52c0] query_formats: 2 queried, 3 merged, 0 already done, 0 delayed [lavfi @ 0x1dd2580] All info found Input #1, lavfi, from 'sine': Duration: N/A, start: 0.000000, bitrate: 705 kb/s Stream #1:0, 1, 1/44100: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s Successfully opened the file. Parsing a group of options: output file udp:// 192.168.1.150:1236?pkt_size=1316?buffer_size=65535. Applying option codec (codec name) with argument copy. Applying option s (set frame size (WxH or abbreviation)) with argument 720x576. Applying option q (use fixed quality scale (VBR)) with argument 10. Applying option shortest (finish encoding within shortest input) with argument 1. Applying option f (force format) with argument mpegts. Successfully parsed a group of options. Opening an output file: udp:// 192.168.1.150:1236?pkt_size=1316?buffer_size=65535. Successfully opened the file. [mpegts @ 0x1d1e1c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Last message repeated 1 times [mpegts @ 0x1d1e1c0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'udp:// 192.168.1.150:1236?pkt_size=1316?buffer_size=65535': Metadata: encoder : Lavf55.45.100 Stream #0:0, 0, 1/90000: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 1:1 DAR 5:4], 1/24, q=2-31, max. 104857 kb/s, 24 fps, 90k tbn, 24 tbc Stream #0:1, 0, 1/90000: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy) Press [q] to stop, [?] for help [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 26 times [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007811 > 10000000: forcing output [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 3 times Last message repeated 42 times [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007811 > 10000000: forcing output [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 3 times [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007811 > 10000000: forcing output [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 42 times [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007811 > 10000000: forcing output [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 3 times [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007811 > 10000000: forcing output [mpegts @ 0x1d1e1c0] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output Last message repeated 42 times frame= 6 fps=0.0 q=-1.0 Lsize= 5354kB time=00:00:51.64 bitrate= 849.3kbits/s video:170kB audio:4448kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.930787% Input file #0 (udp://@:1300?fifo_size=1000000&overrun_nonfatal=1): Input stream #0:0 (video): 12 packets read (178142 bytes); Total: 12 packets (178142 bytes) demuxed Input file #1 (sine): Input stream #1:0 (audio): 2224 packets read (4554752 bytes); Total: 2224 packets (4554752 bytes) demuxed Output file #0 (udp://192.168.1.150:1236?pkt_size=1316?buffer_size=65535): Output stream #0:0 (video): 6 packets muxed (174487 bytes); Output stream #0:1 (audio): 2224 packets muxed (4554752 bytes); Total: 2230 packets (4729239 bytes) muxed 0 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x1d099a0] Statistics: 0 seeks, 4627 writeouts [AVIOContext @ 0x1cee8c0] Statistics: 384648 bytes read, 0 seeks Received signal 2: terminating. ------------------------------------------------------------------------------------------- _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
