Jump to ID:
Multimedia

Project Home

Documents

Discussions

Wiki

Project Info
Forum Topic - No video stream found: (2 Items)
   
 
 
No video stream found  
Hi all!
      In order to decode the video stream of mp4 file,I write a h264_decoder baseed on the AOI.My config is as follow.
     In the mme_data.sql file,because I can find 0000,0000,0 in the path of  dev/io-diplay/0000,0000,0.   so  the config
 is as follow:

 --INSERT INTO outputdevices(type, permanent, name, devicepath) VALUES(1, 1, 'audiooutput', 'snd:/dev/snd/
pcmPreferredp');
INSERT INTO outputdevices(type, permanent, name, devicepath) VALUES(1, 1, 'videooutput', 'gf:0000,0000,0');
INSERT INTO zones(zoneid, name) SELECT 1, 'defaultzone';
--INSERT INTO zoneoutputs(zoneid, outputdeviceid) SELECT 1, outputdeviceid FROM outputdevices WHERE name='audiooutput';
INSERT INTO zoneoutputs(zoneid, outputdeviceid) SELECT 1, outputdeviceid FROM outputdevices WHERE name='videooutput';
INSERT INTO renderers(path) VALUES('/dev/io-media');
INSERT INTO controlcontexts(zoneid, rendid, name) VALUES( 1, 1, 'default' );
     
    In the io-media-generic.cfg file,the config is as follow:

format {
url = "*.mp4"
parser = "mp4_parser"
decoder = "h264_decoder"
}

 keepdll{
name="h264_decoder"
option=yes
}


                when I play the mp4 file, the tip is "Skipping video subgraph because there is no device specified" and 
"No video stream found.", the log is as follow.please give some advice to fix the problem,thanks very much.


mme_play(): success
io-media-generic: open('graphs/trackplayer/default')
io-media-generic/trackplayer: Calling graph create function
io-media-generic/trackplayer: Created graph instance 'default'
io-media-generic: open( 'graphs/trackplayer/default' ): success
io-media-generic/trackplayer: Calling graph handler for dcmd GRAPHOPTIONS
io-media-generic/trackplayer: Dcmd GRAPHOPTIONS returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd SETNOTIFICATION
io-media-generic/trackplayer: Dcmd SETNOTIFICATION returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd SETTRANSITION
io-media-generic/trackplayer: Dcmd SETTRANSITION returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd CAPABILITIES
io-media-generic/trackplayer: Dcmd CAPABILITIES returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd ATTACHOUTPUT
io-media-generic/mmf: writer hint snd:* found
io-media-generic/trackplayer: Dcmd ATTACHOUTPUT returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd SETVOLUME
io-media-generic/trackplayer: Dcmd SETVOLUME returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd SETSPEED
io-media-generic/trackplayer: Dcmd SETSPEED returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd GETSTATUS
io-media-generic/trackplayer: Dcmd GETSTATUS returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd SETNOTIFICATION
io-media-generic/trackplayer: Dcmd SETNOTIFICATION returning 0
io-media-generic/trackplayer: Calling graph handler for dcmd ATTACHINPUT
io-media-generic/aoi: AoHold: reloaded /fs/etfs/kscope/armle/lib/dll/mmedia/upnp_streamer.so
io-media-generic/aoi: AoRelease: unloading /fs/etfs/kscope/armle/lib/dll/mmedia/upnp_streamer.so
io-media-generic/mmf: URL '/media/drive///2009-02-12-vystava-vitejte_v_kapitalismu-360p.mp4' matches pattern '*.mp4'
io-media-generic/trackplayer: Tag 'format' has 0 kids
io-media-generic/mmf: Setting long resource 'StreamerStickyError' (value='1')
io-media-generic/mmf: Setting long resource 'MM_TMPFILE_STREAMER_SEEKABLE' (value='1')
io-media-generic/mmf: Resource 'MM_TMPFILE_STREAMER_SEEKABLE' is not supported (but optional)
io-media-generic/trackplayer: Skipping video subgraph because there is no video device specified.
io-media-generic/aoi: Couldn't negotiate formats.
io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0.
io-media-generic/aoi: 0:Box: "ftyp", 0...28
io-media-generic/aoi: MP4Parser: valid mp4 file.
io-media-generic/aoi: MP4Parser0 iterating through our postable event returning type...
View Full Message
Re: No video stream found  
Hi all!
      I have solve above problem.Now , I have come into the RateFormat() and Create(),but when I called the function ,
the io-media is down,please give me some advices,thanks very much.The debug log is as follow.

io-media-generic/aoi: MP4Parser: VideoTracks=1,Audiotracks=1
io-media-generic/aoi: mp4_parser: mp4a type 64
io-media-generic/aoi: MP4Parser:Entry for loop,the i= fu->track_count=4
io-media-generic/aoi: MP4Parser:The loop num=0
io-media-generic/aoi: MP4Parser: num_frames[0] = 2905
io-media-generic/aoi: MP4Parser: Track duration 61973333 found on trackid 0
io-media-generic/aoi: MP4Parser: Very important track_type=soun
io-media-generic/aoi: MP4Parser: Entry sound
io-media-generic/aoi: MP4Parser: Entry tmpfourcc=mp4a
io-media-generic/aoi: MP4Parser: Audio mp4a_type =40
io-media-generic/aoi: MP4Parser: getting the STSZ / STZ2.
io-media-generic/aoi: MP4Parser: max sample size = 502.
io-media-generic/aoi: MP4Parser: getting the STCO.
io-media-generic/aoi: MP4Parser:  Track 1 has 369 STCO entries.
io-media-generic/aoi: MP4Parser: getting the STSS.
io-media-generic/aoi: MP4Parser: getting the STTS and CTTS.
io-media-generic/aoi: MP4Parser:  Track 0 has 1 STTS entries.
io-media-generic/aoi: MP4Parser:  Track 0 has 0 CTTS entries.
io-media-generic/aoi: MP4Parser: channel fourcc = M4AC
io-media-generic/aoi: bitrate = 128000, interface = 128000
io-media-generic/aoi: aac_framerate = 48000, timescale = 48000
io-media-generic/aoi: MP4Parser:The loop num=1
io-media-generic/aoi: MP4Parser: num_frames[1] = 1857
io-media-generic/aoi: MP4Parser: Track duration 61961961 found on trackid 1
io-media-generic/aoi: MP4Parser: Very important track_type=vide
io-media-generic/aoi: MP4Parser: Entry video
io-media-generic/aoi: MP4Parser:before if video fu->file_info->tracks[i].has_esds=1
io-media-generic/aoi: MP4Parser:before if video esds->has_type4=1
io-media-generic/aoi: MP4Parser: video mp4v_type=20
io-media-generic/aoi: MP4Parser: getting the STSZ / STZ2.
io-media-generic/aoi: MP4Parser: max sample size = 12977.
io-media-generic/aoi: MP4Parser: getting the STCO.
io-media-generic/aoi: MP4Parser:  Track 1 has 251 STCO entries.
io-media-generic/aoi: MP4Parser: getting the STSS.
io-media-generic/aoi: MP4Parser:  Added a 79 entry Sync Table for track 1.
io-media-generic/aoi: MP4Parser: getting the STTS and CTTS.
io-media-generic/aoi: MP4Parser:  Track 1 has 1 STTS entries.
io-media-generic/aoi: MP4Parser:  Track 1 has 0 CTTS entries.
io-media-generic/aoi: MP4Parser: Storing a mp4v decoder config.
io-media-generic/aoi: MP4Parser: channel fourcc = MP4V
io-media-generic/aoi: bitrate = 256000, interface = 230470
io-media-generic/aoi: MP4Parser:The loop num=2
io-media-generic/aoi: MP4Parser:The loop num=3
io-media-generic/aoi: MP4Parser: Ending ------------------- SetChannelsParameters
io-media-generic/aoi: mp4_parser: Ending---------- RateInputFormat,return80
io-media-generic/aoi: mp4_parser: Entry---------- RateInputFormat
io-media-generic/aoi: mp4_parser: Entry----------SetInputFormat
io-media-generic/aoi: mp4_parser: Entry----------SetMediaOutput
io-media-generic/trackplayer: Loaded the mp4_parser filter based on the parser tag
io-media-generic/mmf: Setting long resource 'AVSyncDelay' (value='0')
io-media-generic/aoi: mp4_parser: Entry----------IterateOutputChannels
io-media-generic/aoi: mp4_parser: Entry----------IterateOutputChannels
io-media-generic/aoi: mp4_parser: Entry----------IterateOutputChannels
io-media-generic/aoi: mp4_parser: Entry----------IterateOutputChannels
io-media-generic/aoi: mp4_parser: Entry----------IterateOutputChannels
io-media-generic/aoi: mp4_parser: Entry----------AcquireOutputChannel
io-media-generic/trackplayer: Skipping audio subgraph because there is no device specified.
io-media-generic/trackplayer: Found video stream with bitrate 230470.
io-media-generic/trackplayer: No audio stream found.
io-media-generic/mmf: Configuring the queue...
View Full Message