logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
0
Hello, I use igep-dsp-gst-framework-3_10_10 for decoding and decoding works for local 720p/h264/acc files. TI gst plugin version is gstreamer-ti_svnr884. Unfortunately TIViddec2 blocks the caching of remote soucres?! Example pipe on x86-Laptop: gst-launch-0.10 -vvv souphttpsrc location="$S" !\ qtdemux name=demux \ demux.audio_00 ! multiqueue max-size-time=0 max-size-buffers=8000 max-size-bytes=0 !\ ffdec_aac ! volume volume=$vol ! alsasink \ demux.video_00 ! multiqueue max-size-time=0 max-size-buffers=30 max-size-bytes=20485760 use-buffering=true low-percent=10 high-percent=80 !\ ffdec_h264 ! xvimagesink sync=true Result: Stream prerolls and will be played without breaks. Queue store enough bytes and 'iftop' shows network traffic > #Videosize/#Videolength. Example pipe on Igep_2: gst-launch-0.10 -vvv souphttpsrc location="$S" !\ qtdemux name=demux \ demux.audio_00 ! multiqueue max-size-time=0 max-size-buffers=8000 max-size-bytes=0 !\ ffdec_aac ! volume volume=$vol ! alsasink \ demux.video_00 ! multiqueue max-size-time=0 max-size-buffers=30 max-size-bytes=20485760 use-buffering=true low-percent=10 high-percent=80 !\ TIViddec2 ! dmaiperf ! omapdmaifbsink sync=true Result: Stream prerolls, but if the playback starts, the queue cache runs empty and the video stop until cache is filled up. Iftop shows network traffic << #Videosize/#Videolength, too. Probably there is an communication problem between multiqueue (or queue, queue2) and TIViddec2. How can I fix this problem? It's sufficient to update gstreamer-ti to newer versions or did I doing something wrong? Regards, Olaf
Responses (10)
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Sunday, June 03 2012, 10:12 AM - #permalink
    0
    Did you try use a queue after TVideoDec2 ? TVideoDec2 it's a multi-thread and we get some problems without queue the input & output ... Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 04 2012, 02:40 PM - #permalink
    0
    Hi Manel, no, a second queue after TIViddec2 did not help. :( Regards, Olaf
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 04 2012, 03:31 PM - #permalink
    0
    Hi Olaf, could you post the output of GST_DEBUG=6 ? Mika
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 04 2012, 04:46 PM - #permalink
    0
    [quote="Mika31000":73mzb36a]Hi Olaf, could you post the output of GST_DEBUG=6 ? Mika[/quote] Hi Mika, level 4,5,6 increased the debug log to much and I truncate it after 2MB. The second attachment is done for GST_DEBUG=3. Furthermore the log contains color codes. ??? 'more' show the raw text. Regards, Olaf Used Pipeline was: GST_DEBUG=$2 gst-launch-0.10 -vvv souphttpsrc location="$S" blocksize=1000 !\ qtdemux name=demux \ demux.audio_00 ! multiqueue max-size-time=0 max-size-bytes=0 max-size-buffers=8000 !\ ffdec_aac ! queue ! volume volume=$vol ! alsasink \ demux.video_00 ! multiqueue max-size-time=0 max-size-bytes=10485760 max-size-buffers=100 use-buffering=true low-percent=10 high-percent=50 !\ TIViddec2 numOutputBufs=5 ! queue ! dmaiperf ! omapdmaifbsink sync=true 2>&1
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Monday, June 04 2012, 07:52 PM - #permalink
    0
    Please could you post the CE_DEBUG=3 execution ? Cheers Manel
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 04 2012, 10:43 PM - #permalink
    0
    [code] 0:00:00.001739563 8633 0x1b7c050 INFO GST_INIT gst.c:599:init_pre: Initializing GStreamer Core Library version 0.10.30 0:00:00.002899271 8633 0x1b7c050 INFO GST_INIT gst.c:600:init_pre: Using library installed in /usr/lib 0:00:00.003234976 8633 0x1b7c050 INFO GST_INIT gst.c:610:init_pre: Linux igep 2.6.35.13 #1 Sat Jun 4 16:46:26 CEST 2011 armv7l 0:00:00.004669351 8633 0x1b7c050 INFO GST_INIT gstquery.c:105:_gst_query_initialize: init queries 0:00:00.017243030 8633 0x1b7c050 INFO GST_INIT gstmessage.c:73:_gst_message_initialize: init messages 0:00:00.020416968 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:348:_gst_plugin_initialize: registering 0 static plugins 0:00:00.023102608 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:254:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.023438313 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:256:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.028565445 8633 0x1b7c050 INFO GST_REGISTRY gstregistry.c:1586:ensure_current_registry: reading registry cache: /root/.gstreamer-0.10/registry.arm.bin 0:00:00.318553516 8633 0x1b7c050 INFO GST_REGISTRY gstregistrybinary.c:601:gst_registry_binary_read_cache: loaded /root/.gstreamer-0.10/registry.arm.bin in 0.289530 seconds 0:00:00.319133370 8633 0x1b7c050 INFO GST_REGISTRY gstregistry.c:1446:scan_and_update_registry: Validating plugins from registry cache: /root/.gstreamer-0.10/registry.arm.bin 0:00:00.327403920 8633 0x1b7c050 INFO GST_REGISTRY gstregistry.c:1548:scan_and_update_registry: Registry cache has not changed 0:00:00.327709106 8633 0x1b7c050 INFO GST_REGISTRY gstregistry.c:1615:ensure_current_registry: registry reading and updating done, result = 1 0:00:00.327953255 8633 0x1b7c050 INFO GST_INIT gst.c:786:init_post: GLib runtime version: 2.26.1 0:00:00.328227923 8633 0x1b7c050 INFO GST_INIT gst.c:788:init_post: GLib headers version: 2.25.13 0:00:00.328746740 8633 0x1b7c050 INFO GST_PIPELINE gstparse.c:291:gst_parse_launch_full: parsing pipeline description 'souphttpsrc location=http://192.168.0.1:85/torrent/Test(720p,x264,AAC).mp4 blocksize=1000 !qtdemux name=demux demux.audio_00 ! multiqueue max-size-time=0 max-size-bytes=0 max-size-buffers=8000 !ffdec_aac ! queue ! volume volume=0.90 ! alsasink demux.video_00 ! multiqueue max-size-time=0 max-size-bytes=10485760 max-size-buffers=100 use-buffering=true low-percent=10 high-percent=50 !TIViddec2 numOutputBufs=5 ! queue ! dmaiperf ! omapdmaifbsink sync=true ' 0:00:00.414565142 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstsouphttpsrc.so" loaded 0:00:00.414900847 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "souphttpsrc" 0:00:00.418379971 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.430343276 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstqtdemux.so" loaded 0:00:00.430709499 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "qtdemux" 0:00:00.433517213 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.441299465 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded 0:00:00.441665689 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "multiqueue" 0:00:00.532702778 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_aea 0:00:00.534015080 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_anm 0:00:00.534808564 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_apc 0:00:00.536334496 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_avs 0:00:00.537189018 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_bethsoftvid 0:00:00.538013021 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_bfi 0:00:00.538775987 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_bink 0:00:00.539569472 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_c93 0:00:00.540332437 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_caf 0:00:00.541156440 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_cdg 0:00:00.541980444 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_daud 0:00:00.542773928 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_dsicin 0:00:00.543720006 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_dxa 0:00:00.544574528 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_ea 0:00:00.545368013 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_ea_cdata 0:00:00.546161497 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_ffm 0:00:00.546954982 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_filmstrip 0:00:00.547748466 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_flic 0:00:00.548725062 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_4xm 0:00:00.549579584 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_gxf 0:00:00.550373068 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_idcin 0:00:00.551136034 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_IFF 0:00:00.552173669 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_ipmovie 0:00:00.553028190 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_ISS 0:00:00.553821675 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_iv8 0:00:00.554645678 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_lmlm4 0:00:00.555622274 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_mm 0:00:00.556385240 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_mmf 0:00:00.558155321 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_msnwctcp 0:00:00.558948805 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_MTV 0:00:00.559955920 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_mvi 0:00:00.560963035 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_nc 0:00:00.561756519 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_nsv 0:00:00.562550004 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_nut 0:00:00.563587637 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_oma 0:00:00.564442159 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_pva 0:00:00.565235643 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_qcp 0:00:00.566029128 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_r3d 0:00:00.566822612 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_rl2 0:00:00.567829727 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_RoQ 0:00:00.568684249 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_rpl 0:00:00.569538771 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_film_cpk 0:00:00.570362774 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_siff 0:00:00.571156258 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_smk 0:00:00.571949743 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_sol 0:00:00.572743227 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_sox 0:00:00.573506193 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_psxstr 0:00:00.574391233 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_thp 0:00:00.575154199 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_tiertexseq 0:00:00.576069758 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_tmv 0:00:00.577015836 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_txd 0:00:00.577961914 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_vmd 0:00:00.578877473 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_vqf 0:00:00.579670957 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_w64 0:00:00.580555997 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_wc3movie 0:00:00.581318963 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_wsaud 0:00:00.582081929 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_wsvqa 0:00:00.582844895 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_xa 0:00:00.583760455 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_yop 0:00:00.584553939 8633 0x1b7c050 INFO GST_TYPEFIND gsttypefind.c:82:gst_type_find_register: registering typefind function for fftype_yuv4mpegpipe 0:00:00.592031005 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstffmpeg.so" loaded 0:00:00.592366710 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "ffdec_aac" 0:00:00.594594571 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.595388055 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.597646434 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "queue" 0:00:00.600637261 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.601735932 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.608205883 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstvolume.so" loaded 0:00:00.608541588 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "volume" 0:00:00.612783678 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.613577162 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.628042995 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstalsa.so" loaded 0:00:00.628409219 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "alsasink" 0:00:00.633017533 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.634329834 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "multiqueue" 0:00:00.662376459 8633 0x1b7c050 INFO GST_PLUGIN_LOADING gstplugin.c:800:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstticodecplugin.so" loaded 0:00:00.662742683 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "TIViddec2" 0:00:00.668358112 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.668785373 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.669639895 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "queue" 0:00:00.670677528 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.671715162 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.672325534 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "dmaiperf" 0:00:00.674034578 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.674858581 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'src' 0:00:00.675529991 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "omapdmaifbsink" 0:00:00.677208516 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad: adding pad 'sink' 0:00:00.678215631 8633 0x1b7c050 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "pipeline" 0:00:00.681298013 8633 0x1b7c050 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking souphttpsrc0:(any) to demux:(any) (0/0) with caps "(NULL)" 0:00:00.681786311 8633 0x1b7c050 INFO GST_ELEMENT_PADS gstutils.c:1592:gst_element_link_pads_full: trying to link element souphttpsrc0:(any) to element demux:(any) 0:00:00.682152535 8633 0x1b7c050 INFO GST_PADS gstutils.c:1046:gst_pad_check_link: trying to link souphttpsrc0:src and demux:sink [...] [/code] Maximun of chars reached. Rest again in the attachment, which was compressed because simple text files (*.txt) not allowed as attachment.
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 04 2012, 11:26 PM - #permalink
    0
    Seeing your log, it could be a test to try separetly audio and video decode to confirm it's TIViddec2 which cause the trouble. Try to use omapfbsink sync=true/false async=false/true or use fakesink silent=true instead of omapfbsink. which plugins is called by this interrupt ? [code]Caught interrupt -- handling interrupt. Interrupt: Stopping pipeline[/code] I tried multiqueue + TIVidddec2 + fakesink and didn't have the pause effect after buffering. (But didn't played during long ^eriod fault of time, i will try more tomorrow) Hope it help. Mika
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 05 2012, 01:45 AM - #permalink
    0
    Hi Mika, your suggestions driving me in the right direction :) If I remove the audio decoding it runs without blocking. I assume the audio queue block new data, because it's size was limited with 8000 buffers. If I increase the audio buffer size or allow ffdec_acc to flush more bytes in the next queue it runs better. [code]demux.audio_00 ! multiqueue max-size-time=0 max-size-bytes=0 max-size-buffers=8000 ! ffdec_aac ! queue max-size-buffer=8000[/code] Did the nesting of video and audio stream in the mp4 (or avi,mkv) container not match perfect?! I.E. [### Cached bytes, serial reading ###] = [##Video bytes from X1 to Y1##] + [#Audio bytes from X2 to Y2#] Y2<
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 05 2012, 10:19 AM - #permalink
    0
    Olaf,
    The little finger & forefinger plugin! Just pressed Ctrl+c
    I forget this one ;D Also try your pipeline with alsasink sync=false (I had some sound/cut without this option and never look why so it could be a possibility if you need to set a queue after ffdec_aac) What is your CPU consuption using ffdec_aac instead of TIAuddec ? Last question, why max-size-buffers = 8000 ? How many audio frame is decoded in 1 second ? Mika
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 07 2012, 03:35 PM - #permalink
    0
    Hi, unfortunately I could not solve this problem. I tried various combinations of queues (before and after the decoder) and play with the cache sizes. Video+Audio still causes periodical pauses of the stream. Did one of my posted pipelines work on yours boards? My last pipeline was [code] gst-launch-0.10 -vvv \ souphttpsrc location="$S" ! qtdemux name=demux \ multiqueue name=mq max-size-bytes=10485760 max-size-time=0 max-size-buffers=0 use-buffering=true \ demux.audio_00 ! mq.sink0 \ demux.video_00 ! mq.sink1 \ mq.src0 ! \ queue max-size-time=0 max-size-bytes=0 max-size-buffers=8000 !\ TIAuddec1 ! queue ! volume volume=$vol ! alsasink \ mq.src1 ! TIViddec2 ! queue ! \ dmaiperf print-arm-load=true ! omapdmaifbsink sync=true #sync=false increase video speed to maximum [/code] [quote="Mika31000":2ipgt7b3] Also try your pipeline with alsasink sync=false (I had some sound/cut without this option and never look why so it could be a possibility if you need to set a queue after ffdec_aac) [/quote] sync=false did not help.
    What is your CPU consuption using ffdec_aac instead of TIAuddec ?
    Test video with 192kbit/s, aac audio stream and 24 minutes duration running at @1GHz generates: Codec | dmaiperf print-arm-load TIAuddec1 | mean 19,3% ffdec_aac | mean 17,3% Thus, the overhead cover the benefit of dsp decoding. Pipeline was [code] gst-launch-0.10 -vvv filesrc location="$2" ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! volume volume=$vol ! alsasink demux.video_00 ! queue ! TIViddec2 ! queue ! dmaiperf print-arm-load=true ! omapdmaifbsink [/code]
    Last question, why max-size-buffers = 8000 ? How many audio frame is decoded in 1 second ? Mika
    The example pipelines at TI's website use 8000. I just adopt this value. I do not know how many frames or seconds this value represent. Regards, Olaf
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat