Stream MXF /DV file

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
jfe
New Cone
New Cone
Posts: 2
Joined: 05 May 2014 11:03

Stream MXF /DV file

Postby jfe » 05 May 2014 11:19

Hello all,

I am trying to setup a VOD server based on VLC and FFMPEG.
Input files are XDCAM MXF OP1a DV25 (1 DV25 video stream and 2 pcm_s16le, 48KHz mono streams).
Ouput stream should be any of the following : mp4v/mp3 or h264/aac.

I tried different setup and compile options but I can't get VLC to support the DV25 stream. Keep getting the following error message :
stream_out_rtp vod server error: cannot add this stream (unsupported codec: dv )

I probably miss something very obvious but can't find it, so any hints would be very welcome !
Thanks,
JF

Detailled configuration :

VLC -L output :

Code: Select all

geonaute@hdd:~/vlc_ftv/server$ vlc -l VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876) hotkeys Hotkeys management interface motion motion control interface gestures Mouse gestures control interface netsync Network synchronization lirc Infrared remote control interface globalhotkeys Global Hotkeys interface oldrc Remote control interface dbus D-Bus control interface dummy Dummy interface oss Open Sound System audio output afile File audio output amem Audio memory output alsa ALSA audio output pulse Pulseaudio audio output adummy Dummy audio output i420_rgb_mmx MMX I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions i420_yuy2_mmx MMX conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv i422_yuy2_mmx MMX conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv asf ASF/WMV demuxer xa XA demuxer pva PVA demuxer demux_stl EBU STL subtitles parser tta TTA demuxer ps MPEG-PS demuxer ps MPEG-PS demuxer h264 H264 video demuxer mkv Matroska stream demuxer mpgv MPEG-I/II video demuxer mjpeg M-JPEG camera demuxer ts MPEG Transport Stream demuxer rawdv DV (Digital Video) demuxer image Image demuxer es MPEG-I/II/4 / A52 / DTS / MLP audio es MPEG-4 video vobsub Vobsub subtitles parser ogg OGG demuxer aiff AIFF demuxer rawaud Raw audio demuxer vc1 VC1 video demuxer rawvid Raw video demuxer avi AVI demuxer subtitle Text subtitle parser demuxdump File dumper au AU demuxer nsv NullSoft demuxer smf SMF demuxer sid C64 sid demuxer avformat Avformat demuxer avformat Avformat muxer voc VOC demuxer playlist Playlist playlist ZPL playlist import playlist WPL playlist import playlist iTunes Music Library importer playlist Dummy IFO demux playlist Google Video Playlist importer playlist QuickTime Media Link importer playlist Kasenna MediaBase parser playlist ASX playlist import playlist New winamp 5.2 shoutcast import playlist XSPF playlist import playlist Podcast parser playlist DVB playlist import playlist B4S playlist import playlist PLS playlist import playlist RAM playlist import playlist M3U playlist import ty TY Stream audio/video demux mp4 MP4 stream demuxer mpc MusePack demuxer nuv Nuv demuxer wav WAV demuxer demux_cdg CDG demuxer nsc Windows Media NSC metademux mod MOD demuxer (libmodplug) flacsys FLAC demuxer real Real demuxer dirac Dirac video demuxer integer_mixer Integer audio volume float_mixer Single precision audio volume access_output_file File stream output access_output_http HTTP stream output access_output_shout IceCAST output access_output_dummy Dummy stream output access_output_livehttp HTTP Live streaming output access_output_udp UDP stream output ncurses Ncurses interface skins2 Skinnable Interface skins2 Skinnable Interface qt4 Qt interface qt4 Qt interface qt4 Dialogs provider lua Lua interpreter lua Lua interpreter lua Lua SD Module lua Lua Extension lua Fetch artwork using lua scripts lua Lua Playlist Parser Interface lua Read meta data using lua scripts lua Fetch meta data using lua scripts lua Lua Telnet lua Command-line interface lua Lua HTTP tdummy Dummy font renderer freetype Freetype2 font renderer yuv YUV video output aa ASCII-art video output xcb_glx OpenGL GLX video output (XCB) directfb DirectFB video output http://www.directfb.org/ xcb_window X11 video window (XCB) xcb_window Embedded window video xcb_x11 X11 video output (XCB) xcb_xv XVideo output (XCB) caca Color ASCII art video output vdummy Dummy video output vdummy Statistics video output gl OpenGL video output (experimental) glx GLX extension for OpenGL fb GNU/Linux framebuffer video output vmem Video memory output packetizer_mlp MLP/TrueHD parser packetizer_mpeg4audio MPEG4 audio packetizer packetizer_mpeg4video MPEG4 video packetizer packetizer_dirac Dirac packetizer packetizer_mpegvideo MPEG-I/II video packetizer packetizer_copy Copy packetizer packetizer_h264 H.264 video packetizer packetizer_vc1 VC-1 packetizer packetizer_flac Flac audio packetizer i420_yuy2_sse2 SSE2 conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv i422_yuy2_sse2 SSE2 conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv i420_rgb_sse2 SSE2 I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions smooth Smooth Streaming decomp LZMA decompression decomp gzip decompression decomp Burrows-Wheeler decompression httplive Http Live Streaming stream filter dash Dynamic Adaptive Streaming over HTTP record Internal stream record notify LibNotify Notification Plugin dc1394 IIDC Digital Camera (FireWire) input rtp Real-Time Protocol (RTP) input shm Shared memory framebuffer idummy Dummy input access_mms Microsoft Media Server (MMS) input access_imem Memory input access_imem Memory input access_attachment Attachment input access_mtp MTP input dvb DVB input with v4l2 support libbluray Blu-ray Disc support (libbluray) filesystem File input filesystem File input dtv Digital Television and Radio access_alsa ALSA audio capture dv1394 Digital Video (Firewire/ieee1394) input linsys_hdsdi HD-SDI Input zip Zip files filter zip Zip access sdp Session Description Protocol linsys_sdi SDI Input linsys_sdi SDI Demux live555 RTP/RTSP/SDP demuxer (using Live555) live555 RTSP/RTP access and demux access_avio FFmpeg access access_avio libavformat access output xcb_screen Screen capture (with X11/XCB) vcdx Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input timecode Time code subpicture elementary stream generator access_realrtsp Real RTSP access_http HTTP input dvdnav DVDnav Input dvdread DVDRead Input (no menu support) access_oss OSS input rdp RDP Remote Desktop pulsesrc PulseAudio input vcd VCD input access_tcp TCP input v4l2 Video4Linux input v4l2 Video4Linux radio tuner v4l2 Video4Linux compressed A/V input access_bd Blu-ray Disc Input access_smb SMB input access_sftp SFTP input cdda Audio CD input access_udp UDP input access_rar Uncompressed RAR stream_filter_rar Uncompressed RAR access_vdr VDR recordings access_ftp FTP input access_ftp FTP upload output taglib taglib taglib taglib folder Folder meta data dtstospdif Audio filter for DTS->S/PDIF encapsulation mpgatofixed32 MPEG audio decoder speex_resampler Speex resampler speex_resampler Speex resampler audio_format Audio filter for PCM format conversion compressor Dynamic range compressor simple_channel_mixer Audio filter for simple channel mixing stereo_widen Simple stereo widening effect samplerate Secret Rabbit Code (libsamplerate) resampler samplerate Secret Rabbit Code (libsamplerate) resampler dolby_surround_decoder Simple decoder for Dolby Surround encoded streams equalizer Equalizer with 10 bands dtstofloat32 DTS Coherent Acoustics audio decoder mono Audio filter for stereo to mono conversion param_eq Parametric Equalizer normvol Volume normalizer headphone_channel_mixer Headphone virtual spatialization effect audiobargraph_a Audio part of the BarGraph function remap Audio channel remapper karaoke Simple Karaoke filter a52tofloat32 ATSC A/52 (AC-3) audio decoder a52tospdif Audio filter for A/52->S/PDIF encapsulation scaletempo Audio tempo scaler synched with rate trivial_channel_mixer Audio filter for trivial channel mixing spatializer Audio Spatializer ugly_resampler Nearest-neighbor audio resampler ugly_resampler Nearest-neighbor audio resampler gain Gain control filter chorus_flanger Sound Delay mux_mp4 MP4/MOV muxer mux_ogg Ogg/OGM muxer mux_wav WAV muxer mux_avi AVI muxer mux_asf ASF muxer mux_ts TS muxer (libdvbpsi) mux_ps PS muxer mux_dummy Dummy/Raw muxer mux_mpjpeg Multipart JPEG muxer visual Visualizer filter xml XML Parser (using libxml2) xml XML Parser (using libxml2) export export export HTML playlist export export XSPF playlist export export M3U8 playlist export export M3U playlist export gnutls GNU TLS transport layer security gnutls GNU TLS server logger File logging audioscrobbler Submission of played songs to last.fm vod_rtsp Legacy RTSP VoD server xdg_screensaver XDG screen saver inhibition dbus_screensaver Inhibits power suspend and session idle timeout. fingerprinter Track fingerprinter (based on Acoustid) stats Stats encoder function stats Stats demux function stats Stats decoder function pulselist Audio capture (PulseAudio) pulselist Audio capture (PulseAudio) podcast Podcasts podcast Podcasts xcb_apps Screen capture xcb_apps Screen capture upnp Universal Plug'n'Play upnp Universal Plug'n'Play bonjour Bonjour services bonjour Bonjour services mtp MTP devices mtp MTP devices udev Video capture (Video4Linux) udev Video capture (Video4Linux) udev Discs udev Audio capture (ALSA) mediadirs My Videos mediadirs My Videos mediadirs My Pictures mediadirs My Music sap Network streams (SAP) sap SDP Descriptions parser sap Network streams (SAP) ball Ball video filter sharpen Sharpen video filter audiobargraph_v Audio Bar Graph Video sub source audiobargraph_v Audio Bar Graph Video sub source clone Clone video filter gaussianblur Gaussian blur video filter chain Video filtering using a chain of video filter modules extract Extract RGB component video filter sepia Sepia video filter rss RSS and Atom feed display alphamask Alpha mask video filter postproc Video post processing filter blendbench Blending benchmark filter wave Wave video filter scale Video scaling filter bluescreen Bluescreen video filter colorthres Color threshold filter blend Video pictures blending logo Logo sub source logo Logo video filter psychedelic Psychedelic video filter magnify Magnify/Zoom interactive video filter yuvp YUVP converter motionblur Motion blur filter canvas Canvas video filter remoteosd Remote-OSD over VNC panoramix Panoramix: wall with overlap video filter posterize Posterize video filter ripple Ripple video filter transform Video transformation filter mirror Mirror video filter gradient Gradient video filter dynamicoverlay Dynamic video overlay atmo AtmoLight Filter rotate Rotate video filter croppadd Video scaling filter wall Wall video filter invert Invert video filter motiondetect Motion detect video filter anaglyph Convert 3D picture to anaglyph image video filter mosaic Mosaic video sub source marq Marquee display swscale Video scaling filter hqdn3d High Quality 3D Denoiser filter subsdelay Subtitle delay erase Erase video filter puzzle Puzzle interactive game video filter grain Grain video filter antiflicker antiflicker video filter adjust Image properties filter deinterlace Deinterlacing video filter gradfun Gradfun video filter scene Scene video filter yuy2_i420 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I420 i422_yuy2 Conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211 i420_rgb I420,IYUV,YV12 to RGB2,RV15,RV16,RV24,RV32 conversions rv32 RV32 conversion filter yuy2_i422 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I422 i422_i420 Conversions from I422,J422 to I420,IYUV,J420,YV12,YUVA i420_yuy2 Conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211 grey_yuv Conversions from GREY to I420,YUY2 g711 G.711 decoder g711 G.711 encoder stl EBU STL subtitles decoder spudec DVD subtitles decoder spudec DVD subtitles packetizer flac Flac audio decoder flac Flac audio encoder lpcm Linear PCM audio decoder lpcm Linear PCM audio encoder lpcm Linear PCM audio packetizer kate Kate overlay decoder twolame Libtwolame audio encoder cc Closed Captions decoder subsusf USF subtitles decoder omxil Audio/Video decoder (using OpenMAX IL) omxil Video encoder (using OpenMAX IL) faad AAC audio decoder (using libfaad2) rawvideo Pseudo raw video decoder rawvideo Pseudo raw video packetizer dts DTS parser dts DTS audio packetizer cdg CDG video decoder xwd XWD image decoder avcodec FFmpeg audio/video decoder avcodec FFmpeg audio/video encoder vorbis Vorbis audio decoder vorbis Vorbis audio encoder vorbis Vorbis audio packetizer a52 A/52 parser a52 A/52 audio packetizer opus Opus audio decoder crystalhd Crystal HD hardware video decoder speex Speex audio decoder speex Speex audio encoder speex Speex audio packetizer schroedinger Dirac video decoder using libschroedinger schroedinger Dirac video encoder using libschroedinger subsdec Text subtitle decoder vaapi Video Acceleration (VA) API png PNG video decoder x264 H.264/MPEG-4 Part 10/AVC encoder (x264) aes3 AES3/SMPTE 302M audio decoder aes3 AES3/SMPTE 302M audio packetizer libass Subtitle renderers using libass uleaddvaudio Ulead DV audio decoder adpcm ADPCM audio decoder cvdsub CVD subtitle decoder cvdsub Chaoji VCD subtitle packetizer libmpeg2 MPEG I/II video decoder (using libmpeg2) scte27 SCTE-27 decoder araw Raw/Log Audio decoder araw Raw audio encoder mpeg_audio MPEG audio layer I/II/III decoder mpeg_audio MPEG audio layer I/II/III packetizer theora Theora video decoder theora Theora video encoder theora Theora video packetizer dvbsub DVB subtitles decoder dvbsub DVB subtitles encoder ddummy Dummy decoder ddummy Dump decoder svcdsub Philips OGT (SVCD subtitle) decoder svcdsub Philips OGT (SVCD subtitle) packetizer t140 T.140 text encoder edummy Dummy encoder sdl_image SDL_image video decoder dirac Dirac video encoder using dirac-research library stream_out_es Elementary stream output stream_out_delay Delay a stream stream_out_mosaic_bridge Mosaic bridge stream output stream_out_gather Gathering stream output stream_out_chromaprint Chromaprint stream output stream_out_description Description stream output stream_out_dummy Dummy stream output stream_out_bridge Bridge stream output stream_out_bridge Bridge stream output stream_out_bridge Bridge stream output stream_out_raop Remote Audio Output Protocol stream output stream_out_smem Stream output to memory buffer stream_out_duplicate Duplicate stream output stream_out_autodel Automatically add/delete input streams stream_out_rtp RTP stream output stream_out_rtp RTSP VoD server stream_out_setid Change the id of an elementary stream stream_out_setid Change the language of an elementary stream stream_out_langfromtelx Dynamic language setting from teletext stream_out_standard Standard stream output stream_out_transcode Transcode stream output stream_out_record Record stream output stream_out_display Display stream output main main program
ffmpeg output :

Code: Select all

ffmpeg version N-62957-gc9a12fd Copyright (c) 2000-2014 the FFmpeg developers built on May 4 2014 18:33:23 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame libavutil 52. 81.100 / 52. 81.100 libavcodec 55. 60.103 / 55. 60.103 libavformat 55. 37.102 / 55. 37.102 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 5.100 / 4. 5.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100
vlc startup command :

Code: Select all

cvlc -vvv --file-logging --logfile /tmp/vlc.log --logmode text --intf telnet --telnet-host 10.89.230.11 --telnet-port 4212 --telnet-password videolan --rtsp-host 10.89.230.11 --rtsp-port 5554 --vlm-conf ./config.vlm --ffmpeg-threads 1
VLM configuration file :

Code: Select all

new aaa vod enabled setup aaa input /home/geonaute/vlc_ftv/server/files/C0001.MXF setup aaa output #transcode{venc=ffmpeg,vcodec=mp2v,aenc=ffmpeg,acodec=mp3}
MXF file details :

Code: Select all

Input #0, mxf, from 'files/001.MXF': Metadata: uid : e0739f97-f538-4657-ac7c-a70e29218f9d generation_uid : 921aaf72-ec2a-487c-96eb-83fd975709d4 company_name : SONY product_name : Opt product_version : 3.20 product_uid : 00000000-0000-0000-0000-000000000000 modification_date: 2014-05-02 14:34:44 timecode : 01:00:00:00 Duration: 00:01:18.56, start: 0.000000, bitrate: 30618 kb/s Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
VLC startup output:

Code: Select all

VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876) [0x2551058] main libvlc debug: VLC media player - 2.1.2 Rincewind [0x2551058] main libvlc debug: Copyright © 1996-2013 the VideoLAN team [0x2551058] main libvlc debug: revision 2.1.2-0-ga4c4876 [0x2551058] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=2build2' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0x2551058] main libvlc debug: searching plug-in modules [0x2551058] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x2551058] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x2551058] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x2551058] main libvlc debug: plug-ins loaded: 426 modules [0x2551058] main libvlc debug: opening config file (/home/geonaute/.config/vlc/vlcrc) Warning: option --ffmpeg-threads no longer exists. [0x2551058] main libvlc debug: translation test: code is "C" [0x2551058] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU [0x2551058] main libvlc debug: creating VLM [0x2551058] main libvlc debug: loading VLM configuration [0x2551058] main libvlc debug: load ./config.vlm [0x2614568] main vlm daemon debug: creating access 'file' location='/home/geonaute/vlc_ftv/server/./config.vlm', path='/home/geonaute/vlc_ftv/server/./config.vlm' [0x2614aa8] main access debug: looking for access module matching "file": 25 candidates [0x2614aa8] filesystem access debug: opening file `/home/geonaute/vlc_ftv/server/./config.vlm' [0x2614aa8] main access debug: using access module "filesystem" [0x257be28] main stream debug: Using stream method for AStream* [0x257be28] main stream debug: starting pre-buffering [0x257be28] main stream debug: received first data after 0 ms [0x257be28] main stream debug: pre-buffering done 977 bytes in 0s - 34075 KiB/s [0x2614aa8] main access debug: removing module "filesystem" [0x2614a78] main vod server debug: looking for vod server module matching "any": 2 candidates [0x2614a78] main vod server debug: using vod server module "stream_out_rtp" [0x2614d98] main input debug: Creating an input for 'aaa' [0x7f7474000b58] [Media: aaa] main stream output debug: using sout chain=`description' [0x7f7474000b58] [Media: aaa] main stream output debug: stream=`description' [0x7f7474000dc8] [Media: aaa] main stream out debug: looking for sout stream module matching "description": 21 candidates [0x7f7474000dc8] [Media: aaa] main stream out debug: using sout stream module "stream_out_description" [0x2614d98] [Media: aaa] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x2614d98] [Media: aaa] main input debug: `file:///home/geonaute/vlc_ftv/server/files/C0002.MXF' gives access `file' demux `' path `/home/geonaute/vlc_ftv/server/files/C0002.MXF' [0x2614d98] [Media: aaa] main input debug: creating demux: access='file' demux='' location='/home/geonaute/vlc_ftv/server/files/C0002.MXF' file='/home/geonaute/vlc_ftv/server/files/C0002.MXF' [0x7f7474001948] [Media: aaa] main demux debug: looking for access_demux module matching "file": 20 candidates [0x7f7474001948] [Media: aaa] main demux debug: no access_demux modules matched [0x2614d98] [Media: aaa] main input debug: creating access 'file' location='/home/geonaute/vlc_ftv/server/files/C0002.MXF', path='/home/geonaute/vlc_ftv/server/files/C0002.MXF' [0x7f7474005768] [Media: aaa] main access debug: looking for access module matching "file": 25 candidates [0x7f7474005768] [Media: aaa] filesystem access debug: opening file `/home/geonaute/vlc_ftv/server/files/C0002.MXF' [0x7f7474005768] [Media: aaa] main access debug: using access module "filesystem" [0x7f7474001948] [Media: aaa] main stream debug: Using stream method for AStream* [0x7f7474001948] [Media: aaa] main stream debug: starting pre-buffering [0x7f7474001948] [Media: aaa] main stream debug: received first data after 0 ms [0x7f7474001948] [Media: aaa] main stream debug: pre-buffering done 1024 bytes in 0s - 13888 KiB/s [0x7f74740059e8] [Media: aaa] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7f74740059e8] [Media: aaa] main stream debug: no stream_filter modules matched [0x7f74740059e8] [Media: aaa] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x7f74740059e8] [Media: aaa] main stream debug: using stream_filter module "record" [0x2614d98] [Media: aaa] main input debug: creating demux: access='file' demux='' location='/home/geonaute/vlc_ftv/server/files/C0002.MXF' file='/home/geonaute/vlc_ftv/server/files/C0002.MXF' [0x7f7474c08d08] [Media: aaa] main demux debug: looking for demux module matching "any": 63 candidates [0x7f7474c08d08] [Media: aaa] ts demux debug: TS module discarded (lost sync) [0x7f7474c08d08] [Media: aaa] mod demux debug: MOD validation failed (ext=MXF) [0x7f7474c08d08] [Media: aaa] avformat demux debug: trying url: /home/geonaute/vlc_ftv/server/files/C0002.MXF [0x7f7474c08d08] [Media: aaa] avformat demux debug: detected format: mxf [mxf @ 0x7f7474c24ce0] Unknown frame layout type: 1 [mxf @ 0x7f7474c24ce0] source track 7: stream 5, no descriptor found [0x2614d98] [Media: aaa] main input debug: selecting program id=0 [0x7f7474c08d08] [Media: aaa] avformat demux debug: adding es: video codec = dv (25) [0x7f7474c08d08] [Media: aaa] avformat demux debug: adding es: audio codec = s16l (65536) [0x7f7474c08d08] [Media: aaa] avformat demux debug: adding es: audio codec = s16l (65536) [0x7f7474c08d08] [Media: aaa] avformat demux debug: adding es: audio codec = s16l (65536) [0x7f7474c08d08] [Media: aaa] avformat demux debug: adding es: audio codec = s16l (65536) [0x7f7474c08d08] [Media: aaa] avformat demux warning: unsupported track type (2:0) in avformat demux [0x7f7474c08d08] [Media: aaa] avformat demux debug: AVFormat supported stream [0x7f7474c08d08] [Media: aaa] avformat demux debug: - format = mxf (MXF (Material eXchange Format)) [0x7f7474c08d08] [Media: aaa] avformat demux debug: - start time = 0 [0x7f7474c08d08] [Media: aaa] avformat demux debug: - duration = 89240000 [0x7f7474c08d08] [Media: aaa] main demux debug: using demux module "avformat" [0x2614d98] [Media: aaa] main input debug: looking for a subtitle file in /home/geonaute/vlc_ftv/server/files/ [0x7f7474c329c8] [Media: aaa] main decoder debug: looking for packetizer module matching "any": 21 candidates [0x7f7474c329c8] [Media: aaa] main decoder debug: using packetizer module "packetizer_copy" [0x7f7474c60a08] [Media: aaa] main decoder debug: looking for packetizer module matching "any": 21 candidates [0x7f7474c60a08] [Media: aaa] main decoder debug: using packetizer module "packetizer_copy" [0x2614d98] [Media: aaa] main input debug: starting in sync mode [0x7f7474c31bc8] [Media: aaa] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7f7474c31bc8] [Media: aaa] lua demux meta debug: Trying Lua scripts in /home/geonaute/.local/share/vlc/lua/meta/reader [0x7f7474c31bc8] [Media: aaa] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7f7474c31bc8] [Media: aaa] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7f7474c31bc8] [Media: aaa] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7f7474c31bc8] [Media: aaa] main demux meta debug: no meta reader modules matched [0x2614d98] [Media: aaa] main input debug: `file:///home/geonaute/vlc_ftv/server/files/C0002.MXF' successfully opened [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: switching to async mode [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x7f7474000b58] [Media: aaa] main stream output debug: adding a new sout input (sout_input:0x7f74600008c0) [0x7f7474000b58] [Media: aaa] main stream output debug: adding a new sout input (sout_input:0x7f74580008c0) [0x7f7474000dc8] [Media: aaa] stream_out_description stream out debug: Adding a stream [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x7f7474000dc8] [Media: aaa] stream_out_description stream out debug: Adding a stream [0x2614d98] [Media: aaa] main input debug: Buffering 0% [0x2614d98] [Media: aaa] main input debug: Buffering 13% [0x2614d98] [Media: aaa] main input debug: Buffering 13% [0x2614d98] [Media: aaa] main input debug: Buffering 13% [0x2614d98] [Media: aaa] main input debug: Buffering 13% [0x2614d98] [Media: aaa] main input debug: Buffering 13% [0x2614d98] [Media: aaa] main input debug: Buffering 26% [0x2614d98] [Media: aaa] main input debug: Buffering 26% [0x2614d98] [Media: aaa] main input debug: Buffering 26% [0x2614d98] [Media: aaa] main input debug: Buffering 26% [0x2614d98] [Media: aaa] main input debug: Buffering 26% [0x2614d98] [Media: aaa] main input debug: Buffering 40% [0x2614d98] [Media: aaa] main input debug: Buffering 40% [0x2614d98] [Media: aaa] main input debug: Buffering 40% [0x2614d98] [Media: aaa] main input debug: Buffering 40% [0x2614d98] [Media: aaa] main input debug: Buffering 40% [0x2614d98] [Media: aaa] main input debug: Buffering 53% [0x2614d98] [Media: aaa] main input debug: Buffering 53% [0x2614d98] [Media: aaa] main input debug: Buffering 53% [0x2614d98] [Media: aaa] main input debug: Buffering 53% [0x2614d98] [Media: aaa] main input debug: Buffering 53% [0x2614d98] [Media: aaa] main input debug: Buffering 66% [0x2614d98] [Media: aaa] main input debug: Buffering 66% [0x2614d98] [Media: aaa] main input debug: Buffering 66% [0x2614d98] [Media: aaa] main input debug: Buffering 66% [0x2614d98] [Media: aaa] main input debug: Buffering 66% [0x2614d98] [Media: aaa] main input debug: Buffering 80% [0x2614d98] [Media: aaa] main input debug: Buffering 80% [0x2614d98] [Media: aaa] main input debug: Buffering 80% [0x2614d98] [Media: aaa] main input debug: Buffering 80% [0x2614d98] [Media: aaa] main input debug: Buffering 80% [0x2614d98] [Media: aaa] main input debug: Buffering 93% [0x2614d98] [Media: aaa] main input debug: Buffering 93% [0x2614d98] [Media: aaa] main input debug: Buffering 93% [0x2614d98] [Media: aaa] main input debug: Buffering 93% [0x2614d98] [Media: aaa] main input debug: Buffering 93% [0x2614d98] [Media: aaa] main input debug: Stream buffering done (320 ms in 6 ms) [0x2614d98] [Media: aaa] main input debug: Decoder buffering done in 0 ms [0x2614d98] [Media: aaa] main input debug: EOF reached [0x7f7474c329c8] [Media: aaa] main decoder debug: removing module "packetizer_copy" [0x7f7474c329c8] [Media: aaa] main decoder debug: killing decoder fourcc `dv ', 0 PES in FIFO [0x7f7474000b58] [Media: aaa] main stream output debug: removing a sout input (sout_input:0x7f74600008c0) [0x7f7474000dc8] [Media: aaa] stream_out_description stream out debug: Removing a stream [0x7f7474c60a08] [Media: aaa] main decoder debug: removing module "packetizer_copy" [0x7f7474c60a08] [Media: aaa] main decoder debug: killing decoder fourcc `s16l', 0 PES in FIFO [0x7f7474000b58] [Media: aaa] main stream output debug: removing a sout input (sout_input:0x7f74580008c0) [0x7f7474000dc8] [Media: aaa] stream_out_description stream out debug: Removing a stream [0x7f7474c08d08] [Media: aaa] main demux debug: removing module "avformat" [0x7f74740059e8] [Media: aaa] main stream debug: removing module "record" [0x7f7474005768] [Media: aaa] main access debug: removing module "filesystem" [0x2614d98] [Media: aaa] main input debug: Program doesn't contain anymore ES [0x7f7474000b58] [Media: aaa] main stream output debug: destroying useless sout [0x7f7474000dc8] [Media: aaa] main stream out debug: destroying chain... (name=description) [0x7f7474000dc8] [Media: aaa] main stream out debug: removing module "stream_out_description" [0x7f7474000dc8] [Media: aaa] stream_out_description stream out debug: Closing [0x7f7474000dc8] [Media: aaa] main stream out debug: destroying chain done [0x2614a78] stream_out_rtp vod server debug: media 'aaa' has 2 declared ES [0x2614a78] stream_out_rtp vod server error: cannot add this stream (unsupported codec: dv ) [0x2614a78] stream_out_rtp vod server debug: - added ES 96 L16 (s16l) [0x2614a78] stream_out_rtp vod server debug: adding media 'aaa' [0x2614a78] stream_out_rtp vod server debug: RTSP stream at /aaa [0x256c218] main interface debug: looking for interface module matching "logger,none": 19 candidates [0x2614a78] main vod server debug: net: listening to 10.89.230.11 port 5554 [0x2614a78] stream_out_rtp vod server debug: RTSP: adding /aaa/trackID=0 [0x256c218] logger interface: using logger. [0x256c218] logger interface debug: opening logfile `/tmp/vlc.log'

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Stream MXF /DV file

Postby Jean-Baptiste Kempf » 07 May 2014 16:03

You need to transcode, since dv cannot go on pure RTP.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jfe
New Cone
New Cone
Posts: 2
Joined: 05 May 2014 11:03

Re: Stream MXF /DV file

Postby jfe » 14 May 2014 21:33

Jean-Baptiste,

Thank you for your feedback.
I finaly understood my mistake.

I thought config 1 and config 2 were the same. Actually, they are not. Only config 2 works.

Config 1 (not working) :

Code: Select all

new aaa vod enabled setup aaa input /home/geonaute/vlc_ftv/server/files/C0001.MXF setup aaa output #transcode{vcodec=mp2v,acodec=mp3}
Config 2 (working) :

Code: Select all

new bbb vod enabled setup bbb input /home/geonaute/vlc_ftv/server/files/C0001.MXF output "#transcode{vcodec=mp2v,acodec=mp3}"
Hope this helps someone else ...


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 8 guests