Page 1 of 2

Custom FFmpeg fails with No video or audio found in media

Posted: Fri Sep 02, 2016 11:54 am
by SteUK
Hi,

Decided to try the latest version (0.7.6.1) to see if it would solve an issue I was seeing with the previous version (0.7.5), whereby the first video through my conversion chain is fine, but the second in the queue (and beyond) seem to fail with the the error 'Custom FFmpeg fails with No video or audio found in media'.

Anyway, the latest version doesn't get that far. I stripped it back to only do one video and it is failing on the second custom ffmpeg conversion in my chain.

Briefly, my chain takes in a video, encodes 4 different bit rate (cube mapped) videos and puts them in a folder (named according to the bitrate). That folder then triggers another custom ffmpeg which just adds in two audio streams to the bitrate encoded (cube mapped) video. From there, HLS stream headers are created and a batch file ran to clean up when all is done. Simple stuff really ;)

I am attaching the log file in hope it helps, if this is indeed a bug! (if you do a search for .eac3 in the log, that is the failing job I think)
20160902-124240-039-902C3E685A8E.zip
(5.1 KiB) Downloaded 639 times

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Fri Sep 02, 2016 2:53 pm
by SteUK
Think I have sorted the problem here...

I had a command executor creating a folder for the custom ffmpeg jobs output folder. I have moved this creation back in the chain a few steps so it is created well in advance.

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Fri Sep 02, 2016 8:59 pm
by admin
So everything is OK then?

-steinar

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Mon Sep 05, 2016 12:52 pm
by SteUK
It was a little odd that things were failing. Out of a 'folder' I was creating a folder via a 'command', then using a 'custom ffmpeg' to jam a video into the created folder.

My re-jig fixes it, but I would have expected the previous working to have worked.

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Mon Sep 05, 2016 8:20 pm
by admin
The log file lacks some info. It's been a while since the logging functionality was last revised so I'm seeing lots of things that should be improved. Could you please send me the workflow instead?

-steinar

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Thu Jan 12, 2017 12:00 pm
by pipuvic
Hi Steinar, Hi Forum!
Without a doubt a great piece of Software, thank you very much for that work!
but.. i have the same issue as the original-poster. Using a custom mp4-processor-node results in an error:
Encoding failed - No Video or audio found in media.

Im using plain RGB files in quicktime container as a source. If i change the worflow to a standard mp4 node, the encoding starts and everything is fine. It feels like the custom command line is not interpreted correctly.

Any Help is much appreciated and i will help in any way i can!

greetz

pipu

Error:

Code: Select all

==> 2017-01-12 12:26:36.353 on Folder@PAHNTOM1, PID: 1212 -> Ticketfile is "C:\Program Files (x86)\FFAStrans0.7.7_Win32\Processors\.cache\tickets\x20170112-122636-010-EBCE898FF03D_20161124220617~loc~PAHNTOM1~20170112-122635-807-E940F63B9810.ini"
==> 2017-01-12 12:26:36.353 on Folder@PAHNTOM1, PID: 1212 -> Getting top storage...
==> 2017-01-12 12:26:36.353 on Folder@PAHNTOM1, PID: 1212 -> Creating work dir: v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810
==> 2017-01-12 12:26:36.369 on Folder@PAHNTOM1, PID: 1212 -> Registering abort check...
==> 2017-01-12 12:26:36.385 on Folder@PAHNTOM1, PID: 1212 -> Executing ini: "mon_folder 20161124-220911-952-D22A7C729D09"
==> 2017-01-12 12:26:36.385 on Folder@PAHNTOM1, PID: 1212 -> Executing sys: "mon_folder 20161124-220911-952-D22A7C729D09"
==> 2017-01-12 12:26:36.385 on Folder@PAHNTOM1, PID: 1212 -> New file picked up by: "PAHNTOM1"
==> 2017-01-12 12:26:36.400 on Folder@PAHNTOM1, PID: 1212 -> ProcessorEnd_Routine(mon_folder 20161124-220911-952-D22A7C729D09)
==> 2017-01-12 12:26:36.400 on Folder@PAHNTOM1, PID: 1212 -> Ending process...
==> 2017-01-12 12:26:36.400 on Folder@PAHNTOM1, PID: 1212 -> =================================================================================================================================================================================
==> 2017-01-12 12:26:36.837 on A/V Media@PAHNTOM1, PID: 3504 -> Ticketfile is "C:\Program Files (x86)\FFAStrans0.7.7_Win32\Processors\.cache\tickets\x20170112-122636-509-C4F74D00BB31_20161124220617~loc~PAHNTOM1~20170112-122635-807-E940F63B9810.ini"
==> 2017-01-12 12:26:36.837 on A/V Media@PAHNTOM1, PID: 3504 -> Source is V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> Creating work dir: v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> Registering abort check...
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> Executing ini: "dec_avmedia 20161124-220915-538-70A3AF038C7B"
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> Executing sys: "dec_avmedia 20161124-220915-538-70A3AF038C7B"
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> _RunLog(C:\Windows\system32\cmd.exe /c ""C:\Program Files (x86)\FFAStrans0.7.7_Win32\Processors\FFMpeg\ffprobe.exe" -i "V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov" -show_streams -show_format",v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810\~dec_avmedia_20161124-220915-538-70A3AF038C7B_ffprobe_122636853.txt,2,2)
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> _WaitForResources(Waiting for resources...)
==> 2017-01-12 12:26:36.853 on A/V Media@PAHNTOM1, PID: 3504 -> _WaitForResources(Waiting for resources...) ==> Resources obtained.
==> 2017-01-12 12:26:36.993 on A/V Media@PAHNTOM1, PID: 3504 -> _IPS_SRV_ClipCheck(V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov,dec_avmedia,PAHNTOM1)
==> 2017-01-12 12:26:37.523 on A/V Media@PAHNTOM1, PID: 3504 -> _Check_FF_Output(v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810\~dec_avmedia_20161124-220915-538-70A3AF038C7B_122636993.txt,0)
==> 2017-01-12 12:26:37.523 on A/V Media@PAHNTOM1, PID: 3504 -> _IPS_ClipInfo(C:\Windows\system32\cmd.exe /c ""C:\Program Files (x86)\FFAStrans0.7.7_Win32\Processors\FFMpeg\ffmpeg.exe"  -i "V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov" 2>> "v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810\~dec_avmedia_20161124-220915-538-70A3AF038C7B_122636993.txt""
ffmpeg version N-81489-ga37e6dd Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.101 / 57. 54.101
  libavformat    57. 48.101 / 57. 48.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 57.100 /  6. 57.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov':
  Metadata:
    creation_time   : 2017-01-08T14:50:35.000000Z
  Duration: 00:00:06.56, start: 0.000000, bitrate: 1244163 kb/s
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), rgb24, 1920x1080, 1244160 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2017-01-08T14:50:35.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Sorenson Video
At least one output file must be specified
,Frames,0)
==> 2017-01-12 12:26:37.539 on A/V Media@PAHNTOM1, PID: 3504 -> _IPS_ClipInfo(C:\Windows\system32\cmd.exe /c ""C:\Program Files (x86)\FFAStrans0.7.7_Win32\Processors\FFMpeg\ffmpeg.exe"  -i "V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov" 2>> "v:\.ffastrans_work_root\20161124220617\20170112-122635-807-E940F63B9810\~dec_avmedia_20161124-220915-538-70A3AF038C7B_122636993.txt""
ffmpeg version N-81489-ga37e6dd Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.101 / 57. 54.101
  libavformat    57. 48.101 / 57. 48.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 57.100 /  6. 57.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'V:\encoding_in\foo_Gold_022_200fps_bigRing_40mm.mov':
  Metadata:
    creation_time   : 2017-01-08T14:50:35.000000Z
  Duration: 00:00:06.56, start: 0.000000, bitrate: 1244163 kb/s
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), rgb24, 1920x1080, 1244160 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2017-01-08T14:50:35.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Sorenson Video
At least one output file must be specified
Workflow:

Code: Select all

[General]
Watcher="et3_mp4_custom"
Folder=""
Watcher_ID=20161208140049
[Variable]
wf_size=91.304347826087
Start_proc=mon_folder 20161208-140108-591-1C82AE47EBB3
[Maintainance]
[Special]
[mon_folder 20161208-140108-591-1C82AE47EBB3]
execute_on=3800889
Folder=V:\encoding_in
Accept_Types=
Deny_Types=
Deny_Paths=
ATTRIB_READ=4
ATTRIB_ARCH=4
ATTRIB_SYS=4
ATTRIB_HIDDEN=4
Recurse=4
Localize=4
Create_Folder=4
DirSize=0
FileLimit=None
proc_x=155
proc_y=114
Outbound=dec_avmedia 20161208-140121-059-E709F8ED5502
[dec_avmedia 20161208-140121-059-E709F8ED5502]
execute_on=3800889
proc_x=292
proc_y=114
Outbound=enc_av_customff 20161208-140137-661-D7AFBB3875EC
Video=1
Audio=4
A_Decode=4
V_Decode=4
A_Method=Intelligent
V_Method=Full decode
[enc_av_customff 20161208-140137-661-D7AFBB3875EC]
execute_on=3800889
template=et_custom
proc_x=429
proc_y=114
Outbound=dest_folder 20161208-143242-336-72B904347AE7
[dest_folder 20161208-143242-336-72B904347AE7]
execute_on=3800889
proc_x=566
proc_y=114
Outbound=
Folder=V:\encoding_out
Suffix=
Prefix=
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Thu Jan 12, 2017 6:16 pm
by admin
Hi pipuvic, thank you for using FFAStrans and welcome to the forum! :-)

Your workflow contains a custom ffmpeg encoder that is not a part of the workflow.ini file. The easiest thing would be to export your workflow and post it here. It will contain your preset.

-steinar

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Tue Jul 25, 2017 8:31 am
by Gremlin_groj
Good afternoon. I had a similar problem "No video or audio found in media", ask for advice
Image
Image

[spoiler=Mediainfo]
General
Complete name : R:\YOUTUBE\_RENDER_\_IN_\16.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DVCPRO
File size : 147 MiB
Duration : 40 s 560 ms
Overall bit rate mode : Constant
Overall bit rate : 30.3 Mb/s
Writing application : VirtualDubMod 1.5.10.2 (build 2542/release)
Writing library : VirtualDubMod build 2542/release

Video
ID : 0
Format : DV
Commercial name : DVCPRO
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 40 s 560 ms
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Encoded bit rate : 28.8 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:1:1
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Stream size : 139 MiB (95%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 40 s 560 ms
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 7.43 MiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 40 ms (1.01 video frame)
Interleave, preload duratio : 500 ms
[/spoiler]

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Tue Jul 25, 2017 10:08 am
by Gremlin_groj
Decision:
1. Folder FFAStrans must be in root of drive (D:\FFASrant\...)
2. Install Microsoft Visual C++ 2015

Re: Custom FFmpeg fails with No video or audio found in media

Posted: Tue Jul 25, 2017 9:36 pm
by admin
Hi Gremlin_groj, thank you for using FFAStrans and welcome to the forum! :-)

Can you please try and enable the "Force 4:2:0 8bit for increased compatibility"-option in the h264 encoder and see if that helps?

-steinar