braice / MuMuDVB

A DVB IPTV streaming software
http://mumudvb.braice.net/
GNU General Public License v2.0
214 stars 133 forks source link

mumudvb crashes when streaming to ffserver via ffm. #14

Closed braice closed 6 years ago

braice commented 11 years ago

root@dvb2-s:~# mumudvb d -c test.conf -vvvvvvvv MuMuDVB Version 1.7 -- Build information --- Built without CAM support. Built with transcoding support. Built with ATSC support.

Built with support for DVB API Version 5 (DVB-S2).

Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004 Released under the GPL. Latest version available from http://mumudvb.braice.net/ Project from the cr@ns (http://www.crans.org) by Brice DUBOST (mumudvb@braice.net)

Deb2: Main: ==== Configuration file ==== Deb2: Main: 001 #This is an example configuration file for mumudvb with sending of sap announces Deb2: Main: 002 #All the commented lines are optionnal (except for tuning you have to match your system) Deb2: Main: 003 #To set HTTP unicast refer to README and README_CONF Deb2: Main: 004 # Deb2: Main: 005 #------------ TUNING ------------- Deb2: Main: 006 #The DVB/ATSC card we want to use Deb2: Main: 007 #card=2 Deb2: Main: 008 #The Transponder frequency Deb2: Main: 009 freq=11025 Deb2: Main: 010 # ---- SATELLITE (DVB-S) ----- Deb2: Main: 011 #The polarisation (can be h, v, l, r) Deb2: Main: 012 pol=h Deb2: Main: 013 #The symbol rate Deb2: Main: 014 srate=4165 Deb2: Main: 015 # ----- CABLE (DVB-C) ---- Deb2: Main: 016 #The symbol rate Deb2: Main: 017 #srate=27500 Deb2: Main: 018 # ---- TERRESTRIAL (DVB-T) ----- Deb2: Main: 019 #For DVB-T if the bandwith is 8MHz you don't have to set other parameters Deb2: Main: 020 # Deb2: Main: 021 # ----- ATSC ---- Deb2: Main: 022 #For ATSC you could have to set the modulation if it's different from VSB_8 Deb2: Main: 023 # Deb2: Main: 024 #--------- NETWORKING -------------- Deb2: Main: 025 #Do we want to have the same port for all the channels ? Deb2: Main: 026 #common_port=1234 Deb2: Main: 027 # Deb2: Main: 028 #Do we need to change the default multicast TTL (if you have routers, default value : 2) ? Deb2: Main: 029 #multicast_ttl=10 Deb2: Main: 030 # Deb2: Main: 031 #--------- SAP ANNOUNCES -------------- Deb2: Main: 032 #Do we want to send the announces ? Deb2: Main: 033 sap=1 Deb2: Main: 034 # Deb2: Main: 035 #What is the default playlist group for the SAP announces (optionnal) ? Deb2: Main: 036 sap_default_group=My channels Deb2: Main: 037 #Who is the organisation wich send the stream (optionnal) ? Deb2: Main: 038 #sap_organisation=my_streamed_tv Deb2: Main: 039 #The intervall between the SAP announces in second (default 5) Deb2: Main: 040 #sap_interval=10 Deb2: Main: 041 # ---------- PAT REWRITING ---------- Deb2: Main: 042 #If some of the clients are set top boxes we will probably need to rewrite the PAT pid Deb2: Main: 043 #rewrite_pat=1 Deb2: Main: 044 # Deb2: Main: 045 # ---------- SCRAMBLED CHANNELS ---------- Deb2: Main: 046 #Do we want hadware descrambling ? Deb2: Main: 047 #cam_support=1 Deb2: Main: 048 # Deb2: Main: 049 #If you have multiple CAMs you can specify the number of the one wich will be used Deb2: Main: 050 #cam_number=2 Deb2: Main: 051 # Deb2: Main: 052 # Deb2: Main: 053 # ----------------------- THE CHANNELS --------------------- Deb2: Main: 054 # Deb2: Main: 055 #For each channel you have to define : Deb2: Main: 056 # * The ip address Deb2: Main: 057 # * The port (if you didn't used common_port) Deb2: Main: 058 # * The name Deb2: Main: 059 # * At least the PMT, Video and Audio PIDs Deb2: Main: 060 # Deb2: Main: 061 #Ip adress Deb2: Main: 062 #ip=239.210.203.200 Deb2: Main: 063 #Name of the channel Deb2: Main: 064 #name=BBC World News Deb2: Main: 065 #The PIDs Deb2: Main: 066 #pids=1027 163 92 41 Deb2: Main: 067 # Deb2: Main: 068 # Deb2: Main: 069 #ip=239.210.203.201 Deb2: Main: 070 #name=Euronews Deb2: Main: 071 #pids=1034 2221 2231 2232 2233 2234 2235 2236 2237 2238 2239 768 Deb2: Main: 072 # Deb2: Main: 073 #ip=239.210.203.202 Deb2: Main: 074 #name=eng Euronews Deb2: Main: 075 #pids=1034 2221 2232 768 Deb2: Main: 076 # Deb2: Main: 077 #A scrambled channel, add cam_support=1 before the channel lists Deb2: Main: 078 #ip=239.210.203.203 Deb2: Main: 079 #name=Japan JSTV Deb2: Main: 080 #cam_pmt_pid=1037 Deb2: Main: 081 #pids=1037 2000 2001 2002 Deb2: Main: 082 Deb2: Main: 083 ip=192.168.1.1 Deb2: Main: 084 port=8000 Deb2: Main: 085 unicast_port=8001 Deb2: Main: 086 #ip_http=0.0.0.0 Deb2: Main: 087 #port_http=4242 Deb2: Main: 088 name=smrtv Deb2: Main: 089 # Deb2: Main: 090 # Deb2: Main: 091 transcode_enable=1 Deb2: Main: 092 transcode_send_transcoded_only=1 Deb2: Main: 093 #transcode_streaming_type=rtp Deb2: Main: 094 # Deb2: Main: 095 transcode_streaming_type=ffm Deb2: Main: 096 transcode_ffm_url=http://192.168.1.1:8095/feed1.ffm Deb2: Main: 097 # Deb2: Main: 098 transcode_rtp_port=9948 Deb2: Main: 099 transcode_sdp_filename=/var/lib/dss/media/mumudvb4.sdp Deb2: Main: 100 transcode_video_codec=libx264 Deb2: Main: 101 transcode_audio_codec=libmp3lame Deb2: Main: 102 transcode_video_scale=0.5 Deb2: Main: 103 transcode_loop_filter=1 Deb2: Main: 104 transcode_x264_partitions=1 Deb2: Main: 105 #transcode_enable_8x8dct=1 Deb2: Main: 106 transcode_gop=250 Deb2: Main: 107 transcode_keyint_min=25 Deb2: Main: 108 transcode_coder_type=0 Deb2: Main: 109 transcode_subq=1 Deb2: Main: 110 transcode_video_bitrate=1024000 Deb2: Main: 111 #extra Deb2: Main: 112 transcode_me_range=16 Deb2: Main: 113 transcode_qdiff=4 Deb2: Main: 114 transcode_qmin=10 Deb2: Main: 115 transcode_qmax=51 Deb2: Main: 116 # Deb2: Main: 117 pids=4387 4131 4129 Deb2: Main: ============ done =========== Info: SAP: Sap announces will be sent Info: Main: ========== End of configuration, MuMuDVB version 1.7 is starting ========== Deb0: Transcode : Channel 0, sdp_filename /var/lib/dss/media/mumudvb4.sdp Deb0: Transcode : Channel 0, ffm_url http://192.168.1.1:8095/feed1.ffm Deb0: Transcode : Channel 0, computed RTP port 9948 WARN: Main: Can't create /var/run/mumudvb/channels_streamed_adapter0_tuner0: No such file or directory WARN: Main: Can't create /var/run/mumudvb/channels_unstreamed_adapter0_tuner0: No such file or directory Info: Main: Streaming. Freq 11025000 Info: Tune: Using DVB card "TurboSight TBS 6984 DVBS/S2 frontend" tuner 0 Info: Tune: Tuning DVB-S to Freq: 1275000 kHz, LO frequency 9750000 kHz Pol:H Srate=4165000, LNB number: 0 Info: Tune: LNB voltage 18V Info: Tune: DISEQC SETTING SUCCEDED Deb0: Tune: polling.... Deb0: Tune: Getting frontend event Info: Tune: FE_STATUS: Deb0: Tune: polling.... Deb0: Tune: Getting frontend event Info: Tune: FE_STATUS: Info: Tune: FE_HAS_SIGNAL : found something above the noise level Info: Tune: FE_HAS_CARRIER : found a DVB signal Info: Tune: FE_HAS_VITERBI : FEC is stable Info: Tune: FE_HAS_SYNC : found sync bytes Info: Tune: FE_HAS_LOCK : everything's working... Info: Tune: Event: Frequency: 11024860 (or 8475140) Info: Tune: SymbolRate: 4164000 Info: Tune: FEC_inner: 3 Info: Tune: Bit error rate: 0 Info: Tune: Signal strength: 49001 Info: Tune: SNR: 31019 Info: Tune: FE_STATUS: Info: Tune: FE_HAS_SIGNAL : found something above the noise level Info: Tune: FE_HAS_CARRIER : found a DVB signal Info: Tune: FE_HAS_VITERBI : FEC is stable Info: Tune: FE_HAS_SYNC : found sync bytes Info: Tune: FE_HAS_LOCK : everything's working... Info: Main: Card 0, tuner 0 tuned Deb1: DVB: Setting filter for PID 0 Deb1: DVB: Setting filter for PID 1 Deb1: DVB: Setting filter for PID 16 Deb1: DVB: Setting filter for PID 17 Deb1: DVB: Setting filter for PID 18 Deb1: DVB: Setting filter for PID 20 Deb1: DVB: Setting filter for PID 4129 Deb1: DVB: Setting filter for PID 4131 Deb1: DVB: Setting filter for PID 4387 Deb0: SAP: init sap v4 Info: Main: Diffusion 1 channel Info: Main: Channel number : 0, name : "smrtv" service id 0 Info: Main: Multicast4 ip : 192.168.1.1:8000 Deb0: Main: pids : 4387 (Unknown ), 4131 (Unknown ), 4129 (Unknown ), Deb0: Transcode : Data queue is NOT full anymore. Info: Transcode : Initializing avlibs. Deb0: Transcode : Codecs available: D.. = Decoding supported .E. = Encoding supported ..V = Video codec ..A = Audio codec ..S = Subtitle codec Deb0: Transcode : D V 4xm 4X Movie Deb0: Transcode : D V 8bps QuickTime 8BPS video Deb0: Transcode : D A 8svx_exp 8SVX exponential Deb0: Transcode : D A 8svx_fib 8SVX fibonacci Deb0: Transcode : D A aac Advanced Audio Coding Deb0: Transcode : D V aasc Autodesk RLE Deb0: Transcode : DEA ac3 ATSC A/52A (AC-3) Deb0: Transcode : D A adpcm_4xm ADPCM 4X Movie Deb0: Transcode : DEA adpcm_adx SEGA CRI ADX ADPCM Deb0: Transcode : D A adpcm_ct ADPCM Creative Technology Deb0: Transcode : D A adpcm_ea ADPCM Electronic Arts Deb0: Transcode : D A adpcm_ea_maxis_xa ADPCM Electronic Arts Maxis CDROM XA Deb0: Transcode : D A adpcm_ea_r1 ADPCM Electronic Arts R1 Deb0: Transcode : D A adpcm_ea_r2 ADPCM Electronic Arts R2 Deb0: Transcode : D A adpcm_ea_r3 ADPCM Electronic Arts R3 Deb0: Transcode : D A adpcm_ea_xas ADPCM Electronic Arts XAS Deb0: Transcode : D A adpcm_ima_amv ADPCM IMA AMV Deb0: Transcode : D A adpcm_ima_dk3 ADPCM IMA Duck DK3 Deb0: Transcode : D A adpcm_ima_dk4 ADPCM IMA Duck DK4 Deb0: Transcode : D A adpcm_ima_ea_eacs ADPCM IMA Electronic Arts EACS Deb0: Transcode : D A adpcm_ima_ea_sead ADPCM IMA Electronic Arts SEAD Deb0: Transcode : D A adpcm_ima_iss ADPCM IMA Funcom ISS Deb0: Transcode : DEA adpcm_ima_qt ADPCM IMA QuickTime Deb0: Transcode : D A adpcm_ima_smjpeg ADPCM IMA Loki SDL MJPEG Deb0: Transcode : DEA adpcm_ima_wav ADPCM IMA WAV Deb0: Transcode : D A adpcm_ima_ws ADPCM IMA Westwood Deb0: Transcode : DEA adpcm_ms ADPCM Microsoft Deb0: Transcode : D A adpcm_sbpro_2 ADPCM Sound Blaster Pro 2-bit Deb0: Transcode : D A adpcm_sbpro_3 ADPCM Sound Blaster Pro 2.6-bit Deb0: Transcode : D A adpcm_sbpro_4 ADPCM Sound Blaster Pro 4-bit Deb0: Transcode : DEA adpcm_swf ADPCM Shockwave Flash Deb0: Transcode : D A adpcm_thp ADPCM Nintendo Gamecube THP Deb0: Transcode : D A adpcm_xa ADPCM CDROM XA Deb0: Transcode : DEA adpcm_yamaha ADPCM Yamaha Deb0: Transcode : DEA alac ALAC (Apple Lossless Audio Codec) Deb0: Transcode : D V amv AMV Video Deb0: Transcode : D A ape Monkey's Audio Deb0: Transcode : DEV asv1 ASUS V1 Deb0: Transcode : DEV asv2 ASUS V2 Deb0: Transcode : D A atrac3 Atrac 3 (Adaptive TRansform Acoustic Coding 3) Deb0: Transcode : D V avs AVS (Audio Video Standard) video Deb0: Transcode : D V bethsoftvid Bethesda VID video Deb0: Transcode : D V bfi Brute Force & Ignorance Deb0: Transcode : DEV bmp BMP image Deb0: Transcode : D V c93 Interplay C93 Deb0: Transcode : D V camstudio CamStudio Deb0: Transcode : D V camtasia TechSmith Screen Capture Codec Deb0: Transcode : D V cavs Chinese AVS video (AVS1-P2, JiZhun profile) Deb0: Transcode : D V cinepak Cinepak Deb0: Transcode : D V cljr Cirrus Logic AccuPak Deb0: Transcode : D A cook COOK Deb0: Transcode : D V cyuv Creative YUV (CYUV) Deb0: Transcode : D A dca DCA (DTS Coherent Acoustics) Deb0: Transcode : DEV dnxhd VC3/DNxHD Deb0: Transcode : D A dsicinaudio Delphine Software International CIN audio Deb0: Transcode : D V dsicinvideo Delphine Software International CIN video Deb0: Transcode : DES dvbsub DVB subtitles Deb0: Transcode : DES dvdsub DVD subtitles Deb0: Transcode : DEV dvvideo DV (Digital Video) Deb0: Transcode : D V dxa Feeble Files/ScummVM DXA Deb0: Transcode : D A eac3 ATSC A/52B (AC-3, E-AC-3) Deb0: Transcode : D V eacmv Electronic Arts CMV video Deb0: Transcode : D V eatgq Electronic Arts TGQ video Deb0: Transcode : D V eatgv Electronic Arts TGV video Deb0: Transcode : D V eatqi Electronic Arts TQI Video Deb0: Transcode : D V escape124 Escape 124 Deb0: Transcode : DEV ffv1 FFmpeg codec #1 Deb0: Transcode : DEV ffvhuff Huffyuv FFmpeg variant Deb0: Transcode : DEA flac FLAC (Free Lossless Audio Codec) Deb0: Transcode : DEV flashsv Flash Screen Video Deb0: Transcode : D V flic Autodesk Animator Flic video Deb0: Transcode : DEV flv Flash Video (FLV) Deb0: Transcode : D V fraps Fraps Deb0: Transcode : DEA g726 G.726 ADPCM Deb0: Transcode : DEV gif GIF (Graphics Interchange Format) Deb0: Transcode : DEV h261 H.261 Deb0: Transcode : DEV h263 H.263 / H.263-1996 Deb0: Transcode : D V h263i Intel H.263 Deb0: Transcode : EV h263p H.263+ / H.263-1998 / H.263 version 2 Deb0: Transcode : D V h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Deb0: Transcode : D V h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) Deb0: Transcode : DEV huffyuv Huffyuv / HuffYUV Deb0: Transcode : D V idcinvideo id Quake II CIN video Deb0: Transcode : D A imc IMC (Intel Music Coder) Deb0: Transcode : D V indeo2 Intel Indeo 2 Deb0: Transcode : D V indeo3 Intel Indeo 3 Deb0: Transcode : D A interplay_dpcm DPCM Interplay Deb0: Transcode : D V interplayvideo Interplay MVE video Deb0: Transcode : DEV jpegls JPEG-LS Deb0: Transcode : D V kmvc Karl Morton's video codec Deb0: Transcode : EV libdirac libdirac Dirac 2.2 Deb0: Transcode : EA libfaac libfaac AAC (Advanced Audio Codec) Deb0: Transcode : D A libfaad libfaad AAC (Advanced Audio Codec) Deb0: Transcode : DEA libgsm libgsm GSM Deb0: Transcode : DEA libgsm_ms libgsm GSM Microsoft variant Deb0: Transcode : EA libmp3lame libmp3lame MP3 (MPEG audio layer 3) Deb0: Transcode : DEA libopencore_amrnb OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band Deb0: Transcode : D A libopencore_amrwb OpenCORE Adaptive Multi-Rate (AMR) Wide-Band Deb0: Transcode : D V libopenjpeg OpenJPEG based JPEG 2000 decoder Deb0: Transcode : DEV libschroedinger libschroedinger Dirac 2.2 Deb0: Transcode : D A libspeex libspeex Speex Deb0: Transcode : EV libtheora libtheora Theora Deb0: Transcode : EA libvorbis libvorbis Vorbis Deb0: Transcode : EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Deb0: Transcode : EV libxvid libxvidcore MPEG-4 part 2 Deb0: Transcode : EV ljpeg Lossless JPEG Deb0: Transcode : D V loco LOCO Deb0: Transcode : D A mace3 MACE (Macintosh Audio Compression/Expansion) 3:1 Deb0: Transcode : D A mace6 MACE (Macintosh Audio Compression/Expansion) 6:1 Deb0: Transcode : D V mdec Sony PlayStation MDEC (Motion DECoder) Deb0: Transcode : D V mimic Mimic Deb0: Transcode : DEV mjpeg MJPEG (Motion JPEG) Deb0: Transcode : D V mjpegb Apple MJPEG-B Deb0: Transcode : D A mlp MLP (Meridian Lossless Packing)/TrueHD Deb0: Transcode : D V mmvideo American Laser Games MM Video Deb0: Transcode : D V motionpixels Motion Pixels video Deb0: Transcode : D A mp1 MP1 (MPEG audio layer 1) Deb0: Transcode : DEA mp2 MP2 (MPEG audio layer 2) Deb0: Transcode : D A mp3 MP3 (MPEG audio layer 3) Deb0: Transcode : D A mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3) Deb0: Transcode : D A mp3on4 MP3onMP4 Deb0: Transcode : D A mpc7 Musepack SV7 Deb0: Transcode : D A mpc8 Musepack SV8 Deb0: Transcode : DEV mpeg1video MPEG-1 video Deb0: Transcode : D V mpeg1video_vdpau MPEG-1 video (VDPAU acceleration) Deb0: Transcode : DEV mpeg2video MPEG-2 video Deb0: Transcode : DEV mpeg4 MPEG-4 part 2 Deb0: Transcode : D V mpegvideo MPEG-1 video Deb0: Transcode : D V mpegvideo_vdpau MPEG-1/2 video (VDPAU acceleration) Deb0: Transcode : D V mpegvideo_xvmc MPEG-1/2 video XvMC (X-Video Motion Compensation) Deb0: Transcode : DEV msmpeg4 MPEG-4 part 2 Microsoft variant version 3 Deb0: Transcode : DEV msmpeg4v1 MPEG-4 part 2 Microsoft variant version 1 Deb0: Transcode : DEV msmpeg4v2 MPEG-4 part 2 Microsoft variant version 2 Deb0: Transcode : D V msrle Microsoft RLE Deb0: Transcode : D V msvideo1 Microsoft Video 1 Deb0: Transcode : D V mszh LCL (LossLess Codec Library) MSZH Deb0: Transcode : DEA nellymoser Nellymoser Asao Deb0: Transcode : D V nuv NuppelVideo/RTJPEG Deb0: Transcode : DEV pam PAM (Portable AnyMap) image Deb0: Transcode : DEV pbm PBM (Portable BitMap) image Deb0: Transcode : DEA pcm_alaw PCM A-law Deb0: Transcode : D A pcm_dvd PCM signed 20|24-bit big-endian Deb0: Transcode : DEA pcm_f32be PCM 32-bit floating point big-endian Deb0: Transcode : DEA pcm_f32le PCM 32-bit floating point little-endian Deb0: Transcode : DEA pcm_f64be PCM 64-bit floating point big-endian Deb0: Transcode : DEA pcm_mulaw PCM mu-law Deb0: Transcode : DEA pcm_s16be PCM signed 16-bit big-endian Deb0: Transcode : DEA pcm_s16le PCM signed 16-bit little-endian Deb0: Transcode : D A pcm_s16le_planar PCM 16-bit little-endian planar Deb0: Transcode : DEA pcm_s24be PCM signed 24-bit big-endian Deb0: Transcode : DEA pcm_s24daud PCM D-Cinema audio signed 24-bit Deb0: Transcode : DEA pcm_s24le PCM signed 24-bit little-endian Deb0: Transcode : DEA pcm_s32be PCM signed 32-bit big-endian Deb0: Transcode : DEA pcm_s32le PCM signed 32-bit little-endian Deb0: Transcode : DEA pcm_s8 PCM signed 8-bit Deb0: Transcode : DEA pcm_u16be PCM unsigned 16-bit big-endian Deb0: Transcode : DEA pcm_u16le PCM unsigned 16-bit little-endian Deb0: Transcode : DEA pcm_u24be PCM unsigned 24-bit big-endian Deb0: Transcode : DEA pcm_u24le PCM unsigned 24-bit little-endian Deb0: Transcode : DEA pcm_u32be PCM unsigned 32-bit big-endian Deb0: Transcode : DEA pcm_u32le PCM unsigned 32-bit little-endian Deb0: Transcode : DEA pcm_u8 PCM unsigned 8-bit Deb0: Transcode : DEA pcm_zork PCM Zork Deb0: Transcode : D V pcx PC Paintbrush PCX image Deb0: Transcode : DEV pgm PGM (Portable GrayMap) image Deb0: Transcode : DEV pgmyuv PGMYUV (Portable GrayMap YUV) image Deb0: Transcode : DEV png PNG image Deb0: Transcode : DEV ppm PPM (Portable PixelMap) image Deb0: Transcode : D V ptx V.Flash PTX image Deb0: Transcode : D A qcelp QCELP / PureVoice Deb0: Transcode : D A qdm2 QDesign Music Codec 2 Deb0: Transcode : D V qdraw Apple QuickDraw Deb0: Transcode : D V qpeg Q-team QPEG Deb0: Transcode : DEV qtrle QuickTime Animation (RLE) video Deb0: Transcode : DEV rawvideo raw video Deb0: Transcode : D A real_144 RealAudio 1.0 (14.4K) Deb0: Transcode : D A real_288 RealAudio 2.0 (28.8K) Deb0: Transcode : D V rl2 RL2 video Deb0: Transcode : DEA roq_dpcm id RoQ DPCM Deb0: Transcode : DEV roqvideo id RoQ video Deb0: Transcode : D V rpza QuickTime video (RPZA) Deb0: Transcode : DEV rv10 RealVideo 1.0 Deb0: Transcode : DEV rv20 RealVideo 2.0 Deb0: Transcode : D V rv30 RealVideo 3.0 Deb0: Transcode : D V rv40 RealVideo 4.0 Deb0: Transcode : DEV sgi SGI image Deb0: Transcode : D A shorten Shorten Deb0: Transcode : D A smackaud Smacker audio Deb0: Transcode : D V smackvid Smacker video Deb0: Transcode : D V smc QuickTime Graphics (SMC) Deb0: Transcode : DEV snow Snow Deb0: Transcode : D A sol_dpcm DPCM Sol Deb0: Transcode : DEA sonic Sonic Deb0: Transcode : EA sonicls Sonic lossless Deb0: Transcode : D V sp5x Sunplus JPEG (SP5X) Deb0: Transcode : D V sunrast Sun Rasterfile image Deb0: Transcode : DEV svq1 Sorenson Vector Quantizer 1 Deb0: Transcode : D V svq3 Sorenson Vector Quantizer 3 Deb0: Transcode : DEV targa Truevision Targa image Deb0: Transcode : D V theora Theora Deb0: Transcode : D V thp Nintendo Gamecube THP video Deb0: Transcode : D V tiertexseqvideo Tiertex Limited SEQ video Deb0: Transcode : DEV tiff TIFF image Deb0: Transcode : D V truemotion1 Duck TrueMotion 1.0 Deb0: Transcode : D V truemotion2 Duck TrueMotion 2.0 Deb0: Transcode : D A truespeech DSP Group TrueSpeech Deb0: Transcode : D A tta True Audio (TTA) Deb0: Transcode : D V txd Renderware TXD (TeXture Dictionary) image Deb0: Transcode : D V ultimotion IBM UltiMotion Deb0: Transcode : D V vb Beam Software VB Deb0: Transcode : D V vc1 SMPTE VC-1 Deb0: Transcode : D V vc1_vdpau SMPTE VC-1 VDPAU Deb0: Transcode : D V vcr1 ATI VCR1 Deb0: Transcode : D A vmdaudio Sierra VMD audio Deb0: Transcode : D V vmdvideo Sierra VMD video Deb0: Transcode : D V vmnc VMware Screen Codec / VMware Video Deb0: Transcode : DEA vorbis Vorbis Deb0: Transcode : D V vp3 On2 VP3 Deb0: Transcode : D V vp5 On2 VP5 Deb0: Transcode : D V vp6 On2 VP6 Deb0: Transcode : D V vp6a On2 VP6 (Flash version, with alpha channel) Deb0: Transcode : D V vp6f On2 VP6 (Flash version) Deb0: Transcode : D V vqavideo Westwood Studios VQA (Vector Quantized Animation) video Deb0: Transcode : D A wavpack WavPack Deb0: Transcode : DEA wmav1 Windows Media Audio 1 Deb0: Transcode : DEA wmav2 Windows Media Audio 2 Deb0: Transcode : DEV wmv1 Windows Media Video 7 Deb0: Transcode : DEV wmv2 Windows Media Video 8 Deb0: Transcode : D V wmv3 Windows Media Video 9 Deb0: Transcode : D V wmv3_vdpau Windows Media Video 9 VDPAU Deb0: Transcode : D V wnv1 Winnov WNV1 Deb0: Transcode : D A ws_snd1 Westwood Audio (SND1) Deb0: Transcode : D A xan_dpcm DPCM Xan Deb0: Transcode : D V xan_wc3 Wing Commander III / Xan Deb0: Transcode : D V xl Miro VideoXL Deb0: Transcode : D S xsub XSUB Deb0: Transcode : DEV zlib LCL (LossLess Codec Library) ZLIB Deb0: Transcode : DEV zmbv Zip Motion Blocks Video Info: Transcode : Initializing transcoding. Deb1: SAP: sap sending ip address : 0x0 Deb1: SAP: SAP payload v4 Deb1: SAP: v=0 o=MuMuDVB 356443 1 IN IP4 192.168.1.1 s=smrtv c=IN IP4 192.168.1.1/2 t=0 0 a=tool:mumudvb-1.7 a=type:broadcast m=video 8000 udp 33 a=x-plgroup:My channels Deb1: SAP: end of SAP payload v4 Input #0, mpegts, from 'stream': Duration: N/A, start: 44560.179378, bitrate: 5128 kb/s Program 1 IMAGEN ERRO: Transcode : Output format: FFM (FFserver live feed) format Input #0, ffm, from 'http://192.168.1.1:8095/feed1.ffm': Duration: N/A, bitrate: N/A Stream #0.0: Audio: mp2, 44100 Hz, mono, s16, 32 kb/s Stream #0.1: Video: mpeg1video, yuv420p, 160x128, 64 kb/s, 1000k tbn, 3 tbc Stream #0.2: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s Stream #0.3: Video: msmpeg4, yuv420p, 352x240, 256 kb/s, 1000k tbn, 15 tbc Output #0, ffm, to 'http://192.168.1.1:8095/feed1.ffm': Stream #0.0: Audio: mp2, 44100 Hz, mono, s16, 32 kb/s Stream #0.1: Video: mpeg1video, yuv420p, 160x128, q=3-31, 64 kb/s, 1000k tbn, 3 tbc Stream #0.2: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s Stream #0.3: Video: msmpeg4, yuv420p, 352x240, q=3-31, 256 kb/s, 1000k tbn, 15 tbc [mpeg1video @ 0x93864b0]bitrate tolerance too small for bitrate ERRO: Transcode : Couldn't open codec for encoding. Info: Transcode : Transcoding sarted. Segmentation fault

It will not crash when the ffserver is not started/listening.

braice commented 11 years ago

It's a frequent issue. It say clearly that "Couldn't open codec for encoding."

See http://mumudvb.braice.net/mumudrupal/node/33

Which libavcodec-extra version did you install ? Transcoding is not working with recent version. There are many changes in ffmpeg API

braice commented 11 years ago

According to the transcode plugin developped by Maikel van der Roest : "The code still worked with the 0.6 versions of ffmpeg, though I also haven't really tested the new .7 code release."

http://git.videolan.org/?p=ffmpeg.git;a=commit;h=d7e98ea6acd0e01b26ec1084eb00b9cb06e59111

I gone my from Debian repository with: sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libavcodec-extra-52 ffmpeg

This is my ffmepg :

~$ ffmpeg -version FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1,