Opened 5 years ago

Closed 5 years ago

#2511 closed defect (needs_more_info)

hls muxer mul outputs lost one channel

Reported by: Leo Owned by:
Priority: normal Component: undetermined
Version: 1.2 Keywords: hls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:hls muxer mul outputs lost one channel
How to reproduce:

% ffmpeg -i udp://172.16.7.59:10001 -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 352x288 -b:v 459k -x264opts vbv-bufsize=600:vbv-maxrate=459:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-1m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 720x576 -b:v 1733k -x264opts vbv-bufsize=2000:vbv-maxrate=1733:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-2m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1280x720 -b:v 2643k -x264opts vbv-bufsize=3000:vbv-maxrate=2643:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-3m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1920x1080 -b:v 3553k -x264opts vbv-bufsize=4000:vbv-maxrate=3553:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01" -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-4m.m3u8

actual output:
'''== non m3u8 file =='''   ayh-1m0.ts   '''non other segments'''
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....

The correct output:
ayh-1m.m3u8 ayh-1m0.ts ayh-1m1.ts  .....
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....


ffmpeg version 1.2
built on ... ubuntu 12.04.1

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (3)

comment:1 in reply to: ↑ description Changed 5 years ago by Leo

Replying to Leo:

Summary of the bug:hls muxer mul outputs lost one channel
How to reproduce:

% ffmpeg -i udp://172.16.7.59:10001 -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 352x288 -b:v 459k -x264opts vbv-bufsize=600:vbv-maxrate=459:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-1m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 720x576 -b:v 1733k -x264opts vbv-bufsize=2000:vbv-maxrate=1733:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-2m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1280x720 -b:v 2643k -x264opts vbv-bufsize=3000:vbv-maxrate=2643:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01"  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-3m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1920x1080 -b:v 3553k -x264opts vbv-bufsize=4000:vbv-maxrate=3553:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider="MCS" -metadata service_name="Service01" -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-4m.m3u8

actual output:
'''== non m3u8 file =='''   ayh-1m0.ts   '''non other segments'''
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....

The correct output:
ayh-1m.m3u8 ayh-1m0.ts ayh-1m1.ts  .....
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....


ffmpeg version 1.2
built on ... ubuntu 12.04.1

ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers

built on Apr 29 2013 13:47:16 with gcc 4.6 (Ubuntu/Linaro? 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-runtime-cpudetect --prefix=/home/samba/ffmpegshare --enable-libx264
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100

}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

comment:2 Changed 5 years ago by Cigaes

  • Analyzed by developer unset
  • Component changed from FFmpeg to undetermined
  • Priority changed from important to normal
  • Reproduced by developer unset

Full console output missing.

Does the bug only happen with network input, or can it be reproduced using files and/or test sources? The bug is very unlikely to get fixed unless a developer can reproduce it locally.

Please try latest git instead of 1.2 release.

Also, try to trim your command line, and use only internal encoders.

Last, do not randomly fill up fields in the bug description.

comment:3 Changed 5 years ago by cehoyos

  • Keywords muxer error removed
  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if you can add the missing information.

Note: See TracTickets for help on using tickets.