Project

General

Profile

Actions

Support Request #5952

closed

EBPRODUCTSUPPORT-2613 Error when exporting compressed video stream in Linux with adtf_datexporter

Added by hidden over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Workaround Available
Product Issue Numbers:
Platform:
Ubuntu 16.04 64bit
Topic:
ADTF::Datexporter
FAQ Links:

Description

Hi Supporterkollegen,

folgende Anfrage kam vom Kunden rein, konnte ich auch reproduzieren, aber wie genau der datexporter aufzurufen ist konnten wir auch mit Hilfe der doku nicht herausfinden, könnt ihr da vll helfen?
FFMep support hab' ich mit 'sudo apt install ffmpeg' installiert, oder war das falsch/fehlt noch was?

"I'm trying to use the ADTF Assist application together with the ADTF compression toolbox to export the video stream from a DAT-file. I wan't to use the "adtf_datexporter" executable to be able to run it from command line. However, when I run it it get a cryptic error message.
The following system is used:

  • Ubuntu 16.04.5
  • FFmpeg: 2.8.15
  • ADTF Assist: 2.14.2
  • ADTF compression toolbox: 2.5.0
    The file I'm working with right now is the example file located within the ADTF assist application ({APP_DIR}/bin/templates/example_test_file.dat).
    When I use the normal graphic interface of ADTF Assist and go to Tools -> DatExporter the export is working fine and the application is using FFmpeg to compress the video. However, when I try to execute the adtf_datexporter alone from the command line it fails.
    To execute the adtf_datexporter I use the following command:
    /opt/adtf/bin/adtf_datexporter \\\\
    -verbose \\\\
    -export video \\\\
    -sinkid adtf.export.ffmpeg \\\\
    -output /tmp/example_test_file_converted.avi \\\\
    -property codec=mpeg4 \\\\
    -service /opt/adtf/addons/adtf-compression-toolbox/bin/debug/video_compression_ffmpeg_support.srv \\\\
    /opt/adtf/bin/templates/example_test_file.dat
    The error I receive is the following:
    /mnt/data/jenkins/workspace/compression_builder/PLATFORM/linux64/source/src/ffmpeg_support_srv/export/ffmpegfile.cpp(63): info 0x00000000: Could not deduce output format from file extension: using MPEG.
    /mnt/data/jenkins/workspace/compression_builder/PLATFORM/linux64/source/src/ffmpeg_support_srv/export/ffmpegfile.cpp(68): error 0x00000000: Could not find suitable output format
    See the attached file for the full verbose log. As the error message say it cannot find a suitable output format I've tried to add "-property format=avi" also (the format can be set to avi when using the DATExporter in the GUI), but I still get the same error.
    I understand it can be hard to fully support a Linux system since it depends heavily on separate installed applications (such as FFmpeg), but as the export works fine in the GUI application I'm fairly certain that the system itself is fine but I'm doing something wrong with the arguments / when invoking the adtf_datexporter executable."

Files

ffmpeg_enabler.zip (1.23 KB) ffmpeg_enabler.zip hidden, 2019-02-11 14:48
ffmpeg_enabler.srv (3.15 MB) ffmpeg_enabler.srv hidden, 2019-02-11 14:50
Actions

Also available in: Atom PDF